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

Bug 468190

Summary: sci-physics/cernlib : does not respect RANLIB
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Physics related packages <sci-physics>
Status: RESOLVED FIXED    
Severity: QA    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-05-01 19:00:58 UTC
You receive this bug because this package does not respect my system's RANLIB (x86_64-pc-linux-gnu-ranlib) and calls directly /usr/bin/ranlib
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export RANLIB
3)inherit toolchain-funcs and use emake RANLIB="$(tc-getRANLIB)"


From the build log:

ranlib libkernlib.a
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2013-05-27 16:00:07 UTC
  23 May 2013; Sébastien Fabbro <bicatali@gentoo.org> -cernlib-2006-r4.ebuild,
  cernlib-2006-r5.ebuild:
  Respect AR (bug #468170) and RANLIB (bug #468190), switch to EAPI5, removed
  old