[Webkit-unassigned] [Bug 265931] New: [Flatpak SDK] Fix run-minibrowser for python 3.12
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 5 23:08:33 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=265931
Bug ID: 265931
Summary: [Flatpak SDK] Fix run-minibrowser for python 3.12
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: changseok at webkit.org
CC: bugs-noreply at webkitgtk.org
I build webkitgtk with Flatpak SDK on Fedora 39. The run-minibrowser fails with the following logs.
$ ./Tools/Scripts/run-minibrowser --gtk
Downloading six-1.16.0...
Installed six-1.16.0!
Downloading setuptools-68.1.2...
Installed setuptools-68.1.2!
Downloading wheel-0.35.1...
Installed wheel-0.35.1!
Downloading pyparsing-2.4.7...
Installed pyparsing-2.4.7!
Downloading packaging-21.3.0...
Installed packaging-21.3.0!
Downloading tomli-2.0.1...
Installed tomli-2.0.1!
Downloading setuptools-scm-6.4.2...
Installed setuptools-scm-6.4.2!
Downloading urllib3-1.26.17...
Installed urllib3-1.26.17!
Downloading configparser-4.0.2...
Installed configparser-4.0.2!
Downloading toml-0.10.1...
Installed toml-0.10.1!
Downloading setuptools-56.0.0...
Failed to install setuptools-56.0.0!
Error raised: Destination path '/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/distutils-precedence.pth' already exists
Traceback (most recent call last):
File "/app/webkit/Tools/Scripts/webkitpy/minibrowser/run_webkit_app.py", line 64, in main
port = factory.PortFactory(Host()).get(options.platform, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/webkit/Tools/Scripts/webkitpy/port/factory.py", line 142, in get
module = __import__('webkitpy.port.{}'.format(module_name), globals(), locals(), [], 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/webkit/Tools/Scripts/webkitpy/port/ios_simulator.py", line 29, in <module>
from webkitpy.port.ios import IOSPort
File "/app/webkit/Tools/Scripts/webkitpy/port/ios.py", line 29, in <module>
from webkitpy.port.device_port import DevicePort
File "/app/webkit/Tools/Scripts/webkitpy/port/device_port.py", line 30, in <module>
from webkitpy.results.upload import Upload
File "/app/webkit/Tools/Scripts/webkitpy/results/upload.py", line 28, in <module>
import requests
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 "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 690, in find_spec
loader = cls.find_module(fullname, path=path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 704, in find_module
cls.install(name)
File "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 677, in install
return all([to_install.install() for to_install in packages])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 677, in <listcomp>
return all([to_install.install() for to_install in packages])
^^^^^^^^^^^^^^^^^^^^
File "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 303, in install
AutoInstall.install(library)
File "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 677, in install
return all([to_install.install() for to_install in packages])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 677, in <listcomp>
return all([to_install.install() for to_install in packages])
^^^^^^^^^^^^^^^^^^^^
File "/app/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 417, in install
shutil.move(os.path.join(temp_location, directory), AutoInstall.directory)
File "/usr/lib/python3.11/shutil.py", line 823, in move
raise Error("Destination path '%s' already exists" % real_dst)
shutil.Error: Destination path '/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/distutils-precedence.pth' already exists
--
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/20231206/4a64cfb9/attachment.htm>
More information about the webkit-unassigned
mailing list