Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168041 - app-office/gnucash-2.0.5 bad built_with_use check
Summary: app-office/gnucash-2.0.5 bad built_with_use check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-22 21:35 UTC by Neil Bothwick
Modified: 2007-02-23 14:46 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 Neil Bothwick 2007-02-22 21:35:59 UTC
The ebuild contains

built_with_use dev-scheme/guile regex || die "dev-scheme/guile must be built with regex"
built_with_use dev-scheme/guile deprecated || die "dev-scheme/guile must be built with deprecated"
built_with_use dev-scheme/guile discouraged || die "dev-scheme/guile must be built with discouraged"

This means you try to emerge gnucash, get the failure and add the regex flag for guile, emerge again and get another failure, add another USE flag, then fail once again. The result is that you rebuild guile up to three times, instead of once.

It would be better if each line contained

die "dev-scheme/guile must be built with the regex, deprecated and discouraged USE flags."
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-22 21:40:40 UTC
It would be even better to die just once:

built_with_use dev-scheme/guile regex deprecated discouraged || die "..."
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-22 22:38:04 UTC
Fixed.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-23 08:25:52 UTC
(In reply to comment #2)
> Fixed.
> 

You've produced a bunch of typos there, making the ebuild die due to non-existant flag.

-if !built_with_use dev-scheme/guile regex depricated discouraged; then
-die "dev-scheme/guile must be built with USE=\"regex depricated discouraged\""
+if ! built_with_use dev-scheme/guile regex deprecated discouraged; then
+die "dev-scheme/guile must be built with USE=\"regex deprecated discouraged\""
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-23 14:46:41 UTC
I swear I installed it before I committed...

Anyway, fixed again.