Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536188 - =dev-qt/qtwebkit-5.4 - The WebKit build was disabled for the following reasons: Missing gperf from PATH
Summary: =dev-qt/qtwebkit-5.4 - The WebKit build was disabled for the following reason...
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:
Depends on:
Blocks:
 
Reported: 2015-01-10 11:02 UTC by Paweł Stankowski
Modified: 2015-01-11 21:45 UTC (History)
0 users

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


Attachments
build log (file_536188.txt,7.27 KB, text/plain)
2015-01-10 11:02 UTC, Paweł Stankowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Stankowski 2015-01-10 11:02:14 UTC
qtwebkit emerged "successfully", but no files are installed.

dev-qt/qtwebkit-5.4.0 was built with the following:
USE="opengl udev -debug -gstreamer -gstreamer010 -multimedia -printsupport -qml -test -webp" ABI_X86="64"


Reproducible: Always
Comment 1 Paweł Stankowski 2015-01-10 11:02:56 UTC
Created attachment 393596 [details]
build log
Comment 2 Paweł Stankowski 2015-01-10 11:09:42 UTC
Emerging dev-util/gperf-3.0.4 fixed the problem.

The other revealed problem is that emerge did not fail when it should (probably due to missing 'die' command somewhere).
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2015-01-11 18:45:33 UTC
(In reply to Paweł Stankowski from comment #2)
> The other revealed problem is that emerge did not fail when it should
> (probably due to missing 'die' command somewhere).

No it's not a missing die. The build system by design doesn't build anything if some basic dependencies are missing, so there's no error and the process exits successfully.

The gperf dep has been added. Thanks.
Comment 4 Paweł Stankowski 2015-01-11 21:45:30 UTC
(In reply to Davide Pesavento from comment #3)
> (In reply to Paweł Stankowski from comment #2)
> > The other revealed problem is that emerge did not fail when it should
> > (probably due to missing 'die' command somewhere).
> 
> No it's not a missing die. The build system by design doesn't build anything
> if some basic dependencies are missing, so there's no error and the process
> exits successfully.

Sound like a good design when you build whole Qt at once, but it should not work like that when only qtwebkit is built.

I propose following patch:

--- Tools/qmake/mkspecs/features/configure.prf  2015-01-11 22:42:59.686165331 +0100
+++ Tools/qmake/mkspecs/features/configure.prf  2015-01-11 22:37:56.806146837 +0100
@@ -251,7 +251,7 @@
         }
 
         !isEmpty(skipBuildReason) {
-            log("$${EOL}The WebKit build was disabled for the following reasons: $$skipBuildReason $${EOL}$${EOL}")
+            error("$${EOL}The WebKit build was disabled for the following reasons: $$skipBuildReason $${EOL}$${EOL}")
             SUBDIRS=
             export(SUBDIRS)
         } else {