Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416693 - >=net-print/hplip-3.12 REQUIRED_USE over-using (requires hpijs or hpcups)
Summary: >=net-print/hplip-3.12 REQUIRED_USE over-using (requires hpijs or hpcups)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Daniel Pielmeier
URL: http://devmanual.gentoo.org/general-c...
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks:
 
Reported: 2012-05-20 08:41 UTC by T6n9naYMKJ
Modified: 2012-05-21 17:29 UTC (History)
2 users (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 T6n9naYMKJ 2012-05-20 08:41:55 UTC
hplip ebuild changed from warning:
--
	if ! use hpcups && ! use hpijs ; then
		ewarn "Installing neither hpcups (USE=-hpcups) nor hpijs (USE=-hpijs) driver,"
		ewarn "which is probably not what you want."
		ewarn "You will almost certainly not be able to print."
		ewarn "Recommended USE flags: USE=\"hpcups -hpijs\")."
	fi
--

to strict requirement:
--
REQUIRED_USE="|| ( hpijs hpcups )"
--

I just need the scanner and don't care about the printer in the same casing.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-05-20 08:51:00 UTC
Looks like another case of REQUIRED_USE over-use:

http://devmanual.gentoo.org/general-concepts/use-flags/index.html#conflicting-use-flags

"... should alert the user that a particular flag is being used instead"

So what was in before was correct, and was broken by addition of REQUIRED_USE
Comment 2 Daniel Pielmeier gentoo-dev 2012-05-21 17:29:17 UTC
+  21 May 2012; Daniel Pielmeier <billie@gentoo.org> hplip-3.12.2-r2.ebuild,
+  hplip-3.12.4.ebuild:
+  Remove REQUIRED_USE to fix big #416693. Thanks to T6n9naYMKJ@ymail.com.

Reverted!