abdu Posted February 15, 2021 Report Share Posted February 15, 2021 (edited) build.logWhen installing by emerge -auDN @world at the: dev-python/setuptools-53.0.0::python-modules-kit package, got error ... dev-python/setuptools-53.0.0::python-modules-kit * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * setuptools-53.0.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking setuptools-53.0.0.tar.gz to /var/tmp/portage/dev-python/setuptools-53.0.0/work >>> Source unpacked in /var/tmp/portage/dev-python/setuptools-53.0.0/work >>> Preparing source in /var/tmp/portage/dev-python/setuptools-53.0.0/work/setuptools-53.0.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/setuptools-53.0.0/work/setuptools-53.0.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/setuptools-53.0.0/work/setuptools-53.0.0 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 4 running build running build_py * ACCESS DENIED: open_wr: /usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle * ISE:write_logfile: unable to append logfile: /tmp/sandbox-4.log * /var/tmp/portage/sys-apps/sandbox-2.17/work/sandbox-2.17/libsandbox/libsandbox.c:check_syscall():974: failure (Bad file descriptor): * ISE: open_wr(/usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle) abs_path: /usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle res_path: /usr/lib64/python3.7/lib2to3/Grammar3.7.7.final.0.pickle /usr/lib/libsandbox.so(+0xbfb5)[0x7fb7e5103fb5] /usr/lib/libsandbox.so(+0xc0ce)[0x7fb7e51040ce] /usr/lib/libsandbox.so(+0x4f72)[0x7fb7e50fcf72] /usr/lib/libsandbox.so(open64+0x8c)[0x7fb7e510329c] /usr/lib/libpython3.7m.so.1.0(+0x21c70c)[0x7fb7e4fac70c] /usr/lib/libpython3.7m.so.1.0(+0xf40e6)[0x7fb7e4e840e6] /usr/lib/libpython3.7m.so.1.0(+0x96fe7)[0x7fb7e4e26fe7] /usr/lib/libpython3.7m.so.1.0(+0x97289)[0x7fb7e4e27289] /usr/lib/libpython3.7m.so.1.0(_PyObject_CallFunction_SizeT+0xb6)[0x7fb7e4e27c56] /usr/lib/libpython3.7m.so.1.0(+0x218aca)[0x7fb7e4fa8aca] /proc/103/cmdline: python3.7 setup.py build -j 4 /var/tmp/portage/dev-python/setuptools-53.0.0/temp/environment: line 1603: 103 Aborted "${@}" * ERROR: dev-python/setuptools-53.0.0::python-modules-kit failed (compile phase): ... How to solve this? build.log Edited February 17, 2021 by abdu Link to comment Share on other sites More sharing options...
1 cardinal Posted February 18, 2021 Report Share Posted February 18, 2021 (edited) Portage builds the packages in a sandbox to prevent the process from writing or modifying files on your running system. Emerge tried to open_write to /usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle a file owned by dev-lang/python. A workaround is to disable the sandbox and build the package: funtoo /home/rj # FEATURES="-sandbox -usersandbox" emerge -1av dev-python/setuptools Edited February 18, 2021 by cardinal Link to comment Share on other sites More sharing options...
0 abdu Posted February 18, 2021 Author Report Share Posted February 18, 2021 (edited) 8 hours ago, cardinal said: Portage builds the packages in a sandbox to prevent the process from writing or modifying files on your running system. Emerge tried to open_write to /usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle a file owned by dev-lang/python. A workaround is to disable the sandbox and build the package: funtoo /home/rj # FEATURES="-sandbox -usersandbox" emerge -1av dev-python/setuptools You've expelled me out of a-week HELL... Nearly a week felt as if in truly hell without answer whatsoever Should have been as the default, then if one need the utmost security do s.t. e.g: FEATURES="-sandbox -realsandbox" Edited February 18, 2021 by abdu Link to comment Share on other sites More sharing options...
Question
abdu
build.logWhen installing by
emerge -auDN @world
at the: dev-python/setuptools-53.0.0::python-modules-kit package, got error
...
dev-python/setuptools-53.0.0::python-modules-kit * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * setuptools-53.0.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking setuptools-53.0.0.tar.gz to /var/tmp/portage/dev-python/setuptools-53.0.0/work >>> Source unpacked in /var/tmp/portage/dev-python/setuptools-53.0.0/work >>> Preparing source in /var/tmp/portage/dev-python/setuptools-53.0.0/work/setuptools-53.0.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/setuptools-53.0.0/work/setuptools-53.0.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/setuptools-53.0.0/work/setuptools-53.0.0 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 4 running build running build_py * ACCESS DENIED: open_wr: /usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle * ISE:write_logfile: unable to append logfile: /tmp/sandbox-4.log * /var/tmp/portage/sys-apps/sandbox-2.17/work/sandbox-2.17/libsandbox/libsandbox.c:check_syscall():974: failure (Bad file descriptor): * ISE: open_wr(/usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle) abs_path: /usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle res_path: /usr/lib64/python3.7/lib2to3/Grammar3.7.7.final.0.pickle /usr/lib/libsandbox.so(+0xbfb5)[0x7fb7e5103fb5] /usr/lib/libsandbox.so(+0xc0ce)[0x7fb7e51040ce] /usr/lib/libsandbox.so(+0x4f72)[0x7fb7e50fcf72] /usr/lib/libsandbox.so(open64+0x8c)[0x7fb7e510329c] /usr/lib/libpython3.7m.so.1.0(+0x21c70c)[0x7fb7e4fac70c] /usr/lib/libpython3.7m.so.1.0(+0xf40e6)[0x7fb7e4e840e6] /usr/lib/libpython3.7m.so.1.0(+0x96fe7)[0x7fb7e4e26fe7] /usr/lib/libpython3.7m.so.1.0(+0x97289)[0x7fb7e4e27289] /usr/lib/libpython3.7m.so.1.0(_PyObject_CallFunction_SizeT+0xb6)[0x7fb7e4e27c56] /usr/lib/libpython3.7m.so.1.0(+0x218aca)[0x7fb7e4fa8aca] /proc/103/cmdline: python3.7 setup.py build -j 4 /var/tmp/portage/dev-python/setuptools-53.0.0/temp/environment: line 1603: 103 Aborted "${@}" * ERROR: dev-python/setuptools-53.0.0::python-modules-kit failed (compile phase):
...
How to solve this?
build.log
Edited by abduLink to comment
Share on other sites
2 answers to this question
Recommended Posts