Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 382413

Summary: dev-qt/qtwebkit fails to link against media-libs/phonon on Mac OS X (framework is missing)
Product: Gentoo/Alt Reporter: Konstantin Tokarev <annulen>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED OBSOLETE    
Severity: normal CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

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