Right after unpacking the source files, the program compilation fails, complaining about missing files. Reproducible: Always gfaccin@sonja ~ $ emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-g entoo-r3 x86_64) ================================================================= System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz Timestamp of tree: Mon, 21 Apr 2008 22:45:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 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.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -msse3 -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gcon f /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -msse3 -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unme rge-orphans userfetch" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.las.ic.unicamp. br/pub/gentoo/ " LANG="C" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu de=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="X acl alsa amd64 berkdb cdr cli cracklib crypt cups doc dri dvd dvdread fir efox fortran gdbm gpm gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde lm_sensors m idi mmx mp3 mudflap ncurses new-login nls nptl nptlonly nptonly nsplugin opengl openmp pam pcre pdf perl png pppd python qt3 qt4 readline reflection samba sessi on spl sse sse2 ssl tcpd threads tiff unicode wifi xml xorg zlib" ALSA_CARDS="al i5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 e s1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82 xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsno op empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_bas ic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_def ault authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_f s dav_lock deflate dir disk_cache env expires ext_filter file_cache filter heade rs include info log_config logio mem_cache mime mime_magic negotiation rewrite s etenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" IN PUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" V IDEO_CARDS="vesa-intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, L INGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_ OPTS
Created attachment 150583 [details] Build log with the error message
i have exactly the same problem. Here's the info emerge --info Portage 2.1.5.2 (default-linux/amd64/2007.0, gcc-4.2.4, glibc-2.7-r2, 2.6.24-16-generic x86_64) ================================================================= System uname: 2.6.24-16-generic x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz Timestamp of tree: Thu, 29 May 2008 21:36:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r9, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1 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.23-r3 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.virginmedia.com/ " LANG="en_GB.UTF-8" LDFLAGS="" LINGUAS="en_GB en" 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/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aac acl acpi alsa amd64 berkdb cdparanoia cdr cli cracklib crypt css cups dbus divx dri dvb dvd dvdr dvdread esd examples ffmpeg flac fonts fortran gif gimp gpm hal iconv ieee1394 imagemagick imlib ipv6 isdnlog joystick jpeg kde latex lcms logitech-mouse matroska midi mmx mp3 mudflap mysql ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl png pppd python qt3 qt4 readline realplayer reflection samba seamonkey session spell spl sse sse2 ssl svg tcpd theora tiff tk truetype unicode usb vorbis x264 xcomposite xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
reemerging dev-python/sip fixed this bug for me.
Created attachment 160919 [details] emerge --info
I upgraded Python 2.4 to 2.5 After that ran python-updater -o 2.4 and I got following error >>> Emerging (1 of 1) dev-python/PyQt4-4.3.3 to / * PyQt-x11-gpl-4.3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking PyQt-x11-gpl-4.3.3.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking PyQt-x11-gpl-4.3.3.tar.gz to /var/tmp/portage/dev-python/PyQt4-4.3.3/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-python/PyQt4-4.3.3/work/PyQt-x11-gpl-4.3.3 ... Traceback (most recent call last): File "configure.py", line 30, in <module> import sipconfig ImportError: No module named sipconfig make: *** No targets specified and no makefile found. Stop. * * ERROR: dev-python/PyQt4-4.3.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2824: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.3.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.3.3/temp/environment'. *
I had the same problem with dev-python/PyQt4-4.3.3, also got 'ImportError: No module named sipconfig'. Reemerging dev-python/sip fixed it, PyQt4-4.3.3 now compiles without errors.
Whoa! Re-emerging dev-python/sip fixed it. It's interesting that in the case of this bug, even with revdep-resolve one cannot fix the problem. And to simply guess which package has to be reemerged to solve the problem is a bit too much to ask to the common user. Perhaps the sip package should be added to the dependencies of PyQT as something that has to be rebuild when it's emerged (even if it already exists). This way this bug would never appear again. What do you think? Is it reasonable?
I re-emerged sip but it did not fix it. http://forums.gentoo.org/viewtopic-t-700975-postdays-0-postorder-asc-start-0.html?sid=b12da23541f424cbe8bac88c55651993
had the same problem with dev-python/PyQt4-4.3.1 failing. emerged dev-python/sip and then dev-python/PyQt4-4.3.1 worked. ssbook ~ # emerge --info Portage 2.1.4.4 (default/linux/powerpc/ppc32/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r1 ppc) ================================================================= System uname: 2.6.24-gentoo-r1 ppc 7447A, altivec supported Timestamp of tree: Thu, 07 Aug 2008 16:45:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CHOST="powerpc-unknown-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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collosion-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" 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" SYNC="rsync://192.168.168.16/portage" USE="X a52 aac acl aim alsa altivec audiofile bcmath berkdb bzip2 cairo cdda cddb cdparanoia cdr cgi chardet cli codecs cpudetection cracklib crypt css ctype cups dba dga directfb divx4linux dri dts dvd dvdread dvi effects encode exif extraengine faad fbcon ffmpeg fftw firefox flac fortran gdbm gif gimp gimpprint graphviz gs gtk gtkhtml hash httpd iconv imagemagick imlib inkjar jbig joystick jpeg jpeg2k latex lcms libcaca lzo mad matroska mhash midi mikmod mjpeg mng modplug motif moznocompose moznomail mozplaintext mp3 mp4 mpeg mpeg4 mudflap musepack musicbrainz ncurses nls nocardbus nodrm nptl nptlonly ogg openexr opengl openmp pam pci pcre pdf perl plotutils png portaudio posix postscript ppc python qt3 qt3support qt4 quicktime readline reflection reiserfs rtc sdl session sndfile speex spell spl ssl svg sysfs theora threads tiff tk truetype unicode usb vcd vidix vorbis wxwindows x264 xine xml xorg xosd xpm xv xvid zip zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ssbook ~ #
Confirming that reemerging dev-python/sip fixes the problem on x64_64 system.
I also confirm it that re-emerging dev-python/fixes the problem I wonder why revdep-rebuild couldnt fix this problem
re-ermerging dev-python/sip fixes the problem in x86.
Re-emerging dev-python/sip fixed it on my x86-64 Gentoo aswell.
This probably simply happens because you've recently updated python (most likely to 2.6), so PyQt4 is trying to make use of it, but sip is only installed for python 2.5. python-updater should usually take care of it. And after I had hit the same problem as you, I thought of running it and surely it fixed it for me. So I guess this is simply a usage problem and not a bug...
I fixed it by re-emerging dev-python/sip, running python-updater and also a revdep-rebuild (just in case). Looks like this worked for other people who posted here as well. I'm going to close the bug.
dupe, not fix ...
*** This bug has been marked as a duplicate of bug 191628 ***