[MacPorts] #23119: kdelibs3-3.5.10-3 make failed
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.3 Component: ports | Version: 1.8.2 Keywords: build fail | Port: kdelibs ----------------------------------------+----------------------------------- I was on Macports 1.8.1 and got an build error, so I upgraded to 1.8.2 today and issued sudo port clean kdelibs3. I got a different error and it still won't build: {{{ ---> Building kdelibs3 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all " returned error 1 Command output: /opt/local/include/kio/connection.h: At global scope: /opt/local/include/kio/connection.h:137: error: expected primary- expression before 'void' /opt/local/include/kio/connection.h:137: error: ISO C++ forbids declaration of 'Q_SIGNALS' with no type /opt/local/include/kio/connection.h:137: error: expected ';' before 'void' /opt/local/lib/qt3/include/qobject.h:200: error: 'QObjectPrivate* QObject::d' is private /opt/local/include/kio/connection.h:140: error: within this context /opt/local/include/kio/connection.h:140: error: 'd' is not a type /opt/local/include/kio/connection.h:140: error: ISO C++ forbids declaration of 'Q_PRIVATE_SLOT' with no type /opt/local/include/kio/connection.h:141: error: expected ';' before 'Q_PRIVATE_SLOT' /opt/local/include/kio/connection.h:84: error: invalid use of incomplete type 'struct QByteArray' /opt/local/include/kcomponentdata.h:25: error: forward declaration of 'struct QByteArray' /opt/local/include/kio/connection.h:179: error: expected primary- expression before 'void' /opt/local/include/kio/connection.h:179: error: ISO C++ forbids declaration of 'Q_SIGNALS' with no type /opt/local/include/kio/connection.h:179: error: expected ';' before 'void' In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher.h:35, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher_main.cpp:26: /opt/local/include/kurl.h:112: error: expected class-name before '{' token /opt/local/include/kurl.h:125: error: expected template-name before '<' token /opt/local/include/kurl.h:125: error: expected `{' before '<' token /opt/local/include/kurl.h:125: error: expected unqualified-id before '<' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher_main.cpp:115: error: expected `}' at end of input /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher_main.cpp:115: error: expected unqualified-id at end of input Error creating ./kinit/klauncher_main.lo. Exit status 1. libtool: link: warning: `/opt/local/lib/libqt-mt.la' seems to be moved /usr/bin/g++-4.2 -dynamiclib -single_module -o ./kwallet/backend/.libs/libkwalletbackend.1.0.0.dylib ./kwallet/backend/.libs/blockcipher.o ./kwallet/backend/.libs/blowfish.o ./kwallet/backend/.libs/cbc.o ./kwallet/backend/.libs/sha1.o ./kwallet/backend/.libs/kwalletentry.o ./kwallet/backend/.libs/kwalletbackend.o -L/opt/local/lib -L/opt/local/lib/qt3/lib /opt/local/lib/qt3/lib/libqt-mt.dylib /opt/local/lib/libz.dylib /opt/local/lib/libGL.dylib /opt/local/lib/libXmu.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXft.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libpng12.dylib -lz -lm /opt/local/lib/libXext.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib -lpthread ./kdecore/.libs/libkdecore.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/dcop/.libs/libDCOP.dylib /opt/local/lib/libart_lgpl_2.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdefx/.libs/libkdefx.dylib /opt/local/lib/libqt-mt.dylib -Wl,-dead_strip_dylibs -install_name /opt/local/lib/libkwalletbackend.1.dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.0 (cd ./kwallet/backend/.libs && rm -f libkwalletbackend.1.dylib && ln -s libkwalletbackend.1.0.0.dylib libkwalletbackend.1.dylib) (cd ./kwallet/backend/.libs && rm -f libkwalletbackend.dylib && ln -s libkwalletbackend.1.0.0.dylib libkwalletbackend.dylib) creating ./kwallet/backend/libkwalletbackend.la (cd ./kwallet/backend/.libs && rm -f libkwalletbackend.la && ln -s ../libkwalletbackend.la libkwalletbackend.la) kdelibs3-3.5.10-3 make failed! Error: The following dependencies failed to build: kdebase3 kdelibs3 libusb-compat libusb xorg-libXtst xorg-recordproto xorg-libXxf86misc xorg- xf86miscproto xorg-libxkbfile kdenetwork3 openslp kdepim3 kdeaccessibility3 opensync py26-gobject libffi py26-numeric swig-python python_select swig kdeutils3 gmp Error: Status 1 encountered during processing. }}} I'm on Snow Leopard. -- Ticket URL: <http://trac.macports.org/ticket/23119> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Changes (by jmr@…): * keywords: build fail => * port: kdelibs => kdelibs3 * milestone: MacPorts 1.8.3 => Comment: As per the instructions in the Guide, please don't set the Milestone field. -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Comment(by takanori@…): I tried to reproduce your problem on my MacBook, but the build was finished with no error. Are you surely using the latest version of Xcode? Please check it first. {{{ $ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. }}} -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Comment(by cardcaptorstacey@…): Okay I just tried gcc --version and got the same message as above. So I guess I am on the latest version. :( -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Comment(by takanori@…): Okay then could you show me the whole build log of kdelibs3? You can obtain it from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/buildlog/root/kdelibs3-3.5.10-3/* Thanks. -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Comment(by cardcaptorstacey@…): Okay, I've added all the logs. :) -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Comment(by takanori@…): Seems that your Xcode is not the latest one. {{{ $ diff -u ~/Downloads/config.log config.log | less ... @@ -76,7 +82,7 @@ configure:3502: result: /usr/bin/gcc-4.2 configure:3734: checking for C compiler version configure:3742: /usr/bin/gcc-4.2 --version >&5 -i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) +i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ... }}} I recommend you to update it just in case. (to 3.2.1) And, {{{ [make.log] ... 76% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5 .10/kinit/autostart.cpp /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I./kinit -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_port s_kde_kdelibs3/work/kdelibs-3.5.10/kinit -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_po rts_kde_kdelibs3/work/kdelibs-3.5.10/kinit/../libltdl/ -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/loc al/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/dcop -I/opt/local/ var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/libltdl -I/opt/local/ var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdefx -I./kdecore -I/ opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdecore -I/ opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdecore/net work -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kde ui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio - I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kio - I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10 -I/opt/ local/lib/qt3/include -I/opt/local/include -I/opt/local/include -DQT_THREAD_SUPPORT -I/usr/include/gssapi -I/opt/local/include/freetype2 - I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -Wno-long-long -Wundef -Wall -W -Wpointer-ar ith -Os -Os -fPIC -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CL EAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIC -DPIC -c /opt/local/var/macports/build/_opt_local_va r_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/autostart.cpp -o ./kinit/.libs/autostart.o -Wp, -MD,./kinit/.deps/autostart.TUlo In file included from /opt/local/include/kdecore_export.h:24, from /opt/local/include/kconfigbase.h:27, from /opt/local/include/kconfig.h:27, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kde libs-3.5.10/kinit/autostart.cpp:25: /opt/local/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory ... }}} That's odd. Why do you have kconfig.h in /opt/local/include before installing kdelibs3? Moreover, why QtCore/qglobal.h is in here? This file is not a part of qt3, but qt4. Have you installed kde4 or something? If so, please uninstall all of them before building kdelibs3. -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Comment(by cardcaptorstacey@…): You are absolutely right! I feel like a douchebag! After looking at all the installed files, I noticed... I uninstalled kdelibs4 and it's dependencies (which must have installed when I tried playing with Amarok). I've removed them all now and it's build perfectly fine. :) Thanks for your help Mr Takanori. I wouldn't have thought to look at my installed files. -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:6 takanori@…]:
/opt/local/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory
I encountered this problem too today, on Mac OS X 10.6.2 with Xcode 3.2.1.
That's odd. Why do you have kconfig.h in /opt/local/include before installing kdelibs3?
Moreover, why QtCore/qglobal.h is in here? This file is not a part of qt3, but qt4.
Have you installed kde4 or something?
Yes, I have.
If so, please uninstall all of them before building kdelibs3.
If kdelibs3 is incompatible with ports from kde4, it should so indicate using the `conflicts` keyword. -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3 build fails when kde4 ports are installed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23119: kdelibs3 build fails when kde4 ports are installed -----------------------------------------+---------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: kdelibs3 | -----------------------------------------+---------------------------------- Changes (by takanori@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:8 ryandesign@…]:
If kdelibs3 is incompatible with ports from kde4, it should so indicate using the `conflicts` keyword.
declared `conflicts` in r64659 -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts