I'm reporting this bug because the package in summary breaks when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Please note that this bug _might_ apply to -Wl,--as-needed in LDFLAGS as well; in both cases it should be fixed. Also, if this is due to the package in question not respecting user-defined LDFLAGS, you should get to fix that too. Check the attached build log. Thanks, Diego
Created attachment 174559 [details] Build log for gnustep-apps/gwnet
/usr/GNUstep/System/Library/Headers/SMBKit/SMBKit.h:29:26: warning: libsmbclient.h: No such file or directory /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libsmbclient.so.0, needed by /usr/GNUstep/System/Library/Libraries/libSMBKit.so, not found (try using -rpath or -rpath-link) Something was wrong in the net-fs/samba package, but I wonder how smbkit could compile without both these files on the system. Emerging smbkit and gwnet with forced --as-needed went fine, rebuilding samba with the same specs to test
Rebuilding samba smbkit gwnet with forced --as-neede went fine (libsmbclient.so and headers are there and smbkit/gwnet found them), something wrong with the tinderbox?
Likely, or some software interaction; marking WORKSFORME as long as I cannot reproduce this and identify the causes.