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

Bug 294971

Summary: sci-biology/snpfile: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Andrey Kislyuk (RETIRED) <weaver>
Status: RESOLVED FIXED    
Severity: QA CC: esigra, sci-biology, xarthisius
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/proj/en/qa/asneeded.xml
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: Build log
adding epatch and autotools to ebuild
fixing as-needed issues

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-28 14:02:47 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-28 14:03:14 UTC
Created attachment 211443 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-06 19:30:13 UTC
Created attachment 212266 [details, diff]
adding epatch and autotools to ebuild
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-06 19:32:50 UTC
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).
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-20 16:59:37 UTC
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.