The compilation of qt-3.3.8-r3 will fail if xineramaproto is not present. mv -f libqsimple.so ../../../inputmethods/ make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plugins/src/inputmethods/simple' make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plugins/src/inputmethods' make[1]: *** [sub-inputmethods] Error 2 make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plugins/src' make: *** [sub-plugins] Error 2 A possible solution is to patch qt to exclude the #include Xinerma.h; or to add xineramaproto to the list of depends in the ebuild.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-3.3.8-r3.ebuild?rev=1.8&view=markup xinerama? ( x11-proto/xineramaproto x11-libs/libXinerama )
The problem is that x11-proto/xineramaproto is still needed even if USE="-xinerama". I had to remove the include by hand since I don't want xinerama.
Maybe you could post the real errors then?
I have posted the error message already. It is a well known problem, so I am surprised no one is fixing it.
You can refer to this thread for more information http://forums.gentoo.org/viewtopic-p-3957241.html?sid=ed055c80998d6df3e648ef4ac1e0ef3f
(In reply to comment #4) > I have posted the error message already. It is a well known problem, so I am > surprised no one is fixing it. No, you haven't. You've snipped all the important lines about where does this happen. I cannot reproduce this "well-known" problem, so kindly post more lines of compile output, and also emerge -pv =x11/libs-qt-3* output here. (In reply to comment #5) > You can refer to this thread for more information Yup, everyone's fluent in Chinese. :P
Sorry about that. I didn't realize I haven't posted the actual error. Here's important part of the error: make Makefile make[4]: Entering directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plugins/src/inputmethods/xim' make[4]: `Makefile' is up to date. make[4]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plug ins/src/inputmethods/xim' make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plugins/src/inputmethods/xim' make[3]: Entering directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plu gins/src/inputmethods/xim' x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/var/tmp/portage/x11-libs /qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I../. ./../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qximinputcontext_x11.o qximinputcontext_x11.cpp In file included from qximinputcontext.h:68, from qximinputcontext_x11.cpp:37: ../../../../include/private/qt_x11_p.h:134:41: error: X11/extensions/Xinerama.h: No such file or directory /var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/bin/moc qsimpleinputcontext.h -o .moc/release-shared-mt/moc_qsimpleinputcontext.cpp /var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/bin/moc qsimpleinputcontextplugin.h -o .moc/release-shared-mt/moc_qsimpleinputcontextplugin.cpp x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I../../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/moc_qsimpleinputcontext.o .moc/release-shared-mt/moc_qsimpleinputcontext.cpp qximinputcontext_x11.cpp:772: warning: unused parameter 'button' make[3]: *** [.obj/release-shared-mt/qximinputcontext_x11.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plugins/src/inputmethods/xim' make[2]: *** [sub-xim] Error 2 make[2]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I../../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/moc_qsimpleinputcontextplugin.o .moc/release-shared-mt/moc_qsimpleinputcontextplugin.cpp test -d ../../../inputmethods/ || mkdir -p ../../../inputmethods/ ... # emerge -pv =x11-libs/qt-3* These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/qt-3.3.8-r3 USE="cups gif immqt-bc opengl -debug -doc -examples (-firebird) -immqt -ipv6 -mysql -nas -nis -odbc -postgres -sqlite -xinerama" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB
Created attachment 128969 [details] x11-libs:qt-3.3.8-r3:20070821-030814.log Here's the full log
must only be when using the immqt or immqt-bc use flags, because that source file doesn't exist in my workdir.
Let me ask you this: if you disable immqt/immqt-bc use flags and emerge qt, does the problem go away?
I have confirmed that this problem only occurs if immqt or immqt-bc is enabled.
even if immqt or immqt-bc are disable qt-3.3.8-r3 doesn't compile : make[4]: `Makefile' is up to date. make[4]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer/uic' make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer/uic' make[3]: Entering directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer/uic' i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/main.o main.cpp i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/uic.o uic.cpp i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/form.o form.cpp i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/object.o object.cpp i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/subclassing.o subclassing.cpp i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/embed.o embed.cpp i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/widgetdatabase.o ../shared/widgetdatabase.cpp i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/domtool.o ../shared/domtool.cpp i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -march=pentium3 -O2 -pipe -fno-strict-aliasing -D_REENTRANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/parser.o ../shared/parser.cpp ../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor ../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor ../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor ../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor ../../../include/private/qwidgetinterface_p.h:74: warning: 'struct QWidgetFactoryInterface' has virtual functions but non-virtual destructor test -d ../../../bin/ || mkdir -p ../../../bin/ i686-pc-linux-gnu-g++ -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o -L/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/lib -L/usr/X11R6/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/X11R6/lib/libfontconfig.so, not found (try using -rpath or -rpath-link) /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetElementHandler' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserFree' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber' collect2: ld returned 1 exit status distcc[15468] ERROR: compile (null) on localhost failed make[3]: *** [../../../bin/uic] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer/uic' make[2]: *** [sub-uic] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer' make[1]: *** [sub-designer] Error 2 make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools' make: *** [sub-tools] Error 2 !!! ERROR: x11-libs/qt-3.3.8-r3 failed. HP2000R ~ # emerge -vuDNa world These are the packages that would be merged, in order: Calculating world dependencies... done! [ebuild N ] x11-libs/qt-3.3.8-r3 USE="cups gif opengl -debug -doc -examples -firebird -immqt -immqt-bc -ipv6 -mysql -nas -nis -odbc -postgres -sqlite -xinerama" 0 kB
That's a completely different error and is not Qt related. You need to fix your fontconfig installation.
(In reply to comment #13) > That's a completely different error and is not Qt related. You need to fix > your fontconfig installation. thanks for the answer
This should nwo be fixed. thanks for the report.