• Bug#1061437: firefox-esr: Fails to build with Python 3.12 as default

    From Jeremy =?UTF-8?Q?B=C3=ADcha?=@21:1/5 to All on Wed Jan 24 15:10:01 2024
    Source: firefox-esr
    Version: 115.6.0esr-1
    Severity: serious
    Tags: ftbfs patch sid trixie
    User: debian-python@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeremy =?UTF-8?Q?B=C3=ADcha?=@21:1/5 to All on Wed Feb 21 06:10:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 21 06:00:02 2024
    This is a multi-part message in MIME format...

    Your message dated Wed, 21 Feb 2024 04:50:11 +0000
    with message-id <E1rceYd-003t1x-Ev@fasolo.debian.org>
    and subject line Bug#1061437: fixed in firefox-esr 115.8.0esr-1
    has caused the Debian Bug report #1061437,
    regarding firefox-esr: Fails to build with Python 3.12 as default
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1061437: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061437
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 24 Jan 2024 13:57:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-5.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,
    SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 143; neutral, 29; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--U*debian-python,
    0.000-+--debian-python@lists.debian.org,
    0.000-+--debianpythonlistsdebianorg, 0.000-+--H*F:D*canonical.com Return-path: <jeremy.bicha@canonical.com>
    Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:41214)
    by buxtehude.debian.org wi