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

Bug 213849

Summary: sys-devel/libtool - support libtool without libltdl.la?
Product: Gentoo Linux Reporter: Nguyen Thai Ngoc Duy (RETIRED) <pclouds>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-03-18 17:36:46 UTC
Recently I ran into bug #213563 (some new ltdl.m4 will check for /usr/lib/libltdl.m4 while that file was filtered out by INSTALL_MASK). I believe *.la is not required for a system to function. Is there any way we can overcome this issue? Maybe bypass INSTALL_MASK and inject libltdl.la back, or fix .m4 file/configure script not to check for libltdl.la? Or at least warn/die if users choose to exclude libltdl.la?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-18 17:38:34 UTC
Well, maybe just don't blindly INSTALL_MASK stuff... ???
Comment 2 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-03-18 17:46:09 UTC
(In reply to comment #1)
> Well, maybe just don't blindly INSTALL_MASK stuff... ???
> 

If there is a way to say "mask all *.la except /usr/lib/libltdl.la" then I'll go that way. Maybe INSTALL_MASK_MASK? :D
Comment 3 SpanKY gentoo-dev 2008-03-18 19:57:04 UTC
.la files are usually not required at runtime, but a package that uses libltdl may read the .la files at runtime when dynamically loading other libraries

you also break package dependencies that use libtool to resolve static dependencies

if you mask *.la files, you get the pieces