| Summary: | Failed to emerge dev-python/pyparsing-2.4.7-r1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Xavier Miller <xavier.miller> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build log | ||
|
Description
Xavier Miller
2021-09-06 07:46:46 UTC
Created attachment 737857 [details]
build log
same error with cython: >>> Emerging (4 of 17) dev-python/cython-0.29.24-r1::gentoo * cython-0.29.24.gh.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking cython-0.29.24.gh.tar.gz to /var/tmp/portage/dev-python/cython-0.29.24-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/cython-0.29.24-r1/work >>> Preparing source in /var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24 ... * Applying cython-0.29.22-spawn-multiprocessing.patch ... [ ok ] * Applying cython-0.29.23-test_exceptions-py310.patch ... [ ok ] * Applying cython-0.29.24-unaligned-format.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24 ... * python3_9: running distutils-r1_run_phase python_compile python3.9 setup.py build -j 14 Unable to find pgen, not compiling formal grammar. Traceback (most recent call last): File "/var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24/setup.py", line 228, in <module> setup( File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/distutils/core.py", line 108, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 455, in __init__ _Distribution.__init__(self, { File "/usr/lib/python3.9/distutils/dist.py", line 292, in __init__ self.finalize_options() File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 806, in finalize_options for ep in sorted(eps, key=by_order): File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 805, in <lambda> eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group)) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2449, in load self.require(*args, **kwargs) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2472, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution was not found and is required by the application * ERROR: dev-python/cython-0.29.24-r1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3069: Called distutils-r1_src_compile * environment, line 1166: Called _distutils-r1_run_foreach_impl 'python_compile' * environment, line 484: Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile' * environment, line 2719: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 2223: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 2221: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile' * environment, line 776: Called distutils-r1_run_phase 'python_compile' * environment, line 1159: Called python_compile * environment, line 2489: Called distutils-r1_python_compile * environment, line 1019: Called esetup.py 'build' '-j' '14' * environment, line 1758: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=dev-python/cython-0.29.24-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/cython-0.29.24-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/cython-0.29.24-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/cython-0.29.24-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24' * S: '/var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24' >>> Failed to emerge dev-python/cython-0.29.24-r1, Log file: >>> '/var/tmp/portage/dev-python/cython-0.29.24-r1/temp/build.log' I suspect you need to follow the instructions in this news item. https://www.gentoo.org/support/news-items/2021-09-05-setuptools_scm-6_3_0-temporary-breakage.html (In reply to Mike Gilbert from comment #3) > I suspect you need to follow the instructions in this news item. > > https://www.gentoo.org/support/news-items/2021-09-05-setuptools_scm-6_3_0- > temporary-breakage.html Indeed! Thank you for pointing out the news item, the issus is resolved by applying the news instructions. *** This bug has been marked as a duplicate of bug 811504 *** |