Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 260113

Summary: net-p2p/gnunet: package needs at least one USE flag but no USE flag enabled by default
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED WONTFIX    
Severity: QA CC: gaurdro, jer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://blog.flameeyes.eu/2009/01/12/tinderboxing-problems-missing-default-use-flags
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild with added default useflag

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-24 11:20:22 UTC
Hello,

You're receiving this canned (template-based) bug report because I found an annoyance with a package during my tinderbox run.

The package in question is checking for one out of a series of USE flags to be enabled, likely because these are multiple selectable backends, but it currently does not use the EAPI=1 feature of default USE flags to work out of the box.

You can see in my blog post in the URL field why that's a problem, and how to address the issue.

It would be very kind of you for both users and developers working on automated reporting, if the ebuild for the package enabled by default at least one backend (more might be enabled if needed).

Please note that sometimes you don't feel the need for this because the desktop profile already enables some of the USE flags, but please consider the idea of enabling them nonetheless, it would help a lot.

Thanks,
Diego
Comment 1 Ross Smith 2010-08-21 16:40:17 UTC
Created attachment 243903 [details]
ebuild with added default useflag

the QA issue should be fixed with this ebuild.   I decided on sqlite over mysql because I figured the more lightweight option would serve users best.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-09 04:33:29 UTC
*gnunet-0.8.1-r1 (14 Jan 2011)

  14 Jan 2011; Stanislav Ochotnicky <sochotnicky@gentoo.org>
  +gnunet-0.8.1-r1.ebuild, metadata.xml:
  Add several new use flags. Don't die when neither
  mysql nor sqlite are selected, instead fallback to
  sqlite.

Looks like some kind of fix was added, but REQUIRED_USE would be better:

+REQUIRED_USE="
+       !sqlite? ( mysql )
+       !mysql? ( sqlite )
+"
Comment 3 Pacho Ramos gentoo-dev 2012-04-06 19:40:35 UTC
dropped