From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-python@lists.gentoo.org
Cc: python@gentoo.org
Subject: [gentoo-python] [PATCH] distutils-r1: Prevent sandbox violations due to stale pyc files
Date: Sun, 12 Jul 2015 15:32:00 -0400 [thread overview]
Message-ID: <1436729520-27910-1-git-send-email-floppym@gentoo.org> (raw)
Just add the entire python directory to SANDBOX_PREDICT.
Should resolve bugs like 508234 and 554252.
--- distutils-r1.eclass
+++ distutils-r1.eclass
@@ -505,7 +505,7 @@
# python likes to compile any module it sees, which triggers sandbox
# failures if some packages haven't compiled their modules yet.
- addpredict "$(python_get_sitedir)"
+ addpredict "${EPREFIX}/usr/$(get_libdir)/${EPYTHON}"
addpredict /usr/lib/portage/pym
addpredict /usr/local # bug 498232
reply other threads:[~2015-07-12 19:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436729520-27910-1-git-send-email-floppym@gentoo.org \
--to=floppym@gentoo.org \
--cc=gentoo-python@lists.gentoo.org \
--cc=python@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox