Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660600 - =dev-qt/qtwebkit-5.212.0_pre20180120[-printsupport] fails to compile if dev-qt/qtprintsupport isn't already installed
Summary: =dev-qt/qtwebkit-5.212.0_pre20180120[-printsupport] fails to compile if dev-q...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-07 15:48 UTC by Dan Goodliffe
Modified: 2018-09-04 18:39 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,6.24 KB, text/x-log)
2018-07-07 15:48 UTC, Dan Goodliffe
Details
emerge --info (emerge-info,6.05 KB, text/plain)
2018-07-07 15:49 UTC, Dan Goodliffe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Goodliffe 2018-07-07 15:48:31 UTC
Created attachment 538706 [details]
build.log

Looking at the ebuild, the printsupport USE flag controls whether qtprintsupport is a dependency or not, but if the package isn't present the configure phase fails. On a similar note, if qtprintsupport IS installed, the build detects and uses it if though you've asked it not to.

The failure message is simply:

CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5PrintSupport"
  with any of the following names:
    Qt5PrintSupportConfig.cmake
    qt5printsupport-config.cmake

I've attached the full log.
Comment 1 Dan Goodliffe 2018-07-07 15:49:05 UTC
Created attachment 538708 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2018-09-04 18:39:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268537c4b0e9adaae5f30320765bc54375a99e97

commit 268537c4b0e9adaae5f30320765bc54375a99e97
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-04 18:35:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-04 18:39:35 +0000

    dev-qt/qtwebkit: Add missing USE=printsupport handling
    
    Closes: https://bugs.gentoo.org/660600
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild | 1 +
 1 file changed, 1 insertion(+)