dev-python/pychroot-9999: sandbox violation
joakim-tjernlund opened this issue · comments
When rebuilding above in current gentoo I get:
`
running install_man
copying /var/tmp/portage/dev-python/pychroot-9999/work/pychroot-9999/build/sphinx/man/pychroot.1 -> /usr/share/man/man1
- ACCESS DENIED: open_wr: /usr/share/man/man1/pychroot.1
error: could not create '/usr/share/man/man1/pychroot.1': Permission denied - ERROR: dev-python/pychroot-9999::gentoo failed (install phase):
- (no error message)
- Call stack:
-
ebuild.sh, line 124: Called src_install
- environment, line 3230: Called distutils-r1_src_install
- environment, line 1078: Called _distutils-r1_run_common_phase 'python_install_all'
- environment, line 334: Called multibuild_foreach_variant 'distutils-r1_run_phase' 'python_install_all'
- environment, line 2129: Called _multibuild_run 'distutils-r1_run_phase' 'python_install_all'
- environment, line 2127: Called distutils-r1_run_phase 'python_install_all'
- environment, line 1042: Called python_install_all
- environment, line 2927: Called distutils-r1_python_install 'install_man'
- environment, line 954: Called esetup.py 'install' '--root=/var/tmp/portage/dev-python/pychroot-9999/image/_python3.6' 'install_man'
- environment, line 1310: Called die
- The specific snippet of code:
-
"${@}" || die "${die_args[@]}";
- If you need support, post the output of
emerge --info '=dev-python/pychroot-9999::gentoo'
, - the complete build log and the output of
emerge -pqv '=dev-python/pychroot-9999::gentoo'
. - The complete build log is located at '/var/tmp/portage/dev-python/pychroot-9999/temp/build.log'.
- The ebuild environment file is located at '/var/tmp/portage/dev-python/pychroot-9999/temp/environment'.
- Working directory: '/var/tmp/portage/dev-python/pychroot-9999/work/pychroot-9999'
- S: '/var/tmp/portage/dev-python/pychroot-9999/work/pychroot-9999'
- --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
- LOG FILE: "/tmp/sandbox-4.log"
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line
F: open_wr
S: deny
P: /usr/share/man/man1/pychroot.1
A: /usr/share/man/man1/pychroot.1
R: /usr/share/man/man1/pychroot.1
C: python3.6 setup.py install --root=/var/tmp/portage/dev-python/pychroot-9999/image/_python3.6 install_man
Fixed in the gentoo repo.