Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273430 - dev-python/PyQt4-4.4.4-r5 build fails with sip/QtCore/QtCoremod.sip:115: syntax error
Summary: dev-python/PyQt4-4.4.4-r5 build fails with sip/QtCore/QtCoremod.sip:115: synt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 20:32 UTC by Vasilis Lourdas
Modified: 2009-06-09 20:44 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 Vasilis Lourdas 2009-06-09 20:32:08 UTC
Calculating dependencies... done!
[ebuild  N    ] dev-python/PyQt4-4.4.4-r5  USE="X dbus kde opengl qt3support svg webkit -assistant -debug -doc -examples -phonon -sql -xmlpatterns" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/PyQt4-4.4.4-r5
 * PyQt-x11-gpl-4.4.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-4.4.4.tar.gz to /var/tmp/portage/dev-python/PyQt4-4.4.4-r5/work
>>> Source unpacked in /var/tmp/portage/dev-python/PyQt4-4.4.4-r5/work
>>> Preparing source in /var/tmp/portage/dev-python/PyQt4-4.4.4-r5/work/PyQt-x11-gpl-4.4.4 ...
 * Applying configure.py.patch ...                                                                                                                     [ ok ]
 * Applying PyQt4-4.4.4-qgraphicsproxywidget-avoid-event-callback-loop.patch ...                                                                       [ ok ]
 * Applying fix_license_check.patch ...                                                                                                                [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/PyQt4-4.4.4-r5/work/PyQt-x11-gpl-4.4.4 ...
python configure.py --confirm-license --bindir=/usr/bin --destdir=/usr/lib64/python2.5/site-packages --sipdir=/usr/share/sip --enable=QtCore --enable=QtNetwork --enable=QtScript --enable=QtTest --enable=QtXml --enable=QtGui --enable=QtDesigner --enable=QtOpenGL --enable=QtSvg --enable=QtWebKit
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4.4.4 (licensed under the GNU General Public
License) for Python 2.5.4 on linux2.
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 QtOpenGL module should be built...
Checking to see if the QtScript 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 QtWebKit 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.5.1 free edition is being used.
SIP 4.8 is being used.
The Qt header files are in /usr/include/qt4.
The shared Qt libraries are in /usr/lib64/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 QtOpenGL QtScript
QtSvg QtTest QtWebKit QtXml QtDesigner.
The PyQt Python package will be installed in
/usr/lib64/python2.5/site-packages.
The Designer plugin will be installed in /usr/lib64/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/lib64/python2.5/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...
sip: sip/QtCore/QtCoremod.sip:115: syntax error
Error: Unable to create the C++ code.
 * 
 * ERROR: dev-python/PyQt4-4.4.4-r5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3227:  Called die
 * The specific snippet of code:
 *       ${myconf} || die "configuration failed";
 *  The die message:
 *   configuration failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.4.4-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.4.4-r5/temp/environment'.


emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.2.5
Timestamp of tree: Tue, 09 Jun 2009 19:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://files.gentoo.gr http://mirror.leaseweb.com/gentoo/ http://mirror.jamit.de/gentoo/ http://gentoo.mneisen.org/ http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/arcon /usr/portage/local/layman/devnull /usr/portage/local/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apache2 asf bash-completion berkdb branding bzip2 bzlib cairo caps charconv chm cleartype cli cracklib crypt css ctype cups curl custom-optimization dba dbus device-mapper dmi dri dts dvd dvdr dvdread effects encode exif expat fam fat fbcon ffmpeg fftw filter firefox3 flac flatfile fontconfig foomaticdb ftp gcj gd gdbm gif gimp gimpprint glib glx gmp gnomedb gnutls gocr gphoto2 gpm gtk hal hddtemp howl iconv icu id3tag imagemagick imap imlib innodb inotify isdnlog jabber java java6 javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kipi lcms libsamplerate libwww lm_sensors madwifi maildir mailwrapper maps mhash midi mime mmx mmxext motif mozbranding mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly ntfs nvidia objc odbc offensive ogg opengl openmp pam pcmcia pcntl pcre pdf pdo pear perl php plasma pmu png posix pppd python qt3 qt3support qt4 quicktime rar rdesktop readline reflection reiserfs ruby sasl scanner server session sha512 sharedext simplexml slang smp sndfile soap sockets speex spell spl spreadsheet sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog tcltk tcpd templates tetex threads tidy tiff tokenizer tordns truetype unicode usb userlocales vda vnc vncviewer vorbis wmf wv wxgtk1 x264 xcomposite xfs xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xvid xvmc xvnc zip zlib" ALSA_CARDS="hda-intel" 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 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="cnd php ide nb webcommon xml gsf harness websvccommon" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2009-06-09 20:36:29 UTC
Whats your sip version?
Comment 2 Vasilis Lourdas 2009-06-09 20:38:10 UTC
(In reply to comment #1)
> Whats your sip version?
> 

It's 4.8.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-06-09 20:44:04 UTC
Yes, PyQt-4.4.4.4 packages should be build with sip-4.7.9. If you use sip-4.8 you need to upgrade your PyQt to PyQt4-4.5 as well


PyQt4-4.4.4 dependencies fixed on cvs

Thanks for reporting

Closing