Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211519

Summary: dev-python/PyQt-3.17.3 fails to compile
Product: Gentoo Linux Reporter: Daniel Rossi <drossi>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Rossi 2008-02-26 13:13:31 UTC
As I was emerging net-print/hplip-2.7.10 the compilation process stopped at a make error while compiling dev-python/PyQt-3.17.3, as follows (see the whole log file after the emerge info at Additional Information below):

-DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQTranslator.o sipqtQTranslator.cpp
sipqtQUrl.cpp: In function 'PyObject* slot_QUrl___ne__(PyObject*, PyObject*)':
sipqtQUrl.cpp:1381: error: 'class QUrl' has no member named 'operator!='
sipqtQUrl.cpp:1395: error: 'class QUrl' has no member named 'operator!='
make[1]: *** [sipqtQUrl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt-3.17.3/work/PyQt-x11-gpl-3.17.3/qt'
make: *** [all] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: dev-python/PyQt-3.17.3 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m            ebuild.sh, line 1701:  Called dyn_compile
 [31;01m*[0m            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 [31;01m*[0m            ebuild.sh, line   44:  Called src_compile
 [31;01m*[0m   PyQt-3.17.3.ebuild, line   45:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   	emake || die "emake failed"
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake failed


Reproducible: Always

Steps to Reproduce:
1.emerge hplip;
2.it calls to PyQt;
3.PyQt compilation gives the error above.

Actual Results:  
dev-python/PyQt-3.17.3 does not finish compilation.

Expected Results:  
To be able to finish installation of net-print/hplip-2.7.10 after ending compilation of dev-python/PyQt-3.17.3.

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Celeron(R) M CPU        430  @ 1.73GHz
Timestamp of tree: Fri, 15 Feb 2008 01:47:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -pipe -g -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O1 -pipe -g -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="es de fr it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es de fr it" USERLAND="GNU" VIDEO_CARDS="sis s3virge savage via vesa fbdev s3 vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------------------------------

>>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-3.17.3.tar.gz to /var/tmp/portage/dev-python/PyQt-3.17.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/PyQt-3.17.3/work/PyQt-x11-gpl-3.17.3 ...
qextscintillaglobal.h could not be found in /usr/include and so the qtext
module will not be built. If QScintilla is installed then use the -n argument
to explicitly specify the correct directory.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the QAssistantClient class is available...
Creating features file...
Session management error: Could not open network socket
Checking to see if the QCDEStyle class is built in...
Checking to see if the QInterlaceStyle class is built in...
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QInterlaceStyle'
cfgtest.cpp:5: error: expected `;' before 'QInterlaceStyle'
Checking to see if the QMotifStyle class is built in...
Checking to see if the QMotifPlusStyle class is built in...
Checking to see if the QPlatinumStyle class is built in...
Checking to see if the QSGIStyle class is built in...
Checking to see if the QWindowsXPStyle class is built in...
cfgtest.cpp:1:29: error: qwindowsxpstyle.h: No such file or directory
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QWindowsXPStyle'
cfgtest.cpp:5: error: expected `;' before 'QWindowsXPStyle'
Checking to see if the QWindowsStyle class is built in...
Qt v3.3.8 free edition is being used.
SIP 4.7.3 is being used.
These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml qtgl qtui
qtsql.
Support for these Qt classes has been disabled: QInterlaceStyle
QWindowsXPStyle.
The PyQt modules will be installed in /usr/lib/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/share/sip.
The Qt header files are in /usr/qt/3/include.
The qt-mt Qt library is in /usr/qt/3/lib.
pyuic will be installed in /usr/bin.
pylupdate will be installed in /usr/bin.
Generating the C++ source for the qt module...
Creating the Makefile for the qt module...
Generating the C++ source for the qtgl module...
Creating the Makefile for the qtgl module...
Generating the C++ source for the qtui module...
Creating the Makefile for the qtui module...
Generating the C++ source for the qtcanvas module...
Creating the Makefile for the qtcanvas module...
Generating the C++ source for the qtnetwork module...
Creating the Makefile for the qtnetwork module...
Generating the C++ source for the qtsql module...
Creating the Makefile for the qtsql module...
Generating the C++ source for the qttable module...
Creating the Makefile for the qttable module...
Generating the C++ source for the qtxml module...
Creating the Makefile for the qtxml module...
Creating top level Makefile...
Creating pyuic Makefile...
Creating pylupdate Makefile...
Creating pyqtconfig.py...
make[1]: Entering directory `/var/tmp/portage/dev-python/PyQt-3.17.3/work/PyQt-x11-gpl-3.17.3/qt'
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQPtrList.o sipqtQPtrList.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWorkspace.o sipqtQWorkspace.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWMatrix.o sipqtQWMatrix.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWizard.o sipqtQWizard.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWidgetStack.o sipqtQWidgetStack.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWidgetList.o sipqtQWidgetList.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWhatsThis.o sipqtQWhatsThis.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWaitCondition.o sipqtQWaitCondition.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQVGroupBox.o sipqtQVGroupBox.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQVButtonGroup.o sipqtQVButtonGroup.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQVBox.o sipqtQVBox.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQVariant.o sipqtQVariant.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQValueList.o sipqtQValueList.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQRegExpValidator.o sipqtQRegExpValidator.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQDoubleValidator.o sipqtQDoubleValidator.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQIntValidator.o sipqtQIntValidator.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQValidator.o sipqtQValidator.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQUuid.o sipqtQUuid.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQUrlOperator.o sipqtQUrlOperator.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQUrlInfo.o sipqtQUrlInfo.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQUrl.o sipqtQUrl.cpp
i686-pc-linux-gnu-g++ -c -pipe -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQTranslator.o sipqtQTranslator.cpp
sipqtQUrl.cpp: In function 'PyObject* slot_QUrl___ne__(PyObject*, PyObject*)':
sipqtQUrl.cpp:1381: error: 'class QUrl' has no member named 'operator!='
sipqtQUrl.cpp:1395: error: 'class QUrl' has no member named 'operator!='
make[1]: *** [sipqtQUrl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt-3.17.3/work/PyQt-x11-gpl-3.17.3/qt'
make: *** [all] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: dev-python/PyQt-3.17.3 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m            ebuild.sh, line 1701:  Called dyn_compile
 [31;01m*[0m            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 [31;01m*[0m            ebuild.sh, line   44:  Called src_compile
 [31;01m*[0m   PyQt-3.17.3.ebuild, line   45:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   	emake || die "emake failed"
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/log/portage/dev-python:PyQt-3.17.3:20080225-142258.log'.
 [31;01m*[0m
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 13:15:09 UTC

*** This bug has been marked as a duplicate of bug 209505 ***