Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107030 - Unable to compile PyQt 3.13 after reinstalling Python 2.3.5
Summary: Unable to compile PyQt 3.13 after reinstalling Python 2.3.5
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-23 12:24 UTC by Vrai Stacey
Modified: 2005-12-13 22:00 UTC (History)
0 users

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 Vrai Stacey 2005-09-23 12:24:37 UTC
Emerge fails with the following error message ...

>>> Unpacking PyQt-x11-gpl-3.13.tar.gz to /var/tmp/portage/PyQt-3.13/work
>>> Source unpacked.
Traceback (most recent call last):
  File "configure.py", line 31, in ?
    import sipconfig
ImportError: No module named sipconfig
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-python/PyQt-3.13 failed.
!!! Function src_compile, Line 49, Exitcode 2

I can't find where the sipconfig module is supposed to come from, it's not
explicitly mentioned in any packages.

Reproducible: Always
Steps to Reproduce:
1. sudo emerge PyQt


Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-python/PyQt-3.13 to /
>>> md5 files   ;-) PyQt-3.12.ebuild
>>> md5 files   ;-) PyQt-3.14.1.ebuild
>>> md5 files   ;-) PyQt-3.14.ebuild
>>> md5 files   ;-) PyQt-3.11.ebuild
>>> md5 files   ;-) PyQt-3.8.1.ebuild
>>> md5 files   ;-) PyQt-3.13-r1.ebuild
>>> md5 files   ;-) PyQt-3.13.ebuild
>>> md5 files   ;-) files/digest-PyQt-3.11
>>> md5 files   ;-) files/digest-PyQt-3.12
>>> md5 files   ;-) files/digest-PyQt-3.13
>>> md5 files   ;-) files/digest-PyQt-3.14
>>> md5 files   ;-) files/digest-PyQt-3.8.1
>>> md5 files   ;-) files/digest-PyQt-3.14.1
>>> md5 files   ;-) files/digest-PyQt-3.13-r1
>>> md5 files   ;-) files/PyQt-3.8.1-qt-3.3.patch
>>> md5 files   ;-) files/license-3.8.1.diff
>>> md5 src_uri ;-) PyQt-x11-gpl-3.13.tar.gz
>>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-3.13.tar.gz to /var/tmp/portage/PyQt-3.13/work
>>> Source unpacked.
Traceback (most recent call last):
  File "configure.py", line 31, in ?
    import sipconfig
ImportError: No module named sipconfig
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-python/PyQt-3.13 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Vlad Blanton 2005-10-01 15:06:41 UTC
sipconfig is from the package "sip". try re-compiling or grabbing a newer version.

I'm also recieving errors having to do with sip, but with PyQt 3.14.1:

Creating the Makefile for the qtxml module...
Creating pyuic Makefile...
Creating pylupdate Makefile...
Creating top level Makefile...
Creating pyqtconfig.py...
make[1]: Entering directory
`/var/tmp/portage/PyQt-3.14.1/work/PyQt-x11-gpl-3.14.1/qt'
g++ -c -pipe -O2 -mcpu=i686 -march=athlon-xp -pipe -msse2 -fPIC -O2 -mcpu=i686
-march=athlon-xp -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I. -I/usr/include/python2.4 -I/usr/qt/3/include -I/usr/X11R6/include -o
sipqtpart0.o sipqtpart0.cpp
/usr/qt/3/include/qsessionmanager.h: In function `void
   dealloc_QSessionManager(sipWrapper*)':
/usr/qt/3/include/qsessionmanager.h:55: error: `virtual
   QSessionManager::~QSessionManager()' is private
sipqtpart0.cpp:136745: error: within this context
/usr/qt/3/include/qinputdialog.h: In function `void
   dealloc_QInputDialog(sipWrapper*)':
/usr/qt/3/include/qinputdialog.h:62: error: `virtual
   QInputDialog::~QInputDialog()' is private
sipqtpart0.cpp:274559: error: within this context
/usr/qt/3/include/qcolordialog.h: In function `void
   dealloc_QColorDialog(sipWrapper*)':
/usr/qt/3/include/qcolordialog.h:64: error: `virtual
   QColorDialog::~QColorDialog()' is private
sipqtpart0.cpp:407754: error: within this context
/usr/qt/3/include/qclipboard.h: In function `void
   dealloc_QClipboard(sipWrapper*)':
/usr/qt/3/include/qclipboard.h:55: error: `virtual QClipboard::~QClipboard()'
   is private
sipqtpart0.cpp:409265: error: within this context
make[1]: *** [sipqtpart0.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/PyQt-3.14.1/work/PyQt-x11-gpl-3.14.1/qt'
make: *** [all] Error 2

!!! ERROR: dev-python/PyQt-3.14.1 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 2 Wolfgang Schipper 2005-10-11 07:16:30 UTC
For emerging hplip: 
 
emerge PyQt 
Calculating dependencies ...done! 
>>> emerge (1 of 1) dev-python/PyQt-3.13 to / 
>>> md5 files   ;-) PyQt-3.11.ebuild 
>>> md5 files   ;-) PyQt-3.12.ebuild 
>>> md5 files   ;-) PyQt-3.13-r1.ebuild 
>>> md5 files   ;-) PyQt-3.13.ebuild 
>>> md5 files   ;-) PyQt-3.14.1.ebuild 
>>> md5 files   ;-) PyQt-3.14.ebuild 
>>> md5 files   ;-) PyQt-3.15.ebuild 
>>> md5 files   ;-) PyQt-3.8.1.ebuild 
>>> md5 files   ;-) files/PyQt-3.8.1-qt-3.3.patch 
>>> md5 files   ;-) files/digest-PyQt-3.11 
>>> md5 files   ;-) files/digest-PyQt-3.12 
>>> md5 files   ;-) files/digest-PyQt-3.13 
>>> md5 files   ;-) files/digest-PyQt-3.13-r1 
>>> md5 files   ;-) files/digest-PyQt-3.14 
>>> md5 files   ;-) files/digest-PyQt-3.14.1 
>>> md5 files   ;-) files/digest-PyQt-3.15 
>>> md5 files   ;-) files/digest-PyQt-3.8.1 
>>> md5 files   ;-) files/license-3.8.1.diff 
>>> md5 src_uri ;-) PyQt-x11-gpl-3.13.tar.gz 
>>> Unpacking source... 
>>> Unpacking PyQt-x11-gpl-3.13.tar.gz to /var/tmp/portage/PyQt-3.13/work 
>>> Source unpacked. 
 
 * Low on memory?! Use distcc or get a coffee. :) 
 
Traceback (most recent call last): 
  File "configure.py", line 31, in ? 
    import sipconfig 
ImportError: No module named sipconfig 
make: *** No targets specified and no makefile found.  Stop. 
 
!!! ERROR: dev-python/PyQt-3.13 failed. 
!!! Function src_compile, Line 49, Exitcode 2 
!!! emake failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-09 16:23:04 UTC
>I can't find where the sipconfig module is supposed to come from, it's not
explicitly mentioned in any packages.

Installed by dev-python/sip. Guess you didn't run python-updater or something
like that. If you still have problems reopen please.
Comment 4 Daevid Vincent 2005-12-13 22:00:37 UTC
 # /usr/sbin/python-updater 
 * Logging disabled due to permissions 
 * Starting Python Updater from 2.3 to 2.4 : 
 * Searching for packages with files 
in /usr/lib/python2.3 /usr/lib32/python2.3 /usr/lib64/python2.3 .. 
   Adding to list: dev-python/PyQt-3.13 
   Adding to list: media-libs/musicbrainz-2.0.2-r2 
 * Calculating Upgrade Package List .. 
 * Re-ordering packages to merge .. 
 * Preparing to merge these packages in this order: 
   dev-python/PyQt-3.13 
   media-libs/musicbrainz-2.0.2-r2 
 * Starting to merge (1/2) dev-python/PyQt-3.13 .. 
Calculating dependencies ...done! 
>>> emerge (1 of 1) dev-python/PyQt-3.13 to / 
>>> md5 files   ;-) PyQt-3.11.ebuild 
>>> md5 files   ;-) PyQt-3.12.ebuild 
 
.... 
 
 
Creating pyuic Makefile... 
Creating pylupdate Makefile... 
Creating top level Makefile... 
Creating pyqtconfig.py... 
make[1]: Entering directory 
`/var/tmp/portage/PyQt-3.13/work/PyQt-x11-gpl-3.13/qt' 
g++ -c -pipe -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe 
-fPIC -march=pentium4 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/include 
-I/usr/X11R6/include -o sipqtpart0.o sipqtpart0.cpp 
sipqtpart0.cpp: In function `void dealloc_QSessionManager(sipWrapper*)': 
/usr/qt/3/include/qsessionmanager.h:55: error: `virtual 
QSessionManager::~QSessionManager()' is private 
sipqtpart0.cpp:136672: error: within this context 
sipqtpart0.cpp: In function `void dealloc_QInputDialog(sipWrapper*)': 
/usr/qt/3/include/qinputdialog.h:62: error: `virtual 
QInputDialog::~QInputDialog()' is private 
sipqtpart0.cpp:274486: error: within this context 
sipqtpart0.cpp: In function `void dealloc_QColorDialog(sipWrapper*)': 
/usr/qt/3/include/qcolordialog.h:64: error: `virtual 
QColorDialog::~QColorDialog()' is private 
sipqtpart0.cpp:407673: error: within this context 
sipqtpart0.cpp: In function `void dealloc_QClipboard(sipWrapper*)': 
/usr/qt/3/include/qclipboard.h:55: error: `virtual QClipboard::~QClipboard()' 
is private 
sipqtpart0.cpp:409184: error: within this context 
make[1]: *** [sipqtpart0.o] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/PyQt-3.13/work/PyQt-x11-gpl-3.13/qt' 
make: *** [all] Error 2 
 
!!! ERROR: dev-python/PyQt-3.13 failed. 
!!! Function src_compile, Line 49, Exitcode 2 
!!! emake failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 
.... 
 
# emerge --info 
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.14-gentoo-r2 i686) 
================================================================= 
System uname: 2.6.14-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 
2.00GHz 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.2.3-r6, 2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks fixpackages keepwork parallel-fetch 
sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.llarian.net/ 
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://mirror.mcs.anl.gov/pub/gentoo/" 
LINGUAS="en" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X aalib acl acpi alsa apache2 apm arts audiofile avi berkdb 
bitmap-fonts bzip2 cdr crypt curl eds emboss encode esd evo exif expat fam flac 
foomaticdb fortran gd gdbm ggi gif glut gmp gnome gpm gstreamer gtk gtk2 idn 
imagemagick imlib ipv6 java jpeg kde lcms libg++ libwww mad mhash mikmod mmx 
mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis 
opengl oss pam pcmcia pcre pda pdflib perl php png python qt quicktime readline 
recode ruby samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype 
truetype-fonts type1-fonts udev usb vhosts vorbis wifi xine xml2 xmms xv xvid 
zlib linguas_en userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY 
 
 
 
And I can't re-open this bug. lame. Hope someone looks at this and fixes this. 
It's been months.