Bug#1061437: firefox-esr: Fails to build with Python 3.12 as default
On Tue, Feb 20, 2024 at 11:59:11PM -0500, Jeremy Bícha wrote: > Amin Bandali collected several other fixes that were necessary for > mozjs115 to build with Python 3.12 beyond the one that I noticed was > included in 115.8. > > You can find them in the python3.12 patches in > https://salsa.debian.org/gnome-team/mozjs/-/tree/debian/115/master/debian/patches > > (Note that mozjs115 is partially stripped down so I can't guarantee > that even those patches are complete for firefox-esr's needs.) > > Therefore, I presume we will need to reopen this bug, but I have not > tried building firefox-esr myself. I've totally built Firefox 115esr with python 3.12 without those patches. At quick glance, they touch code that is not involved during the build. Mike
Bug#1061437: firefox-esr: Fails to build with Python 3.12 as default
Amin Bandali collected several other fixes that were necessary for mozjs115 to build with Python 3.12 beyond the one that I noticed was included in 115.8. You can find them in the python3.12 patches in https://salsa.debian.org/gnome-team/mozjs/-/tree/debian/115/master/debian/patches (Note that mozjs115 is partially stripped down so I can't guarantee that even those patches are complete for firefox-esr's needs.) Therefore, I presume we will need to reopen this bug, but I have not tried building firefox-esr myself. Thank you, Jeremy Bícha
Bug#1061437: firefox-esr: Fails to build with Python 3.12 as default
Source: firefox-esr Version: 115.6.0esr-1 Severity: serious Tags: ftbfs patch sid trixie User: debian-pyt...@lists.debian.org Usertags: python3.12 mozjs115 115.7.0 failed to build on Ubuntu 24.04 LTS which is one step ahead of Debian on the Python 3.12 transition. I didn't check the firefox-esr build but I assume it would probably have the same failure. https://launchpad.net/ubuntu/+source/mozjs115/115.7.0-1/+latestbuild/amd64 I found a fix for this issue in the source for Firefox 120 and I adapted it to work with the mozjs115 package. https://salsa.debian.org/gnome-team/mozjs/-/blob/debian/115/master/debian/patches/python3.12-six.patch Thank you, Jeremy Bícha