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

Bug 173081

Summary: kde-base/kdelibs bad built_with_use check?
Product: Gentoo Linux Reporter: Andrew Koller <ajkoller>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: New proposed ebuild

Description Andrew Koller 2007-04-02 05:19:11 UTC
In response to line 79 in kde-base/kdelibs-3.5.6-r3.ebuild, the line is somehow interpreted as "true" being an ebuild which does not exist therefore no matter if the midi use flag was used on alsa-lib, this check still fails.  I modified the ebuild and now the check works properly.  Attached is my proposed ebuild, use it if you wish.

Reproducible: Always

Steps to Reproduce:
1.emerge -av =kdelibs-3.5.6-r3
2.see the check failure
3.

Actual Results:  
The check for whether or not alsa-lib had the midi use flag enabled failed no matter if it was set or not.

Expected Results:  
Continued if midi was used and failed if the midi flag was not used.
Comment 1 Andrew Koller 2007-04-02 05:20:08 UTC
Created attachment 115218 [details]
New proposed ebuild

Attached is my proposed ebuild
Comment 2 Andrew Koller 2007-04-02 05:22:24 UTC
Just for reference, it appears that "built_with_use --missing true media-libs/alsa-lib midi;"  is broken and instead I had to specify "built_with_use media-libs/alsa-lib midi;" in the ebuild.  This was defined in the eutils.eclass and perhaps it is something worth looking at since portage wanted to take the true statement and interpret it as an ebuild.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-02 05:51:40 UTC
Post emerge --info and emerge -pv alsa-lib output here, please.