Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294971 - sci-biology/snpfile: fails with forced --as-needed
Summary: sci-biology/snpfile: fails with forced --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Andrey Kislyuk (RETIRED)
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2009-11-28 14:02 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-20 16:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (snpfile-2.0.1:20091128-024009.log,29.37 KB, text/plain)
2009-11-28 14:03 UTC, Diego Elio Pettenò (RETIRED)
Details
adding epatch and autotools to ebuild (snpfile-2.0.1.diff,594 bytes, patch)
2009-12-06 19:30 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (snpfile-2.0.1-as-needed.patch,5.06 KB, patch)
2009-12-06 19:32 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.