Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547350 - dev-qt/qtwebkit:4 - automagic dependency on dev-qt/qt-mobility[sensors]
Summary: dev-qt/qtwebkit:4 - automagic dependency on dev-qt/qt-mobility[sensors]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 547744 (view as bug list)
Depends on:
Blocks: qt-4.8.6-stable
  Show dependency tree
 
Reported: 2015-04-21 22:21 UTC by skaumo
Modified: 2015-04-26 23:03 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 skaumo 2015-04-21 22:21:43 UTC
a 32bit version of qt-webkit is pulled in as dependency by a world update.

It fails trying to link to a 32bit libQtSensors from qt-mobility, which doesn`t seem to have any 32bit build option.



rm -f libQtWebKit.so.4.9.4 libQtWebKit.so libQtWebKit.so.4 libQtWebKit.so.4.9
x86_64-pc-linux-gnu-g++ -m32 -Wl,-O1 -Wl,--as-needed -Wl,-rpath-link,/var/tmp/portage/dev-qt/qtwebkit-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/lib -Wl,--gc-sections -Wl,--n[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/qt4/libQtSensors.so when searching for -lQtSensors
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtSensors
collect2: error: ld returned 1 exit status
distcc[27419] ERROR: compile (null) on localhost failed
Makefile:1222: recipe for target '../../../../../../lib/libQtWebKit.so.4.9.4' failed
make: *** [../../../../../../lib/libQtWebKit.so.4.9.4] Error 1
 * ERROR: dev-qt/qtwebkit-4.8.6-r1::gentoo failed (compile phase):
 *   emake failed
 *


Reproducible: Always

Steps to Reproduce:
1. have ABI_X86="64"
2. emerge packages triggering a rebuild of qt-webkit (e.g. plasma-mediacenter, kmail, ...)
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2015-04-22 15:44:12 UTC
I suggest we just hard-disable the dependency in qtwebkit.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-04-26 15:51:30 UTC
*** Bug 547744 has been marked as a duplicate of this bug. ***
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2015-04-26 21:56:12 UTC
There are potentially more:

Source/WebCore/features.pri:122:    contains(MOBILITY_CONFIG, location) {
Source/WebCore/features.pri:129:contains(MOBILITY_CONFIG, sensors) {
Source/WebCore/features.pri:139:        contains(MOBILITY_CONFIG, systeminfo) {
Source/WebCore/features.pri:151:        contains(MOBILITY_CONFIG, bearer) {
Source/WebCore/features.pri:176:    } else: contains(MOBILITY_CONFIG, multimedia) {
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2015-04-26 23:03:51 UTC
Should be fixed now, thanks for reporting.

  26 Apr 2015; Davide Pesavento <pesa@gentoo.org> qtwebkit-4.8.6-r1.ebuild:
  Prevent automagic dependency on qt-mobility (bug 547350).