Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338484 - pykde-4.4.5 fails to build with sip-4.11.1 and PyQt4-4.7.7
Summary: pykde-4.4.5 fails to build with sip-4.11.1 and PyQt4-4.7.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 20:06 UTC by Richard Foltyn
Modified: 2010-12-01 00:31 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log for pykde4 (build.log,12.06 KB, text/plain)
2010-09-23 20:07 UTC, Richard Foltyn
Details
build.log (build.log,10.50 KB, text/plain)
2010-11-20 09:27 UTC, Jakub Januszkiewicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Foltyn 2010-09-23 20:06:34 UTC
When trying to rebuild pykde4-4.4.5 after upgrading to sip-4.11.1 and PyQt4-4.7.7 I get:
ip: /tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/khtml/sipkhtmlpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_khtml.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
sip: /tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdecore/sipkdecorepart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2
sip: /tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdeui/sipkdeuipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Error 2
sip: /tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/akonadi/sipakonadipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2
sip: /tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Error 2
sip: /tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kio/sipkiopart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kio.dir/all] Error 2
make: *** [all] Error 2
emake failed

However, it is necessary to rebuild pykde4 after upgrading those two packages as otherwise the system-config-printer-kde KCM module stops working (complaining about incompatible API versions).

WORKAROUND:
Downgrading to sip-4.10.2 and PyQt4-4.7.3 solves both the compile problem with pykde4 as well as the runtime error with system-config-printer-kde.

Reproducible: Always

Steps to Reproduce:
1. See above
2.
3.




$ emerge --info                                                                                                                                             
Portage 2.2_rc86 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 23 Sep 2010 01:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm skype-eula googleearth AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-s -j6"
PKGDIR="/usr/portage/packages/core2"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/default"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 asf avahi avi bash-completion berkdb branding bzip2 cairo caps cdr cli consolekit cracklib crypt cscope ctags cups curl cxx dbus djvu dri dts dvd dvdr emboss encode exif faac faad fam fan ffmpeg firefox flac fontconfig fortran freetyoe ftp fuse gdbm gif gimp gmp gphoto2 gstreamer gtk hal handbook iconv icu idn imagemagick ipv6 java jpeg jpeg2k kde kerberos kpathsea lame lapack latex lcms ldap libnotify lua lzma lzo mad mikmod mmx mng modules mono mp3 mp4 mpeg mpeg4 mplayer mudflap multilib mysql ncurses network nfs nls nonfsv4 nptl nptlonly nsplugin nvidia ogg openexr opengl openmp pam pango pch pcre pdf phonon png policykit postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner schroedinger sdl semantic-desktop session snmp spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcltk tcpd theora threads tiff tk truetype udev unicode usb utf8 vdpau vim-syntax vorbis webdav webkit x264 xattr xcb xfs xine xml xorg xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="emu10k1 emu10k1x" 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 cgi cgid 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="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Richard Foltyn 2010-09-23 20:07:41 UTC
Created attachment 248464 [details]
build log for pykde4
Comment 2 Steffen Schaumburg 2010-10-10 22:03:30 UTC
I couldn't emerge pykde4-4.5.1 (with a different error message) but after updating to dev-python/PyQt4-4.7.7-r1 it works again. Just thought it might be worth trying this for you, too :)
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-11-14 14:30:12 UTC
This is fixed in PyQt4-4.7.7-r1.
Comment 4 Jakub Januszkiewicz 2010-11-20 09:26:33 UTC
It fails here with dev-python/PyQt4-4.8.1, the error messages are:

sip: /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/akonadi/sipakonadipart0.cpp] Błąd 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Błąd 2
make[1]: *** Oczekiwanie na niezakończone zadania....
sip: /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Błąd 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Błąd 2
sip: /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdecore/sipkdecorepart0.cpp] Błąd 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Błąd 2
sip: /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdeui/sipkdeuipart0.cpp] Błąd 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Błąd 2
make: *** [all] Błąd 2
emake failed


# emerge --info
Portage 2.2.0_alpha3 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r1, 2.6.36-gentoo i686)
=================================================================
System uname: Linux-2.6.36-gentoo-i686-AMD_Phenom-tm-_8450_Triple-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Fri, 19 Nov 2010 19:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.4-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.7.9-r2, 1.8.5-r3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo kde roslin x11 local
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=amdfam10 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --jobs 2 --load-average 2.00"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/ http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j4"
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="/var/lib/layman/kde /var/lib/layman/roslin /var/lib/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amarok amarok2 apache2 avahi bash-completion berkdb bluetooth bonjour branding bzip2 cairo cdda cdparanoia cdr cisco cjk cli consolekit cracklib crypt cups curl cxx dbus dri dts dv dvb dvd dvdr dvdread emboss encode exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gphoto2 gpm gstreamer hal handbook iconv ieee1394 inotify ipod jabber java java5 java6 javascript jpeg jpeg2k kde kdehiddenvisibility kipi lcms ldap libffi libnotify lirc lm_sensors mad matroska mikmod mime mmx mmxext mng modules mp3 mp4 mpeg mplayer mpx mtp mudflap musepack ncurses network networkmanager njb nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 quicktime rdesktop readline realmedia samba sdl semantic-desktop session smp solver spell sse sse2 ssl startup-notification subversion svg sysfs tcpd theora threads tiff truetype unicode usb utempter v4l v4l2 vcd video videos vnc vorbis win32codecs x264 x86 xattr xcb xcomposite xine xml xorg xprint xscreensaver xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="*" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" NETBEANS_MODULES="*" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Jakub Januszkiewicz 2010-11-20 09:27:42 UTC
Created attachment 254897 [details]
build.log