This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients martin.panter, ncoghlan, petr.viktorin, vstinner
Date 2016-09-07.04:39:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473223151.65.0.381644527238.issue27990@psf.upfronthosting.co.za>
In-reply-to
Content
It may be that the right fix is to build with more recent Linux header files, even when running the build on an older kernel, in which case the request would be to have a way to indicate that missing those particular headers should fail the build, rather than implicitly omitting os.getrandom().

Worst case, yeah, we'll have to patch Fedora's system Python to hardcode the necessary constants in order to cope with the way Koji's buildroots are currently set up. I hope it doesn't come to that, though.

I'll leave the specifics to Petr, but it would definitely be preferable to have a common way of solving this recommended by upstream rather than everyone affected needing to figure out how to solve the problem on their own.
History
Date User Action Args
2016-09-07 04:39:11ncoghlansetrecipients: + ncoghlan, vstinner, petr.viktorin, martin.panter
2016-09-07 04:39:11ncoghlansetmessageid: <1473223151.65.0.381644527238.issue27990@psf.upfronthosting.co.za>
2016-09-07 04:39:11ncoghlanlinkissue27990 messages
2016-09-07 04:39:11ncoghlancreate