-
Bug
-
Resolution: Unresolved
-
Medium (Ebuild)
-
None
-
None
-
This is impacting the emerge of unittest2 in some cases.
Hello ,i have a problem to reinstall dev-python/unittest2-1.1.0
- Package: dev-python/unittest2-1.1.0
* Repository: python-modules-kit
* Maintainer: python@gentoo.org
* USE: amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_7 userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking unittest2-1.1.0.tar.gz to /var/tmp/portage/dev-python/unittest2-1.1.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/unittest2-1.1.0/work
>>> Preparing source in /var/tmp/portage/dev-python/unittest2-1.1.0/work/unittest2-1.1.0 ...
* Build system packages:
* dev-python/setuptools : 63.1.0
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/unittest2-1.1.0/work/unittest2-1.1.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/unittest2-1.1.0/work/unittest2-1.1.0 ...
* python3_7: running distutils-r1_run_phase distutils-r1_python_compile
python3.7 setup.py build -j 41
/usr/bin/python3.7: No module named pip
/usr/lib/python3.7/site-packages/setuptools/dist.py:774: UserWarning: Usage of dash-separated 'force-manifest' will not be supported in future versions. Please use the underscore name 'force_manifest' instead
% (opt, underscore_opt)
/usr/lib/python3.7/site-packages/setuptools/installer.py:30: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
subprocess.check_call(cmd)
File "/usr/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/unittest2-1.1.0/temp/tmpoj0fsyfg', '--quiet', 'argparse']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "setup.py", line 87, in <module>
setup(**params)
File "/usr/lib/python3.7/site-packages/setuptools/_init_.py", line 86, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3.7/site-packages/setuptools/_init_.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 878, in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python3.7/site-packages/pkg_resources/_init_.py", line 791, in resolve
replace_conflicting=replace_conflicting
File "/usr/lib/python3.7/site-packages/pkg_resources/_init_.py", line 1075, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3.7/site-packages/pkg_resources/_init_.py", line 1087, in obtain
return installer(requirement)
File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
return fetch_build_egg(self, req)
File "/usr/lib/python3.7/site-packages/setuptools/installer.py", line 84, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/unittest2-1.1.0/temp/tmpoj0fsyfg', '--quiet', 'argparse']' returned non-zero exit status 1.
* ERROR: dev-python/unittest2-1.1.0::python-modules-kit failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 4383: Called distutils-r1_src_compile
* environment, line 1587: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 622: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3980: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3267: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3265: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1076: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 1569: Called distutils-r1_python_compile
* environment, line 1376: Called esetup.py 'build' '-j' '41'
* environment, line 2385: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
*
* If you need support, post the output of `emerge --info '=dev-python/unittest2-1.1.0::python-modules-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-python/unittest2-1.1.0::python-modules-kit'`.
* The complete build log is located at '/var/tmp/portage/dev-python/unittest2-1.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/unittest2-1.1.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/unittest2-1.1.0/work/unittest2-1.1.0'
* S: '/var/tmp/portage/dev-python/unittest2-1.1.0/work/unittest2-1.1.0'