Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 189703
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Qt Bug Alias <qt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Wai Ling <simotsa@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
x11-libs:qt-3.3.8-r3:20070821-030814.log x11-libs:qt-3.3.8-r3:20070821-030814.log text/plain Wai Ling 2007-08-23 15:59 0000 432.77 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 189703 depends on: Show dependency tree
Bug 189703 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-21 13:42 0000
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 From Jakub Moc (RETIRED) 2007-08-21 13:47:26 0000 -------
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 From Wai Ling 2007-08-22 20:45:22 0000 -------
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 From Jakub Moc (RETIRED) 2007-08-22 20:48:12 0000 -------
Maybe you could post the real errors then?

------- Comment #4 From Wai Ling 2007-08-22 22:21:23 0000 -------
I have posted the error message already.  It is a well known problem, so I am
surprised no one is fixing it.

------- Comment #5 From Wai Ling 2007-08-22 22:26:44 0000 -------
You can refer to this thread for more information
http://forums.gentoo.org/viewtopic-p-3957241.html?sid=ed055c80998d6df3e648ef4ac1e0ef3f

------- Comment #6 From Jakub Moc (RETIRED) 2007-08-23 06:45:35 0000 -------
(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 From Wai Ling 2007-08-23 15:58:22 0000 -------
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 From Wai Ling 2007-08-23 15:59:03 0000 -------
Created an attachment (id=128969) [details]
x11-libs:qt-3.3.8-r3:20070821-030814.log

Here's the full log

------- Comment #9 From Caleb Tennis 2007-08-23 16:17:53 0000 -------
must only be when using the immqt or immqt-bc use flags, because that source
file doesn't exist in my workdir.

------- Comment #10 From Caleb Tennis 2007-08-23 16:20:00 0000 -------
Let me ask you this: if you disable immqt/immqt-bc use flags and emerge qt,
does the problem go away?

------- Comment #11 From Wai Ling 2007-08-25 01:12:15 0000 -------
I have confirmed that this problem only occurs if immqt or immqt-bc is enabled.

------- Comment #12 From sylvain 2007-08-27 12:51:55 0000 -------
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 From Caleb Tennis 2007-08-27 13:01:08 0000 -------
That's a completely different error and is not Qt related.  You need to fix
your fontconfig installation.

------- Comment #14 From sylvain 2007-08-27 13:33:38 0000 -------
(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 From Caleb Tennis 2007-09-07 18:17:12 0000 -------
This should nwo be fixed.  thanks for the report.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug