Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637548 - dev-python/pypy{,3}: build failure on systems with hidepid>0 procfs feature (or grsec/PaX with CONFIG_GRKERNSEC_PROC)
Summary: dev-python/pypy{,3}: build failure on systems with hidepid>0 procfs feature (...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Python Gentoo Team
URL: https://bitbucket.org/pypy/pypy/pull-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 06:12 UTC by Vadim A. Misbakh-Soloviov (mva)
Modified: 2020-12-11 05:53 UTC (History)
1 user (show)

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


Attachments
pypy-5.9.0.build.log.bz2 (pypy-5.9.0:20171110-192908.log.bz2,34.54 KB, application/x-bzip)
2017-11-15 06:18 UTC, Vadim A. Misbakh-Soloviov (mva)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2017-11-15 06:12:47 UTC
both pypy and pypy3 (in released versions) trying to access /proc/1/status to detect if it builds on PaX-enabled system.

Unfortunatelly, grsec's CONFIG_GRKERNSEC_PROC feature, or kernel mainline's `hidepid` procfs feature blocks this (build process under portage user can't see pid1).

There is a patch (already merged in VCS version) on the bug's URL that fixes that behavior.
I'm asking that patch to be backported.

Reproducible: Always
Comment 1 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2017-11-15 06:18:06 UTC
Created attachment 504268 [details]
pypy-5.9.0.build.log.bz2

Here is pypy buildlog, for example
Same applicable for pypy3
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2020-12-11 05:53:59 UTC
I don't have PaX-enabled systems aymore, but anyway, it should alredy be fixed by new releases.