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

Bug 444372

Summary: sys-libs/libselinux does not respect RANLIB
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Sven Vermeulen (RETIRED) <swift>
Status: VERIFIED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: selinux-utils
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2012-11-22 21:11:33 UTC
You receive this bug because this package does not respect my system's RANLIB ( x86_64-pc-linux-gnu-ranlib - /usr/bin/x86_64-pc-linux-gnu-ranlib ) and calls directly ranlib - /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)"

ranlib libselinux.a
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-23 21:39:15 UTC
Ok, updated Makefile to have RANLIB ?= ranlib and used tc-export RANLIB in the ebuild.

Ebuild is currently in hardened-dev overlay for testing (it also contains a fix for ruby stuff) and will be moved to main tree shortly after.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2012-12-03 08:25:10 UTC
Moved to main tree, ~arch'ed
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2012-12-30 15:30:05 UTC
Stable