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

Bug 640456

Summary: sys-apps/gentoo-functions remove broken get_libdir function
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: CONFIRMED ---    
Severity: normal CC: base-system, blueness, candrews, devurandom, gentoo, haavardw, mgorny, pacho,, tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    

Description Mike Gilbert gentoo-dev 2017-12-10 04:40:08 UTC
The concept of a "get_libdir" function outside of the package manager is broken. The libdir is a value that is defined at package build time, not run time.

On a typical Gentoo system, this function will always return "lib", which is often the wrong value on a multilib system with SYMLINK_LIB=no (like amd64).

Please deprecate and remove this function.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-21 06:30:48 UTC
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-05-05 06:37:29 UTC