Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246755 - app-admin/paxtest: fails with forced --as-needed
Summary: app-admin/paxtest: 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: The Gentoo Linux Hardened Team
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-11-14 16:58 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-29 19:23 UTC (History)
2 users (show)

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


Attachments
Build log (app-admin:paxtest-0.9.7_pre4:20081114-165337.log,8.87 KB, patch)
2008-11-14 16:58 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
as-needed.patch (as-needed.patch,1.48 KB, patch)
2009-06-29 19:45 UTC, Christian Ruppert (idl0r)
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-14 16:58:26 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-14 16:58:44 UTC
Created attachment 171726 [details, diff]
Build log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-02 10:36:05 UTC
Treecleaners, if solar has nothing against this, it might be a good idea to get rid of this; last release in 2005.
Comment 3 solar (RETIRED) gentoo-dev 2009-06-02 16:21:11 UTC
This package is valid as it ever was for 32bit x86. I had no idea I was still listed in the metadata however. I would ask gengor for input on this one before doing anything.
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2009-06-29 19:45:37 UTC
Created attachment 196109 [details, diff]
as-needed.patch

That should fix the issue.
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2009-06-29 22:33:26 UTC
Fixed in 0.9.7_pre5, thanks.
Comment 6 Gordon Malm (RETIRED) gentoo-dev 2009-06-29 22:51:15 UTC
Hi Christian,

Thanks for your work on this.  I'm actually going to re-open this bug.  My mistake to say go ahead and close it.  Reason is we really should fix all versions in the tree since we likely will have to leave some of the older releases (some versions give invalid results for different architectures).
Comment 7 Christian Ruppert (idl0r) gentoo-dev 2009-07-02 21:07:15 UTC
(In reply to comment #6)
> Hi Christian,
> 
> Thanks for your work on this.  I'm actually going to re-open this bug.  My
> mistake to say go ahead and close it.  Reason is we really should fix all
> versions in the tree since we likely will have to leave some of the older
> releases (some versions give invalid results for different architectures).
> 

Ok, I'll try to fix them too :)
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-03 16:10:11 UTC
someone is working on patches, treecleaners don't (and shouldn't) be involved here. removing from CC. thx
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 19:23:27 UTC
  29 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
  files/Makefile-portable:
  Fix building of paxtest-0.9.6 with -Wl,--as-needed wrt #246755.

  29 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> files/Makefile.psm5:
  Fix building of paxtest-0.9.7_pre4 with -Wl,--as-needed wrt #246755.

And 0.9.5-r1 built fine without patch.