WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 263825
265931
[Flatpak SDK] Fix run-minibrowser for python 3.12
https://bugs.webkit.org/show_bug.cgi?id=265931
Summary
[Flatpak SDK] Fix run-minibrowser for python 3.12
ChangSeok Oh
Reported
2023-12-05 23:08:33 PST
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
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2023-12-05 23:14:44 PST
dupe of
bug#263825
?
ChangSeok Oh
Comment 2
2023-12-05 23:47:52 PST
Pull request:
https://github.com/WebKit/WebKit/pull/21380
ChangSeok Oh
Comment 3
2023-12-06 00:08:53 PST
Pull request:
https://github.com/WebKit/WebKit/pull/21381
Michael Catanzaro
Comment 4
2023-12-06 05:47:42 PST
*** This bug has been marked as a duplicate of
bug 263825
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug