Opened 13 years ago

Closed 13 years ago

#30497 closed defect (worksforme)

kdelibs4 @4.7.0 build failure

Reported by: leo.mail@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc: nerdling (Jeremy Lavergne), michaelld (Michael Dickens), sharky@…, mkae (Marko Käning)
Port: kdelibs4

Description

OS: Mac OS X Version 10.6.8

Xcode version 3.2.6 64bit

I guess it may be a problem with library include path settings. Thank you very much for help and advice!

Here the relevant part/end of the log file (also attached in full length):

:info:build [ 38%] Building CXX object kjs/CMakeFiles/kjs_bin.dir/kjs.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/kjs && /usr/bin/g++-4.2   -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=121 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBUILDING_KDE__ -pipe -O2 -arch x86_64  -fno-common -Woverloaded-virtual -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot / -mmacosx-version-min=10.6 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/kjs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kjs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/interfaces -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/compression -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/date -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/io -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/jobs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/kernel -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/auth -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/network -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/services -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/localization -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/sycoca -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/text -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/util -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kdecore/sonnet -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kjs/wtf -I/opt/local/include/QtCrypto -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/QtAssistant -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/kjs_bin.dir/kjs.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kjs/kjs.cpp
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kpty/kpty.cpp: In member function ‘bool KPty::open()’:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kpty/kpty.cpp:215: error: ‘::openpty’ has not been declared
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kpty/kpty.cpp: In member function ‘void KPty::login(const char*, const char*)’:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kpty/kpty.cpp:512: warning: ‘utmp’ is deprecated (declared at //usr/include/utmp.h:96)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kpty/kpty.cpp:550: error: ‘::login’ has not been declared
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kpty/kpty.cpp: In member function ‘void KPty::logout()’:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kpty/kpty.cpp:602: error: ‘::logout’ has not been declared
:info:build make[2]: *** [kpty/CMakeFiles/kpty.dir/kpty.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build'
:info:build make[1]: *** [kpty/CMakeFiles/kpty.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build Linking CXX executable ../bin/kjs
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/kjs && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/kjs_bin.dir/link.txt --verbose=1
:info:build /usr/bin/g++-4.2   -pipe -O2 -arch x86_64  -fno-common -Woverloaded-virtual -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot / -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -arch x86_64 CMakeFiles/kjs_bin.dir/kjs_bin_automoc.o CMakeFiles/kjs_bin.dir/kjs.o  -o ../bin/kjs  ../lib/libkjs.4.7.0.dylib 
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/kjs && /opt/local/bin/cmake -D_filename=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/bin/kjs_bin.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_ports_kde_kdelibs4/kdelibs4/work/build/lib/./:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/lib/." -D_executable=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/bin/kjs_bin -P /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/cmake/modules/kde4_exec_via_sh.cmake
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build'
:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build/CMakeFiles 
:info:build [ 38%] Built target kjs_bin
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/work/build" && /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)

Attachments (2)

main.log.gz (185.5 KB) - added by leo.mail@… 13 years ago.
Log for kdelibs4 (new try with build.jobs=1 param)
snc.log.tbz2 (202.0 KB) - added by nerdling (Jeremy Lavergne) 13 years ago.
snc's build log

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: mk@… added
Owner: changed from macports-tickets@… to snc@…
Status: newassigned

Please try building this using just one make job.

sudo port clean kdelibs4
sudo port install kdelibs4 build.jobs=1

comment:2 Changed 13 years ago by leo.mail@…

Thanks for the fast reply. I followed your suggestion, but the problem remains the same, unfortunately (new log file is attached).

sudo port clean kdelibs4
--->  Cleaning kdelibs4

sudo port install kdelibs4 build.jobs=1
--->  Computing dependencies for kdelibs4
--->  Fetching archive for kdelibs4
--->  Fetching kdelibs4
--->  Verifying checksum(s) for kdelibs4
--->  Extracting kdelibs4
--->  Applying patches to kdelibs4
--->  Configuring kdelibs4
--->  Building kdelibs4
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for kdelibs4 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/kdelibs4/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Changed 13 years ago by leo.mail@…

Attachment: main.log.gz added

Log for kdelibs4 (new try with build.jobs=1 param)

comment:3 Changed 13 years ago by nerdling (Jeremy Lavergne)

Thanks for the updated log. I'll need to run a build and compare your log with mine. More later today!

comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)

Here are the relevant differences I found between our build commands:

  • You're using gcc whereas I used llvm-gcc (/usr/bin/g++-4.2)
  • You've got an extra include (-I/opt/local/include/QtAssistant)

comment:5 Changed 13 years ago by nerdling (Jeremy Lavergne)

Could you add which qt4 you have installed as well as the variants used? Something like port -v installed "qt4*"

Changed 13 years ago by nerdling (Jeremy Lavergne)

Attachment: snc.log.tbz2 added

snc's build log

comment:6 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: assignedclosed

No updates, not enough information to reproduce.

Note: See TracTickets for help on using tickets.