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

Bug 333971

Summary: net-fs/autofs-5.0.4-r5 doesn't respect LDFLAGS for all libraries - Patch included
Product: Gentoo Linux Reporter: Cyprien Nicolas (fulax) <cyprien>
Component: [OLD] UnspecifiedAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: QA CC: DuPol, esigra, net-fs, pva, stefaan
Priority: High Keywords: Inclusion, QAcanfix
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 346537    
Bug Blocks: 331933    
Attachments: autofs-5.0.4-user-ldflags-and-as-needed-v3.patch

Description Cyprien Nicolas (fulax) 2010-08-22 15:06:17 UTC
I just emerged the last stable (amd64) net-fs/autofs-5.0.4-r5, and portage reported that:

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib64/autofs/lookup_file.so
 * /usr/lib64/autofs/lookup_hosts.so
 * /usr/lib64/autofs/lookup_ldap.so
 * /usr/lib64/autofs/lookup_multi.so
 * /usr/lib64/autofs/lookup_nisplus.so
 * /usr/lib64/autofs/lookup_program.so
 * /usr/lib64/autofs/lookup_userhome.so
 * /usr/lib64/autofs/lookup_yp.so
 * /usr/lib64/autofs/mount_afs.so
 * /usr/lib64/autofs/mount_autofs.so
 * /usr/lib64/autofs/mount_bind.so
 * /usr/lib64/autofs/mount_changer.so
 * /usr/lib64/autofs/mount_ext2.so
 * /usr/lib64/autofs/mount_generic.so
 * /usr/lib64/autofs/mount_nfs.so
 * /usr/lib64/autofs/parse_sun.so

I updated the patch autofs-5.0.4-user-ldflags-and-as-needed-v2.patch
Comment 1 Cyprien Nicolas (fulax) 2010-08-22 15:07:30 UTC
Created attachment 244049 [details, diff]
autofs-5.0.4-user-ldflags-and-as-needed-v3.patch

Update of the previous -v2 patch.

Fix LDFLAGS for libraries built in the modules/ directory
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2011-04-02 15:00:14 UTC
Thank you Cyprien. With the help of you patch I've updated autofs-5.0.5-respect-user-flags-and-fix-asneeded.patch and this problem should became fixed with next bump. Adding dependency on relevant bug.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2011-04-03 09:53:28 UTC
Fixed in 5.0.5-r1.