Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 854602 Details for
Bug 897690
dev-python/pyocr-0.8.3 compile failure: packaging.version.InvalidVersion: Invalid version: 'None'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 5.90 KB, created by
Ulrich Müller
on 2023-02-25 13:33:31 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2023-02-25 13:33:31 UTC
Size:
5.90 KB
patch
obsolete
> * Package: dev-python/pyocr-0.8.3:0 > * Repository: gentoo > * Maintainer: voyageur@gentoo.org python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 tesseract userland_GNU > * FEATURES: ccache compressdebug fakeroot network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > * Package: dev-python/pyocr-0.8.3:0 > * Repository: gentoo > * Maintainer: voyageur@gentoo.org python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 tesseract userland_GNU > * FEATURES: ccache compressdebug fakeroot network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pyocr-0.8.3.tar.gz to /tmp/portage/dev-python/pyocr-0.8.3/work >>>> Source unpacked in /tmp/portage/dev-python/pyocr-0.8.3/work >>>> Preparing source in /tmp/portage/dev-python/pyocr-0.8.3/work/pyocr-0.8.3 ... > * Build system packages: > * dev-python/gpep517 : 13 > * dev-python/installer : 0.6.0 > * dev-python/setuptools : 67.4.0 > * dev-python/setuptools_scm : 7.1.0 > * dev-python/wheel : 0.38.4 >>>> Source prepared. >>>> Configuring source in /tmp/portage/dev-python/pyocr-0.8.3/work/pyocr-0.8.3 ... >>>> Source configured. >>>> Compiling source in /tmp/portage/dev-python/pyocr-0.8.3/work/pyocr-0.8.3 ... > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for pyocr-0.8.3 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /tmp/portage/dev-python/pyocr-0.8.3/work/pyocr-0.8.3-python3_10/wheel >2023-02-25 14:32:44,039 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >Traceback (most recent call last): > File "/usr/lib/python3.10/site-packages/setuptools/_normalization.py", line 62, in safe_version > return str(packaging.version.Version(v)) > File "/usr/lib/python3.10/site-packages/packaging/version.py", line 197, in __init__ > raise InvalidVersion(f"Invalid version: '{version}'") >packaging.version.InvalidVersion: Invalid version: 'None' > >During handling of the above exception, another exception occurred: > >Traceback (most recent call last): > File "/usr/lib/python-exec/python3.10/gpep517", line 4, in <module> > sys.exit(main()) > File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 406, in main > return func(args) > File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 202, in build_wheel > print(build_wheel_impl(args, args.wheel_dir), file=out) > File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 194, in build_wheel_impl > wheel_name = backend.build_wheel(str(wheel_dir), args.config_json) > File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 413, in build_wheel > return self._build_with_temp_dir(['bdist_wheel'], '.whl', > File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir > self.run_setup() > File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 484, in run_setup > super(_BuildMetaLegacyBackend, > File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup > exec(code, locals()) > File "<string>", line 55, in <module> > File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 108, in setup > return distutils.core.setup(**attrs) > File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 147, in setup > _setup_distribution = dist = klass(attrs) > File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 483, in __init__ > self.patch_missing_pkg_info(attrs) > File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 472, in patch_missing_pkg_info > dist._version = _normalization.safe_version(str(attrs['version'])) > File "/usr/lib/python3.10/site-packages/setuptools/_normalization.py", line 65, in safe_version > return str(packaging.version.Version(attempt)) > File "/usr/lib/python3.10/site-packages/packaging/version.py", line 197, in __init__ > raise InvalidVersion(f"Invalid version: '{version}'") >packaging.version.InvalidVersion: Invalid version: 'None' > * ERROR: dev-python/pyocr-0.8.3::gentoo failed (compile phase): > * Wheel build failed > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 3356: Called distutils-r1_src_compile > * environment, line 1564: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' > * environment, line 733: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3057: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2621: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2619: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 1057: Called distutils-r1_run_phase 'distutils-r1_python_compile' > * environment, line 1546: Called distutils-r1_python_compile > * environment, line 1371: Called distutils_pep517_install '/tmp/portage/dev-python/pyocr-0.8.3/work/pyocr-0.8.3-python3_10/install' > * environment, line 1881: Called die > * The specific snippet of code: > * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); > * > * If you need support, post the output of `emerge --info '=dev-python/pyocr-0.8.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pyocr-0.8.3::gentoo'`. > * The complete build log is located at '/tmp/portage/dev-python/pyocr-0.8.3/temp/build.log'. > * The ebuild environment file is located at '/tmp/portage/dev-python/pyocr-0.8.3/temp/environment'. > * Working directory: '/tmp/portage/dev-python/pyocr-0.8.3/work/pyocr-0.8.3' > * S: '/tmp/portage/dev-python/pyocr-0.8.3/work/pyocr-0.8.3'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 897690
: 854602