[Webkit-unassigned] [Bug 262184] New: `generate-bundle` fails at installing `toml`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 27 06:58:10 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=262184
Bug ID: 262184
Summary: `generate-bundle` fails at installing `toml`
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vitaly at igalia.com
generate-bundle --help
Downloading wheel-0.35.1...
Installing wheel-0.35.1...
Installed wheel-0.35.1!
Downloading packaging-21.3.0...
Installing packaging-21.3.0...
Installed packaging-21.3.0!
Downloading setuptools-56.0.0...
Installing setuptools-56.0.0...
Installed setuptools-56.0.0!
Downloading tomli-2.0.1...
Installed tomli-2.0.1!
Downloading setuptools-scm-6.4.2...
Installing setuptools-scm-6.4.2...
Installed setuptools-scm-6.4.2!
Downloading toml-0.10.1...
Installing toml-0.10.1...
Traceback (most recent call last):
File "/tmp/toml-221664/toml-0.10.1/setup.py", line 11, in <module>
setup(
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/_distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/dist.py", line 434, in __init__
_Distribution.__init__(self, {
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/_distutils/dist.py", line 293, in __init__
self.finalize_options()
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/dist.py", line 742, in finalize_options
for ep in sorted(eps, key=by_order):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/dist.py", line 741, in <lambda>
eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
^^^^^^^^
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/pkg_resources/__init__.py", line 2449, in load
self.require(*args, **kwargs)
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/pkg_resources/__init__.py", line 2472, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/pkg_resources/__init__.py", line 772, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyparsing!=3.0.5,>=2.0.2' distribution was not found and is required by packaging
Failed to install toml-0.10.1!
Traceback (most recent call last):
File "/home/vitaly/Projects/WebKit/Tools/Scripts/generate-bundle", line 44, in <module>
import flatpakutils
File "/home/vitaly/Projects/WebKit/Tools/flatpak/flatpakutils.py", line 44, in <module>
import toml
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1078, in _find_spec
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 650, in find_spec
loader = cls.find_module(fullname, path=path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 664, in find_module
cls.install(name)
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 637, in install
return all([to_install.install() for to_install in packages])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 637, in <listcomp>
return all([to_install.install() for to_install in packages])
^^^^^^^^^^^^^^^^^^^^
File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 341, in install
subprocess.check_call(
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/tmp/toml-221664/toml-0.10.1/setup.py', 'install', '--home=/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64', '--root=/', '--prefix=', '--install-lib=/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64', '--install-scripts=/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/bin', '--install-data=/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/data', '--install-headers=/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/headers']' returned non-zero exit status 1.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230927/5ac82978/attachment.htm>
More information about the webkit-unassigned
mailing list