Summary: | www-client/chromium should support Python 3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ab4bd, anton.kochkov, atoth, bertrand, dev, gentoo.org, johannes.geiss, jonathan, kripton, leonard, me, ms, orodruinlair, ostroffjh, PF4Public, phils, piotr.staroszczyk, rzubaly, thomas.bettler, vklimovs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://bugs.chromium.org/p/chromium/issues/detail?id=942720 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=698988 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 694800 | ||
Attachments: | migrate to python3 |
Description
Arfrever Frehtes Taifersar Arahesis
2019-10-31 02:42:47 UTC
Created attachment 616174 [details, diff] migrate to python3 mkdir -p /etc/portage/patches/www-client/chromium/ # save file there /etc/portage/patches/www-client/chromium/gcc_solink_wrapper__bytes_to_str.patch #switch python to 3.7 eselect python list Available Python interpreters, in order of preference: [1] python3.7 [2] python2.7 [3] python3.6 [4] python3.8 (fallback) eselect python set 1 emerge chromium >>> Verifying ebuild manifests >>> Running pre-merge checks for www-client/chromium-81.0.4044.26 * Checking for at least 3 GiB RAM ... [ ok ] * Checking for at least 7 GiB disk space at "/var/tmp/portage/www-client/chromium-81.0.4044.26/temp" ... [ ok ] >>> Emerging (1 of 1) www-client/chromium-81.0.4044.26::gentoo >>> Installing (1 of 1) www-client/chromium-81.0.4044.26::gentoo * Messages for package www-client/chromium-81.0.4044.26: * User patches applied. (In reply to bitMan from comment #1) > eselect python set 1 This only changes your default Python interpreter. It won't change which version of Python is used by the www-client/chromium ebuild. You would need to change the PYTHON_COMPAT line in the ebuild to affect that, and even then, you wouldn't be guaranteed that Chromium's build scripts won't invoke Python 2 explicitly. Making the Chromium build compatible with Python 3 is quite an involved project. See the upstream bug: https://bugs.chromium.org/p/chromium/issues/detail?id=942720 Tagging to track. (It is now November 6 and Chromium still requires python2 to build, but RUNS fine without it.) Both Python 2.7 and Python 3.* are now used since: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa31249b287e975aa25451cfc2f33f474b454932 commit aa31249b287e975aa25451cfc2f33f474b454932 Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2021-04-10 10:40:48 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2021-04-10 10:46:39 +0000 www-client/chromium: dev channel bump to 91.0.4469.4 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=602fbae37ad841fc5f6467cde41b9efdbe506174 commit 602fbae37ad841fc5f6467cde41b9efdbe506174 Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2021-09-08 20:00:12 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2021-09-08 20:00:12 +0000 www-client/chromium: security cleanup Bug: https://bugs.gentoo.org/811348 Closes: https://bugs.gentoo.org/698974 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> www-client/chromium/Manifest | 4 - www-client/chromium/chromium-92.0.4515.159.ebuild | 958 --------------------- .../files/chromium-92-EnumTable-crash.patch | 71 -- .../files/chromium-92-crashpad-consent.patch | 46 - .../chromium/files/chromium-freetype-2.11.patch | 50 -- 5 files changed, 1129 deletions(-) |