Opened 11 years ago

Closed 11 years ago

#40659 closed defect (fixed)

Error: Processing of port kmymoney failed

Reported by: wizardz.paradise@… Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pixilla (Bradley Giesbrecht), NicosPavlov
Port: kmymoney, kde4-runtime

Description (last modified by mkae (Marko Käning))

Hi I´m running Snow Leopard. I´m using the new version of "Ports". I can´t build kmymoney I get the failure shown in more detail in the attached excerpt from main.log. (mk: I'll move this into a separate file to keep the issue more readable.)

Attachments (1)

main.log.excerpt (85.0 KB) - added by mkae (Marko Käning) 11 years ago.
main log snippet originally posted by OP in the issue description

Download all attachments as: .zip

Change History (13)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: pixilla@… added
Owner: changed from macports-tickets@… to mk@…
Port: kmymoney added

comment:2 Changed 11 years ago by mkae (Marko Käning)

You are trying to install the old Qt3-version of KMyMoney?!!

Did you try the development version kmymoney4-devel (or the 'currently lesser recommended' release version kmymoney4) instead? I suggest you try one of those, if you can, since kmymoney isn't supported anymore.

(What concerns the kmymoney port: I haven't built it since April, so I guess I better check that once again. Perhaps some dependency has changed in the meantime without me noticing.)

Last edited 11 years ago by mkae (Marko Käning) (previous) (diff)

comment:3 Changed 11 years ago by wizardz.paradise@…

Thank you, but I tried to install kmymoney4-devel and kmymoney4 with both there are problems to install the kde4-runtime.

Here is the log:

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build/kdontchangethehostname && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/kdontchangethehostname.dir/link.txt --verbose=1
Building CXX object kwalletd/backend/CMakeFiles/kwalletbackend.dir/blowfish.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build/kwalletd/backend && /Developer/usr/bin/llvm-g++-4.2   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=138 -DKDE_DEPRECATED_WARNINGS -DMAKE_KWALLETBACKEND_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_REENTRANT -pipe -Os -arch x86_64  -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build/kwalletd/backend -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build -I/opt/local/include/KDE -I/opt/local/include/phonon -I/opt/local/include/QtXmlPatterns -I/opt/local/include/QtXml -I/opt/local/include/QtWebKit -I/opt/local/include/QtUiTools -I/opt/local/include/QtTest -I/opt/local/include/QtSvg -I/opt/local/include/QtSql -I/opt/local/include/QtScriptTools -I/opt/local/include/QtScript -I/opt/local/include/QtOpenGL -I/opt/local/include/QtNetwork -I/opt/local/include/QtMultimedia -I/opt/local/include/QtHelp -I/opt/local/include/QtDesigner -I/opt/local/include/QtDeclarative -I/opt/local/include/QtDBus -I/opt/local/include/Qt3Support -I/opt/local/include/QtGui -I/opt/local/include/QtCore -I/opt/local/share/qt4/mkspecs/default    -D__APPLE_KDE__  -o CMakeFiles/kwalletbackend.dir/blowfish.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc
/Developer/usr/bin/llvm-g++-4.2   -pipe -Os -arch x86_64  -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -Wl,-headerpad_max_install_names -arch x86_64 CMakeFiles/kdontchangethehostname.dir/kdontchangethehostname_automoc.o CMakeFiles/kdontchangethehostname.dir/khostname.o  -o kdontchangethehostname  /opt/local/lib/libkdecore.5.11.1.dylib /opt/local/lib/libQtDBus.dylib /opt/local/lib/libQtCore.dylib -framework Carbon 
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:28:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.h:56: error: ‘uint32_t’ does not name a type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.h:57: error: ‘uint32_t’ does not name a type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.h:65: error: ‘uint32_t’ does not name a type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.h:66: error: ‘uint32_t’ has not been declared
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.h:66: error: ‘uint32_t’ has not been declared
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.h:67: error: ‘uint32_t’ has not been declared
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.h:67: error: ‘uint32_t’ has not been declared
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc: In member function ‘bool BlowFish::init()’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:48: error: ‘_S’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:54: error: ‘uint32_t’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:54: error: expected `;' before ‘datal’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:55: error: expected `;' before ‘datar’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:56: error: expected `;' before ‘data’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:62: error: ‘data’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:69: error: ‘_P’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:73: error: ‘datal’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:73: error: ‘datar’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:74: error: ‘_P’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:80: error: ‘datal’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:80: error: ‘datar’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:81: error: ‘_S’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:90: error: ‘_S’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc: In member function ‘virtual int BlowFish::encrypt(void*, int)’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:150: error: ‘uint32_t’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:150: error: ‘d’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:150: error: expected primary-expression before ‘)’ token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:150: error: expected `;' before ‘block’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc: At global scope:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:149: warning: unused parameter ‘block’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc: In member function ‘virtual int BlowFish::decrypt(void*, int)’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:174: error: ‘uint32_t’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:174: error: ‘d’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:174: error: expected primary-expression before ‘)’ token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:174: error: expected `;' before ‘block’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc: At global scope:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:173: warning: unused parameter ‘block’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:197: error: ‘uint32_t’ does not name a type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:217: error: variable or field ‘encipher’ declared void
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:217: error: ‘uint32_t’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:217: error: ‘xl’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:217: error: ‘uint32_t’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/kde-runtime-4.11.1/kwalletd/backend/blowfish.cc:217: error: ‘xr’ was not declared in this scope
make[2]: *** [kwalletd/backend/CMakeFiles/kwalletbackend.dir/blowfish.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build'
make[1]: *** [kwalletd/backend/CMakeFiles/kwalletbackend.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build/kdontchangethehostname && /opt/local/bin/cmake -D_filename=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build/kdontchangethehostname/kdontchangethehostname.shell -D_library_path_variable=DYLD_LIBRARY_PATH -D_ld_library_path="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build/lib/./:/opt/local/lib" -D_executable=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build/kdontchangethehostname/kdontchangethehostname -P /opt/local/share/apps/cmake/modules/kde4_exec_via_sh.cmake
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build/CMakeFiles 
[ 15%] Built target kdontchangethehostname
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build" && /usr/bin/make -j2 -w all 
Exit code: 2
Error: org.macports.build for port kde4-runtime returned: command execution failed
Warning: targets not executed for kde4-runtime: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Failed to install kde4-runtime
Please see the log file for port kde4-runtime for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/main.log
Error: The following dependencies were not installed: kde4-runtime libalkimia
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port kmymoney4-devel failed

comment:4 Changed 11 years ago by wizardz.paradise@…

Okay now I installed kde4 with

sudo port install kde4-runtime configure.compiler=llvm-gcc-4.2

It worked and now the install of kmymoney4-devel worked. After I ran

launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

it worked.

Thanks for help great work

comment:5 Changed 11 years ago by mkae (Marko Käning)

I am running SL 10.6.8 and I am able to build it without selecting llvm.

Can you please report your Xcode version?

Version 0, edited 11 years ago by mkae (Marko Käning) (next)

comment:6 Changed 11 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:7 Changed 11 years ago by mkae (Marko Käning)

Cc: nicos@… added; mk@… removed
Port: kde4-runtime added
Status: newassigned
Version: 2.2.0

comment:8 Changed 11 years ago by NicosPavlov

There are one or two things I do not really understand in the report. First, kde4-runtime is standardly distributed as a package, but you may have upgraded when the package was not ready yet. Did you request to build from source ?

Then, in your log for building, it seems that it failed while already using llvm-gcc-4.2

/Developer/usr/bin/llvm-g++-4.2 -pipe -Os -arch x86_64

so that forcing the compiler as you did would not change the compiler in the end, so that it is hard to know what changed. Which OS and XCode versions do you have ?

Considering that both the build bots and others could compile kde4-runtime, it could be possible that something on your system is different. A full log of the error (main.log) could help identify that, and answer some of the above questions.

comment:9 Changed 11 years ago by NicosPavlov

Another thing I forgot is that llvm-gcc-4.2 had been blacklisted for compiling kde4-runtime following #37574. It is possible that this issue is now solved (which would be good to avoid blacklisting compilers), but there may be a risk of regression according to this ticket with llvm-gcc-4.2.

comment:10 Changed 11 years ago by mkae (Marko Käning)

Description: modified (diff)

Changed 11 years ago by mkae (Marko Käning)

Attachment: main.log.excerpt added

main log snippet originally posted by OP in the issue description

comment:11 Changed 11 years ago by mkae (Marko Käning)

Wizarzd, if you don't object, I'll consider this issue resolved and close this ticket.

comment:12 Changed 11 years ago by mkae (Marko Käning)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.