Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20362 closed defect (fixed)

kdebase4-runtime build failure: Qt3Support/Q3PtrList: No such file or directory

Reported by: mf2k (Frank Schima) Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: clubjuggler@…, nerdling (Jeremy Lavergne), jeremy.laine@…, domiman@…
Port: kdebase4-runtime qt4-mac

Description

Mac OS X 10.5.7 Intel. Xcode 3.1.3. All ports up to date.

--->  Building kdebase4-runtime
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build" && make all " returned error 2
Command output: cd /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4 /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver/CMakeFiles/kded_kpasswdserver_automoc.dir/DependInfo.cmake --color=
Scanning dependencies of target kded_kpasswdserver_automoc
make -f kpasswdserver/CMakeFiles/kded_kpasswdserver_automoc.dir/build.make kpasswdserver/CMakeFiles/kded_kpasswdserver_automoc.dir/build
cd /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver && /opt/local/bin/automoc4 /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver/kded_kpasswdserver_automoc.cpp /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver /opt/local/libexec/qt4-mac/bin/moc /opt/local/bin/cmake
Generating kpasswdserver.moc
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/CMakeFiles 
[  0%] Built target kded_kpasswdserver_automoc
make -f kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/build.make kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/depend
cd /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4 /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/DependInfo.cmake --color=
Scanning dependencies of target kded_kpasswdserver
make -f kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/build.make kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/CMakeFiles 
[  0%] Building CXX object kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/kded_kpasswdserver_automoc.o
cd /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver && /usr/bin/g++-4.2   -Dkded_kpasswdserver_EXPORTS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4 -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build -I/opt/local/include -I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/KDE -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default   -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/kded_kpasswdserver.dir/kded_kpasswdserver_automoc.o -c /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver/kded_kpasswdserver_automoc.cpp
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/CMakeFiles 
[  0%] Building CXX object kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/kpasswdserver.o
cd /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver && /usr/bin/g++-4.2   -Dkded_kpasswdserver_EXPORTS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4 -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build -I/opt/local/include -I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/KDE -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default   -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/kded_kpasswdserver.dir/kpasswdserver.o -c /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.cpp
In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.cpp:25:
/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.h:28:32: error: Qt3Support/Q3PtrList: No such file or directory
In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.cpp:25:
/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.h:82: error: expected template-name before '<' token
/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.h:82: error: expected `{' before '<' token
/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.h:82: error: expected unqualified-id before '<' token
In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.cpp:787:
/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/kpasswdserver/kpasswdserver.moc:97: error: expected `}' at end of input
In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.cpp:25:
/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kpasswdserver/kpasswdserver.h:69: error: expected unqualified-id at end of input
make[2]: *** [kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/kpasswdserver.o] Error 1
make[1]: *** [kpasswdserver/CMakeFiles/kded_kpasswdserver.dir/all] Error 2
make: *** [all] Error 2

Error: The following dependencies failed to build: kdebase4-runtime kdegraphics4 qca libgphoto2
Error: Status 1 encountered during processing.

Attachments (1)

patch-qt3support-for-cocoa.diff (4.9 KB) - added by jeremy.laine@… 15 years ago.
Patch to enable partial Qt3Support in qt4-mac

Download all attachments as: .zip

Change History (15)

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

Summary: kdebase4-runtime 4.2.4 build errorkdebase4-runtime build failure: Qt3Support/Q3PtrList: No such file or directory

This was previous reported in #18933 which was closed as worksforme.

comment:2 Changed 15 years ago by illogic-al@…

Port: qt4-mac added

Hey. When qt4 is compiled with -cocoa, qt3support is not built. Can you check to see if that's what you did? It may be that updates to 4.5 now built -cocoa automatically if it detects an OS hi enough to support it (OS 10.5 or >) although I highly doubt it.

Either way, sounds like a problem with Qt not. Some KDE programs still use and thus require the qt3support classes so there's no way around that.

comment:3 Changed 15 years ago by mf2k (Frank Schima)

It compiles for me now and I have qt4-mac without cocoa installed. I believe you are correct, I had qt4-mac +cocoa installed when this didn't work.

Changed 15 years ago by jeremy.laine@…

Patch to enable partial Qt3Support in qt4-mac

comment:4 Changed 15 years ago by jeremy.laine@…

With the attached patch for qt4-mac I can build kdebase4-runtime on Snow Leopard.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Cc: clubjuggler@… snc@… jeremy.laine@… added
Owner: changed from macports-tickets@… to erickt@…

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

Resolution: fixed
Status: newclosed

Committed in r58937.

comment:7 Changed 15 years ago by domiman@…

I *think* that messes with building qt4-mac when +cocoa is NOT set. I was trying to build Krusader with "sudo port install krusader +universal" and qt4-mac would not build. Only when I built it on its own with +cocoa +universal. Unfortunately I have not saved the error, since I was in a hurry and had opened a new terminal.

Either this needs fixing, or qt4-mac should default the +cocoa on SL

comment:8 Changed 15 years ago by nerdling (Jeremy Lavergne)

It would make sense that it should default to cocoa on SL. Please open a new ticket for this.

comment:9 Changed 15 years ago by sharky@…

Woah, wait up. I think that cocoa *is* the default on SL, otherwise the whole Qt3Support issue would not have crept up! Qt3Support was disabled precisely when Cocoa is in use, take a look at the patch.

comment:10 Changed 15 years ago by nerdling (Jeremy Lavergne)

No, the only code dealing with the cocoa variant is to disable it for less then SL:

if { ${os.major} < 9 } {
    return -code error "Variant cocoa creates Qt binaries which require Mac OS X 10.5 or higher."
}

comment:11 Changed 15 years ago by nerdling (Jeremy Lavergne)

I meant leopard (darwin 9), no SL (darwin 10).

comment:12 Changed 15 years ago by sharky@…

I was not talking about a choice in the Portfile, I think that Qt's configure script will use cocoa if you are running SL. To be confirmed

comment:13 Changed 15 years ago by domiman@…

I just tried again, "port install qt4-mac +universal" will fail to build, "port install qt4-mac +universal +cocoa" does succeed in building. On SL. I've submitted a new bug report Ticket: #21960 with output of "sudo port -v install qt4-mac +universal"

comment:14 Changed 15 years ago by domiman@…

Cc: domiman@… added

Cc Me!

Note: See TracTickets for help on using tickets.