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

Bug 429944

Summary: net-misc/asterisk-10.4.0.ebuild: REQUIRED_USE incorrect?
Product: Gentoo Linux Reporter: Christian Franke <nobody-gentoo>
Component: New packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED INVALID    
Severity: normal CC: voip+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Franke 2012-08-05 01:20:36 UTC
The ebuild sets REQUIRED_USE="gtalk ( jabber )" (Needs gtalk and jabber)
I think that this maybe should be:
REQUIRED_USE="gtalk? (jabber)" (Needs jabber to do gtalk)

Reproducible: Always
Comment 1 Christian Franke 2012-08-05 01:30:51 UTC
This seems to affect asterisk-1.8.12.0.ebuild as well.

Also compare bug #415141
Comment 2 Jaco Kroon 2012-08-05 09:22:32 UTC
Hi,

This is already fixed a while ago, how old is your tree?

blackpearl asterisk # grep REQUIRED_USE *
ChangeLog:  Apply correction to REQUIRED_USE, bug #416245.
ChangeLog:  Patch by Jaco Kroon to express USE-flag dependencies in REQUIRED_USE
asterisk-1.8.12.1.ebuild:REQUIRED_USE="gtalk? ( jabber )"
asterisk-1.8.13.0-r1.ebuild:REQUIRED_USE="
asterisk-1.8.13.0.ebuild:REQUIRED_USE="gtalk? ( jabber )"
asterisk-10.5.1.ebuild:REQUIRED_USE="gtalk? ( jabber )"


The ebuilds you mention are no longer in the tree even ... the changelog entry for the fix is dated 16 May 2012 ...
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2012-08-05 10:10:46 UTC
You are expected to run emerge --sync more than once a year.
Comment 4 Christian Franke 2012-08-05 11:40:56 UTC
I don't know what went wrong there - I synced my tree more or less immediately before reporting that bug. emerge --sync completed without any issue.

# cat /usr/portage/metadata/timestamp
Sat Aug  4 16:38:07 UTC 2012
# grep REQUIRED_USE /usr/portage/net-misc/asterisk/asterisk-10.4.0.ebuild 
REQUIRED_USE="gtalk ( jabber )"