[Webkit-unassigned] [Bug 262182] New: `run-minibrowser` fails at installing `configparser`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 27 06:39:38 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=262182

            Bug ID: 262182
           Summary: `run-minibrowser` fails at installing `configparser`
           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

run-minibrowser --wpe
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 configparser-4.0.2...
Installing configparser-4.0.2...
Traceback (most recent call last):
  File "/tmp/configparser-217129/configparser-4.0.2/setup.py", line 3, in <module>
    setuptools.setup(
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/__init__.py", line 147, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/dist.py", line 721, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/pkg_resources/__init__.py", line 766, in resolve
    dist = best[req.key] = env.best_match(
                           ^^^^^^^^^^^^^^^
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/pkg_resources/__init__.py", line 1051, in best_match
    return self.obtain(req, installer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/pkg_resources/__init__.py", line 1063, in obtain
    return installer(requirement)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/dist.py", line 780, in fetch_build_egg
    return fetch_build_egg(self, req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/installer.py", line 80, in fetch_build_egg
    wheel.install_as_egg(dist_location)
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/wheel.py", line 95, in install_as_egg
    self._install_as_egg(destination_eggdir, zf)
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/wheel.py", line 103, in _install_as_egg
    self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/setuptools/wheel.py", line 153, in _convert_metadata
    setup_dist = setuptools.Distribution(
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  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 configparser-4.0.2!
Traceback (most recent call last):
  File "/home/vitaly/Projects/WebKit/Tools/Scripts/run-minibrowser", line 28, in <module>
    import flatpakutils
  File "/home/vitaly/Projects/WebKit/Tools/flatpak/flatpakutils.py", line 22, in <module>
    import configparser
  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/configparser-217129/configparser-4.0.2/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/0d2527ca/attachment.htm>


More information about the webkit-unassigned mailing list