[Bug 49126] New: wine-gecko fails to build on host systems with python 3.8
WineHQ Bugzilla
wine-bugs at winehq.org
Sat May 9 14:11:11 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=49126
Bug ID: 49126
Summary: wine-gecko fails to build on host systems with python
3.8
Product: Wine-gecko
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-gecko-unknown
Assignee: jacek at codeweavers.com
Reporter: bero at lindev.ch
Distribution: ---
Created attachment 67122
--> https://bugs.winehq.org/attachment.cgi?id=67122
Fix (minus the needed pip update)
Various python scripts in wine-gecko use functions that have been removed in
python 3.8.x:
platform.linux_distribution() in build/mach_bootstrap.py,
python/mozboot/mozboot/bootstrap.py,
testing/mozbase/mozinfo/mozinfo/mozinfo.py,
testing/mozharness/mozinfo/mozinfo.py and
media/webrtc/trunk/tools/gyp/gyptest.py (probably the last one isn't actually
used)
time.clock() in python/mozbuild/mozbuild/config_status.py
Furthermore, the version of pip that's bundled in
python/virtualenv/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl uses
platform.linux_distribution() as well. This is fixable by replacing this file
with current upstream pip,
https://files.pythonhosted.org/packages/54/2e/df11ea7e23e7e761d484ed3740285a34e38548cf2bad2bed3dd5768ec8b9/pip-20.1-py2.py3-none-any.whl
The replacement for platform.linux_distribution() needs the distro module
pulled in, so the virtualenv config needs to be updated as well.
Attaching a patch that fixes the issues except the pip update (binary files
don't go well with patch files...)
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list