Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189703 - x11-libs/qt-3.3.8-r3 should require xineramaproto
Summary: x11-libs/qt-3.3.8-r3 should require xineramaproto
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 13:42 UTC by Wai Ling
Modified: 2007-09-07 18:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
x11-libs:qt-3.3.8-r3:20070821-030814.log (x11-libs:qt-3.3.8-r3:20070821-030814.log,432.77 KB, text/plain)
2007-08-23 15:59 UTC, Wai Ling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wai Ling 2007-08-21 13:42:59 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 13:47:26 UTC
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 )
Comment 2 Wai Ling 2007-08-22 20:45:22 UTC
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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-08-22 20:48:12 UTC
Maybe you could post the real errors then?
Comment 4 Wai Ling 2007-08-22 22:21:23 UTC
I have posted the error message already.  It is a well known problem, so I am surprised no one is fixing it.
Comment 5 Wai Ling 2007-08-22 22:26:44 UTC
You can refer to this thread for more information http://forums.gentoo.org/viewtopic-p-3957241.html?sid=ed055c80998d6df3e648ef4ac1e0ef3f
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-08-23 06:45:35 UTC
(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
Comment 7 Wai Ling 2007-08-23 15:58:22 UTC
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

Comment 8 Wai Ling 2007-08-23 15:59:03 UTC
Created attachment 128969 [details]
x11-libs:qt-3.3.8-r3:20070821-030814.log

Here's the full log
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2007-08-23 16:17:53 UTC
must only be when using the immqt or immqt-bc use flags, because that source file doesn't exist in my workdir.
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2007-08-23 16:20:00 UTC
Let me ask you this: if you disable immqt/immqt-bc use flags and emerge qt, does the problem go away?
Comment 11 Wai Ling 2007-08-25 01:12:15 UTC
I have confirmed that this problem only occurs if immqt or immqt-bc is enabled.
Comment 12 sylvain 2007-08-27 12:51:55 UTC
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

Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2007-08-27 13:01:08 UTC
That's a completely different error and is not Qt related.  You need to fix your fontconfig installation.
Comment 14 sylvain 2007-08-27 13:33:38 UTC
(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 
Comment 15 Caleb Tennis (RETIRED) gentoo-dev 2007-09-07 18:17:12 UTC
This should nwo be fixed.  thanks for the report.