Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377481 - media-sound/amarok-2.4.1 fails with KDE-4.7
Summary: media-sound/amarok-2.4.1 fails with KDE-4.7
Status: RESOLVED DUPLICATE of bug 373455
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 22:57 UTC by Christopher Hogan
Modified: 2011-08-03 03:21 UTC (History)
1 user (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 Christopher Hogan 2011-08-02 22:57:36 UTC
Amarok fails to build with KDE 4.7. I solved the problem by copying media-sound/amarok to my local overlay, copying amarok-2.4.1.ebuild to amarok-2.4.1.90.ebuild, and downloading that version from: ftp://ftp.kde.org/pub/kde/unstable/amarok/2.4.1.90/src/amarok-2.4.1.90.tar.bz2

New version compiles without error.

Here is the error from 2.4.1:
Linking CXX shared module ../../../../lib/amarok_data_engine_upcomingEvents.so 
distcc[12765] ERROR: compile (null) on localhost failed 
In file included from /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/context/scriptengine/javascript/simplejavascriptapplet.cpp:43: 
/var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/context/scriptengine/javascript/bind_dataengine.h:32: error: redefinition of 'struct QMetaTypeId<Plasma::Service*>' 
/usr/include/plasma/service.h:321: error: previous definition of 'struct QMetaTypeId<Plasma::Service*>' 
In file included from /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/context/scriptengine/javascript/simplejavascriptapplet.cpp:43: 
/var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/context/scriptengine/javascript/bind_dataengine.h:33: error: redefinition of 'struct QMetaTypeId<Plasma::ServiceJob*>' 
/usr/include/KDE/Plasma/../../plasma/servicejob.h:136: error: previous definition of 'struct QMetaTypeId<Plasma::ServiceJob*>' 
make[2]: *** [src/context/scriptengine/javascript/CMakeFiles/amarok_appletscript_simple_javascript.dir/simplejavascriptapplet.o] Error 1
make[1]: *** [src/context/scriptengine/javascript/CMakeFiles/amarok_appletscript_simple_javascript.dir/all] Error 2 

Reproducible: Always

Steps to Reproduce:
1.Upgrade to KDE 4.7
2.emerge =media-sound/amarok-2.4.1
3.
Actual Results:  
/var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/context/scriptengine/javascript/bind_dataengine.h:32: error: redefinition of 'struct QMetaTypeId<Plasma::Service*>' 
/usr/include/plasma/service.h:321: error: previous definition of 'struct QMetaTypeId<Plasma::Service*>' 

Expected Results:  
>>> Installing (1 of 1) media-sound/amarok-2.4.1
 * Updating icons cache ...                                                                                                                                                  [ ok ]
 * Updating desktop mime database ...
 * Updating shared mime info database ...
>>> Auto-cleaning packages...


The tarball for the new version is at: ftp://ftp.kde.org/pub/kde/unstable/amarok/2.4.1.90/src/amarok-2.4.1.90.tar.bz2
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-03 03:21:14 UTC

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