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

Bug 476010

Summary: dev-lang/R : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Denis Dupeyron (RETIRED) <calchan>
Severity: QA CC: jlec, sci-mathematics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-07-06 22:32:54 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 cr libtre.a regcomp.o regerror.o regexec.o tre-ast.o tre-compile.o tre-match-approx.o tre-match-backtrack.o tre-match-parallel.o tre-mem.o tre-parse.o tre-stack.o 
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-01-15 12:18:34 UTC
+  15 Jan 2014; Justin Lecher <> -R-2.10.1.ebuild,
+  -R-2.15.3.ebuild:
+  Drop old; fixes #478572 (EAPI <4 should be removed), #476010 & #476008
+  (Respect AR and LDFLAGS), #438544 (Installation Problems with version 2),
+  #425708 (stack smashing)