Skip to content

Commit

Permalink
distutils-r1.eclass: addpredict /usr/lib/${EPYTHON}
Browse files Browse the repository at this point in the history
This works around sandbox failures with python3.7, which moved from
/usr/$(get_libdir) to /usr/lib.

Bug: https://bugs.gentoo.org/671948
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
floppym committed Nov 26, 2018
1 parent 9d3277a commit 47f3570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eclass/distutils-r1.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ distutils-r1_python_install() {

# python likes to compile any module it sees, which triggers sandbox
# failures if some packages haven't compiled their modules yet.
addpredict "${EPREFIX}/usr/lib/${EPYTHON}"
addpredict "${EPREFIX}/usr/$(get_libdir)/${EPYTHON}"
addpredict /usr/lib/portage/pym
addpredict /usr/local # bug 498232
Expand Down

0 comments on commit 47f3570

Please sign in to comment.