Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56448 - merging PyQt-3.8.1 fails: "The SIP code generator could not be found."
Summary: merging PyQt-3.8.1 fails: "The SIP code generator could not be found."
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 05:54 UTC by Malte S. Stretz
Modified: 2004-07-11 10:25 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 Malte S. Stretz 2004-07-08 05:54:38 UTC
I tried to re-emerge PyQt (installed for a previous version of Python before), and it fails with an "Error: The SIP code generator could not be found. Use the -p argument to set the correct program."


Reproducible: Always
Steps to Reproduce:
emerge PyQt
Actual Results:  
otherland ~ # emerge PyQt 
Calculating dependencies ...done! 
>>> emerge (1 of 1) dev-python/PyQt-3.8.1 to / 
>>> Downloading 
http://ftp.easynet.nl/mirror/gentoo/distfiles/PyQt-x11-gpl-3.8.1.tar.gz 
--14:53:32--  
http://ftp.easynet.nl/mirror/gentoo/distfiles/PyQt-x11-gpl-3.8.1.tar.gz 
           => `/var/cache/portage/distfiles/PyQt-x11-gpl-3.8.1.tar.gz' 
Resolving ftp.easynet.nl... 195.86.128.57 
Connecting to ftp.easynet.nl[195.86.128.57]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 743,691 [application/x-tar] 
 
100%[=================================================================================================>] 
743,691       87.03K/s    ETA 00:00 
 
14:53:41 (87.32 KB/s) - 
`/var/cache/portage/distfiles/PyQt-x11-gpl-3.8.1.tar.gz' saved [743691/743691] 
 
>>> md5 src_uri ;-) PyQt-x11-gpl-3.8.1.tar.gz 
>>> Unpacking source... 
>>> Unpacking PyQt-x11-gpl-3.8.1.tar.gz to /var/tmp/portage/PyQt-3.8.1/work 
 * Applying license-3.8.1.diff...                                                                                                      
[ ok ] 
>>> Source unpacked. 
 * Applying PyQt-3.8.1-qt-3.3.patch...                                                                                                 
[ ok ] 
****************************************************************************** 
Error: The SIP code generator could not be found. Use the -p argument to set 
the correct program. 
****************************************************************************** 
****************************************************************************** 
Building the GPL version of PyQt 3.8.1 for Python 2.3.3 on linux2. 
****************************************************************************** 
****************************************************************************** 
/var/tmp/portage/PyQt-3.8.1/image//usr/lib/python2.3/site-packages is the PyQt 
installation directory. 
****************************************************************************** 
****************************************************************************** 
/usr/include/python2.3 contains Python.h. 
****************************************************************************** 
 
>>> Install PyQt-3.8.1 into /var/tmp/portage/PyQt-3.8.1/image/ category 
dev-python 
make: *** No targets specified and no makefile found.  Stop. 
 
!!! ERROR: dev-python/PyQt-3.8.1 failed. 
!!! Function src_install, Line 55, Exitcode 2 
!!! (no error message) 
 
 


Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.5-gentoo-r1) 
================================================================= 
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.16 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-tbird -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-tbird -O2 -pipe" 
DISTDIR="/var/cache/portage/distfiles" 
FEATURES="autoaddcvs ccache distcc sandbox" 
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/" 
MAKEOPTS="-j2" 
PKGDIR="/var/cache/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/home/mss/.portage/mortage /usr/local/portage-overlay/misc /usr/local/portage-overlay/kde-cvs" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow X aavm acl acpi acpi4linux alsa apache2 apm applypatches arts 
artswrappersuid avi berkdb cdr crypt cups curl dga directfb dvd dvdr encode 
esd ethereal expat faad fbcon foomaticdb gd gdbm geoip gif gphoto2 gpm gtk 
gtk2 hbci imap imlib ipv6 irda java javascript jpeg kde ldap libg++ libwww mad 
maildir mikmod mmx motif mozilla moznoirc mpeg ncurses nls odbc oggvorbis 
opengl operanom2 oss pam pda pdflib perl png python qt quicktime readline 
samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype 
usagi usb video_cards_radeon wmf x86 xinerama xml xml2 xmms xv xvid zlib"
Comment 1 Malte S. Stretz 2004-07-08 05:58:39 UTC
More info I forgot:

otherland ~ # ACCEPT_KEYWORDS=~x86 emerge -p PyQt qt

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-python/sip-4.0 [3.8]
[ebuild     U ] dev-python/PyQt-3.12 [3.8.1]
[ebuild   R   ] x11-libs/qt-3.3.2
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-07-11 09:16:21 UTC
Don't know why it cannot find the sip executable on your box - should be in /usr/bin, if sip is installed correctly. I marked newer versions of sip, qscintilla and pyqt stable on x86 today, so if emerge sync && sip qscintilla PyQt works for you, we can close this report.
Comment 3 Malte S. Stretz 2004-07-11 10:25:13 UTC
I don't have the faintest idea, the sip executable was there before. But with the new stable versions everything works fine. (Actually, the app I wanted to test still doesn't fly but that looks like a bug in there :)