Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304573 - kde-base/pykde4-4.3.3-r1 fails to build because of template being redefined in sip component
Summary: kde-base/pykde4-4.3.3-r1 fails to build because of template being redefined i...
Status: RESOLVED DUPLICATE of bug 301106
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal with 2 votes (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-11 15:31 UTC by Sylvain Raybaud
Modified: 2010-02-18 16:47 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge--info,3.73 KB, text/plain)
2010-02-11 15:32 UTC, Sylvain Raybaud
Details
build.log for pykde4-4.3.3-r1 generated by portage (pykde4-4.3.3-r1.build.log,8.12 KB, text/plain)
2010-02-11 15:33 UTC, Sylvain Raybaud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Raybaud 2010-02-11 15:31:48 UTC
compilation quickly fails with:

[  0%] Built target compile_python_files
[  1%] Generating sip/dnssd/sipdnssdpart0.cpp, sip/dnssd/sipdnssdpart1.cpp, sip/dnssd/sipdnssdpart2.cpp, sip/dnssd/sipdnssdpart3.cpp, sip/dnssd/sipdnssdpart4.cpp, sip/dnssd/sipdnssdpart5.cpp, sip/dnssd/sipdnssdpart6.cpp, sip/dnssd/sipdnssdpart7.cpp

sip: /dev/shm/portage/portage/kde-base/pykde4-4.3.3-r1/work/pykde4-4.3.3/python/pykde4/sip/kdecore/typedefs.sip:472: %MappedType template for this type has already been defined
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Error 2
make: *** [all] Error 2


I re-emerged PyQt4 and sip but it didn't fix the problem.
emerge --info and build log attached

Reproducible: Always

Steps to Reproduce:
emerge kde-base/pykde4
Comment 1 Sylvain Raybaud 2010-02-11 15:32:22 UTC
Created attachment 219237 [details]
emerge --info
Comment 2 Sylvain Raybaud 2010-02-11 15:33:20 UTC
Created attachment 219239 [details]
build.log for pykde4-4.3.3-r1 generated by portage
Comment 3 darrenlee 2010-02-17 00:05:55 UTC
I have the same problem.
Re-emerging pykde4-4.3.3-r1 or pykde4-4.3.3 fails because of this. 
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2010-02-17 22:13:59 UTC
Sylvain Raybaud, darrenlee: Do you still have this problem with pykde-4.3.4 or later?

darrenlee: Which compiler (gcc version) did you use?
Comment 5 darrenlee 2010-02-18 03:50:37 UTC
(In reply to comment #4)
> Sylvain Raybaud, darrenlee: Do you still have this problem with pykde-4.3.4 or
> later?
> 
> darrenlee: Which compiler (gcc version) did you use?
> 

My problem still remains after the portage was synchronized.

My gcc version is 4.4.3.

------------------------------------------------------------------------

Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_Dual_CPU_E2140_@_1.60GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 18 Feb 2010 03:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /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="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ "
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB eu zh_CN zh_TW"
MAKEOPTS="-j3"
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/swegener /usr/local/portage/layman/sunrise /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/java-overlay /usr/local/portage/layman/zen-sources /usr/local/portage/layman/dagger /usr/local/portage/layman/matsuu /usr/local/portage/layman/mozilla /usr/local/portage/layman/multimedia /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/pro-audio /usr/local/portage/layman/xfce-dev /usr/local/portage/layman/kde /usr/local/portage/layman/gentoo-taiwan /usr/local/portage/layman/gentoo-taiwan /usr/local/portage/layman/kde-sunset /usr/local/portage/layman/xen /usr/local/portage/layman/science /usr/local/portage/layman/rox /usr/local/portage/layman/gnome /usr/local/portage/layman/enlightenment /usr/local/portage/layman/falco /usr/local/portage/layman/dotnet /usr/local/portage/layman/gamerlay /usr/local/portage/layman/games /usr/local/portage/layman/finnish /usr/local/portage/layman/gcc-porting /usr/local/portage/layman/hollow /usr/local/portage/layman/leio /usr/local/portage/layman/ltsp /usr/local/portage/layman/mpd /usr/local/portage/layman/openrc /usr/local/portage/layman/pcsx2 /usr/local/portage/layman/python /usr/local/portage/layman/s3d /usr/local/portage/layman/steev /usr/local/portage/layman/xmms-zombie /usr/local/portage/layman/zugaina /usr/local/portage/layman/ub0rlay /usr/local/portage/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl anthy berkdb bzip2 cjk cli cracklib crypt cups cxx dbus distribution djvu dri fortran gdbm gpm gtk iconv immqt-bc ipv6 java kde m17n-lib mng modules mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python qt3support qt4 readline reflection scim session spl sql ssl svg sysfs tcpd tiff unicode webkit x86 xml xorg zh_CN zh_TW 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB eu zh_CN zh_TW" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
 
Comment 6 Sylvain Raybaud 2010-02-18 11:52:30 UTC
(In reply to comment #4)
> Sylvain Raybaud, darrenlee: Do you still have this problem with pykde-4.3.4 or
> later?
> 

Hi

unfortunately installing pykde4-4.3.4 or later recquire installing an unstable version of kdelibs, therefore I prefer not to try it. On another machine I successfully installed pykde4-4.4

regards,

Sylvain
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-02-18 11:55:20 UTC
(In reply to comment #6)
> unfortunately installing pykde4-4.3.4 or later recquire installing an unstable
> version of kdelibs, therefore I prefer not to try it. On another machine I
> successfully installed pykde4-4.4

In bug 300393 you can find a package.keywords file for KDE 4.3.5 which is going stable in only matter of days.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2010-02-18 12:47:08 UTC
> unfortunately installing pykde4-4.3.4 or later recquire installing an unstable
> version of kdelibs, therefore I prefer not to try it. On another machine I
> successfully installed pykde4-4.4

Sylvain, 
what qt package versions are you using (and where are they from)???
Best, Andreas

(from the build log:)
-- Found SIP version: 4.10
-- Found PyQt4 version: 4.7
Comment 9 Sylvain Raybaud 2010-02-18 13:04:22 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > unfortunately installing pykde4-4.3.4 or later recquire installing an unstable
> > version of kdelibs, therefore I prefer not to try it. On another machine I
> > successfully installed pykde4-4.4
> 
> In bug 300393 you can find a package.keywords file for KDE 4.3.5 which is going
> stable in only matter of days.
> 

okaye, I will wait for it then, and report here whether it works or not. thank you!
Comment 10 Sylvain Raybaud 2010-02-18 13:12:45 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > unfortunately installing pykde4-4.3.4 or later recquire installing an unstable
> > > version of kdelibs, therefore I prefer not to try it. On another machine I
> > > successfully installed pykde4-4.4
> > 
> > In bug 300393 you can find a package.keywords file for KDE 4.3.5 which is going
> > stable in only matter of days.
> > 
> 
> okaye, I will wait for it then, and report here whether it works or not. thank
> you!
> 

(In reply to comment #8)
> > unfortunately installing pykde4-4.3.4 or later recquire installing an unstable
> > version of kdelibs, therefore I prefer not to try it. On another machine I
> > successfully installed pykde4-4.4
> 
> Sylvain, 
> what qt package versions are you using (and where are they from)???
> Best, Andreas
> 
> (from the build log:)
> -- Found SIP version: 4.10
> -- Found PyQt4 version: 4.7
> 

my qt packages version is 4.6.2. they come from the standard portage tree.
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2010-02-18 13:33:24 UTC
> 
> my qt packages version is 4.6.2. they come from the standard portage tree.
> 

ok, my gut feeling is this is a bad interaction of stable kde, stable qt, unstable PyQt4, and unstable sip. 

I'd suggest either downgrading sip and PyQt to stable, or upgrading kde and qt to newer versions. I suspect either will work. 

I'll try to reproduce this package combination over the weekend.

Comment 12 Sylvain Raybaud 2010-02-18 16:13:22 UTC
(In reply to comment #11)
> > 
> > my qt packages version is 4.6.2. they come from the standard portage tree.
> > 
> 
> ok, my gut feeling is this is a bad interaction of stable kde, stable qt,
> unstable PyQt4, and unstable sip. 
> 
> I'd suggest either downgrading sip and PyQt to stable, or upgrading kde and qt
> to newer versions. I suspect either will work. 
> 
> I'll try to reproduce this package combination over the weekend.
> 


You were right, I downgraded PyQt and sip and it works. Thank you! I suppose this bug can be closed but I'm not sure wether I'm supposed to do it myself.

regards,

Sylvain

Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2010-02-18 16:47:36 UTC

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