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

Bug 468176

Summary: media-sound/timidity++ : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Severity: QA    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: timidity++-2.14.0-r1.patch

Description Agostino Sarubbo gentoo-dev 2013-05-01 18:50:55 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 cru libutils.a bitset.o fft4g.o mblock.o memb.o nkflib.o strtab.o support.o timer.o net.o getaddrinfo.o  fft.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-25 15:14:02 UTC
Created attachment 349138 [details, diff]

src_compile() {
        emake AR="$(tc-getAR)"

fixes the issue for me.