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

Bug 474764

Summary: media-libs/vamp-plugin-sdk : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Severity: QA CC: mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: vamp-plugin-sdk-2.5-ar.patch
patch against latest ebuild

Description Agostino Sarubbo gentoo-dev 2013-06-25 18:32:32 UTC
You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /usr/bin/ar
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export AR
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)"

From the build log:

ar r libvamp-sdk.a src/vamp-sdk/PluginAdapter.o src/vamp-sdk/RealTime.o src/vamp-sdk/FFT.o src/vamp-sdk/acsymbols.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-07-25 19:08:36 UTC
Created attachment 354198 [details, diff]

This patch fixes the buildsystem so that respect user ar/ranlib, also fixes bug 474766. please review.
Comment 2 Michael Mair-Keimberger (iamnr3) 2013-07-25 19:10:04 UTC
Created attachment 354200 [details, diff]
patch against latest ebuild
Comment 3 Alexis Ballier gentoo-dev 2013-08-12 16:19:01 UTC
applied a simpler patch