The summary pretty much sums it up, Firefox fails to merge. I've tested this both with Clang and GCC (since this was the first time I merged a Firefox ebuild with Clang, I wanted to rule out a difference there) This bug is in essence the same report as described by bug 646062 . I'm upgrading from 76.0.1 I will also be re-merging firefox 76.0.1 to verify this still builds successfully.
Created attachment 643398 [details] Firefox build logs of both Clang and GCC builds. The files were to large individually to be submitted as text, so I compressed both into an archive.
Created attachment 643400 [details] emerge --info output.
I can now confirm Firefox 76.0.1 still builds fine, on the same system with no other packages changed. So it's definitely something related to this build in particular.
The firefox-76.0 patchset used to carry a patch for patching the file in question, and I believe that patch was only needed when using distcc. You might want to try to disable distcc if you're actually using it.
Thanks for the info, I saw something along the same lines in the other bug report.. I am not using distcc however.
I have the same problem.
Switching to python3.7 as default interpreter solved problem for me
I confirmed the build is success when using Python 3.8. (I switched python version using package.env with PYTHON_COMPAT_OVERRIDE.) I think need to change PYTHON_COMPAT.
(In reply to tonich from comment #7) > Switching to python3.7 as default interpreter solved problem for me @tonich, Thank you for sharing solution :-)
The patch (https://github.com/Whissi/gentoo-mozilla/commit/6c032b80c02e516a2d384f4aadf078d8b2e4aa7b) was dropped because it's now incompatible with upstream recent changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1623701
Alright, after switching to Python 3.7, Firefox 77.0.1 now also builds on my system.
Hello, About this issue, do you think there is a fix or a soon-to-be-released about building Firefox with Python 3.6, or can we consider the minimum required Python version is 3.7? In case of the last choice, I think the ebuild should be updated. I would have preferred to stay a while longer on Python 3.6 or jumping over Python 3.7. Best regards,
Created attachment 644202 [details] My build.log I have the exact same issue. Here is my build.log
Created attachment 644204 [details] My emerge --info And here is the emerge --info output
I am not using distcc either. I only use ccache for building.
I think it might be related to #641676
(In reply to Mamadou Babaei from comment #16) > I think it might be related to #641676 https://bugs.gentoo.org/641676
For those who don't want to switch to Python 3.7, emerging with PYTHONIOENCODING=utf8 environment varialbe makes it work.
Good catch, setting PYTHONIOENCODING=utf8 solves the issue for me as well (Python 3.6.10 here).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25acf8cb8a1f42a7d9216a71cd5a63ee0f6bcd05 commit 25acf8cb8a1f42a7d9216a71cd5a63ee0f6bcd05 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-06-17 14:20:42 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-17 14:22:46 +0000 www-client/firefox: require >Py3.6 Closes: https://bugs.gentoo.org/727110 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-77.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
*** Bug 728630 has been marked as a duplicate of this bug. ***
recently filed a duplicate, since this is not shown under related bugs @ packages.gentoo.org - what am I missing ? BTW the fix is not yet in portage tree, right ? So manually emerging python3.7 and eselecting it is the temporary solution ? I can emerge FF without bailing out at the beginning due to wrong python version and fail after several minutes of compile time
Commit is in repository. Check the commit/date your repository is based on.
I believe already been told but this bug made a come back since the 0/esr78 and 0/81.0 ebuilds have python3_6 support again.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75daf88e505ff97d7cb50006e8688e59146a1fcd commit 75daf88e505ff97d7cb50006e8688e59146a1fcd Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-10-04 14:05:06 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-10-04 14:05:19 +0000 mail-client/thunderbird: require >Py3.6, again Bug: https://bugs.gentoo.org/727110 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> mail-client/thunderbird/thunderbird-78.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804b4ae8e8bb7817658b7dc9b6892376fb74bfa2 commit 804b4ae8e8bb7817658b7dc9b6892376fb74bfa2 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-10-04 14:04:06 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-10-04 14:05:18 +0000 www-client/firefox: require >Py3.6, again Bug: https://bugs.gentoo.org/727110 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-78.3.1.ebuild | 2 +- www-client/firefox/firefox-81.0.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)