"emerge dev-python/lxml" fails in custum build 4.1.0

Post questions about how to make a customized SystemRescueCd, and if you have problems to install new packages. Please read the handbook first.
yafrank
Posts: 3
Joined: 20 Mar 2011, 07:21

"emerge dev-python/lxml" fails in custum build 4.1.0

Postby yafrank » 03 Apr 2014, 14:26

Hi everyone,
When I tried to custom build a SRCD for my disk benchmark utility which depend on python lxml, I met following error.

Code: Select all

sysresccd lxml # emerge dev-python/lxml
...
/usr/bin/python3.3 setup.py install --compile -O2 --root=/var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python3.3 --install-scripts=/usr/lib/python-exec/python3.3
/usr/bin/python2.7 setup.py install --compile -O2 --root=/var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7 --install-scripts=/usr/lib/python-exec/python2.7
 * ACCESS DENIED:  rename:       /usr/lib/python3.3/encodings/__pycache__/__init__.cpython-33.pyc.4146570304
 * ISE:write_logfile: unable to append logfile: /var/log/sandbox/sandbox-5137.log
 * ../../sandbox-2.6/libsandbox/libsandbox.c:check_syscall():879: failure (Bad file descriptor):
 * ISE:
   abs_path: /usr/lib/python3.3/encodings/__pycache__/__init__.cpython-33.pyc.4146570304
   res_path: /usr/lib/python3.3/encodings/__pycache__/__init__.cpython-33.pyc.4146570304
/usr/lib/libsandbox.so(+0x8b89)[0xf774eb89]
/usr/lib/libsandbox.so(+0x8c01)[0xf774ec01]
/usr/lib/libsandbox.so(+0x3952)[0xf7749952]
/usr/lib/libsandbox.so(rename+0x39)[0xf774d04e]
/usr/lib/libpython3.3.so.1.0(+0xf0691)[0xf7687691]
/usr/lib/libpython3.3.so.1.0(PyCFunction_Call+0xca)[0xf75fcc23]
/usr/lib/libpython3.3.so.1.0(PyEval_EvalFrameEx+0x4ae6)[0xf765331c]
/usr/lib/libpython3.3.so.1.0(PyEval_EvalCodeEx+0x686)[0xf765502a]
/usr/lib/libpython3.3.so.1.0(PyEval_EvalFrameEx+0x4c8b)[0xf76534c1]
/usr/lib/libpython3.3.so.1.0(PyEval_EvalCodeEx+0x686)[0xf765502a]
/proc/5287/cmdline: /usr/bin/python3.3 setup.py install --compile -O2 --root=/var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python3.3 --install-scripts=/usr/lib/python-exec/python3.3

/var/tmp/portage/dev-python/setuptools-0.8-r1/temp/environment: line 1551:  5287 Aborted                 "${@}"
 * ERROR: dev-python/setuptools-0.8-r1 failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 3434:  Called distutils-r1_src_install
 *   environment, line 1135:  Called _distutils-r1_run_foreach_impl 'python_install'
 *   environment, line  211:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_install'
 *   environment, line 3280:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install'
 *   environment, line 2427:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install'
 *   environment, line 2375:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install'
 *   environment, line 2373:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install'
 *   environment, line 2418:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install'
 *   environment, line  643:  Called distutils-r1_run_phase 'python_install'
 *   environment, line 1105:  Called python_install
 *   environment, line 3190:  Called distutils-r1_python_install
 *   environment, line 1049:  Called esetup.py 'install' '--compile' '-O2' '--root=/var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python3.3' '--install-scripts=/usr/lib/python-exec/python3.3'
 *   environment, line 1555:  Called die
 * The specific snippet of code:
running install
running build
running build_py
running install_lib
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7/usr
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7/usr/lib
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7/usr/lib/python2.7
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7/usr/lib/python2.7/site-packages
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/pkg_resources.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/easy_install.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7/usr/lib/python2.7/site-packages/setuptools
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_egg_info.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_dist_info.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_sandbox.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_upload_docs.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_develop.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_build_ext.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_sdist.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/server.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/py26compat.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_markerlib.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/__init__.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_test.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_easy_install.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_resources.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/test_bdist_egg.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
 *       "${@}" || die
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/tests/doctest.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/py24compat.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/script template (dev).py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/archive_util.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/sandbox.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/depends.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/dist.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/bdist_wininst.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/egg_info.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/sdist.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/setopt.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/install_egg_info.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/bdist_rpm.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
 *
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/bdist_egg.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/upload_docs.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/easy_install.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/install_lib.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/rotate.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/install_scripts.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/build_ext.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/register.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/upload.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/alias.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/develop.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/__init__.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/test.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
 * If you need support, post the output of `emerge --info '=dev-python/setuptools-0.8-r1'`,
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/install.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/saveopts.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/command/build_py.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/py27compat.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/script template.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/compat.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/__init__.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/site-patch.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/package_index.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/extension.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/setuptools/ssl_support.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools
creating /var/tmp/portage/dev-python/setuptools-0.8-r1/image/_python2.7/usr/lib/python2.7/site-packages/_markerlib
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/_markerlib/markers.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/_markerlib
copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/lib/_markerlib/__init__.py -> /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/_markerlib
 * the complete build log and the output of `emerge -pqv '=dev-python/setuptools-0.8-r1'`.
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/pkg_resources.py to pkg_resources.pyc
 * The complete build log is located at '/var/tmp/portage/dev-python/setuptools-0.8-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/setuptools-0.8-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python3_3'
 * S: '/var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8'
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/easy_install.py to easy_install.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_egg_info.py to test_egg_info.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_dist_info.py to test_dist_info.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_sandbox.py to test_sandbox.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_upload_docs.py to test_upload_docs.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_develop.py to test_develop.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_build_ext.py to test_build_ext.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_sdist.py to test_sdist.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/server.py to server.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/py26compat.py to py26compat.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_markerlib.py to test_markerlib.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/__init__.py to __init__.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_test.py to test_test.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_easy_install.py to test_easy_install.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_resources.py to test_resources.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/test_bdist_egg.py to test_bdist_egg.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/tests/doctest.py to doctest.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/py24compat.py to py24compat.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/script template (dev).py to script template (dev).pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/archive_util.py to archive_util.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/sandbox.py to sandbox.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/depends.py to depends.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/dist.py to dist.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/bdist_wininst.py to bdist_wininst.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py to egg_info.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/sdist.py to sdist.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/setopt.py to setopt.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.py to install_egg_info.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/bdist_rpm.py to bdist_rpm.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py to bdist_egg.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/upload_docs.py to upload_docs.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py to easy_install.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/install_lib.py to install_lib.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/rotate.py to rotate.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.py to install_scripts.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/build_ext.py to build_ext.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/register.py to register.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/upload.py to upload.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/alias.py to alias.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/develop.py to develop.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/__init__.py to __init__.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/test.py to test.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/install.py to install.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/saveopts.py to saveopts.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/command/build_py.py to build_py.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/py27compat.py to py27compat.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/script template.py to script template.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/compat.py to compat.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/__init__.py to __init__.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/site-patch.py to site-patch.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/package_index.py to package_index.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/extension.py to extension.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools/ssl_support.py to ssl_support.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/_markerlib/markers.py to markers.pyc
byte-compiling /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/_markerlib/__init__.py to __init__.pyc
writing byte-compilation script '/var/tmp/portage/dev-python/setuptools-0.8-r1/temp/python2.7/tmpt_68GI.py'
/usr/bin/python2.7 -OO /var/tmp/portage/dev-python/setuptools-0.8-r1/temp/python2.7/tmpt_68GI.py
removing /var/tmp/portage/dev-python/setuptools-0.8-r1/temp/python2.7/tmpt_68GI.py
running install_egg_info
running egg_info
writing requirements to /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/setuptools.egg-info/requires.txt
writing /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/setuptools.egg-info/PKG-INFO
writing top-level names to /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/setuptools.egg-info/top_level.txt
writing dependency_links to /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/setuptools.egg-info/dependency_links.txt
writing entry points to /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/setuptools.egg-info/entry_points.txt
reading manifest file '/var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file '/var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/setuptools.egg-info/SOURCES.txt'
Copying /var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python2_7/build/setuptools.egg-info to /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python2.7/site-packages/setuptools-0.8-py2.7.egg-info
running install_scripts
Installing easy_install script to /var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python2.7/usr/lib/python-exec/python2.7

>>> Failed to emerge dev-python/setuptools-0.8-r1, Log file:

>>>  '/var/tmp/portage/dev-python/setuptools-0.8-r1/temp/build.log'

 * Messages for package dev-python/setuptools-0.8-r1:

 * ERROR: dev-python/setuptools-0.8-r1 failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 3434:  Called distutils-r1_src_install
 *   environment, line 1135:  Called _distutils-r1_run_foreach_impl 'python_install'
 *   environment, line  211:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_install'
 *   environment, line 3280:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install'
 *   environment, line 2427:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install'
 *   environment, line 2375:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install'
 *   environment, line 2373:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install'
 *   environment, line 2418:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install'
 *   environment, line  643:  Called distutils-r1_run_phase 'python_install'
 *   environment, line 1105:  Called python_install
 *   environment, line 3190:  Called distutils-r1_python_install
 *   environment, line 1049:  Called esetup.py 'install' '--compile' '-O2' '--root=/var/tmp/portage/dev-python/setuptools-0.8-r1/image//_python3.3' '--install-scripts=/usr/lib/python-exec/python3.3'
 *   environment, line 1555:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 *
 * If you need support, post the output of `emerge --info '=dev-python/setuptools-0.8-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/setuptools-0.8-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/setuptools-0.8-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/setuptools-0.8-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8-python3_3'
 * S: '/var/tmp/portage/dev-python/setuptools-0.8-r1/work/setuptools-0.8'

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


The handbook from http://www.sysresccd.org/Sysresccd-manu ... emRescueCd is followed. Before compile this, I managed to install the sys-block/fio package. There's a little bump as the plain "emerge sys-block/fio" used an old verion, likely 2.0.4, and it failed. The "emerge =sys-block/fio-2.1.7" finally worked. I'm not familiar with Gentoo portage and don't understand why it choosed an old version. But this is another question.
The utility also depend on other python modules that are missing in the default SRCD build. They all require the same setuptools-0.8-r1 and raise samilar error using emerge.
Is there anything I did wrong?
Thanks in advance!

Return to “Customization and installing new packages”

Who is online

Users browsing this forum: No registered users and 2 guests