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

Bug 297409

Summary: sci-calculators/orpie: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: QA CC: esigra, ml, xarthisius
Priority: High    
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: 314651    
Bug Blocks: 129413    
Attachments: Build log

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.