We have a problem: >>> Compiling source in /var/tmp/portage/dev-python/PyQt4-4.3/work/PyQt-x11-gpl-4.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 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * PyQt4-4.3.ebuild, line 42: Called die emerge --info Portage 2.1.3.8 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.6.1-r0, 2.6.22-kamikaze9 x86_64) ================================================================= System uname: 2.6.22-kamikaze9 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz Timestamp of tree: Fri, 07 Sep 2007 20:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc4-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-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/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache digest distlocks fixpackages keepwork metadata-transfer parallel-fetch prelink sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.edu.pl http://distfiles.gentoo.org" LANG="pl_PL" LC_ALL="pl_PL" LINGUAS="pl" MAKEOPTS="-j3 -s" PKGDIR="/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 /usr/local/portage-arcon /usr/local/sabayon" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi aiglx alsa amarok amd64 amr amrnb apache2 berkdb bitmap-fonts bluetooth branding bzip2 cairo ccache cdr cdrom cli cracklib crypt cups dar64 dbus distribution dri dvd dvdr fat ffmpeg firefox fortran gadu gdbm gif gpm gps gtk gzip hal hddtemp iconv ipv6 irda isdnlog java jpeg kde lm_sensors midi mmx mono mp3 mp4 mpeg2 mudflap ncurses nls nptl nptlonly nvidia opengl openmp opera pam pcre pdf perl plugins png pppd python qt3 qt4 rar readline reflection reiserfs sandbox seamonkey session spl sse sse2 ssl ssse3 tcpd tiff truetype-fonts type1-fonts unicode unzip usb vga vmware xorg zip zlib" ALSA_CARDS="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia vmware nv vga vesa" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
Running python-updater after upgrading python is not optional.
(In reply to comment #1) > Running python-updater after upgrading python is not optional. > I haven't python-updater AG1S / # python-updater -su: python-updater: command not found
(In reply to comment #2) > (In reply to comment #1) > > Running python-updater after upgrading python is not optional. > > > I haven't python-updater > AG1S / # python-updater > -su: python-updater: command not found > OK i have ;-)
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Running python-updater after upgrading python is not optional. For the record, I also got bitten by this "bug", so I'm posting here to alert future users. My python was updated to 2.5, I didn't see the notice to use python-updater and (IIRC) 'emerge --depclean' removed python-2.4 shortly thereafter. python-updater then exits with a "* Can't determine any previous Python version(s)" message. To get PyQt4 to merge, I had to re-emerge python-2.4, then run python-updater, which only then put PyQt4 in it's list and emerged it correctly.
"python-updater -o 2.4" will do the trick too.
*** Bug 192870 has been marked as a duplicate of this bug. ***
*** Bug 193280 has been marked as a duplicate of this bug. ***
*** Bug 193370 has been marked as a duplicate of this bug. ***
*** Bug 218874 has been marked as a duplicate of this bug. ***
*** Bug 265525 has been marked as a duplicate of this bug. ***
*** Bug 266149 has been marked as a duplicate of this bug. ***
Earlier versions of PyQt also have this "problem". Today I had trouble emerging PyQt-3.17.6 which is pulled in by amarok. It was easily solved by running python-updater.
*** Bug 405119 has been marked as a duplicate of this bug. ***
Perhaps PyQT and PyKDE ( which dies the same way ) can be enhanced to produce this suggestion when this error occurs? I don't really "use" my python installation apart from portage, so not knowing it had been updated at some stage because I didn't happen to see the notice, leading to a "broken" configuration is sub-optimal. Perhaps when python is updated it can write a file that allows other things to know python has been updated, and other python-depending packages can notice that this file is present, and warn the user that python has been updated but python updater hasn't been run, and running python-updater can remove the file that triggers this warning?