Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280170 - sys-apps/dbus-1.3.0 fails with tests enabled with --as-needed
Summary: sys-apps/dbus-1.3.0 fails with tests enabled with --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: Freedesktop bugs
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2009-08-03 12:26 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-08-05 17:20 UTC (History)
7 users (show)

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


Attachments
Build log (dbus-1.3.0:20090803-122402.log,204.80 KB, text/plain)
2009-08-03 12:27 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-08-03 12:26: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).

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-08-03 12:27:24 UTC
Created attachment 200012 [details]
Build log
Comment 2 Thomas Sachau gentoo-dev 2009-08-03 17:29:26 UTC
This happens with --as-needed in LDFLAGS too, but it only happens while building on amd64, seems to build fine on x86.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-08-05 17:20:52 UTC
+  05 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> dbus-1.3.0.ebuild,
+  +files/dbus-1.3.0-asneeded.patch:
+  Fix test suite building with -Wl,--as-needed (undefined reference to
+  clock_gettime) wrt #280170.