Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192870 - dev-python/PyQt4-4.3 fails to compile
Summary: dev-python/PyQt4-4.3 fails to compile
Status: RESOLVED DUPLICATE of bug 191628
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 23:20 UTC by Kevin Lyons
Modified: 2007-09-20 14:23 UTC (History)
2 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 Kevin Lyons 2007-09-17 23:20:26 UTC
If I do an emerge PyQt4 I immediately get the following error message:

>>> Source unpacked.
>>> 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.


Reproducible: Always

Steps to Reproduce:
1.emerge PyQt4
2.
3.

Actual Results:  
failed compilation

Expected Results:  
successful compiliation

emerge --info:

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Mon, 17 Sep 2007 21:50:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
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
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="-O2 -pipe -march=athlon64"
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/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 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apache2 arts bash-completion berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emacs fftw fortran ftp gdbm gpm gstreamer hal iconv imagemagick ipv6 isdnlog kde libnotify libwww lm_sensors midi mmx mudflap musicbrainz mysql ncurses nls nptl nptlonly offensive ogg opengl openmp oss palm pam pcre pda pdf perl png ppds pppd python qt3 qt4 readline reflection session spell spl sse sse2 ssl symlink tcpd truetype truetype-fonts type1-fonts unicode vorbis xcomposite xinerama xml xorg zlib" ALSA_CARDS="intel8x0" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2007-09-17 23:28:22 UTC
You have dev-python/sip installed and 
/usr/lib64/python2.4/site-packages/sipconfig.py exists?
Comment 2 Kevin Lyons 2007-09-18 00:00:08 UTC
Yes, I have both dev-python/sip installed and sipconfig.py exists.

(In reply to comment #1)
> You have dev-python/sip installed and 
> /usr/lib64/python2.4/site-packages/sipconfig.py exists?
> 

Comment 3 Bill Krueger 2007-09-18 03:59:45 UTC
(In reply to comment #1)
> You have dev-python/sip installed and 
> /usr/lib64/python2.4/site-packages/sipconfig.py exists?
> 

I'm running non-64bit and am getting the same error, i.e. I get 


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

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.

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

I also have dev-python/sip-4.7 emerged. I re-emerging sip and now PyQt4 emerges without error. 



Comment 4 Kevin Lyons 2007-09-18 05:01:13 UTC
re-emerging dev-python/sip and then emerging PyQt4 did the trick for me too.  Thanks for the tip Bill.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 14:23:19 UTC
Running python-updater after python upgrade is not optional.


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