Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346951 - kde-base/phonon-kde-4.5.3 build failure
Summary: kde-base/phonon-kde-4.5.3 build failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-27 12:56 UTC by Robin Bankhead
Modified: 2010-11-28 18:13 UTC (History)
5 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 Robin Bankhead 2010-11-27 12:56:23 UTC
When building kde-base/phonon-kde-4.5.3 I get this build error:

[100%] Building CXX object phonon/platform_kde/CMakeFiles/kde.dir/qrc_resources.o
Linking CXX shared module ../../lib/kcm_phonon.so
[100%] Built target kcm_phonon
/dev/shm/portage/kde-base/phonon-kde-4.5.3/work/phonon-kde-4.5.3/phonon/platform_kde/devicelisting.cpp:38: error: redefinition of ‘struct QMetaTypeId<QList<QPair<QByteArray, QString> > >’
/usr/include/KDE/Phonon/../../phonon/objectdescription.h:396: error: previous definition of ‘struct QMetaTypeId<QList<QPair<QByteArray, QString> > >’
make[2]: *** [phonon/platform_kde/CMakeFiles/kde.dir/devicelisting.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/dev/shm/portage/kde-base/phonon-kde-4.5.3/work/phonon-kde-4.5.3/phonon/platform_kde/kdeplatformplugin.cpp:47: error: redefinition of ‘struct QMetaTypeId<QList<QPair<QByteArray, QString> > >’
/usr/include/phonon/objectdescription.h:396: error: previous definition of ‘struct QMetaTypeId<QList<QPair<QByteArray, QString> > >’
make[2]: *** [phonon/platform_kde/CMakeFiles/kde.dir/kdeplatformplugin.o] Error 1
make[1]: *** [phonon/platform_kde/CMakeFiles/kde.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/dev/shm/portage/kde-base/phonon-kde-4.5.3/work/phonon-kde-4.5.3/phonon/kded-module/phononserver.cpp:59: error: redefinition of ‘struct QMetaTypeId<QList<QPair<QByteArray, QString> > >’
/usr/include/KDE/Phonon/../../phonon/objectdescription.h:396: error: previous definition of ‘struct QMetaTypeId<QList<QPair<QByteArray, QString> > >’
make[2]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/phononserver.o] Error 1
make[1]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/all] Error 2
make: *** [all] Error 2
emake failed  
 * ERROR: kde-base/phonon-kde-4.5.3 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4199:  Called kde4-meta_src_compile
 *   environment, line 3257:  Called kde4-base_src_compile
 *   environment, line 2910:  Called cmake-utils_src_compile
 *   environment, line 1089:  Called _execute_optionaly 'src_compile'
 *   environment, line  484:  Called enable_cmake-utils_src_compile
 *   environment, line 1458:  Called cmake-utils_src_make
 *   environment, line 1108:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/phonon-kde-4.5.3',
 * the complete build log and the output of 'emerge -pqv =kde-base/phonon-kde-4.5.3'.
 * The complete build log is located at '/var/log/portage/kde-base:phonon-kde-4.5.3:20101127-120213.log'.
 * The ebuild environment file is located at '/dev/shm/portage/kde-base/phonon-kde-4.5.3/temp/environment'.
 * S: '/dev/shm/portage/kde-base/phonon-kde-4.5.3/work/phonon-kde-4.5.3'

>>> Failed to emerge kde-base/phonon-kde-4.5.3, Log file:

>>>  '/var/log/portage/kde-base:phonon-kde-4.5.3:20101127-120213.log'

This is during a large world update in which qt-* were also upgraded to 4.7.1(-r1 in the cases of -core, -gui, -script and -webkit).  media-sound/phonon-4.4.3 was built before kdelibs-4.5.3, so I have tried rebuilding it but this had no effect. revdep-rebuild and lafilefixer haven't helped either.

This link mentions the same error:
http://comments.gmane.org/gmane.comp.kde.devel.general/61911

I can't see anything else merged after qt-* or kdelibs that I'd think would make a difference here, but please advise if I should rebuild any of these. I won't do so until prompted as rebuilds take forever on this old box.

emerge --info:
Portage 2.1.9.24 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo i686)
=================================================================
System uname: Linux-2.6.36-gentoo-i686-Intel-R-_Celeron-R-_CPU_2.60GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 26 Nov 2010 20:45:03 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.2 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     3.1.2
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.5
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/pam.d /usr/share/config"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j8 -l3.5"
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="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://brazil/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdparanoia cdr chm cli clucene consolekit cracklib crypt cups cupsddk cxx dbus dga dio dri dts dvd dvdread emboss encode exif faac faad fam ffmpeg firefox flac flash foomaticdb fortran fuse gdbm gif gimp glitz gnutls gpm hal htmlhandbook iconv ieee1394 imagemagick innodb java java6 javascript jpeg kde kde4 lcms ldap libnotify libwww mad madwifi matroska mikmod mmx mng modules mp3 mp4 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp oss pam pango pcmcia pcntl pcre pdf perl php plasma png posix ppds pppd python qalculate qt3support qt4 qwt readline rss samba scanner sdl semantic-desktop sesame2 session sharedmem soap sockets spell sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff tk truetype unicode usb vcd vhosts vorbis wicd wifi win32codecs x264 x86 xcb xcomposite xine xinerama xml xmlrpc xorg xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" 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 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" NETBEANS_MODULES="apisupport groovy gsf harness ide identity j2ee java mobility nb php soa visualweb webcommon websvccommon xml" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 intel fbdev vesa" 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 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-11-27 13:59:42 UTC
the problem is media-sound/phonon-4.4.3, I added blockers in KDE 4.5 ebuilds
Comment 2 Giorgos Tsiapaliwkas 2010-11-27 14:21:12 UTC
(In reply to comment #1)
> the problem is media-sound/phonon-4.4.3, I added blockers in KDE 4.5 ebuilds

same issue here with ~amd64.

i updated my portage tree and reemerge phonon and phonon-kde but the issue wasn't solved.
Comment 3 Michiel de Bruijne 2010-11-27 16:51:08 UTC
(In reply to comment #1)
> the problem is media-sound/phonon-4.4.3, I added blockers in KDE 4.5 ebuilds
> 

Hi Theo,

The blockers break the deptree;


[blocks B     ] >=media-sound/phonon-4.4.3 (">=media-sound/phonon-4.4.3" is blocking kde-base/phonon-kde-4.5.3)

Total: 38 packages (32 upgrades, 2 new, 2 in new slots, 2 reinstalls), Size of downloads: 305,644 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (kde-base/phonon-kde-4.5.3, installed) pulled in by
    >=kde-base/phonon-kde-4.5.3[-aqua,-kdeprefix] required by (kde-base/kdebase-meta-4.5.3, installed)
    >=kde-base/phonon-kde-4.5.3[-aqua,-kdeprefix] required by (kde-base/kdebase-startkde-4.5.3, installed)
    >=kde-base/phonon-kde-4.4 required by (media-sound/amarok-2.3.2-r1, installed)

  (media-sound/phonon-4.4.3, ebuild scheduled for merge) pulled in by
    >=media-sound/phonon-4.3.80[xcb] required by (kde-base/kdelibs-4.5.3, installed)
    media-sound/phonon required by (media-video/bangarang-1.0.1-r1, installed)
    media-sound/phonon required by (x11-libs/qtscriptgenerator-0.1.0, installed)
    (and 5 more)
Comment 4 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-11-27 17:10:14 UTC
(In reply to comment #3)
> Hi Theo,
> 
> The blockers break the deptree;

Seems correct to me since nothing depends strictly on phonon 4.4.3.
Comment 5 Michiel de Bruijne 2010-11-27 18:18:11 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Hi Theo,
> > 
> > The blockers break the deptree;
> 
> Seems correct to me since nothing depends strictly on phonon 4.4.3.
> 


You are absolutely correct that nothing depends strictly on phonon 4.4.3. However, as you can see in the output current stable version of Portage isn't able to automatically downgrade the atom based on a blocker. The result is that all KDE users get a broken deptree.

Why not using <=media-sound/phonon-4.4.2 in DEPEND? This way Portage is able to build a correct deptree.
Comment 6 Benjamin Lee 2010-11-27 23:29:57 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Hi Theo,
> > > 
> > > The blockers break the deptree;
> > 
> > Seems correct to me since nothing depends strictly on phonon 4.4.3.
> > 
> 
> 
> You are absolutely correct that nothing depends strictly on phonon 4.4.3.
> However, as you can see in the output current stable version of Portage isn't
> able to automatically downgrade the atom based on a blocker. The result is that
> all KDE users get a broken deptree.
> 
> Why not using <=media-sound/phonon-4.4.2 in DEPEND? This way Portage is able to
> build a correct deptree.
> 

Agreed.  Currently "emerge -uD @world" is broken for me also due to the blocker.  Perhaps it would make more sense to have =media-sound/phonon-4.4.3 masked?
Comment 7 meyerm 2010-11-27 23:30:41 UTC
For concerned users passing by: just put "=media-sound/phonon-4.4.3" into your package mask (/etc/portage/package.mask[/phonon]) until this is fixed.
Comment 8 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-11-28 10:23:08 UTC
The commit was reverted, reopening
Comment 9 Maciej Mrozowski gentoo-dev 2010-11-28 18:13:01 UTC
This is now fixed by backporting patch from 4.5 branch (svn diff -r 1191216:1197039 phonon/ in kdebase/workspace).