Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573460 - [kde overlay] kde-apps/mailcommon-16.04.1 fails: phonon/mediaobject.h: No such file or directory
Summary: [kde overlay] kde-apps/mailcommon-16.04.1 fails: phonon/mediaobject.h: No suc...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-31 10:32 UTC by Malte E.
Modified: 2016-09-15 17:22 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,12.71 KB, application/gzip)
2016-04-05 05:37 UTC, Malte E.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte E. 2016-01-31 10:32:12 UTC
/var/tmp/portage/kde-apps/mailcommon-15.12.1/work/kdepim-15.12.1/mailcommon/src/filter/filteractions/filteractionplaysound.cpp:24:32: fatal error: phonon/mediaobject.h: No such file or directory

The file /usr/include/phonon4qt5/phonon/mediaobject.h exists. It seems to be a problem with the inclusions during compilation, a simple patch should suffice. I'm looking into that. Possibly, this is an upstream bug.

Reproducible: Always
Comment 1 Malte E. 2016-02-02 08:09:05 UTC
I worked around the problem by adding 
-I/usr/include/phonon4qt5 to CXX_FLAGS in /var/tmp/portage/kde-apps/mailcommon-15.12.1/work/mailcommon-15.12.1_build/src/CMakeFiles/KF5MailCommon.dir/flags.make
A patch should be able to fix this. Or an ebuild hack, that appends 
CXX_FLAGS=${CXX_FLAGS} -I/usr/include/phonon4qt5
to the respective file.
Comment 2 Malte E. 2016-02-02 11:29:13 UTC
kde-apps/kdepim seems to be affected by the same problem with a similar workaround
Comment 3 Andreas Sturmlechner gentoo-dev 2016-02-02 20:41:19 UTC
Where does kdepim bail out?
Comment 4 Andreas Sturmlechner gentoo-dev 2016-02-02 21:16:27 UTC
I just downgraded to media-libs/phonon-4.7.2 and couldn't reproduce the problem...
Comment 5 Malte E. 2016-02-03 03:18:28 UTC
I am using phonon 4.7.2, interesting. Possibly I should file this bug with the KDE guys who might know more about the problem?

kdepim fails depending on what KDEPIM_FEATURES it is being compiled with. I had the problem occuring in components of korgac and I think kalarm.
Comment 6 Malte E. 2016-04-05 05:37:19 UTC
Created attachment 429666 [details]
build.log

problem remains, with 15.12.3. Uploaded build.log for more information
Comment 7 Malte E. 2016-05-25 06:24:31 UTC
Problem persists in 16.04.1
Comment 8 Malte E. 2016-05-28 10:51:14 UTC
upgrading to phonon 4.9.0 fixed the problem. 4.8.3 did not compile due to undefined references in qt 5.6.
Comment 9 Michael Palimaka (kensington) gentoo-dev 2016-09-15 17:22:27 UTC
phonon-4.9.0 is stable now, please reopen if issues persist.