Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509886 - media-libs/alsa-lib-1.0.27.2 - skip oldapi test on uclibc with FEATURES=test
Summary: media-libs/alsa-lib-1.0.27.2 - skip oldapi test on uclibc with FEATURES=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-05-08 22:55 UTC by René Rhéaume
Modified: 2014-06-24 06:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
alsa-lib-1.0.27.2.ebuild.patch (alsa-lib-1.0.27.2.ebuild.patch,634 bytes, patch)
2014-05-08 22:57 UTC, René Rhéaume
Details | Diff
alsa-lib-1.0.27.2-remove_oldapitest.patch (alsa-lib-1.0.27.2-remove_oldapitest.patch,699 bytes, patch)
2014-05-08 22:58 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.