Summary: | dev-python/chardet-3.0.2 depends on pytest-runner | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | fuse809 |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | candrews, cedric.godin, chris, erik.badman, gentoo, harrisl, heluani, jarausch, josef64, kajanos, kdvgent, marduk, mark+gentoobugs, mgorny, michael, n.sevchenco, pjvint, python, redwolfe, sam, tka, zmedico |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/chardet/chardet/pull/119 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
fuse809
2017-04-20 10:57:03 UTC
same issue here Confirm ----------------------------------------------------------------------------------- >>> Emerging (1 of 1) dev-python/chardet-3.0.2::gentoo * chardet-3.0.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking chardet-3.0.2.tar.gz to /tmp/portage/dev-python/chardet-3.0.2/work >>> Source unpacked in /tmp/portage/dev-python/chardet-3.0.2/work >>> Preparing source in /tmp/portage/dev-python/chardet-3.0.2/work/chardet-3.0.2 ... >>> Source prepared. >>> Configuring source in /tmp/portage/dev-python/chardet-3.0.2/work/chardet-3.0.2 ... >>> Source configured. >>> Compiling source in /tmp/portage/dev-python/chardet-3.0.2/work/chardet-3.0.2 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build Traceback (most recent call last): File "setup.py", line 52, in <module> ['chardetect = chardet.cli.chardetect:main']}) File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 318, in __init__ self.fetch_build_eggs(attrs['setup_requires']) File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 375, in fetch_build_eggs replace_conflicting=True, File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 851, in resolve dist = best[req.key] = env.best_match(req, ws, installer) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 1123, in best_match return self.obtain(req, installer) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 1135, in obtain return installer(requirement) File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 443, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib64/python2.7/site-packages/setuptools/command/easy_install.py", line 673, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/usr/lib64/python2.7/site-packages/setuptools/command/easy_install.py", line 699, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/usr/lib64/python2.7/site-packages/setuptools/command/easy_install.py", line 880, in install_eggs return self.build_and_install(setup_script, setup_base) File "/usr/lib64/python2.7/site-packages/setuptools/command/easy_install.py", line 1119, in build_and_install self.run_setup(setup_script, setup_base, args) File "/usr/lib64/python2.7/site-packages/setuptools/command/easy_install.py", line 1107, in run_setup raise DistutilsError("Setup script exited with %s" % (v.args[0],)) distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: open('/tmp/portage/dev-python/chardet-3.0.2/work/chardet-3.0.2-python2_7/lib/ptr.py', 'wb') {} The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted. This package cannot be safely installed by EasyInstall, and may not support alternate installation locations even if you run its setup script by hand. Please inform the package's author and the EasyInstall maintainers to find out if a fix or workaround is available. * ERROR: dev-python/chardet-3.0.2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 2629: Called distutils-r1_src_compile * environment, line 751: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 293: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2164: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1451: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1449: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 484: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 742: Called distutils-r1_python_compile * environment, line 617: Called esetup.py 'build' * environment, line 996: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/chardet-3.0.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/chardet-3.0.2::gentoo'`. * The complete build log is located at '/tmp/portage/dev-python/chardet-3.0.2/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-python/chardet-3.0.2/temp/environment'. * Working directory: '/tmp/portage/dev-python/chardet-3.0.2/work/chardet-3.0.2' * S: '/tmp/portage/dev-python/chardet-3.0.2/work/chardet-3.0.2' Confirmed, same symptoms: Sandbox error (writing to /tmp/var/portage/....) Python27, Python34 Same issue here as well same issue as well I think this should fix it. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59523c5f3c9e160593d5a2f21dc8b08fc939c19b commit 59523c5f3c9e160593d5a2f21dc8b08fc939c19b Author: Mike Gilbert <floppym@gentoo.org> Date: Thu Apr 20 15:26:52 2017 -0400 dev-python/chardet: remove setup_requires="pytest-runner" Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49 dev-python/chardet/chardet-3.0.2.ebuild | 4 ++++ .../chardet/files/disable-pytest-runner.patch | 24 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) Any chance to upstream the proper fix for this, or at least report it? (In reply to Michał Górny from comment #7) > Any chance to upstream the proper fix for this, or at least report it? I've found instructions for conditional pytest-runner usage here: https://pypi.python.org/pypi/pytest-runner#conditional-requirement I'll send a patch upstream. (In reply to Zac Medico from comment #8) Nice find. I think there are a few other packages I can apply that to, if I can manage to find them again. *** Bug 616290 has been marked as a duplicate of this bug. *** |