The build breaks with AttributeError: module 'collections' has no attribute 'MutableMapping' The problem is it picks up the latest python which is incompatible while not honoring 'eselect python' setting: # eselect python list Available Python interpreters, in order of preference: [1] python3.9 [2] python3.10 (fallback) [3] python3.8 (fallback) The possible solution is to disable python-3.10 in the ebuild diff {/usr/local/portage/localovr/www-client/firefox,/usr/portage/www-client/firefox}/firefox-78.15.0.ebuild 10c10 < PYTHON_COMPAT=( python3_{7..9} ) --- > PYTHON_COMPAT=( python3_{7..10} ) Reproducible: Always
Note that "eselect python" is for the benefit of users, it doesn't affect the version chosen in ebuilds. PYTHON_*TARGET(S) is used for that. Please upload the full build.log and emerge --info.
Created attachment 758124 [details] emerge --info
Created attachment 758125 [details] build log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61810f2ce722e484b7dd0baa263b5c7c5efc4256 commit 61810f2ce722e484b7dd0baa263b5c7c5efc4256 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-12-11 17:37:27 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-12-11 17:54:32 +0000 www-client/firefox: fix building against Python3.8+ and USE=pgo Closes: https://bugs.gentoo.org/828797 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-78.15.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)