Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382413 - dev-qt/qtwebkit fails to link against media-libs/phonon on Mac OS X (framework is missing)
Summary: dev-qt/qtwebkit fails to link against media-libs/phonon on Mac OS X (framewor...
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
Depends on:
Reported: 2011-09-09 17:26 UTC by Konstantin Tokarev
Modified: 2015-10-17 14:39 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Tokarev 2011-09-09 17:26:00 UTC
I'm trying to build x11-lib/qt-webkit with enabled "kde" use. That means I'd like to link it against media-libs/phonon instead of x11-libs/qt-phonon. 

Build system of QtWebKit tries to link to phonon.framework, but media-libs/phonon is installed as a plain dylib into $EPREFIX/usr/lib, which results in 

 * QA Notice: invalid reference to phonon.framework/Versions/4/phonon in /Users/konstantintokarev/Gentoo/usr/lib/qt4/QtWebKit.framework/Versions/4/QtWebKit
 * ERROR: x11-libs/qt-webkit-4.7.4 failed:
 *   invalid install_name found, your application or library will crash at runtime
Comment 1 Konstantin Tokarev 2011-09-09 18:29:18 UTC
AFAIU, possible fixes are:

1) Create phonon.framework when instaling media-libs/phonon
2) Make x11-lib/qt-webkit linking to libphonon.4.dylib instead of phonon.framework when "kde" is enabled
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-10-17 14:39:49 UTC
qtwebkit no longer needs phonon