I'm reporting this bug because the package in summary fails to build 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.
P.S.: the shared library does not get linked to libutil leaving undefined symbols around; this in turn causes tcpsound to fail as per bug #313661.
Created attachment 226875 [details]
Created attachment 226895 [details, diff]
Since I messed with Makefile, I've addressed multiples issue that were solved by "ebuild tricks". In the process whole ebuild underwent significant simplification.
Created attachment 226897 [details, diff]
fixing QA issues
Addresing multiple QA issues:
- fixing CFLAGS, LDFLAGS, CC
- fixing parallel build
- fixing as-needed issues
- making static libs optional
- introducing make DESTDIR compatibility
- removing Makefile.PLATFORM bits, as they violate sandbox
+*libmba-0.9.1-r1 (20 Jun 2010)
+ 20 Jun 2010; Kacper Kowalik <email@example.com>
+ +libmba-0.9.1-r1.ebuild, +files/libmba-0.9.1-qa.patch:
+ Fixing multiple QA issues and --as-needed failure wrt bug 313673. Thanks
+ Diego for reporting.