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

Bug 470066

Summary: app-text/djvu : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: QA CC: ajak, jstein, mmk, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: djvu-3.5.25.3.patch

Description Agostino Sarubbo gentoo-dev 2013-05-16 12:14:59 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:

/usr/bin/ar cr libjb2cmp.a classify.o cuts.o frames.o patterns.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-22 19:26:10 UTC
Created attachment 348940 [details, diff]
djvu-3.5.25.3.patch

This simple patch should fix the issue. please review.
Comment 2 Jonas Stein gentoo-dev 2019-01-07 23:13:07 UTC
Agostino, does the patch solve your issue?
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2020-06-25 22:08:27 UTC
I can't reproduce after moving /usr/bin/ar away from that path and compiling djvu-3.5.27-r2. Makefile has 'AR = x86_64-pc-linux-gnu-ar'.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-25 22:26:12 UTC
(In reply to John Helmert III (ajak) from comment #3)
> I can't reproduce after moving /usr/bin/ar away from that path and compiling
> djvu-3.5.27-r2. Makefile has 'AR = x86_64-pc-linux-gnu-ar'.

closing