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

Bug 517252

Summary: net-analyzer/zabbix should set REQUIRED_USE instead of dying in pkg_setup()
Product: Gentoo Linux Reporter: Michael Mol <mikemol>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: alicef, toralf, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2019-11-27   

Description Michael Mol 2014-07-16 15:53:33 UTC
When emerging with multiple database USE flags selected globally, the package's dependency requirement isn't rejected at dependency-calculation time, and the build proceeds until portage attempts to build the package itself. At this point, it calls die:

 * 
 * You can't use more than one database type in Zabbix.
 * Select exactly one database type out of these: mysql oracle postgres sqlite
 * 
 * ERROR: net-analyzer/zabbix-2.0.12::gentoo failed (setup phase):
 *   Multiple database types selected.
 * 
 * Call stack:
 *              ebuild.sh, line  93:  Called pkg_setup
 *   zabbix-2.0.12.ebuild, line  88:  Called die
 * The specific snippet of code:
 *                      die "Multiple database types selected."

Rather than calling die to alert the user to a dependency issue, portage should be made aware that the database USE flags are mutually exclusive, so as to avoid potentially building unnecessary dependencies. (And generally wasting time on a failed build.)
Comment 1 Pacho Ramos gentoo-dev 2019-12-13 15:46:53 UTC
it looks fixed in latest versions
Comment 2 Pacho Ramos gentoo-dev 2019-12-13 15:49:10 UTC
*** Bug 575278 has been marked as a duplicate of this bug. ***