Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223503 - PyQt4-4.4.2 fails to compile because of missing header
Summary: PyQt4-4.4.2 fails to compile because of missing header
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 223539 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-25 05:46 UTC by Juergen Rose
Modified: 2008-05-25 21:15 UTC (History)
6 users (show)

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


Attachments
PyQt4-4.4.2-r1.ebuild (PyQt4-4.4.2-r1.ebuild,1.98 KB, text/plain)
2008-05-25 12:54 UTC, R. Bosch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2008-05-25 05:46:44 UTC
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.4.2/work/PyQt-x11-gpl-4.4.2/QtCore'
make[1]: Entering directory `/var/tmp/portage/dev-python/PyQt4-4.4.2/work/PyQt-x11-gpl-4.4.2/QtGui'
g++ -c -pipe -fPIC -O2 -march=athlon -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/python2.5 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include -o sipQtGuicmodule.o sipQtGuicmodule.cpp
sip/QtGui/qgraphicsitem.sip:820:34: error: qgraphicsproxywidget.h: No such file or directory
sip/QtGui/qgraphicsitem.sip:821:29: error: qgraphicswidget.h: No such file or directory
make[1]: *** [sipQtGuicmodule.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.4.2/work/PyQt-x11-gpl-4.4.2/QtGui'
make: *** [all] Error 2
 * 
 * ERROR: dev-python/PyQt4-4.4.2 failed.


It was installed dev-python/sip-4.7.6. Perhaps there is a reason.


Reproducible: Always




root@tarantel:/usr/lib(19)# emerge --info
Portage 2.1.5.2 (default-linux/x86/2007.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r3 i686)
=================================================================
System uname: 2.6.25-gentoo-r3 i686 AMD Athlon(tm) Processor
Timestamp of tree: Sun, 25 May 2008 01:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc
/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.f
i.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informati
k.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu http://212.219.247.17/sites/www.i
biblio.org/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente
.nl/pub/os/linux/gentoo/ http://www.gigaload.org/gentoo.org/"
LDFLAGS=""
LINGUAS="de fr"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclud
e=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage /usr/local/portage/xeffects /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automou
nt bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cr
acklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi dri ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds eff
ects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx g
alago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gs
treamer gtk guile hal hardened hddtemp hdf hdf5 hlapi http iconv icq icu id3 imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber 
java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex lcms ldap libgda libsamplerate lirc lm_sensors lua lzo lzw mad mai
ldir math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicb
rainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric obex
 ocaml octave odbc ogdi ogg ole opengl openmp pam pcre pda pdf perl plotutils plugins png posix postgres postscript pppd preview-latex proj 
projectx pstricks python qhull quicktime readline real reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session s
lang slp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl stlport subtitles subversion suexec svg t1lib tcl tcpd tex theora threads
 thunderbird tidy tiff tk truetype unicode userlocales utempter v4l2 vorbis win32codecs wmf wxwindows x86 xattr xemacs xext xine xml xmlread
er xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CARDS="via82xx" 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_basi
c auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_u
ser autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include i
nfo log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speli
ng status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="
bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="ati vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYN
C_EXTRA_OPTS
Comment 1 Kamen Dokov 2008-05-25 06:26:50 UTC
Same here:

g++ -c -pipe -fPIC -march=athlon64 -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/python2.5 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include -o sipQtGuiQWidget.o sipQtGuiQWidget.cpp
g++ -c -pipe -fPIC -march=athlon64 -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/python2.5 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include -o sipQtGuiQAbstractButton.o sipQtGuiQAbstractButton.cpp
make[1]: *** [sipQtGuicmodule.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.4.2/work/PyQt-x11-gpl-4.4.2/QtGui'
make: *** [all] Error 2
 *


uname -a :
Linux felis 2.6.25-zen2-zen2 #1 SMP PREEMPT Thu May 22 21:37:52 EEST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux

emerge --info:

Portage 2.1.5.2 (default-linux/amd64/2007.0/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.25-zen2-zen2 x86_64)
=================================================================
System uname: 2.6.25-zen2-zen2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Sun, 25 May 2008 05:17:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://gentoo.telnet.bg/  http://gentoo.osuosl.org http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="bg_BGB.UTF-8"
LC_ALL="bg_BG.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en_US en bg"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 berkdb bitmap-fonts branding 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 mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ocamlopt ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xv zlib" ALSA_CARDS="hda-nvidia hda-intel" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en bg" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I have dev-lang/python-2.5.2-r4 &  dev-python/sip-4.7.6 
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-25 12:05:20 UTC
*** Bug 223539 has been marked as a duplicate of this bug. ***
Comment 3 R. Bosch 2008-05-25 12:41:08 UTC
As it seems to me, this bug is related to #222709.
This version of PyQt4 depends on x11-libs/qt-4.4.0 which is masked atm...
Comment 4 R. Bosch 2008-05-25 12:54:04 UTC
Created attachment 154257 [details]
PyQt4-4.4.2-r1.ebuild

A modified ebuild.
Comment 5 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-25 13:07:42 UTC
(In reply to comment #3)
> As it seems to me, this bug is related to #222709.
> This version of PyQt4 depends on x11-libs/qt-4.4.0 which is masked atm...

*sighs*

Fixed dependencies, package.masked. Keyword bug for Qt 4.4.0 is coming. I did NOT drop KEYWORDS for Qt 4.4.0, as I definitely don't want to cause more work for arches.
Comment 6 Juergen Rose 2008-05-25 16:45:02 UTC
I tried the modified ebuild PyQt4-4.4.2-r1.ebuild, it fails with:

root@condor:/usr/local/portage/dev-python/PyQt4(15)# emerge -pvuD world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "x11-libs/qt-svg:4" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-libs/qt-svg-4.4.0 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Ingmar Vanhassel <ingmar@gentoo.org> (10 Mar 2008)
# Masked for testing, various dependencies still need to be updated...
# Note that this version of Qt4 makes KDE 4.0.x roughly unusable.


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "dev-python/PyQt4-4.4.2-r1" [ebuild])
Comment 7 R. Bosch 2008-05-25 21:15:52 UTC
(In reply to comment #6)
> !!! All ebuilds that could satisfy "x11-libs/qt-svg:4" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - x11-libs/qt-svg-4.4.0 (masked by: package.mask)
> /usr/portage/profiles/package.mask:

Thanks! You just confirmed that the check works! :D
I had not tested that with an older qt4 version.
As usual in these cases, lookup the qt4-4.4.0 version list in /usr/portage/profiles/package.mask and write them to /etc/portage/package.unmask
You'll see qt4 is modularized now...