Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297409 - sci-calculators/orpie: fails with forced --as-needed
Summary: sci-calculators/orpie: 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: Gentoo Science Related Packages
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on: 314651
Blocks: as-needed
  Show dependency tree
 
Reported: 2009-12-18 11:58 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-03 19:42 UTC (History)
3 users (show)

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


Attachments
Build log (orpie-1.5.1:20091218-104211.log,20.93 KB, text/plain)
2009-12-18 12:00 UTC, Diego Elio Pettenò (RETIRED)
Details

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-12-18 11:58:27 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-12-18 12:00:27 UTC
Created attachment 213373 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-19 09:26:44 UTC
It also fails without --as-needed with undefined symbols. The reason is bundled libocamlgsl. We don't have it portage yet or I've missed it.
For reference see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527732
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550058

for patch:
http://patch-tracker.debian.org/patch/nondebian/view/orpie/1.5.1-7.1
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-12-19 09:32:05 UTC
(In reply to comment #2)
> libocamlgsl. We don't have it portage yet or I've missed it.
We have it in sunrise, see bug 280939

Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2010-06-03 19:42:50 UTC
fixed in cvs. thanks.