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. Thanks, Diego
Created attachment 211443 [details] Build log
Created attachment 212266 [details, diff] adding epatch and autotools to ebuild
Created attachment 212267 [details, diff] fixing as-needed issues autotools introduced strange feature in configure: checking whether the Boost::UnitTestFramework library is available... yes checking the name of the Boost::UnitTestFramework library... checking the name of the Boost::UnitTestFramework library... (repeated n times) checking the name of the Boost::UnitTestFramework library... configure: Could not link against boost_unit_test_framework-mgw-s ! Tried newer autotools macros (ax_boost_base.m4) with the same result. However this issue seems not to influence the build process (compiles and passes all tests with forced as-needed).
Fixes in tree: *snpfile-2.0.1-r1 (20 Jun 2010) 20 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> +snpfile-2.0.1-r1.ebuild, +files/snpfile-2.0.1-gentoo.diff: Fixing as-needed issues wrt bug 294971, provide shared libs. Thanks Diego for reporting.