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

Bug 247919

Summary: media-video/xanim-export: fails with forced --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
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:    
Bug Blocks: 129413    
Attachments: Build log
Untested patch.

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-21 12:00:29 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).

Check the attached build log.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-21 12:01:01 UTC
Created attachment 172666 [details]
Build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-01 12:46:29 UTC
Created attachment 221601 [details, diff]
Untested patch.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-30 07:06:41 UTC
I can't test this package because it has x86-only asm, but the above patch will likely not work because rerunning autotools on this ancient package is nearly impossible.

I would suggest:

inherit flag-o-matic

append-flags -pthread

That should give the linker the required -lpthread too.

Can someone with x86 please try it?
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-07-01 19:53:15 UTC
+*xanim-export-2.80.1-r5 (01 Jul 2010)
+
+  01 Jul 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  +files/2.80.1-gentoo.patch, +xanim-export-2.80.1-r5.ebuild,
+  +files/2.80.1-implicit_funcs.patch:
+  Fix building with as-needed wrt bug 247919, debundle libquicktime, respect
+  FLAGS, fix implicit function declarations.
+