Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404001 - dev-python/PyQt4-4.9.1 - python 3.2 - ImportError: No module named sipconfig
Summary: dev-python/PyQt4-4.9.1 - python 3.2 - ImportError: No module named sipconfig
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-16 03:41 UTC by Julian Bayardo
Modified: 2012-02-16 08:34 UTC (History)
1 user (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 Julian Bayardo 2012-02-16 03:41:58 UTC
Well, I was going to upgrade this to the newest version and I got this... I suppose sipconfig must be some kind of Python component which is somehow not there, so shouldn't it be added to dependencies?

>>> Emerging (29 of 38) dev-python/PyQt4-4.9.1
 * PyQt-x11-gpl-4.9.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-4.9.1.tar.gz to /var/tmp/portage/dev-python/PyQt4-4.9.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/PyQt4-4.9.1/work
>>> Preparing source in /var/tmp/portage/dev-python/PyQt4-4.9.1/work/PyQt-x11-gpl-4.9.1 ...
 * Applying PyQt4-4.7.2-configure.py.patch ...                                                                                               [ ok ]
 * Preparation of dev-python/PyQt4-4.9.1 with CPython 2.7...
 * Preparation of dev-python/PyQt4-4.9.1 with CPython 3.2...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/PyQt4-4.9.1/work/PyQt-x11-gpl-4.9.1 ...
 * Configuration of dev-python/PyQt4-4.9.1 with CPython 2.7...
python2.7 configure.py --confirm-license --bindir=/usr/bin --destdir=/usr/lib/python2.7/site-packages --sipdir=/usr/share/sip --qsci-api --enable=QtCore --enable=QtNetwork --enable=QtScript --enable=QtTest --enable=QtXml --enable=QtDesigner --enable=QtGui --enable=QtScriptTools --enable=QtDBus --enable=QtOpenGL --enable=QtSvg CC=i686-pc-linux-gnu-gcc CXX=i686-pc-linux-gnu-g++ LINK=i686-pc-linux-gnu-g++ LINK_SHLIB=i686-pc-linux-gnu-g++ CFLAGS=-mtune=prescott -march=i686 -O2 CXXFLAGS=-mtune=prescott -march=i686 -O2 LFLAGS=-Wl,-O1 -Wl,--as-needed
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4.9.1 (licensed under the GNU General Public
License) for Python 2.7.2 on linux2.
Found the license file pyqt-gpl.sip.
Checking to see if the QtGui module should be built...
Checking to see if the QtNetwork module should be built...
Checking to see if the QtDBus module should be built...
Checking to see if the QtOpenGL module should be built...
Checking to see if the QtScript module should be built...
Checking to see if the QtScriptTools module should be built...
Checking to see if the QtSvg module should be built...
Checking to see if the QtTest module should be built...
Checking to see if the QtXml module should be built...
Checking to see if the QtDesigner module should be built...
Checking to see if the dbus support module should be built...
Qt v4.8.0 free edition is being used.
SIP 4.13.1 is being used.
The Qt header files are in /usr/include/qt4.
The shared Qt libraries are in /usr/lib/qt4.
The Qt binaries are in /usr/bin.
The Qt mkspecs directory is in /usr/share/qt4.
These PyQt modules will be built: QtCore, QtGui, QtNetwork, QtDBus, QtOpenGL,
QtScript, QtScriptTools, QtSvg, QtTest, QtXml, QtDesigner.
The PyQt Python package will be installed in /usr/lib/python2.7/site-packages.
PyQt is being built with generated docstrings.
PyQt is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in /usr/lib/qt4/plugins/designer.
The QScintilla API file will be installed in /usr/share/qt4/qsci/api/python.
The dbus support module will be installed in
/usr/lib/python2.7/site-packages/dbus/mainloop.
The PyQt .sip files will be installed in /usr/share/sip.
pyuic4, pyrcc4 and pylupdate4 will be installed in /usr/bin.
Generating the C++ source for the QtCore module...
Creating the Makefile for the QtCore module...
Generating the C++ source for the QtGui module...
Creating the Makefile for the QtGui module...
Generating the C++ source for the QtNetwork module...
Creating the Makefile for the QtNetwork module...
Generating the C++ source for the QtDBus module...
Creating the Makefile for the QtDBus module...
Determining the OpenGL data types...
Generating the C++ source for the QtOpenGL module...
Creating the Makefile for the QtOpenGL module...
Generating the C++ source for the QtScript module...
Creating the Makefile for the QtScript module...
Generating the C++ source for the QtScriptTools module...
Creating the Makefile for the QtScriptTools module...
Generating the C++ source for the QtSvg module...
Creating the Makefile for the QtSvg module...
Generating the C++ source for the QtTest module...
Creating the Makefile for the QtTest module...
Generating the C++ source for the QtXml module...
Creating the Makefile for the QtXml module...
Generating the C++ source for the QtDesigner module...
Creating the Makefile for the QtDesigner module...
Generating the C++ source for the Qt module...
Creating the Makefile for the Qt module...
Creating QScintilla API file...
Creating top level Makefile...
Creating QPy support library for QtOpenGL Makefile...
Creating QPy support library for QtCore Makefile...
Creating QPy support library for QtGui Makefile...
Creating QPy support library for QtDesigner Makefile...
Creating QPy support library for QtDBus Makefile...
Creating QPy support libraries Makefile...
Creating dbus support module Makefile...
Creating pyuic4 wrapper...
Creating pyuic4 Makefile...
Creating pylupdate4 Makefile...
Creating pyrcc4 Makefile...
Creating Qt Designer plugin Makefile...
Creating pyqtconfig.py...
 * Running qmake ...                                                                                                                         [ ok ]
 * Running qmake ...                                                                                                                         [ ok ]
 * Running qmake ...                                                                                                                         [ ok ]
 * Running qmake ...                                                                                                                         [ ok ]
 * Running qmake ...                                                                                                                         [ ok ]
 * Running qmake ...                                                                                                                         [ ok ]
 * Configuration of dev-python/PyQt4-4.9.1 with CPython 3.2...
python3.2 configure.py --confirm-license --bindir=/usr/bin --destdir=/usr/lib/python3.2/site-packages --sipdir=/usr/share/sip --qsci-api --enable=QtCore --enable=QtNetwork --enable=QtScript --enable=QtTest --enable=QtXml --enable=QtDesigner --enable=QtGui --enable=QtScriptTools --enable=QtDBus --enable=QtOpenGL --enable=QtSvg CC=i686-pc-linux-gnu-gcc CXX=i686-pc-linux-gnu-g++ LINK=i686-pc-linux-gnu-g++ LINK_SHLIB=i686-pc-linux-gnu-g++ CFLAGS=-mtune=prescott -march=i686 -O2 CXXFLAGS=-mtune=prescott -march=i686 -O2 LFLAGS=-Wl,-O1 -Wl,--as-needed
Traceback (most recent call last):
  File "configure.py", line 32, in <module>
    import sipconfig
ImportError: No module named sipconfig
 * ERROR: dev-python/PyQt4-4.9.1 failed (configure phase):
 *   Configuration failed with CPython 3.2 in configuration() function
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 4990:  Called python_execute_function '-s' 'configuration'
 *   environment, line 3279:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/PyQt4-4.9.1',
 * the complete build log and the output of 'emerge -pqv =dev-python/PyQt4-4.9.1'.
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.9.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.9.1/temp/environment'.
 * S: '/var/tmp/portage/dev-python/PyQt4-4.9.1/work/PyQt-x11-gpl-4.9.1'
Comment 1 Julian Bayardo 2012-02-16 03:42:36 UTC
Portage 2.1.10.46 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r2, 3.2.5-gentoo-vanaheimr i686)
=================================================================
System uname: Linux-3.2.5-gentoo-vanaheimr-i686-Intel-R-_Pentium-R-_Dual_CPU_E2140_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Thu, 16 Feb 2012 01:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=prescott -march=i686 -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=prescott -march=i686 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-mtune=prescott -march=i686 -O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB en_US es es_AR es_ES"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="32bit X a52 aac acl acpi alsa amrnb bazaar berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cvs cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gdu gif git gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mercurial mmx mng modules mp3 mp4 mpeg mudflap musepack nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio python qt3support qt4 readline samba sdl session socialweb spell sse sse2 ssl ssse3 startup-notification subversion svg sysfs syslog tcpd theora threads tiff truetype udev unicode usb v4l vorbis wavpack wifi win32codecs x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US es es_AR es_ES" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel nvidia via vesa vmware v4l fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Ben de Groot 2012-02-16 07:44:11 UTC
sipconfig is part of dev-python/sip, which is definitely installed, because your emerge output shows PyQt4 builds fine for Python 2.7. But there is a problem with Python 3.2. So, have you run python-updater since updating python to 3.2.2?

Also you could check (if you have app-portage/portage-utils installed) with:
    qlist dev-python/sip | grep config
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2012-02-16 08:34:07 UTC
What Ben said or just rebuild dev-python/sip