Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178054 - dev-python/PyQt-3.14.1-r1 fails to build on sipqtQString
Summary: dev-python/PyQt-3.14.1-r1 fails to build on sipqtQString
Status: RESOLVED DUPLICATE of bug 155170
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 13:58 UTC by Dmitrij D. Czarkoff
Modified: 2007-05-11 16:56 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 Dmitrij D. Czarkoff 2007-05-11 13:58:23 UTC
While emerging kde-base/pykde the process stops at 'dev-python/PyQt-3.14.1-r1'. I get the following errors:

x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=athlon64 -pipe -fPIC -O3 -march=athlon64 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.5 -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQString.o sipqtQString.cpp
sip/qt/qstringlist.sip: In function 'PyObject* slot_QStringList___getitem__(PyObject*, PyObject*)':
sip/qt/qstringlist.sip:189: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
sip/qt/qstringlist.sip: In function 'int slot_QStringList___delitem__(PyObject*, PyObject*)':
sip/qt/qstringlist.sip:161: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
sip/qt/qstringlist.sip: In function 'int slot_QStringList___setitem__(PyObject*, PyObject*)':
sip/qt/qstringlist.sip:118: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
make[1]: *** [sipqtQStringList.o] Error 1
make[1]: *** Waiting for unfinished jobs....
sip/qt/qstring.sip: In function 'PyObject* slot_QString___getitem__(PyObject*, PyObject*)':
sip/qt/qstring.sip:753: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
make[1]: *** [sipqtQString.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt-3.14.1-r1/work/PyQt-x11-gpl-3.14.1/qt'
make: *** [all] Error 2

'dev-python/sip-4.5.2-r1' is installed if it matters (USE="-debug (-doc%)").
Here is my 'emerge --info' output:

Portage 2.1.2.7 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo x86_64)
=================================================================
System uname: 2.6.21-gentoo x86_64 AMD Turion(tm) 64 Mobile Technology MT-28
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 08 May 2007 22:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4, 2.5-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3, 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe"
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/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="POSIX"
LC_ALL="POSIX"
LINGUAS="ru"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr arts artswrapper async bash-completion berkdb bitmap-fonts bluetooth bzip2 cddb cli cracklib crypt cups dbus divx dmi dri dvd dvdnav dvdr dvdread editor enca encode exif expat fbcon ffmpeg flac gdbm gif glibc-omitfp gnokii gnutls gphoto2 gpm gs hal hddtemp ical iconv ieee1394 imagemagick ipv6 isdnlog jabber java javascript jingle jpeg jpeg2k justify kde kerberos kqemu lcms ldap libg++ lm_sensors logitech-mouse mad maildir mailwrapper md5sum midi mikmod mjpeg mng modplug mp2 mp3 mpeg mplayer multislot musepack musicbrainz ncurses network nls nntp no-old-linux noamazon nptl nptlonly nsplugin ntlm_unsupported_patch offensive ogg opengl pam pcmcia pcre pdf perl pic png ppds pppd python qt3 quicktime rdesktop readline realmedia reflection rle ruby samba sdl session smbkrb5passwd sms socks5 speex spell spl sqlite ssl svg symlink syslog tcl tcpd theora tidy tiff tk tools truetype truetype-fonts type1-fonts unicode usb vcd vim-pager vim-syntax vim-with-x vorbis vorbis-psy wavpack wifi winbind wmf wmp x264 xcomposite xine xorg xv xvid zlib" ALSA_CARDS="atiixp" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-05-11 15:35:43 UTC
Yes, but that is an ancient ebuild. 

You can do one of two things:
1. go to bug #155170 and use the attachment(comment 42) that fixes the ebuild.

2. Update to PyQt-3.17

This is really a duplicate of 155170 though
Comment 2 Roeland Douma 2007-05-11 16:56:44 UTC

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