https://bugzilla.mozilla.org/show_bug.cgi?id=1496527 All bugs: https://bugzilla.mozilla.org/buglist.cgi?short_desc_type=regexp&short_desc=py(thon)%3F[%20-]%3F3&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&order=Bug%20Number Open bugs: https://bugzilla.mozilla.org/buglist.cgi?short_desc_type=regexp&short_desc=py(thon)%3F[%20-]%3F3&resolution=---&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&order=Bug%20Number
I "think" the only version which still doesn't is 52.9.0 and <60 versions been masked for a year for having multiple vulnerabilities. Time to just remove?
Firefox versions >=61 use both Python 2 and Python 3 in different parts of build system. See bug #662456. It is not yet possible to build Firefox using only Python 3.
The bug that describes the issue of building firefox with Python 3 is now marked as resolved. https://bugzilla.mozilla.org/show_bug.cgi?id=1388447
*** Bug 731958 has been marked as a duplicate of this bug. ***
That mozilla bug says "We both 1) support and 2) require Python 3 to build Firefox today. I'm closing this bug as complete in light of that." as of a month ago. Any idea which version of firefox that will actually apply to? I still get that firefox-79.0 requires python:2.7.
(In reply to Jack from comment #5) > [...] > I still get that firefox-79.0 requires python:2.7. Find upstream tracking bug ( Support python 3 across Firefox projects ): https://bugzilla.mozilla.org/showdependencytree.cgi?id=1496527&hide_resolved=1
indeed firefox >= 78 does no longer need python2.
emerge -pc python:2.7 gives me Calculating dependencies... done! dev-lang/python-2.7.18-r1 pulled in by: www-client/firefox-79.0 requires dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)] and five other packages.
(In reply to Jack from comment #8) > emerge -pc python:2.7 gives me > > Calculating dependencies... done! > dev-lang/python-2.7.18-r1 pulled in by: > www-client/firefox-79.0 requires > dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)] > and five other packages. good point, the mozcoreconf eclass needs to be corrected, i.e. drop py2 dependency.
Thanks. I thought I was losing it, and wondered if portage had something stuck in its throat. I don't know if this is relevant, but "emerge --info firefox" includes the line BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr python_targets_python3_7 python_targets_python2_7 multilib" and all other mentions of python are just 3_7. I have no idea where that comes from, however.
The plan is to do that with new eclasses when also moving to EAPI 7. I have no plans to change current eclasses.
*** Bug 739276 has been marked as a duplicate of this bug. ***
In a local overlay, copying the eclass over, incrementing it to mozcoreconfv7, and replacing python2_7 with python3_7? also requires removing the now-defunct "threads" useflag. Editing the firefox ebuild to remove this defunct useflag as a requirement of python is also required. This causes firefox to build, and to function appropriately. I am using it to submit this report. However, attempting to remove the defunct python package has me rebuilding spidermonkey - an error entirely of my own. I After looking at the latest security reports on this bugzilla, I am choosing to increment to 78.3.0 for the spidermonkey build. This build went without a hitch - even the existing patches applied for spidermonkey-78.2.0 seem to apply just as well as with their intended target. No edits were applied to this ebuild, aside from renaming and placing in the local overlay. I will be reusing my modified ebuild for firefox-80.0.1-"r2" to install firefox-81.0 I will report back after attempting a firefox build - I have a simpler backup webbrowser.
my local/python2-less "=www-client/firefox-80.0.1-r2" is re-built against the spidermonkey-78.3.0. And python2 disappears after 'emerge --depclean'. The browser is functioning as intended. The old (python2.7) version of spidermonkey was required by polkit - adding a keyword for a newer version of sys-auth/polkit addresses this need.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed273ce18a8de3340424291814e8376b4e787792 commit ed273ce18a8de3340424291814e8376b4e787792 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-09-29 23:29:43 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-09-29 23:39:33 +0000 www-client/firefox: bump to v81.0 Bug: https://bugs.gentoo.org/698978 Bug: https://bugs.gentoo.org/744208 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 97 ++ www-client/firefox/files/gentoo-default-prefs.js | 13 + www-client/firefox/files/gentoo-hwaccel-prefs.js-1 | 1 + www-client/firefox/files/icon/firefox-symbolic.svg | 64 ++ www-client/firefox/firefox-81.0.ebuild | 1028 ++++++++++++++++++++ 5 files changed, 1203 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf416cbcda53918cbd9250877bf1bd76ed5f5c1 commit eaf416cbcda53918cbd9250877bf1bd76ed5f5c1 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-09-30 01:02:06 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-09-30 01:05:11 +0000 www-client/firefox: bump to v78.3.0 Closes: https://bugs.gentoo.org/698978 Closes: https://bugs.gentoo.org/734924 Bug: https://bugs.gentoo.org/744208 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 97 +++ www-client/firefox/firefox-78.3.0.ebuild | 1028 ++++++++++++++++++++++++++++++ 2 files changed, 1125 insertions(+)