Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247919 - media-video/xanim-export: fails with forced --as-needed
Summary: media-video/xanim-export: 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 normal (vote)
Assignee: Gentoo Media-video project
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-11-21 12:00 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-07-01 19:53 UTC (History)
1 user (show)

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


Attachments
Build log (media-video:xanim-export-2.80.1-r4:20081121-062219.log,16.79 KB, text/plain)
2008-11-21 12:01 UTC, Diego Elio Pettenò (RETIRED)
Details
Untested patch. (2.80.1-asneeded.patch,523 bytes, patch)
2010-03-01 12:46 UTC, Samuli Suominen (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 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.
+