Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191628 - dev-python/PyQt4-4.3 failed
Summary: dev-python/PyQt4-4.3 failed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 192870 193280 193370 218874 265525 266149 405119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-07 20:55 UTC by Michal Jakubowski
Modified: 2012-04-17 21:12 UTC (History)
10 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2007-09-07 20:55:52 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-07 21:00:55 UTC
Running python-updater after upgrading python is not optional.
Comment 2 Michal Jakubowski 2007-09-07 21:03:51 UTC
(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
Comment 3 Michal Jakubowski 2007-09-07 21:06:35 UTC
(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 ;-)
Comment 4 Alan McKinnon 2007-09-09 13:28:03 UTC
(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.
Comment 5 bela.hausmann 2007-09-10 07:36:07 UTC
"python-updater -o 2.4" will do the trick too. 
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 14:23:19 UTC
*** Bug 192870 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 06:48:07 UTC
*** Bug 193280 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-09-22 05:01:35 UTC
*** Bug 193370 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2009-04-22 15:51:41 UTC
*** Bug 218874 has been marked as a duplicate of this bug. ***
Comment 10 SpanKY gentoo-dev 2009-04-22 15:51:56 UTC
*** Bug 265525 has been marked as a duplicate of this bug. ***
Comment 11 SpanKY gentoo-dev 2009-04-22 15:52:20 UTC
*** Bug 266149 has been marked as a duplicate of this bug. ***
Comment 12 Sam M W 2009-05-24 13:00:42 UTC
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.
Comment 13 Ben de Groot 2012-02-22 09:29:53 UTC
*** Bug 405119 has been marked as a duplicate of this bug. ***
Comment 14 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-04-17 21:12:33 UTC
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?