Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44176 - latest sip breaks PyKDE build via PyQt
Summary: latest sip breaks PyKDE build via PyQt
Status: RESOLVED DUPLICATE of bug 44121
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-09 13:30 UTC by Giles Constant
Modified: 2005-07-17 13:06 UTC (History)
3 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 Giles Constant 2004-03-09 13:30:37 UTC
Trying to install pykde, after installing sip 4.0_rc2 and PyQt 3.10 (dependency of PyQt is sip 3.10 or greater, which auto-selected 4.0_rc2), pykde first comes out with an access violation:

------ ACCESS VIOLATION SUMMARY -------------------
LOG FILE = "/tmp/sandbox-dev-python_-_pykde-3.7.4-r2-13711.log"
open_wr:   /usr/qt/3/etc/settings/.qtrc.lock
--------------------------------------------------------------------------------

So I moved /usr/qt/3/etc/settings/qtrc to once side, and pykde barfed, objecting that there was no "sipQt" file in /usr/include/pythonXX/.  After looking around, it appears that this is a feature of versions of sip >=4, so I backed sip out to version 3.10.

I now have sip-3.10 and PyQt-3.10 installed, and emerge pykde barfs with this instead:

PyQt/sip directory found at /usr/share/sip/qt
An internal error occured.  Please report all the output from the program,
including the following traceback, to <jbublitz@nwinternet.com> and CC the
PyKDE mailing list: <pykde@mats.imk.fraunhofer.de>. Thanks.

Traceback (most recent call last):
  File "build.py", line 1616, in ?
    main(sys.argv)
  File "build.py", line 1534, in main
    installChecks()
  File "build.py", line 901, in installChecks
    checkPyQt()
  File "build.py", line 754, in checkPyQt
    checkPyQtSipVersion ()
  File "build.py", line 780, in checkPyQtSipVersion
    pyqtv = hexVersionToString (vs)
  File "build.py", line 761, in hexVersionToString
    minor = str (int (vs [4:6]))
ValueError: invalid literal for int(): 0a

!!! ERROR: dev-python/pykde-3.7.4-r2 failed.
!!! Function src_compile, Line 68, Exitcode 1
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
emerge PyQt
emerge pykde

(see above for different effects with different versions)
Actual Results:  
see above 

Expected Results:  
installed :-D 

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.3-gentoo-r2) 
================================================================= 
System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.4.3.13p1 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O4 -mcpu=athlon-xp -march=athlon-xp -pipe " 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/share/config /usr/share/texmf/tex/generic/config /usr/share/texmf/tex/platex/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O4 -mcpu=athlon-xp -march=athlon-xp -pipe " 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache cvs sandbox" 
GENTOO_MIRRORS="http://212.219.247.12/sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" 
USE="X alsa apache2 apm arts artswrappersuid avi berkdb caps crypt cups dga 
directfb emacs encode esd fbcon fbdev foomaticdb gdbm ggi gif glut gnome gpm 
gtk2 imlib ipv6 jack javascript joystick jpeg kde lcd libg++ libwww 
linguas_en_GB lufsusermount mad mikmod motif mozilla mozxmlterm mpeg ncurses 
nls oggvorbis opengl openssh oss pam pdflib perl png python qt quicktime 
readline sdl slang spell ssl svga tcpd threads tiff truetype usb x86 xml2 xmms 
xv zlib"
Comment 1 Aaron Peterson 2004-03-15 02:06:20 UTC
http://www.riverbankcomputing.co.uk/pykde/download.php
pykde 3.8 is available

I tried bumping the ebuild... but, copying the ebuild didn't make it work magically... some other stuff changed (I got it to go as far as running build.py

Comment 2 Aaron Peterson 2004-03-18 00:34:46 UTC
adding the python team..
note, there is a new version of pykde out!
Comment 3 Aaron Peterson 2004-03-18 00:37:35 UTC
dupe of: http://bugs.gentoo.org/show_bug.cgi?id=33129
bug 33129 ?  (which has the patch for the 3.8 version of pykde already!)
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2004-05-25 04:42:49 UTC

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