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

Bug 462758

Summary: www-servers/thttpd does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: thttpd-2.26.4-ar.patch

Description Agostino Sarubbo gentoo-dev 2013-03-23 09:14:11 UTC
You receive this bug because this package does not respect my system's AR ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar ) and calls directly ar - /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)"


ar cru libmatch.a match.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-06-01 09:59:24 UTC
Created attachment 349822 [details, diff]
thttpd-2.26.4-ar.patch

This patch fixes the ar issue. Please review.
Comment 2 Anthony Basile gentoo-dev 2013-06-01 14:24:20 UTC
(In reply to Michael Mair-Keimberger (iamnr3) from comment #1)
> Created attachment 349822 [details, diff] [details, diff]
> thttpd-2.26.4-ar.patch
> 
> This patch fixes the ar issue. Please review.

Thanks Michael!  Its pushed upstream: http://opensource.dyc.edu/gitweb/?p=sthttpd.git;a=commit;h=e57ea2e29f681dbb5e065912aecb6281fc91c55e

I've also added a thttpd-9999.ebuild to the tree.  Next release will have it along with a few other patches.