Summary: | x11-libs/qt-4.3.0_rc1 - fails compiling with distcc and USE=pch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Capitanio <gentoo-bug> |
Component: | [OLD] Library | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | kanelxake, roscisz, Sergey.Belyashov |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Capitanio
2007-05-17 08:28:59 UTC
it was x11-libs/qt-4.3.0_rc1 ... just a guess, but using pch and distcc are probably incompatible. (In reply to comment #2) > just a guess, but using pch and distcc are probably incompatible. > Seems to be configure default?? x11-libs/qt-4.3.0_rc1 USE="accessibility cups dbus examples gif jpeg mng mysql nas opengl png postgres sqlite ssl tiff xinerama zlib -debug -doc -firebird -glib -nis -odbc -pch -qt3support -sqlite3" INPUT_DEVICES="wacom" qmake vars .......... cat: .qmake.vars: No such file or directory qmake switches ...... Build ............... libs tools examples demos Configuration ....... release shared dll largefile stl precompile_header mmx 3dnow sse sse2 accessibility opengl minimal-config small-config medium-config large-config full-config reduce_exports ipv6 clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-mng system-png png gif sys tem-tiff system-freetype system-zlib cups iconv qdbus nas openssl x11sm xshape xinerama xcursor xfixes xrandr xrender fontconfig tablet xkb release Debug ............... no Qt 3 compatibility .. no QtDBus module ....... yes STL support ......... yes PCH support ......... yes looks like this might have changed in 4.3.0. I've modified the ebuild to explicitly disable pch. do a re-sync in about an hour and try it again. (In reply to comment #4) > looks like this might have changed in 4.3.0. I've modified the ebuild to > explicitly disable pch. do a re-sync in about an hour and try it again. > diff --git a/x11-libs/qt/qt-4.3.0_rc1.ebuild b/x11-libs/qt/qt-4.3.0_rc1.ebuild index d441e38..88c4d79 100644 --- a/x11-libs/qt/qt-4.3.0_rc1.ebuild +++ b/x11-libs/qt/qt-4.3.0_rc1.ebuild @@ -191,7 +191,7 @@ src_compile() { use qt3support && myconf="${myconf} -qt3support" || myconf="${myconf} -no-qt3support" use ssl && myconf="${myconf} -openssl" || myconf="${myconf} -no-openssl" - use pch && myconf="${myconf} -pch" + use pch && myconf="${myconf} -pch" || myconf="${myconf} -no-pch" That was indeed a perfect guess. Now it did compile with the distcc (on the contrary to 2 hours in about 20 minutes :-)) What about to enable the pch use flag for the average gentoo user as default and include some more voodoo like: && has distcc ${FEATURES} && myconf="${myconf} -no-pch" && einfo "pch has been disabled, precompiled headers and distcc are incompatible." yep,we definitely need a check. moreso though, I would think for other packages that support pre compiled headers that they probably won't work with distcc either. have you had any other success/failures? (In reply to comment #6) > yep,we definitely need a check. moreso though, I would think for other > packages that support pre compiled headers that they probably won't work with > distcc either. have you had any other success/failures? > As I ca see, there are only 2 other teeny packages with the (strange looking) names: euse -i pch [- ] pch (media-sound/mumble): Enable precompiled header support for faster compilation times (gcc >3.4 only) [- ] pch (media-sound/murmur): Enable precompiled header support for faster compilation times (gcc >3.4 only) [- ] pch (x11-libs/qt): Enable precompiled header support for faster compilation times (gcc >3.4 only) and yes, it looks like they have the same problem ;-) >>> Compiling source in /var/tmp/portage/media-sound/murmur-0.9.4-r1/work/mumble-0.9.4 ... cc1plus: cc1plus: error: release/murmur: No such file or directory cc1plus: error: release/murmur: No such file or directory error: release/murmur: No such file or directory cc1plus: error: release/murmur: No such file or directory cc1plus: cc1plus: error: release/murmur: No such file or directory error: release/murmur: No such file or directory cc1plus: error: release/murmur: No such file or directory cc1plus: error: release/murmur: No such file or directory distcc[24432] ERROR: compile Channel.cpp on 192.168.10.101/6 failed make[1]: *** [release/Channel.o] Error 1 make[1]: *** Waiting for unfinished jobs.... distcc[24429] ERROR: compile Group.cpp on trillian/2 failed make[1]: *** [release/Group.o] Error 1 distcc[24428] ERROR: compile ACL.cpp on 192.168.10.101/6 failed make[1]: *** [release/ACL.o] Error 1 distcc[24433] ERROR: compile murmur.cpp on trillian/2 failed make[1]: *** [release/murmur.o] Error 1 distcc[24442] ERROR: compile Server.cpp on 192.168.10.101/6 failed make[1]: *** [release/Server.o] Error 1 distcc[24440] ERROR: compile Connection.cpp on 192.168.10.101/6 failed make[1]: *** [release/Connection.o] Error 1 distcc[24444] ERROR: compile Player.cpp on 192.168.10.101/6 failed make[1]: *** [release/Player.o] Error 1 distcc[24438] ERROR: compile Message.cpp on 192.168.10.101/6 failed make[1]: *** [release/Message.o] Error 1 make: *** [release] Error 2 !!! ERROR: media-sound/murmur-0.9.4-r1 failed. I can confirm that is qt-4.3.1-r1 and qt-4.3.2 are both cannot be compiled with pch USE flag set when distcc feature enabled. Tested in amd64 and x86 gentoo versions. May be it is good idea to disable pch flag or distcc feature when both enabled? Same with x11-libs/qt4.3.4-r1 4.3 is no longer in portage. Feel free to reopen if the problem reappears with qt >=4.4.2 |