| View previous topic :: View next topic |
| Author |
Message |
sergeev917 n00b

Joined: 04 Apr 2014 Posts: 19
|
Posted: Sun Jan 03, 2016 9:43 pm Post subject: [CLOSED] half-broken xattr pax-marking |
|
|
Hello,
I've recently started experimenting with gentoo-hardened and experienced some troubles with pax-marking which is done by portage. I'm using xtpax (xattr-based) only with ptpax disabled.
The problem is that python2.7 binary is marked correctly (with EMUTRAMP) and python3.5 is not marked at all.
| Code: |
# paxctl-ng -v $(find /usr/bin -iname "python*" -type f)
/usr/bin/python2.7-config:
XATTR_PAX : not found
/usr/bin/python3:
XATTR_PAX : not found
/usr/bin/python2.7:
XATTR_PAX : -E---
/usr/bin/python3.5m-config:
XATTR_PAX : not found
/usr/bin/python:
XATTR_PAX : not found
/usr/bin/python3.5m:
XATTR_PAX : not found
/usr/bin/python2:
XATTR_PAX : not found
|
The situation is persistent across re-installation of the both packages. Python 2.7.11-r1 is selected as default python interpreter. Also the pax-marking is mentioned on compilation stages for the both packages:
| Code: |
Skipping: EDRIVE_CANT_DO_THIS = EOPNOTSUPP
Skipping: CDSL_NONE = (INT_MAX-1)
Skipping: CDSL_CURRENT = INT_MAX
* XATTR_PAX marking -E python with paxctl-ng
>>> Source compiled.
>>> Test phase [not enabled]: dev-lang/python-3.5.1-r2
>>> Install python-3.5.1-r2 into /var/tmp/portage/dev-lang/python-3.5.1-r2/image/ category dev-lang
|
The related make.conf cut:
| Code: |
FEATURES="xattr webrsync-gpg parallel-fetch metadata-transfer sandbox split-elog collision-protect merge-sync preserve-libs -test"
PAX_MARKINGS="XT"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python3_5 python2_7"
USE_PYTHON="3.5 2.7"
|
sys-apps/portage version is 2.2.26 (stable),
app-portage/portage-utils-0.60
dev-python/pypax-0.9.2 (there is no port to python3.5!)
What am I doing wrong? Or is this a bug in portage?
Last edited by sergeev917 on Sun Jan 03, 2016 10:39 pm; edited 1 time in total |
|
| Back to top |
|
 |
zorry Developer

Joined: 30 Mar 2008 Posts: 380 Location: Umeå The north part of scandinavia
|
|
| Back to top |
|
 |
sergeev917 n00b

Joined: 04 Apr 2014 Posts: 19
|
Posted: Sun Jan 03, 2016 10:38 pm Post subject: |
|
|
| Okay, that is a bug. Thanks. |
|
| Back to top |
|
 |
|