Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538108 - x11-libs/qwt-6.1.2-r1 USE="-qt4 -qt5" - ERROR: MULTIBUILD_VARIANTS need to be set
Summary: x11-libs/qwt-6.1.2-r1 USE="-qt4 -qt5" - ERROR: MULTIBUILD_VARIANTS need to be...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-29 04:27 UTC by Guillaume Poulin
Modified: 2015-01-29 11:47 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 Guillaume Poulin 2015-01-29 04:27:26 UTC
When emerging x11-libs/qwt-6.1.2-r1 it fails with the following error when both qt4 and qt5 use flags are unset.

* ERROR: x11-libs/qwt-6.1.2-r1::gentoo failed (prepare phase):
*   MULTIBUILD_VARIANTS need to be set

The ebuild needs the use flags qt4 or qt5 to be set but don't declare it explicitly. Adding the following in the ebuild should solve the issue:

REQUIRED_USE="|| ( qt4 qt5 )"

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-01-29 11:47:01 UTC
+  29 Jan 2015; Justin Lecher <jlec@gentoo.org> qwt-6.1.2-r1.ebuild:
+  Make sure at least one qt version is selected, #538108
+