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

Bug 509886

Summary: media-libs/alsa-lib-1.0.27.2 - skip oldapi test on uclibc with FEATURES=test
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: [OLD] LibraryAssignee: Gentoo ALSA team <alsa-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: alsa-lib-1.0.27.2.ebuild.patch
alsa-lib-1.0.27.2-remove_oldapitest.patch

Description René Rhéaume 2014-05-08 22:55:05 UTC
Updating the ALSA library on Lilblue cannot be done with FEATURES=test. This is because the oldapi test, which depends on symbol versioning, a feature unsupported by uclibc and disabled by the ebuild, is still built. The following patch removes the test, applied conditionally based on the elibc_uclibc USE flag.

Reproducible: Always

Steps to Reproduce:
1. Install lilblue
2. FEATURES=test emerge -1 alsa-lib
Actual Results:  
alsa-lib updated on system

Expected Results:  
emake failed (test phase)
Comment 1 René Rhéaume 2014-05-08 22:57:04 UTC
Created attachment 376588 [details, diff]
alsa-lib-1.0.27.2.ebuild.patch
Comment 2 René Rhéaume 2014-05-08 22:58:01 UTC
Created attachment 376590 [details, diff]
alsa-lib-1.0.27.2-remove_oldapitest.patch
Comment 3 René Rhéaume 2014-05-08 22:59:23 UTC
(In reply to René Rhéaume from comment #0)
> Actual Results:  
> alsa-lib updated on system
> 
> Expected Results:  
> emake failed (test phase)

Looks like I filled the fields in the wrong order.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-06-24 06:54:42 UTC
Done in alsa-lib-1.0.28's ebuild. I used a sed instead of a patch.