Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484932 - dev-lang/mono-2.10.9-r2: ebuild incompatible with XATTR_PAX
Summary: dev-lang/mono-2.10.9-r2: ebuild incompatible with XATTR_PAX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 17:56 UTC by Alex Efros
Modified: 2014-10-17 20:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2013-09-14 17:56:48 UTC
This ebuild (and ~arch mono-3.0.7's ebuild too) contain hardcoded dependency on paxctl and it run paxctl on './mono/mini/mono' in the middle of compile process. This works ok on kernels with PT_PAX, but fails on XATTR_PAX.

I think either paxctl should be replaced with paxctl-ng, or there should be a way to use paxmark function from eclass.
Comment 1 Anthony Basile gentoo-dev 2014-10-17 19:22:12 UTC
mono-3.* uses paxctl-ng.  This should work now.
Comment 2 Anthony Basile gentoo-dev 2014-10-17 20:03:51 UTC
(In reply to Anthony Basile from comment #1)
> mono-3.* uses paxctl-ng.  This should work now.

Actually this is good enough, but I should add that using paxmark.sh does give more rebustness.  It follows the same wrapper logic as pax-utils.eclass, falling back on other utilities should paxctl-ng not be found.