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

Bug 452200

Summary: dev-tex/luatex does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: TeX project <tex>
Status: RESOLVED WONTFIX    
Severity: normal CC: jstein, mmk
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: luatex-0.70.1-r2.patch

Description Agostino Sarubbo gentoo-dev 2013-01-15 10:36:44 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)"


/usr/bin/ar cru libopenbsd-compat.a bsd-asprintf.o bsd-snprintf.o strlcat.o strlcpy.o strsep.o strtoll.o strtonum.o strtoul.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-06-05 19:46:39 UTC
Created attachment 350244 [details, diff]
luatex-0.70.1-r2.patch

I've added AR=$(tc-getAR) to the ebuild. This fixes the ar direct calling. Also removed some die as ebuild func's die by their own.
This patch is for the stable ebuild. (luatex-0.70.1-r2)
Comment 2 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2019-11-27 06:54:26 UTC
Will be removed in a week.