Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248417 - sys-fs/davl: fails with forced --as-needed
Summary: sys-fs/davl: 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: Raúl Porcel (RETIRED)
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-11-23 16:31 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-21 14:42 UTC (History)
0 users

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


Attachments
Build log (davl-1.2.1:20081123-133244.log,117.44 KB, text/plain)
2008-11-23 16:31 UTC, Diego Elio Pettenò (RETIRED)
Details
Patch to address various QA issues in upstream Makefiles (davl-qa.patch,1.14 KB, patch)
2009-02-13 05:37 UTC, Kevin Pyle
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-23 16:31:20 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-23 16:31:54 UTC
Created attachment 173027 [details]
Build log
Comment 2 Kevin Pyle 2009-02-13 05:37:22 UTC
Created attachment 181836 [details, diff]
Patch to address various QA issues in upstream Makefiles

The upstream Makefile for gdavl did not respect user CFLAGS, did not use user LDFLAGS, and specified GTK+ libraries in CFLAGS, rather than LDFLAGS.  The upstream Makefile for cdavl did not respect user CFLAGS.  This patch fixes all those issues.

For simplicity, the patch assumes the use of GTK+ 2.  This assumption is valid on Gentoo, since the ebuild requires >=x11-libs/gtk+-2.6.  This assumption may not hold for other distributions, or when submitted upstream.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-12-21 14:42:04 UTC
+  21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> davl-1.2.1.ebuild,
+  +files/davl-1.2.1-asneeded.patch:
+  Fix building with -Wl,--no-as-needed wrt #248417 by Kevin Pyle.