• Mozilla Software on Sparc64/Linux

    From Connor McLaughlan@21:1/5 to All on Sat Nov 6 17:10:01 2021
    Hello All,

    i would be very interested in getting Firefox and Thunderbird (and possibly Seamonkey, but this isn't available at all with debian it seam) running, if possible at all for the newer versions.

    I would be willing to file error reports and produce gdb output on crashes,
    if this would help and someone could direct me to information on how and
    where to do it for debian.
    I have a few Sparc64 machines (Ultra45, Blade100, Ultra10, T1000, V120) to test.

    What i can get running (but also with errors) are only to following two versions:
    firefox_50.1.0-1_sparc64.deb
    thunderbird_52.9.1-1_sparc64.deb

    All later packages crash with bus errors.

    But as the latest versions for Sparc64 are well behind the releases on the other architectures, would debian even accept bug reports for older
    packages? (eg. firefox-esr 78 x86_64 vs. firefox-esr 60 sparc64)

    Rust seems not to be an issue any more for sparc64/linux, but the general upstream neglect of sparc64 seems to be the major problem.

    I would like to hear opinions on how to proceed or if you think this is a
    lost cause?

    Regards,
    Connor

    <div dir="ltr"><div>Hello All,</div><div><br></div><div>i would be very interested in getting Firefox and Thunderbird (and possibly Seamonkey, but this isn&#39;t available at all with debian it seam) running, if possible at all for the newer versions.<br>
    </div><div><br></div><div>I would be willing to file error reports and produce gdb output on crashes, if this would help and someone could direct me to information on how and where to do it for debian.</div><div></div><div>I have a few Sparc64 machines (
    Ultra45, Blade100, Ultra10, T1000, V120) to test. </div><div><br></div><div>What i can get running (but also with errors) are only to following two versions:</div><div>firefox_50.1.0-1_sparc64.deb</div><div>thunderbird_52.9.1-1_sparc64.deb</div><div><br>
    </div><div>All later packages crash with bus errors.</div><div><br></div><div>But as the latest versions for Sparc64 are well behind the releases on the other architectures, would debian even accept bug reports for older packages? (eg. firefox-esr 78 x86_
    64 vs. firefox-esr 60 sparc64)</div><div><br></div><div>Rust seems not to be an issue any more for sparc64/linux, but the general upstream neglect of sparc64 seems to be the major problem.</div><div><br></div><div>I would like to hear opinions on how to
    proceed or if you think this is a lost cause?</div><div><br></div><div>Regards,</div><div>Connor<br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rleir@leirtech.com@21:1/5 to Connor McLaughlan on Sun Nov 7 22:50:02 2021
    Connor

    This thread below claims that Big-Endian is dead (2015). It says that
    IBM changed their PowerPC's from BE to LE. Also that web developers
    assume LE.

    https://news.ycombinator.com/item?id=9451284

    https://news.ycombinator.com/item?id=16187939#:~:text=Big%20endian%20is%20dead%20on%20the%20client.&text=Big%20endian%20will%20stay%20alive,time%20on%20IBM%20z%20systems.

    https://www.reddit.com/r/linux/comments/3467gq/bigendian_is_effectively_dead/

    It ticks me off because I like BE better. And one of the most common architectures, ARM, is switchable between BE and LE. It is normally used
    as LE, but that is not stopping you.

    Adrian explained the problem in Firefox a while ago, it was complex.

    The words of Linus:

    https://lkml.org/lkml/2015/4/24/606

    Linux Plumbers Congress 2020:

    https://lwn.net/Articles/829733/

    Is it a lost cause? Rephrase that: how many of us want and need to
    scratch the itch?

    cheers -- Rick

    On 11/6/21 12:05 PM, Connor McLaughlan wrote:
    Hello All,

    i would be very interested in getting Firefox and Thunderbird (and
    possibly Seamonkey, but this isn't available at all with debian it
    seam) running, if possible at all for the newer versions.

    I would be willing to file error reports and produce gdb output on
    crashes, if this would help and someone could direct me to information
    on how and where to do it for debian.
    I have a few Sparc64 machines (Ultra45, Blade100, Ultra10, T1000,
    V120) to test.

    What i can get running (but also with errors) are only to following
    two versions:
    firefox_50.1.0-1_sparc64.deb
    thunderbird_52.9.1-1_sparc64.deb

    All later packages crash with bus errors.

    But as the latest versions for Sparc64 are well behind the releases on
    the other architectures, would debian even accept bug reports for
    older packages? (eg. firefox-esr 78 x86_64 vs. firefox-esr 60 sparc64)

    Rust seems not to be an issue any more for sparc64/linux, but the
    general upstream neglect of sparc64 seems to be the major problem.

    I would like to hear opinions on how to proceed or if you think this
    is a lost cause?

    Regards,
    Connor

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to rleir@leirtech.com on Sun Nov 7 23:20:01 2021
    Hello Rick!

    On 11/7/21 22:44, rleir@leirtech.com wrote:
    This thread below claims that Big-Endian is dead (2015). It says that IBM changed
    their PowerPC's from BE to LE. Also that web developers assume LE.

    Not sure how your comment is related to the original question but let me just add this:

    - IBM's s390x architecture is fully supported and one of IBM's cash cows and it's big-endian
    - IBM's AIX operating system which IBM is still actively developing and selling is big-endian

    Adrian explained the problem in Firefox a while ago, it was complex.

    Not really. Firefox on Solaris/SPARC exists and works. It's not complex, it's just that I am
    doing the work here alone. I was planning to write an answer to this mail but I haven't gotten
    around to doing that.

    The words of Linus:

    https://lkml.org/lkml/2015/4/24/606

    Linux Plumbers Congress 2020:

    https://lwn.net/Articles/829733/

    Linus is not the center of the universe.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rick Leir@21:1/5 to John Paul Adrian Glaubitz on Mon Nov 8 11:10:04 2021
    ------ETJVJPMNXAEGY26OWJ79I4S3HZQRR3
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Hi Adrian
    The reason that I think PPC is related is that, if it is also BE then PPC users may have solved some of the compatibility problems that we experience. I realize that there's a difference in this between PPC and Sparc; but some of the PPC fixes can at
    least suggest Sparc fixes as long as they have stayed BE. IBM is putting considerable effort into this.

    I talked with an IBM consultant at the X11 conference in Montreal two years ago. But we didn't discuss Sparc. And I didn't discuss IBM changing to LE. Is it true?

    Cheers -- Rick


    On November 7, 2021 5:18:54 p.m. EST, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
    Hello Rick!

    On 11/7/21 22:44, rleir@leirtech.com wrote:
    This thread below claims that Big-Endian is dead (2015). It says that IBM changed
    their PowerPC's from BE to LE. Also that web developers assume LE.

    Not sure how your comment is related to the original question but let me just add this:

    - IBM's s390x architecture is fully supported and one of IBM's cash cows and it's big-endian
    - IBM's AIX operating system which IBM is still actively developing and selling is big-endian

    Adrian explained the problem in Firefox a while ago, it was complex.

    Not really. Firefox on Solaris/SPARC exists and works. It's not complex, it's just that I am
    doing the work here alone. I was planning to write an answer to this mail but I haven't gotten
    around to doing that.

    The words of Linus:

    https://lkml.org/lkml/2015/4/24/606

    Linux Plumbers Congress 2020:

    https://lwn.net/Articles/829733/

    Linus is not the center of the universe.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    --
    Sorry for being brief. Alternate email is rickleir at yahoo dot com ------ETJVJPMNXAEGY26OWJ79I4S3HZQRR3
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head></head><body>Hi Adrian<br>The reason that I think PPC is related is that, if it is also BE then PPC users may have solved some of the compatibility problems that we experience. I realize that there's a difference in this between PPC and
    Sparc; but some of the PPC fixes can at least suggest Sparc fixes as long as they have stayed BE. IBM is putting considerable effort into this.<br><br>I talked with an IBM consultant at the X11 conference in Montreal two years ago. But we didn't discuss
    Sparc. And I didn't discuss IBM changing to LE. Is it true?<br><br>Cheers -- Rick<br><br><br><div class="gmail_quote">On November 7, 2021 5:18:54 p.m. EST, John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-berlin.de&gt; wrote:<blockquote class="gmail_
    quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px soli
  • From John Paul Adrian Glaubitz@21:1/5 to Rick Leir on Tue Nov 9 13:00:02 2021
    On 11/8/21 11:07, Rick Leir wrote:
    The reason that I think PPC is related is that, if it is also BE then PPC users may
    have solved some of the compatibility problems that we experience. I realize that
    there's a difference in this between PPC and Sparc; but some of the PPC fixes can
    at least suggest Sparc fixes as long as they have stayed BE. IBM is putting considerable
    effort into this.

    The fundamental problem with Firefox and Thunderbird is that building both requires NodeJS.

    There is no NodeJS for SPARC which is why you have to compile the JavaScript sources on a
    different architecture and then put them into the SPARC Firefox/Thunderbird packages, see:

    https://github.com/oracle/solaris-userland/tree/master/components/desktop/firefox/wrapper-node

    This has got nothing to do with big-endian vs. little-endian.

    I talked with an IBM consultant at the X11 conference in Montreal two years ago. But we didn't
    discuss Sparc. And I didn't discuss IBM changing to LE. Is it true?

    IBM is supporting Linux on POWER both big- and little-endian. Their zSeries mainframes are BE
    and so is AIX on POWER.

    Big-endian is not going anywhere, doesn't matter what anyone on Phoronix or the LKML writes.

    And it's not related to Firefox or Thunderbird on SPARC as explained above.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Tue Nov 9 23:10:01 2021
    Hi Adrian,

    thank you for your time. This sounds a bit complicated for the newer
    versions.

    Currently i don't know where to start.
    I was trying to build the old firefox52 and thunderbird52 which run on NetBSD/Sparc64 from pkgsrc and manually. The thunderbird52 exists on debian
    and the firefox package did skip 52 and was only released as a 50 with
    error messages filling up the console. I can get them to build with pkgsrc
    and manually but some patches seem to be missing to avoid bus errors in libxul.so on debian.

    Unfortunately i don't know yet how debian builds its own packages and where
    to find the patches used in those builds, so that i could reproduce the building of firefox50 and thunderbird52 to maybe learn something as a
    starting point.

    Regards,
    Connor



    On Tue, Nov 9, 2021 at 12:55 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/8/21 11:07, Rick Leir wrote:
    The reason that I think PPC is related is that, if it is also BE then
    PPC users may
    have solved some of the compatibility problems that we experience. I
    realize that
    there's a difference in this between PPC and Sparc; but some of the
    PPC fixes can
    at least suggest Sparc fixes as long as they have stayed BE. IBM is
    putting considerable
    effort into this.

    The fundamental problem with Firefox and Thunderbird is that building both requires NodeJS.

    There is no NodeJS for SPARC which is why you have to compile the
    JavaScript sources on a
    different architecture and then put them into the SPARC
    Firefox/Thunderbird packages, see:


    https://github.com/oracle/solaris-userland/tree/master/components/desktop/firefox/wrapper-node

    This has got nothing to do with big-endian vs. little-endian.

    I talked with an IBM consultant at the X11 conference in Montreal two
    years ago. But we didn't
    discuss Sparc. And I didn't discuss IBM changing to LE. Is it true?

    IBM is supporting Linux on POWER both big- and little-endian. Their
    zSeries mainframes are BE
    and so is AIX on POWER.

    Big-endian is not going anywhere, doesn't matter what anyone on Phoronix
    or the LKML writes.

    And it's not related to Firefox or Thunderbird on SPARC as explained above.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hi Adrian,</div><div><br></div><div>thank you for your time. This sounds a bit complicated for the newer versions.<br></div><div><br></div><div>Currently i don&#39;t know where to start.<br></div><div>I was trying to build the old
    firefox52 and thunderbird52 which run on NetBSD/Sparc64 from pkgsrc and manually. The thunderbird52 exists on debian and the firefox package did skip 52 and was only released as a 50 with error messages filling up the console. I can get them to build
    with pkgsrc and manually but some patches seem to be missing to avoid bus errors in libxul.so on debian.</div><div><br></div><div>Unfortunately i don&#39;t know yet how debian builds its own packages and where to find the patches used in those builds, so
    that i could reproduce the building of firefox50 and thunderbird52 to maybe learn something as a starting point.<br></div><div><br></div><div>Regards,</div><div>Connor<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="
    ltr" class="gmail_attr">On Tue, Nov 9, 2021 at 12:55 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;
    border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/8/21 11:07, Rick Leir wrote:<br>
    &gt; The reason that I think PPC is related is that, if it is also BE then PPC users may<br>
    &gt; have solved some of the compatibility problems that we experience. I realize that<br>
    &gt; there&#39;s  a difference in this between PPC and Sparc; but some of the PPC  fixes can<br>
    &gt; at least suggest Sparc fixes as long as they have stayed BE. IBM is putting considerable<br>
    &gt; effort into this.<br>

    The fundamental problem with Firefox and Thunderbird is that building both requires NodeJS.<br>

    There is no NodeJS for SPARC which is why you have to compile the JavaScript sources on a<br>
    different architecture and then put them into the SPARC Firefox/Thunderbird packages, see:<br>

    &gt; <a href="https://github.com/oracle/solaris-userland/tree/master/components/desktop/firefox/wrapper-node" rel="noreferrer" target="_blank">https://github.com/oracle/solaris-userland/tree/master/components/desktop/firefox/wrapper-node</a><br>

    This has got nothing to do with big-endian vs. little-endian.<br>

    &gt; I talked with an IBM consultant at the X11 conference in Montreal two years ago. But we didn&#39;t<br>
    &gt; discuss Sparc. And I didn&#39;t discuss IBM changing to LE. Is it true?<br>

    IBM is supporting Linux on POWER both big- and little-endian. Their zSeries mainframes are BE<br>
    and so is AIX on POWER.<br>

    Big-endian is not going anywhere, doesn&#39;t matter what anyone on Phoronix or the LKML writes.<br>

    And it&#39;s not related to Firefox or Thunderbird on SPARC as explained above.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hermann Lauer@21:1/5 to Connor McLaughlan on Wed Nov 10 10:20:05 2021
    Hi Connoer,

    On Tue, Nov 09, 2021 at 10:59:47PM +0100, Connor McLaughlan wrote:
    Hi Adrian,

    thank you for your time. This sounds a bit complicated for the newer versions.

    Currently i don't know where to start.
    I was trying to build the old firefox52 and thunderbird52 which run on NetBSD/Sparc64 from pkgsrc and manually. The thunderbird52 exists on debian and the firefox package did skip 52 and was only released as a 50 with
    error messages filling up the console. I can get them to build with pkgsrc and manually but some patches seem to be missing to avoid bus errors in libxul.so on debian.

    Unfortunately i don't know yet how debian builds its own packages and where to find the patches used in those builds, so that i could reproduce the building of firefox50 and thunderbird52 to maybe learn something as a starting point.

    apt-get source <package>

    The debian specific stuff is in the debian/ directory, also the debian specific patches.


    To get the the dependencies needed for building:
    apt-get build-dep <package>

    Good luck,
    greetings
    Hermann

    --
    Administration/Zentrale Dienste, Interdiziplinaeres
    Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
    IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427
    Email: Hermann.Lauer@iwr.uni-heidelberg.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to Hermann.Lauer@iwr.uni-heidelberg.de on Wed Nov 10 10:40:02 2021
    Hello Hermann,

    but how would this work for a patch set of a specific old release .deb
    where the .deb is only available on snapshot.debian.org?

    I guess i have to then load the specific source package form snapshot
    manually?

    Regards,
    Connor

    On Wed, Nov 10, 2021 at 10:04 AM Hermann Lauer < Hermann.Lauer@iwr.uni-heidelberg.de> wrote:

    Hi Connoer,

    On Tue, Nov 09, 2021 at 10:59:47PM +0100, Connor McLaughlan wrote:
    Hi Adrian,

    thank you for your time. This sounds a bit complicated for the newer versions.

    Currently i don't know where to start.
    I was trying to build the old firefox52 and thunderbird52 which run on NetBSD/Sparc64 from pkgsrc and manually. The thunderbird52 exists on
    debian
    and the firefox package did skip 52 and was only released as a 50 with error messages filling up the console. I can get them to build with
    pkgsrc
    and manually but some patches seem to be missing to avoid bus errors in libxul.so on debian.

    Unfortunately i don't know yet how debian builds its own packages and
    where
    to find the patches used in those builds, so that i could reproduce the building of firefox50 and thunderbird52 to maybe learn something as a starting point.

    apt-get source <package>

    The debian specific stuff is in the debian/ directory, also the debian specific patches.


    To get the the dependencies needed for building:
    apt-get build-dep <package>

    Good luck,
    greetings
    Hermann

    --
    Administration/Zentrale Dienste, Interdiziplinaeres
    Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
    IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427
    Email: Hermann.Lauer@iwr.uni-heidelberg.de


    <div dir="ltr"><div>Hello Hermann,</div><div><br></div><div>but how would this work for a patch set of a specific old release .deb where the .deb is only available on <a href="http://snapshot.debian.org">snapshot.debian.org</a>?</div><div><br></div><div>
    I guess i have to then load the specific source package form snapshot manually?</div><div><br></div><div>Regards,</div><div>Connor<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 10, 2021 at 10:04 AM Hermann
    Lauer &lt;<a href="mailto:Hermann.Lauer@iwr.uni-heidelberg.de">Hermann.Lauer@iwr.uni-heidelberg.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Connoer,


    On Tue, Nov 09, 2021 at 10:59:47PM +0100, Connor McLaughlan wrote:<br>
    &gt; Hi Adrian,<br>
    &gt; <br>
    &gt; thank you for your time. This sounds a bit complicated for the newer<br> &gt; versions.<br>
    &gt; <br>
    &gt; Currently i don&#39;t know where to start.<br>
    &gt; I was trying to build the old firefox52 and thunderbird52 which run on<br> &gt; NetBSD/Sparc64 from pkgsrc and manually. The thunderbird52 exists on debian<br>
    &gt; and the firefox package did skip 52 and was only released as a 50 with<br> &gt; error messages filling up the console. I can get them to build with pkgsrc<br>
    &gt; and manually but some patches seem to be missing to avoid bus errors in<br>
    &gt; libxul.so on debian.<br>
    &gt; <br>
    &gt; Unfortunately i don&#39;t know yet how debian builds its own packages and where<br>
    &gt; to find the patches used in those builds, so that i could reproduce the<br>
    &gt; building of firefox50 and thunderbird52 to maybe learn something as a<br> &gt; starting point.<br>

     apt-get source &lt;package&gt;<br>

    The debian specific stuff is in the debian/ directory, also the debian specific patches.<br>


    To get the the dependencies needed for building:<br>
     apt-get build-dep &lt;package&gt;<br>

    Good luck,<br>
     greetings<br>
       Hermann<br>

    -- <br>
    Administration/Zentrale Dienste, Interdiziplinaeres <br>
    Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg<br>
    IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427<br>
    Email: <a href="mailto:Hermann.Lauer@iwr.uni-heidelberg.de" target="_blank">Hermann.Lauer@iwr.uni-heidelberg.de</a><br>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Hermann Lauer on Wed Nov 10 11:00:02 2021
    Hi!

    On 11/10/21 10:04, Hermann Lauer wrote:
    apt-get source <package>

    The debian specific stuff is in the debian/ directory, also the debian specific patches.


    To get the the dependencies needed for building:
    apt-get build-dep <package>

    The better approach is to setup sbuild as explained here:

    https://wiki.debian.org/sbuild

    Then look at the previous build logs and pick a Firefox version that built successfully:

    https://buildd.debian.org/status/logs.php?pkg=firefox&arch=sparc64

    That would be 63.0.3-1.

    Then search for that version on snapshot.debian.org and download it:

    $ dget -u http://snapshot.debian.org/archive/debian/20181003T162948Z/pool/main/f/firefox/firefox_62.0.3-1.dsc

    Then build that package with:

    $ sbuild -d sid --arch=sparc64 --no-arch-all firefox_62.0.3-1.dsc

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gregor Riepl@21:1/5 to All on Wed Nov 10 15:30:01 2021
    but how would this work for a patch set of a specific old release .deb
    where the .deb is only available on snapshot.debian.org <http://snapshot.debian.org>?

    I guess i have to then load the specific source package form snapshot manually?

    Isn't it possible to add a specific snapshot as deb-src to your
    sources.list?

    Something like this should work:
    deb-src https://snapshot.debian.org/archive/debian/<dateandtime>/ sid main

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Gregor Riepl on Wed Nov 10 19:30:01 2021
    Hello Gregor!

    On 11/10/21 15:28, Gregor Riepl wrote:
    I guess i have to then load the specific source package form snapshot
    manually?

    Isn't it possible to add a specific snapshot as deb-src to your
    sources.list?

    Something like this should work:
    deb-src https://snapshot.debian.org/archive/debian/<dateandtime>/ sid main

    Yes, that's possible as well. But then you need to take care of the signing issues
    as the signatures for these snapshot archives have been expired. It's explained on the snapshot.debian.org main page.

    There are plans to add support for resigning the Release/Package files for snapshot.d.o in the future to alleviate this problem.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Riccardo Mottola@21:1/5 to Connor McLaughlan on Sun Nov 14 18:10:01 2021
    Hi Connor,


    you touch a delicate subject. You touch both endianness and SPARC cpu in

    On 11/6/21 5:05 PM, Connor McLaughlan wrote:
    Hello All,

    i would be very interested in getting Firefox and Thunderbird (and
    possibly Seamonkey, but this isn't available at all with debian it
    seam) running, if possible at all for the newer versions.


    yes, SeaMonkey is for me a missed package for both Debian/Devuan and
    FreeBSD. I just love it. I like the classic interface and can't stand
    the chrome-like of Firefox.

    SeaMonkey up to 2.49 was FF 52 based, so very portable and no rust. It
    should be a decent candidate to get it running on SPARC, since a
    specific Mac PPC G5 version was maintained for a long time. Current SM
    is FF 60 based and so has rust



    Rust seems not to be an issue any more for sparc64/linux, but the
    general upstream neglect of sparc64 seems to be the major problem.

    Rust is evil... however as you write it does not to be the biggest
    problem here.

    The major issue is endianness - current FireFox runs on PPC64 but is
    totally unusable. Everything in the UI has mangled colors, endianness is
    broken at about every level. E.g. FF relies now a lot on skia and
    officially it will never support BE. And so a lot of other issues,
    including Mesa.

    Add to endianness issues that SPARCs are sensitive to memory alignment
    and issues and you get the crashes.


    I follow the Big Endian issues closely, since I am interested in getting
    a usable browser on PPC, but it is an uphill road. I have been in
    contact for a long time with Cameron Kaiser who maintained TenFourFox
    (winding down activity right this year) and which as an excellent
    browser on MacOS PPC. Some of his patches were accepted upstream, but
    several not. His browser fork however is heavily MacOS 10.4 optimized
    (hence the name).

    I am working since a long time on ArcticFox and intend to keep it as
    much as possible cross-platform, close to Firefox, but incorporating as
    many fixes done for TenFourFox as I can. Currently, it is quite usable
    on PPC, although there are endianness issues with image composition
    operations. I can browser Wikipedia and even watch a youtube video with
    audio. That is already impossible with standard Firefox.



    I would like to hear opinions on how to proceed or if you think this
    is a lost cause?


    It is not a lost cause, but it is a hard cause, not well supported by
    upstream. I intend to generalize a lot of TenFourFox patches in
    ArcticFox, but it requires work.

    NetBSD should have a working FF (I think FF 52) on SPARC.

    I was finally able to compile ArcticFox on NetBSD/SPARC64 and
    Linux/SPARC64. It will start, show a window but crash very soon. That's
    already an improvement compared to crashing immediately as it did one
    year ago!


    For this cause, I need help - I am working alone and I have no real
    Gecko knowledge. I need to port patches from Gecko to improve certain
    parts, so I need somebody how knows Firefox code more than me to help me understand why certain give issues. Not specific SPARC, but I work
    mostly on amd64 and arm64 and then "test" on PPC and SPARC (my netra T1
    takes 20 hours to compile ArcticFox....) So if you know somebody who can
    help me with some specific issues please ping me. I have some blocking
    issues I need to solve so that ArcticFox doesn't die out and can evolve, specifically some JavaScript and JIT issues, currently verified on Intel.


    I have the hardware, I can test and often GDB stacktraces are quite
    meaningless if a debug is not used. I need real "code" help, if you know somebody, please point him.


    Riccardo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to All on Sun Nov 14 23:10:01 2021
    Hi Riccardo,

    thank you for your reply and insights into the matter.

    I have Firefox52 and Thunderbird52 up and running on NetBSD9.2/Sparc64
    compiled from pkgsrc.
    Now i wanted to do the same on Debian/Sparc64, but the pkgsrc patches seem
    to be custom created for NetBSD by Martin Husemann, and they will not build
    on Debian ootb.
    While NetBSD is a fine system, i can get more software to compile and run
    on Debian/Sparc64, like Libreoffice, xrdp-server and others. NetBSD is also missing rust and ada on sparc64.

    On Debian I tried to apply various sparc64 patches i found left and right
    on the internet, could get pkgsrc's firefox52 and thunderbird52 to build
    but they will not run and bus error out in libxul.so.
    So i will try soon to rebuild firefox50 from debian source package as
    Adrian told and try to apply some patches i found for the "[GFX1]: Unknown image format 1" errors and others that
    are filling up the console.

    But as these versions are old and not security fixed, it makes less and
    less sense to use those for anything on the internet. This led me to the fitting of Raspberry-Pis 3 into my workstations which will display their up-to-date browsers on the screen via ssh x forwarding. But of course this
    is cheating, i would rather have them do it natively on their own.

    So I will also try to build your ArcticFox. Somehow i did not come across
    it yet, thank you for the suggestion.
    Unfortunately i am an intermediate end user in this regard. I can apply patches, work around certain library problems and get stuff to compile, but
    i can't help with coding.
    So if it helps at all, if someone compiles and tests it, let me know.

    Sparc64 as a platform is almost dead and i know that as a result most
    projects still doing something for it are mostly one-man shows.
    But it is still fun to have the boxes running and i am also still planning
    to get some of those beefier T3-T8 servers once they are cheaply available
    on ebay and when i have more experience in quieting them down without
    killing them.

    Regards,
    Connor



    On Sun, Nov 14, 2021 at 6:06 PM Riccardo Mottola <riccardo.mottola@libero.it> wrote:

    Hi Connor,


    you touch a delicate subject. You touch both endianness and SPARC cpu in

    On 11/6/21 5:05 PM, Connor McLaughlan wrote:
    Hello All,

    i would be very interested in getting Firefox and Thunderbird (and
    possibly Seamonkey, but this isn't available at all with debian it
    seam) running, if possible at all for the newer versions.


    yes, SeaMonkey is for me a missed package for both Debian/Devuan and
    FreeBSD. I just love it. I like the classic interface and can't stand
    the chrome-like of Firefox.

    SeaMonkey up to 2.49 was FF 52 based, so very portable and no rust. It
    should be a decent candidate to get it running on SPARC, since a
    specific Mac PPC G5 version was maintained for a long time. Current SM
    is FF 60 based and so has rust



    Rust seems not to be an issue any more for sparc64/linux, but the
    general upstream neglect of sparc64 seems to be the major problem.

    Rust is evil... however as you write it does not to be the biggest
    problem here.

    The major issue is endianness - current FireFox runs on PPC64 but is
    totally unusable. Everything in the UI has mangled colors, endianness is broken at about every level. E.g. FF relies now a lot on skia and
    officially it will never support BE. And so a lot of other issues,
    including Mesa.

    Add to endianness issues that SPARCs are sensitive to memory alignment
    and issues and you get the crashes.


    I follow the Big Endian issues closely, since I am interested in getting
    a usable browser on PPC, but it is an uphill road. I have been in
    contact for a long time with Cameron Kaiser who maintained TenFourFox (winding down activity right this year) and which as an excellent
    browser on MacOS PPC. Some of his patches were accepted upstream, but
    several not. His browser fork however is heavily MacOS 10.4 optimized
    (hence the name).

    I am working since a long time on ArcticFox and intend to keep it as
    much as possible cross-platform, close to Firefox, but incorporating as
    many fixes done for TenFourFox as I can. Currently, it is quite usable
    on PPC, although there are endianness issues with image composition operations. I can browser Wikipedia and even watch a youtube video with audio. That is already impossible with standard Firefox.



    I would like to hear opinions on how to proceed or if you think this
    is a lost cause?


    It is not a lost cause, but it is a hard cause, not well supported by upstream. I intend to generalize a lot of TenFourFox patches in
    ArcticFox, but it requires work.

    NetBSD should have a working FF (I think FF 52) on SPARC.

    I was finally able to compile ArcticFox on NetBSD/SPARC64 and
    Linux/SPARC64. It will start, show a window but crash very soon. That's already an improvement compared to crashing immediately as it did one
    year ago!


    For this cause, I need help - I am working alone and I have no real
    Gecko knowledge. I need to port patches from Gecko to improve certain
    parts, so I need somebody how knows Firefox code more than me to help me understand why certain give issues. Not specific SPARC, but I work
    mostly on amd64 and arm64 and then "test" on PPC and SPARC (my netra T1
    takes 20 hours to compile ArcticFox....) So if you know somebody who can
    help me with some specific issues please ping me. I have some blocking
    issues I need to solve so that ArcticFox doesn't die out and can evolve, specifically some JavaScript and JIT issues, currently verified on Intel.


    I have the hardware, I can test and often GDB stacktraces are quite meaningless if a debug is not used. I need real "code" help, if you know somebody, please point him.


    Riccardo





    <div dir="ltr"><div>Hi Riccardo,</div><div><br></div><div>thank you for your reply and insights into the matter.</div><div><br></div><div>I have Firefox52 and Thunderbird52 up and running on NetBSD9.2/Sparc64 compiled from pkgsrc.</div><div>Now i wanted
    to do the same on Debian/Sparc64, but the pkgsrc patches seem to be custom created for NetBSD by Martin Husemann, and they will not build on Debian ootb.<br></div><div></div><div>While NetBSD is a fine system, i can get more software to compile and run
    on Debian/Sparc64, like Libreoffice, xrdp-server and others. NetBSD is also missing rust and ada on sparc64.<br></div><div><br></div><div>On Debian I tried to apply various sparc64 patches i found left and right on the internet, could get pkgsrc&#39;s
    firefox52 and thunderbird52 to build but they will not run and bus error out in libxul.so.</div><div></div><div>So i will try soon to rebuild firefox50 from debian source package as Adrian told and try to apply some patches i found for the &quot;[GFX1]:
    Unknown image format 1&quot; errors and others that <br></div><div>are filling up the console.<br></div><div><br></div><div>But as these versions are old and not security fixed, it makes less and less sense to use those for anything on the internet. This
    led me to the fitting of Raspberry-Pis 3 into my workstations which will display their up-to-date browsers on the screen via ssh x forwarding. But of course this is cheating, i would rather have them do it natively on their own.</div><div><br></div><div>
    So I will also try to build your ArcticFox. Somehow i did not come across it yet, thank you for the suggestion.</div><div>Unfortunately i am an intermediate end user in this regard. I can apply patches, work around certain library problems and get stuff
    to compile, but i can&#39;t help with coding.</div><div>So if it helps at all, if someone compiles and tests it, let me know.<br></div><div><br></div><div>Sparc64 as a platform is almost dead and i know that as a result most projects still doing
    something for it are mostly one-man shows.</div><div>But it is still fun to have the boxes running and i am also still planning to get some of those beefier T3-T8 servers once they are cheaply available on ebay and when i have more experience in quieting
    them down without killing them.</div><div><br></div><div>Regards,</div><div>Connor<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 14, 2021 at 6:06 PM Riccardo Mottola &lt;<a href="
    mailto:riccardo.mottola@libero.it">riccardo.mottola@libero.it</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Connor,<br>


    you touch a delicate subject. You touch both endianness and SPARC cpu in<br>

    On 11/6/21 5:05 PM, Connor McLaughlan wrote:<br>
    &gt; Hello All,<br>
    &gt;<br>
    &gt; i would be very interested in getting Firefox and Thunderbird (and <br> &gt; possibly Seamonkey, but this isn&#39;t available at all with debian it <br>
    &gt; seam) running, if possible at all for the newer versions.<br>


    yes, SeaMonkey is for me a missed package for both Debian/Devuan and <br> FreeBSD. I just love it. I like the classic interface and can&#39;t stand <br> the chrome-like of Firefox.<br>

    SeaMonkey up to 2.49 was FF 52 based, so very portable and no rust. It <br> should be a decent candidate to get it running on SPARC, since a <br>
    specific Mac PPC G5 version was maintained for a long time. Current SM <br>
    is FF 60 based and so has rust<br>


    &gt;<br>
    &gt; Rust seems not to be an issue any more for sparc64/linux, but the <br> &gt; general upstream neglect of sparc64 seems to be the major problem.<br>

    Rust is evil... however as you write it does not to be the biggest <br>
    problem here.<br>

    The major issue is endianness - current FireFox runs on PPC64 but is <br> totally unusable. Everything in the UI has mangled colors, endianness is <br> broken at about every level. E.g. FF relies now a lot on skia and <br> officially it will never support BE. And so a lot of other issues, <br> including Mesa.<br>

    Add to endianness issues that SPARCs are sensitive to memory alignment <br>
    and issues and you get the crashes.<br>


    I follow the Big Endian issues closely, since I am interested in getting <br>
    a usable browser on PPC, but it is an uphill road. I have been in <br>
    contact for a long time with Cameron Kaiser who maintained TenFourFox <br> (winding down activity right this year) and which as an excellent <br>
    browser on MacOS PPC. Some of his patches were accepted upstream, but <br> several not. His browser fork however is heavily MacOS 10.4 optimized <br> (hence the name).<br>

    I am working since a long time on ArcticFox and intend to keep it as <br>
    much as possible cross-platform, close to Firefox, but incorporating as <br> many fixes done for TenFourFox as I can. Currently, it is quite usable <br>
    on PPC, although there are endianness issues with image composition <br> operations. I can browser Wikipedia and even watch a youtube video with <br> audio. That is already impossible with standard Firefox.<br>


    &gt;<br>
    &gt; I would like to hear opinions on how to proceed or if you think this <br> &gt; is a lost cause?<br>


    It is not a lost cause, but it is a hard cause, not well supported by <br> upstream. I intend to generalize a lot of TenFourFox patches in <br>
    ArcticFox, but it requires work.<br>

    NetBSD should have a working FF (I think FF 52) on SPARC.<br>

    I was finally able to compile ArcticFox on NetBSD/SPARC64 and <br> Linux/SPARC64. It will start, show a window but crash very soon. That&#39;s <br>
    already an improvement compared to crashing immediately as it did one <br>
    year ago!<br>


    For this cause, I need help - I am working alone and I have no real <br>
    Gecko knowledge. I need to port patches from Gecko to improve certain <br> parts, so I need somebody how knows Firefox code more than me to help me <br> understand why certain give issues. Not specific SPARC, but I work <br>
    mostly on amd64 and arm64 and then &quot;test&quot; on PPC and SPARC (my netra T1 <br>
    takes 20 hours to compile ArcticFox....) So if you know somebody who can <br> help me with some specific issues please ping me. I have some blocking <br> issues I need to solve so that ArcticFox doesn&#39;t die out and can evolve, <br>
    specifically some JavaScript and JIT issues, currently verified on Intel.<br>


    I have the hardware, I can test and often GDB stacktraces are quite <br> meaningless if a debug is not used. I need real &quot;code&quot; help, if you know <br>
    somebody, please point him.<br>


    Riccardo<br>



    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Riccardo Mottola on Mon Nov 15 01:10:02 2021
    Hello!

    On 11/14/21 17:58, Riccardo Mottola wrote:
    i would be very interested in getting Firefox and Thunderbird (and possibly >> Seamonkey, but this isn't available at all with debian it seam) running, if >> possible at all for the newer versions.

    yes, SeaMonkey is for me a missed package for both Debian/Devuan and FreeBSD. I just love it. I like the classic interface and can't stand the chrome-like of Firefox.

    There is currently no one willing to step up being the maintainer of Seamonkey in Debian which is why it's currently not included.

    SeaMonkey up to 2.49 was FF 52 based, so very portable and no rust. It should be a decent candidate to get it running on SPARC, since a specific Mac PPC G5 version was maintained for a long time. Current SM is FF 60 based and so has rust

    Rust is available on SPARC and fully supported.

    Rust seems not to be an issue any more for sparc64/linux, but the general upstream
    neglect of sparc64 seems to be the major problem.

    Rust is evil... however as you write it does not to be the biggest problem here.

    Calling Rust "evil" is not a technical argument but an emotional one.

    The major issue is endianness - current FireFox runs on PPC64 but is totally unusable.
    Everything in the UI has mangled colors, endianness is broken at about every level.
    E.g. FF relies now a lot on skia and officially it will never support BE. And so a
    lot of other issues, including Mesa.

    As I mentioned before, Oracle officially support Firefox on Solaris on SPARC and thus
    on a big-endian system. Debian ships Firefox on s390x as a supported package.

    Claiming that Firefox is a mess on big-endian is definitely not accurate although
    Firefox upstream does not officially support big-endian targets, but they don't prevent it either.

    Add to endianness issues that SPARCs are sensitive to memory alignment and issues and you get the crashes.

    The more Rust code Firefox has, the less likely this is going to happen as Rust is much
    stricter with alignment than C/C++.

    I am working since a long time on ArcticFox and intend to keep it as much as possible
    cross-platform, close to Firefox, but incorporating as many fixes done for TenFourFox
    as I can. Currently, it is quite usable on PPC, although there are endianness issues
    with image composition operations. I can browser Wikipedia and even watch a youtube
    video with audio. That is already impossible with standard Firefox.

    Well, it's based on an ancient Firefox code base which is why it still has many of the
    old bugs that have been fixed in the mean time.

    I would like to hear opinions on how to proceed or if you think this is a lost cause?


    It is not a lost cause, but it is a hard cause, not well supported by upstream. I intend
    to generalize a lot of TenFourFox patches in ArcticFox, but it requires work.

    NetBSD should have a working FF (I think FF 52) on SPARC.

    I was finally able to compile ArcticFox on NetBSD/SPARC64 and Linux/SPARC64. It will start,
    show a window but crash very soon. That's already an improvement compared to crashing immediately
    as it did one year ago!

    We have already had a fully working Rust-based Firefox on SPARC. I don't think it's a good
    idea to use these ancient versions, especially since there is no official security support.

    For this cause, I need help - I am working alone and I have no real Gecko knowledge. I need
    to port patches from Gecko to improve certain parts, so I need somebody how knows Firefox
    code more than me to help me understand why certain give issues. Not specific SPARC, but I
    work mostly on amd64 and arm64 and then "test" on PPC and SPARC (my netra T1 takes 20 hours
    to compile ArcticFox....) So if you know somebody who can help me with some specific issues
    please ping me. I have some blocking issues I need to solve so that ArcticFox doesn't die
    out and can evolve, specifically some JavaScript and JIT issues, currently verified on Intel.

    It's probably a better idea to start working on separating the Javascript transpilation process
    in the Firefox build system from the build process for the native code as this will remove
    the NodeJS build dependency for Firefox.

    Firefox itself does not require NodeJS. It's just that the Mozilla developers decided to pull
    in NodeJS as a hard dependency for the build so that the Javascript files are always freshly
    transpiled from the source.

    However, the transpilation process does not necessarily have to happen on the same architecture
    and one can transpile the Javascript files on x86_64 and copy them into the Firefox build
    tree later. This is what Oracle does on Solaris and we could do the same on Debian by moving
    the transpiled Javascript packages into a firefox-common package which will be used by the
    firefox package on the various architectures.

    This way we could use current versions of Firefox and wouldn't be stuck to old and buggy
    versions. I have already a concept for the common package, but I didn't have the time for
    turning the concept into code yet.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Mon Nov 15 02:00:01 2021
    Hello Adrian,

    did the working rust based firefox make it into a released package?

    The only packaged version of firefox i could get to run was firefox50.
    And i have tested all higher available version of firefox and firefox-esr
    on snapshot.debian.org

    Regards,
    Connor

    On Mon, Nov 15, 2021 at 1:06 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hello!

    On 11/14/21 17:58, Riccardo Mottola wrote:
    i would be very interested in getting Firefox and Thunderbird (and possibly
    Seamonkey, but this isn't available at all with debian it seam)
    running, if
    possible at all for the newer versions.

    yes, SeaMonkey is for me a missed package for both Debian/Devuan and
    FreeBSD.
    I just love it. I like the classic interface and can't stand the
    chrome-like
    of Firefox.

    There is currently no one willing to step up being the maintainer of Seamonkey
    in Debian which is why it's currently not included.

    SeaMonkey up to 2.49 was FF 52 based, so very portable and no rust. It
    should
    be a decent candidate to get it running on SPARC, since a specific Mac
    PPC G5
    version was maintained for a long time. Current SM is FF 60 based and so
    has rust

    Rust is available on SPARC and fully supported.

    Rust seems not to be an issue any more for sparc64/linux, but the
    general upstream
    neglect of sparc64 seems to be the major problem.

    Rust is evil... however as you write it does not to be the biggest
    problem here.

    Calling Rust "evil" is not a technical argument but an emotional one.

    The major issue is endianness - current FireFox runs on PPC64 but is
    totally unusable.
    Everything in the UI has mangled colors, endianness is broken at about
    every level.
    E.g. FF relies now a lot on skia and officially it will never support
    BE. And so a
    lot of other issues, including Mesa.

    As I mentioned before, Oracle officially support Firefox on Solaris on
    SPARC and thus
    on a big-endian system. Debian ships Firefox on s390x as a supported
    package.

    Claiming that Firefox is a mess on big-endian is definitely not accurate although
    Firefox upstream does not officially support big-endian targets, but they don't
    prevent it either.

    Add to endianness issues that SPARCs are sensitive to memory alignment
    and issues and you get the crashes.

    The more Rust code Firefox has, the less likely this is going to happen as Rust is much
    stricter with alignment than C/C++.

    I am working since a long time on ArcticFox and intend to keep it as
    much as possible
    cross-platform, close to Firefox, but incorporating as many fixes done
    for TenFourFox
    as I can. Currently, it is quite usable on PPC, although there are
    endianness issues
    with image composition operations. I can browser Wikipedia and even
    watch a youtube
    video with audio. That is already impossible with standard Firefox.

    Well, it's based on an ancient Firefox code base which is why it still has many of the
    old bugs that have been fixed in the mean time.

    I would like to hear opinions on how to proceed or if you think this is
    a lost cause?


    It is not a lost cause, but it is a hard cause, not well supported by
    upstream. I intend
    to generalize a lot of TenFourFox patches in ArcticFox, but it requires
    work.

    NetBSD should have a working FF (I think FF 52) on SPARC.

    I was finally able to compile ArcticFox on NetBSD/SPARC64 and
    Linux/SPARC64. It will start,
    show a window but crash very soon. That's already an improvement
    compared to crashing immediately
    as it did one year ago!

    We have already had a fully working Rust-based Firefox on SPARC. I don't think it's a good
    idea to use these ancient versions, especially since there is no official security support.

    For this cause, I need help - I am working alone and I have no real
    Gecko knowledge. I need
    to port patches from Gecko to improve certain parts, so I need somebody
    how knows Firefox
    code more than me to help me understand why certain give issues. Not
    specific SPARC, but I
    work mostly on amd64 and arm64 and then "test" on PPC and SPARC (my
    netra T1 takes 20 hours
    to compile ArcticFox....) So if you know somebody who can help me with
    some specific issues
    please ping me. I have some blocking issues I need to solve so that
    ArcticFox doesn't die
    out and can evolve, specifically some JavaScript and JIT issues,
    currently verified on Intel.

    It's probably a better idea to start working on separating the Javascript transpilation process
    in the Firefox build system from the build process for the native code as this will remove
    the NodeJS build dependency for Firefox.

    Firefox itself does not require NodeJS. It's just that the Mozilla
    developers decided to pull
    in NodeJS as a hard dependency for the build so that the Javascript files
    are always freshly
    transpiled from the source.

    However, the transpilation process does not necessarily have to happen on
    the same architecture
    and one can transpile the Javascript files on x86_64 and copy them into
    the Firefox build
    tree later. This is what Oracle does on Solaris and we could do the same
    on Debian by moving
    the transpiled Javascript packages into a firefox-common package which
    will be used by the
    firefox package on the various architectures.

    This way we could use current versions of Firefox and wouldn't be stuck to old and buggy
    versions. I have already a concept for the common package, but I didn't
    have the time for
    turning the concept into code yet.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>did the working rust based firefox make it into a released package?</div><div><br></div><div>The only packaged version of firefox i could get to run was firefox50. <br></div><div>And i have
    tested all higher available version of firefox and firefox-esr on <a href="http://snapshot.debian.org">snapshot.debian.org</a></div><div><br></div><div>Regards,</div><div>Connor<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"
    On Mon, Nov 15, 2021 at 1:06 AM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(
    204,204,204);padding-left:1ex">Hello!<br>

    On 11/14/21 17:58, Riccardo Mottola wrote:<br>
    &gt;&gt; i would be very interested in getting Firefox and Thunderbird (and possibly<br>
    &gt;&gt; Seamonkey, but this isn&#39;t available at all with debian it seam) running, if<br>
    &gt;&gt; possible at all for the newer versions.<br>
    &gt; <br>
    &gt; yes, SeaMonkey is for me a missed package for both Debian/Devuan and FreeBSD.<br>
    &gt; I just love it. I like the classic interface and can&#39;t stand the chrome-like<br>
    &gt; of Firefox.<br>

    There is currently no one willing to step up being the maintainer of Seamonkey<br>
    in Debian which is why it&#39;s currently not included.<br>

    &gt; SeaMonkey up to 2.49 was FF 52 based, so very portable and no rust. It should<br>
    &gt; be a decent candidate to get it running on SPARC, since a specific Mac PPC G5<br>
    &gt; version was maintained for a long time. Current SM is FF 60 based and so has rust<br>

    Rust is available on SPARC and fully supported.<br>

    &gt;&gt; Rust seems not to be an issue any more for sparc64/linux, but the general upstream<br>
    &gt;&gt; neglect of sparc64 seems to be the major problem.<br>
    &gt; <br>
    &gt; Rust is evil... however as you write it does not to be the biggest problem here.<br>

    Calling Rust &quot;evil&quot; is not a technical argument but an emotional one.<br>

    &gt; The major issue is endianness - current FireFox runs on PPC64 but is totally unusable.<br>
    &gt; Everything in the UI has mangled colors, endianness is broken at about every level.<br>
    &gt; E.g. FF relies now a lot on skia and officially it will never support BE. And so a<br>
    &gt; lot of other issues, including Mesa.<br>

    As I mentioned before, Oracle officially support Firefox on Solaris on SPARC and thus<br>
    on a big-endian system. Debian ships Firefox on s390x as a supported package.<br>

    Claiming that Firefox is a mess on big-endian is definitely not accurate although<br>
    Firefox upstream does not officially support big-endian targets, but they don&#39;t<br>
    prevent it either.<br>

    &gt; Add to endianness issues that SPARCs are sensitive to memory alignment and issues and you get the crashes.<br>

    The more Rust code Firefox has, the less likely this is going to happen as Rust is much<br>
    stricter with alignment than C/C++.<br>

    &gt; I am working since a long time on ArcticFox and intend to keep it as much as possible<br>
    &gt; cross-platform, close to Firefox, but incorporating as many fixes done for TenFourFox<br>
    &gt; as I can. Currently, it is quite usable on PPC, although there are endianness issues<br>
    &gt; with image composition operations. I can browser Wikipedia and even watch a youtube<br>
    &gt; video with audio. That is already impossible with standard Firefox.<br>

    Well, it&#39;s based on an ancient Firefox code base which is why it still has many of the<br>
    old bugs that have been fixed in the mean time.<br>

    &gt;&gt; I would like to hear opinions on how to proceed or if you think this is a lost cause?<br>
    &gt; <br>
    &gt; <br>
    &gt; It is not a lost cause, but it is a hard cause, not well supported by upstream. I intend<br>
    &gt; to generalize a lot of TenFourFox patches in ArcticFox, but it requires work.<br>
    &gt; <br>
    &gt; NetBSD should have a working FF (I think FF 52) on SPARC.<br>
    &gt; <br>
    &gt; I was finally able to compile ArcticFox on NetBSD/SPARC64 and Linux/SPARC64. It will start,<br>
    &gt; show a window but crash very soon. That&#39;s already an improvement compared to crashing immediately<br>
    &gt; as it did one year ago!<br>

    We have already had a fully working Rust-based Firefox on SPARC. I don&#39;t think it&#39;s a good<br>
    idea to use these ancient versions, especially since there is no official security support.<br>

    &gt; For this cause, I need help - I am working alone and I have no real Gecko knowledge. I need<br>
    &gt; to port patches from Gecko to improve certain parts, so I need somebody how knows Firefox<br>
    &gt; code more than me to help me understand why certain give issues. Not specific SPARC, but I<br>
    &gt; work mostly on amd64 and arm64 and then &quot;test&quot; on PPC and SPARC (my netra T1 takes 20 hours<br>
    &gt; to compile ArcticFox....) So if you know somebody who can help me with some specific issues<br>
    &gt; please ping me. I have some blocking issues I need to solve so that ArcticFox doesn&#39;t die<br>
    &gt; out and can evolve, specifically some JavaScript and JIT issues, currently verified on Intel.<br>

    It&#39;s probably a better idea to start working on separating the Javascript transpilation process<br>
    in the Firefox build system from the build process for the native code as this will remove<br>
    the NodeJS build dependency for Firefox.<br>

    Firefox itself does not require NodeJS. It&#39;s just that the Mozilla developers decided to pull<br>
    in NodeJS as a hard dependency for the build so that the Javascript files are always freshly<br>
    transpiled from the source.<br>

    However, the transpilation process does not necessarily have to happen on the same architecture<br>
    and one can transpile the Javascript files on x86_64 and copy them into the Firefox build<br>
    tree later. This is what Oracle does on Solaris and we could do the same on Debian by moving<br>
    the transpiled Javascript packages into a firefox-common package which will be used by the<br>
    firefox package on the various architectures.<br>

    This way we could use current versions of Firefox and wouldn&#39;t be stuck to old and buggy<br>
    versions. I have already a concept for the common package, but I didn&#39;t have the time for<br>
    turning the concept into code yet.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Mon Nov 15 10:40:01 2021
    Hello Connor!

    On 11/15/21 01:53, Connor McLaughlan wrote:
    did the working rust based firefox make it into a released package?

    Yes, as I said in a previous mail, Firefox 60 was successfully built and uploaded.

    If you want to see which packages where built, check the build log archive
    by opening:

    https://buildd.debian.org

    then type "firefox" and click "Go".

    Look for the row with "sparc64" and click on "old" in the eight column,
    there you'll see that the last successfully built package version was "62.0.3-1".

    If you now go to snapshot.debian.org and type "firefox" in the source package name field and click "Submit", you will get a list of versions, including sparc64. Click it and scroll down to "firefox_62.0.3-1_sparc64.deb" and you
    get your package.

    To install the package directly, add the following line to your sources.list:

    deb [trusted=yes] https://snapshot.debian.org/archive/debian-ports/20181004T035335Z/ unstable main

    The only packaged version of firefox i could get to run was firefox50.
    And i have tested all higher available version of firefox and firefox-esr
    on snapshot.debian.org

    What problem did you run in to? You need to describe the actual problem so that I can help you debug it.

    Building newer versions should be possible as explained before, but I haven't had
    the time for the NodeJS hack yet.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Mon Nov 15 15:10:02 2021
    Hello Adrian,

    i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no
    window comes up.

    gdb output:

    connor@SunUltra25:/usr/lib/firefox$ gdb firefox
    GNU gdb (Debian 10.1-2) 10.1.90.20210103-git
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html

    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    Type "show copying" and "show warranty" for details.
    This GDB was configured as "sparc64-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from firefox...
    Reading symbols from /usr/lib/debug/.build-id/5e/7c2ce19658b5a547605e9716c409337752cd54.debug... (gdb) run
    Starting program: /usr/lib/firefox/firefox
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1". [Detaching after fork from child process 4008]
    [New Thread 0xfff000010e6a3870 (LWP 4009)]
    [New Thread 0xfff0000111f79870 (LWP 4010)]
    [Thread 0xfff0000111f79870 (LWP 4010) exited]
    [New Thread 0xfff0000111f79870 (LWP 4011)]
    [New Thread 0xfff000011277b870 (LWP 4012)]
    [New Thread 0xfff0000112f7d870 (LWP 4013)]
    [New Thread 0xfff000011377f870 (LWP 4015)]
    [New Thread 0xfff0000113981870 (LWP 4016)]
    [New Thread 0xfff0000113b83870 (LWP 4017)]
    [New Thread 0xfff0000113d85870 (LWP 4018)]
    [New Thread 0xfff0000113f87870 (LWP 4019)]

    Thread 1 "firefox" received signal SIGBUS, Bus error.
    HashIIDPtrKey (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
    26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No
    such file or directory.
    (gdb) bt
    #0 HashIIDPtrKey(void const*) (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
    #1 0xfff0000106d77ad4 in PLDHashTable::ComputeKeyHash(void const*) (aKey=0xed9, this=0xed9)
    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:518
    #2 PLDHashTable::Add(void const*, std::nothrow_t const&) (this=0xed9, aKey=0xed9)
    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:586
    #3 0x0000000000000ee1 in ()
    (gdb) list
    21 in /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp
    (gdb)
    connor@SunUltra25:/usr/lib/firefox$ gdb firefox
    GNU gdb (Debian 10.1-2) 10.1.90.20210103-git
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html

    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    Type "show copying" and "show warranty" for details.
    This GDB was configured as "sparc64-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from firefox...
    Reading symbols from /usr/lib/debug/.build-id/5e/7c2ce19658b5a547605e9716c409337752cd54.debug... (gdb) run
    Starting program: /usr/lib/firefox/firefox
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1". [Detaching after fork from child process 4008]
    [New Thread 0xfff000010e6a3870 (LWP 4009)]
    [New Thread 0xfff0000111f79870 (LWP 4010)]
    [Thread 0xfff0000111f79870 (LWP 4010) exited]
    [New Thread 0xfff0000111f79870 (LWP 4011)]
    [New Thread 0xfff000011277b870 (LWP 4012)]
    [New Thread 0xfff0000112f7d870 (LWP 4013)]
    [New Thread 0xfff000011377f870 (LWP 4015)]
    [New Thread 0xfff0000113981870 (LWP 4016)]
    [New Thread 0xfff0000113b83870 (LWP 4017)]
    [New Thread 0xfff0000113d85870 (LWP 4018)]
    [New Thread 0xfff0000113f87870 (LWP 4019)]

    Thread 1 "firefox" received signal SIGBUS, Bus error.
    HashIIDPtrKey (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
    26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No
    such file or directory.
    (gdb) bt
    #0 HashIIDPtrKey(void const*) (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
    #1 0xfff0000106d77ad4 in PLDHashTable::ComputeKeyHash(void const*) (aKey=0xed9, this=0xed9)
    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:518
    #2 PLDHashTable::Add(void const*, std::nothrow_t const&) (this=0xed9, aKey=0xed9)
    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:586
    #3 0x0000000000000ee1 in ()
    (gdb) list
    21 in /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp
    (gdb)

    Regards,
    Connor

    On Mon, Nov 15, 2021 at 10:35 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hello Connor!

    On 11/15/21 01:53, Connor McLaughlan wrote:
    did the working rust based firefox make it into a released package?

    Yes, as I said in a previous mail, Firefox 60 was successfully built and uploaded.

    If you want to see which packages where built, check the build log archive
    by opening:

    https://buildd.debian.org

    then type "firefox" and click "Go".

    Look for the row with "sparc64" and click on "old" in the eight column,
    there you'll see that the last successfully built package version was "62.0.3-1".

    If you now go to snapshot.debian.org and type "firefox" in the source
    package
    name field and click "Submit", you will get a list of versions, including sparc64. Click it and scroll down to "firefox_62.0.3-1_sparc64.deb" and you get your package.

    To install the package directly, add the following line to your
    sources.list:

    deb [trusted=yes] https://snapshot.debian.org/archive/debian-ports/20181004T035335Z/
    unstable main

    The only packaged version of firefox i could get to run was firefox50.
    And i have tested all higher available version of firefox and firefox-esr on snapshot.debian.org

    What problem did you run in to? You need to describe the actual problem so that
    I can help you debug it.

    Building newer versions should be possible as explained before, but I
    haven't had
    the time for the NodeJS hack yet.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no window comes up.</div><div><br></div><div>gdb output:</div><div><br></div><div>connor@SunUltra25:/usr/lib/firefox$ gdb
    firefox<br>GNU gdb (Debian 10.1-2) 10.1.90.20210103-git<br>Copyright (C) 2021 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later &lt;<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>&gt;<br>This is
    free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br>Type &quot;show copying&quot; and &quot;show warranty&quot; for details.<br>This GDB was configured as &quot;sparc64-linux-gnu&quot;.<
    Type &quot;show configuration&quot; for configuration details.<br>For bug reporting instructions, please see:<br>&lt;<a href="https://www.gnu.org/software/gdb/bugs/">https://www.gnu.org/software/gdb/bugs/</a>&gt;.<br>Find the GDB manual and other
    documentation resources online at:<br>    &lt;<a href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>&gt;.<br><br>For help, type &quot;help&quot;.<br>Type &quot;apropos word&quot; to search for
    commands related to &quot;word&quot;...<br>Reading symbols from firefox...<br>Reading symbols from /usr/lib/debug/.build-id/5e/7c2ce19658b5a547605e9716c409337752cd54.debug...<br>(gdb) run<br>Starting program: /usr/lib/firefox/firefox <br>[Thread
    debugging using libthread_db enabled]<br>Using host libthread_db library &quot;/lib/sparc64-linux-gnu/libthread_db.so.1&quot;.<br>[Detaching after fork from child process 4008]<br>[New Thread 0xfff000010e6a3870 (LWP 4009)]<br>[New Thread
    0xfff0000111f79870 (LWP 4010)]<br>[Thread 0xfff0000111f79870 (LWP 4010) exited]<br>[New Thread 0xfff0000111f79870 (LWP 4011)]<br>[New Thread 0xfff000011277b870 (LWP 4012)]<br>[New Thread 0xfff0000112f7d870 (LWP 4013)]<br>[New Thread 0xfff000011377f870 (
    LWP 4015)]<br>[New Thread 0xfff0000113981870 (LWP 4016)]<br>[New Thread 0xfff0000113b83870 (LWP 4017)]<br>[New Thread 0xfff0000113d85870 (LWP 4018)]<br>[New Thread 0xfff0000113f87870 (LWP 4019)]<br><br>Thread 1 &quot;firefox&quot; received signal SIGBUS,
    Bus error.<br>HashIIDPtrKey (key=0xfff000010a7cfe4c &lt;xpt::detail::sInterfaces+30352&gt;)<br>    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26<br>26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No such
    file or directory.<br>(gdb) bt<br>#0  HashIIDPtrKey(void const*) (key=0xfff000010a7cfe4c &lt;xpt::detail::sInterfaces+30352&gt;)<br>    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26<br>#1  0xfff0000106d77ad4 in PLDHashTable::
    ComputeKeyHash(void const*) (aKey=0xed9, this=0xed9)<br>    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:518<br>#2  PLDHashTable::Add(void const*, std::nothrow_t const&amp;) (this=0xed9, aKey=0xed9)<br>    at /build/firefox-
    YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:586<br>#3  0x0000000000000ee1 in  ()<br>(gdb) list<br>21 in /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp<br>(gdb) <br>connor@SunUltra25:/usr/lib/firefox$ gdb firefox<br>GNU gdb (
    Debian 10.1-2) 10.1.90.20210103-git<br>Copyright (C) 2021 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later &lt;<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>&gt;<br>This is free software: you
    are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br>Type &quot;show copying&quot; and &quot;show warranty&quot; for details.<br>This GDB was configured as &quot;sparc64-linux-gnu&quot;.<br>Type &quot;show
    configuration&quot; for configuration details.<br>For bug reporting instructions, please see:<br>&lt;<a href="https://www.gnu.org/software/gdb/bugs/">https://www.gnu.org/software/gdb/bugs/</a>&gt;.<br>Find the GDB manual and other documentation resources
    online at:<br>    &lt;<a href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>&gt;.<br><br>For help, type &quot;help&quot;.<br>Type &quot;apropos word&quot; to search for commands related to &quot;word&
    quot;...<br>Reading symbols from firefox...<br>Reading symbols from /usr/lib/debug/.build-id/5e/7c2ce19658b5a547605e9716c409337752cd54.debug...<br>(gdb) run<br>Starting program: /usr/lib/firefox/firefox <br>[Thread debugging using libthread_db enabled]<
    Using host libthread_db library &quot;/lib/sparc64-linux-gnu/libthread_db.so.1&quot;.<br>[Detaching after fork from child process 4008]<br>[New Thread 0xfff000010e6a3870 (LWP 4009)]<br>[New Thread 0xfff0000111f79870 (LWP 4010)]<br>[Thread
    0xfff0000111f79870 (LWP 4010) exited]<br>[New Thread 0xfff0000111f79870 (LWP 4011)]<br>[New Thread 0xfff000011277b870 (LWP 4012)]<br>[New Thread 0xfff0000112f7d870 (LWP 4013)]<br>[New Thread 0xfff000011377f870 (LWP 4015)]<br>[New Thread
    0xfff0000113981870 (LWP 4016)]<br>[New Thread 0xfff0000113b83870 (LWP 4017)]<br>[New Thread 0xfff0000113d85870 (LWP 4018)]<br>[New Thread 0xfff0000113f87870 (LWP 4019)]<br><br>Thread 1 &quot;firefox&quot; received signal SIGBUS, Bus error.<br>
    HashIIDPtrKey (key=0xfff000010a7cfe4c &lt;xpt::detail::sInterfaces+30352&gt;)<br>    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26<br>26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No such file or
    directory.<br>(gdb) bt<br>#0  HashIIDPtrKey(void const*) (key=0xfff000010a7cfe4c &lt;xpt::detail::sInterfaces+30352&gt;)<br>    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26<br>#1  0xfff0000106d77ad4 in PLDHashTable::
    ComputeKeyHash(void const*) (aKey=0xed9, this=0xed9)<br>    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:518<br>#2  PLDHashTable::Add(void const*, std::nothrow_t const&amp;) (this=0xed9, aKey=0xed9)<br>    at /build/firefox-
    YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:586<br>#3  0x0000000000000ee1 in  ()<br>(gdb) list<br>21 in /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp<br>(gdb) <br></div><div><br></div><div>Regards,</div><div>Connor<br></div></
    <br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 15, 2021 at 10:35 AM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_
    quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Connor!<br>

    On 11/15/21 01:53, Connor McLaughlan wrote:<br>
    &gt; did the working rust based firefox make it into a released package?<br>

    Yes, as I said in a previous mail, Firefox 60 was successfully built and<br> uploaded.<br>

    If you want to see which packages where built, check the build log archive<br> by opening:<br>

    &gt; <a href="https://buildd.debian.org" rel="noreferrer" target="_blank">https://buildd.debian.org</a><br>

    then type &quot;firefox&quot; and click &quot;Go&quot;.<br>

    Look for the row with &quot;sparc64&quot; and click on &quot;old&quot; in the eight column,<br>
    there you&#39;ll see that the last successfully built package version was<br> &quot;62.0.3-1&quot;.<br>

    If you now go to <a href="http://snapshot.debian.org" rel="noreferrer" target="_blank">snapshot.debian.org</a> and type &quot;firefox&quot; in the source package<br>
    name field and click &quot;Submit&quot;, you will get a list of versions, including<br>
    sparc64. Click it and scroll down to &quot;firefox_62.0.3-1_sparc64.deb&quot; and you<br>
    get your package.<br>

    To install the package directly, add the following line to your sources.list:<br>

    deb [trusted=yes] <a href="https://snapshot.debian.org/archive/debian-ports/20181004T035335Z/" rel="noreferrer" target="_blank">https://snapshot.debian.org/archive/debian-ports/20181004T035335Z/</a> unstable main<br>

    &gt; The only packaged version of firefox i could get to run was firefox50.<br> &gt; And i have tested all higher available version of firefox and firefox-esr<br>
    &gt; on <a href="http://snapshot.debian.org" rel="noreferrer" target="_blank">snapshot.debian.org</a><br>

    What problem did you run in to? You need to describe the actual problem so that<br>
    I can help you debug it.<br>

    Building newer versions should be possible as explained before, but I haven&#39;t had<br>
    the time for the NodeJS hack yet.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anatoly Pugachev@21:1/5 to matorola@gmail.com on Mon Nov 15 15:20:03 2021
    On Mon, Nov 15, 2021 at 5:10 PM Anatoly Pugachev <matorola@gmail.com> wrote:

    On Mon, Nov 15, 2021 at 5:00 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:

    i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no window comes up.

    gdb output:

    connor@SunUltra25:/usr/lib/firefox$ gdb firefox
    GNU gdb (Debian 10.1-2) 10.1.90.20210103-git

    make sure to use recent gdb (11+) or more ancient one (9.x), since
    version 10.x is buggy on sparc64

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988711

    sorry for misinformation, gdb-10.2.x will work on sparc64, please see https://sourceware.org/bugzilla/show_bug.cgi?id=27147

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anatoly Pugachev@21:1/5 to cont6pro3@gmail.com on Mon Nov 15 15:20:02 2021
    On Mon, Nov 15, 2021 at 5:00 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:

    i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no window comes up.

    gdb output:

    connor@SunUltra25:/usr/lib/firefox$ gdb firefox
    GNU gdb (Debian 10.1-2) 10.1.90.20210103-git

    make sure to use recent gdb (11+) or more ancient one (9.x), since
    version 10.x is buggy on sparc64

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988711

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to matorola@gmail.com on Mon Nov 15 15:30:01 2021
    Hello Anatoly,

    i am using the highest available gdb for sparc64: root@SunUltra25:/work/firefox62# aptitude versions gdb
    i 10.1-2
    unstable
    500

    Should i use something else?

    Regards,
    Connor

    On Mon, Nov 15, 2021 at 3:12 PM Anatoly Pugachev <matorola@gmail.com> wrote:

    On Mon, Nov 15, 2021 at 5:10 PM Anatoly Pugachev <matorola@gmail.com>
    wrote:

    On Mon, Nov 15, 2021 at 5:00 PM Connor McLaughlan <cont6pro3@gmail.com>
    wrote:

    i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error,
    no window comes up.

    gdb output:

    connor@SunUltra25:/usr/lib/firefox$ gdb firefox
    GNU gdb (Debian 10.1-2) 10.1.90.20210103-git

    make sure to use recent gdb (11+) or more ancient one (9.x), since
    version 10.x is buggy on sparc64

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988711

    sorry for misinformation, gdb-10.2.x will work on sparc64, please see https://sourceware.org/bugzilla/show_bug.cgi?id=27147


    <div dir="ltr"><div>Hello Anatoly,</div><div><br></div><div>i am using the highest available gdb for sparc64:</div><div>root@SunUltra25:/work/firefox62# aptitude versions gdb<br>i   10.1-2                                            
                                           unstable                                                              500 <br></div><div><br></div><div>Should i use something else?<br></div><div><br></div><div>
    Regards,</div><div>Connor<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 15, 2021 at 3:12 PM Anatoly Pugachev &lt;<a href="mailto:matorola@gmail.com">matorola@gmail.com</a>&gt; wrote:<br></div><blockquote class="
    gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Nov 15, 2021 at 5:10 PM Anatoly Pugachev &lt;<a href="mailto:matorola@gmail.com" target="_blank">matorola@gmail.com</a>&gt; wrote:<br>
    &gt;<br>
    &gt; On Mon, Nov 15, 2021 at 5:00 PM Connor McLaughlan &lt;<a href="mailto:cont6pro3@gmail.com" target="_blank">cont6pro3@gmail.com</a>&gt; wrote:<br>
    &gt; &gt;<br>
    &gt; &gt; i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no window comes up.<br>
    &gt; &gt;<br>
    &gt; &gt; gdb output:<br>
    &gt; &gt;<br>
    &gt; &gt; connor@SunUltra25:/usr/lib/firefox$ gdb firefox<br>
    &gt; &gt; GNU gdb (Debian 10.1-2) 10.1.90.20210103-git<br>
    &gt;<br>
    &gt; make sure to use recent gdb (11+) or more ancient one (9.x), since<br> &gt; version 10.x is buggy on sparc64<br>
    &gt;<br>
    &gt; <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988711" rel="noreferrer" target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988711</a><br>

    sorry for misinformation, gdb-10.2.x will work on sparc64, please see<br>
    <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=27147" rel="noreferrer" target="_blank">https://sourceware.org/bugzilla/show_bug.cgi?id=27147</a><br>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Mon Nov 15 16:00:03 2021
    Hi!

    On 11/15/21 15:00, Connor McLaughlan wrote:
    i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no window comes up.
    (...)
    Thread 1 "firefox" received signal SIGBUS, Bus error.
    HashIIDPtrKey (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26 26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No
    such file or directory.

    That's this bug [1]. It got fixed in Firefox 68. So you need to cherry-pick this patch and rebuild the package as I explained in one of my previous
    mails.

    I can maybe do that later this week if you can't do it yourself.

    Adrian

    [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1434726

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Mon Nov 15 23:30:02 2021
    Hello Adrian,

    i have read through the sbuild page and it is very long and looks very complicated and not tailored to a sparc64 machine.
    Is really everything on that page needed to get it running?

    I tried to follow this page instead to build the package: https://wiki.debian.org/BuildingTutorial

    But i here i am unable to solve the build dependencies for firefox-62.0.3
    on my install:

    dpkg-checkbuilddeps: error: Unmet build dependencies: python-minimal (>= 2.6.6-13~) llvm-6.0-dev libclang-6.0-dev clang-6.0

    These are not available from the current repo and fetching from snapshot
    leads to dependency conflicts:

    root@SunUltra25:/work/firefox62/build# dpkg -i python-minimal_2.7.17-2_sparc64.deb
    Selecting previously unselected package python-minimal.
    (Reading database ... 281832 files and directories currently installed.) Preparing to unpack python-minimal_2.7.17-2_sparc64.deb ...
    Unpacking python-minimal (2.7.17-2) ...
    dpkg: dependency problems prevent configuration of python-minimal:
    python-minimal depends on python2-minimal (= 2.7.17-2); however:
    Version of python2-minimal on system is 2.7.18-3.
    python3-six (1.16.0-2) breaks python-minimal (<< 2.7.18) and is installed.
    Version of python-minimal to be configured is 2.7.17-2.
    python2.7-minimal (2.7.18-9) breaks python-minimal (<< 2.7.18) and is installed.
    Version of python-minimal to be configured is 2.7.17-2.
    python2.7 (2.7.18-9) breaks python-minimal (<< 2.7.18) and is installed.
    Version of python-minimal to be configured is 2.7.17-2.
    libpython2.7-stdlib:sparc64 (2.7.18-9) breaks python-minimal (<< 2.7.18)
    and is installed.
    Version of python-minimal to be configured is 2.7.17-2.
    libpython2.7-minimal:sparc64 (2.7.18-9) breaks python-minimal (<< 2.7.18)
    and is installed.
    Version of python-minimal to be configured is 2.7.17-2.


    I am unsure on how to proceed.

    Regards,
    Connor

    On Mon, Nov 15, 2021 at 3:44 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hi!

    On 11/15/21 15:00, Connor McLaughlan wrote:
    i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no window comes up.
    (...)
    Thread 1 "firefox" received signal SIGBUS, Bus error.
    HashIIDPtrKey (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at
    /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
    26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No such file or directory.

    That's this bug [1]. It got fixed in Firefox 68. So you need to cherry-pick this patch and rebuild the package as I explained in one of my previous mails.

    I can maybe do that later this week if you can't do it yourself.

    Adrian

    [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1434726

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>i have read through the sbuild page and it is very long and looks very complicated and not tailored to a sparc64 machine.</div><div>Is really everything on that page needed to get it running?</
    <div><br></div><div>I tried to follow this page instead to build the package:</div><div><a href="https://wiki.debian.org/BuildingTutorial">https://wiki.debian.org/BuildingTutorial</a></div><div><br></div><div>But i here i am unable to solve the build
    dependencies for firefox-62.0.3 on my install:</div><div><br></div><div>dpkg-checkbuilddeps: error: Unmet build dependencies: python-minimal (&gt;= 2.6.6-13~) llvm-6.0-dev libclang-6.0-dev clang-6.0</div><div><br></div><div>These are not available from
    the current repo and fetching from snapshot leads to dependency conflicts:</div><div><br></div><div>root@SunUltra25:/work/firefox62/build# dpkg -i python-minimal_2.7.17-2_sparc64.deb <br>Selecting previously unselected package python-minimal.<br>(Reading
    database ... 281832 files and directories currently installed.)<br>Preparing to unpack python-minimal_2.7.17-2_sparc64.deb ...<br>Unpacking python-minimal (2.7.17-2) ...<br>dpkg: dependency problems prevent configuration of python-minimal:<br> python-
    minimal depends on python2-minimal (= 2.7.17-2); however:<br>  Version of python2-minimal on system is 2.7.18-3.<br> python3-six (1.16.0-2) breaks python-minimal (&lt;&lt; 2.7.18) and is installed.<br>  Version of python-minimal to be configured is 2.
    7.17-2.<br> python2.7-minimal (2.7.18-9) breaks python-minimal (&lt;&lt; 2.7.18) and is installed.<br>  Version of python-minimal to be configured is 2.7.17-2.<br> python2.7 (2.7.18-9) breaks python-minimal (&lt;&lt; 2.7.18) and is installed.<br> 
    Version of python-minimal to be configured is 2.7.17-2.<br> libpython2.7-stdlib:sparc64 (2.7.18-9) breaks python-minimal (&lt;&lt; 2.7.18) and is installed.<br>  Version of python-minimal to be configured is 2.7.17-2.<br> libpython2.7-minimal:sparc64 (
    2.7.18-9) breaks python-minimal (&lt;&lt; 2.7.18) and is installed.<br>  Version of python-minimal to be configured is 2.7.17-2.</div><div><br></div><div><br></div><div>I am unsure on how to proceed.</div><div><br></div><div>Regards,</div><div>Connor<br>
    </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 15, 2021 at 3:44 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="
    gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>

    On 11/15/21 15:00, Connor McLaughlan wrote:<br>
    &gt; i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no<br>
    &gt; window comes up.<br>
    &gt; (...)<br>
    &gt; Thread 1 &quot;firefox&quot; received signal SIGBUS, Bus error.<br>
    &gt; HashIIDPtrKey (key=0xfff000010a7cfe4c &lt;xpt::detail::sInterfaces+30352&gt;)<br>
    &gt;     at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26<br>
    &gt; 26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No<br>
    &gt; such file or directory.<br>

    That&#39;s this bug [1]. It got fixed in Firefox 68. So you need to cherry-pick<br>
    this patch and rebuild the package as I explained in one of my previous<br> mails.<br>

    I can maybe do that later this week if you can&#39;t do it yourself.<br>

    Adrian<br>

    &gt; [1] <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1434726" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=1434726</a><br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Tue Nov 16 09:40:02 2021
    Hello!

    On 11/15/21 23:20, Connor McLaughlan wrote:
    i have read through the sbuild page and it is very long and looks very complicated and not tailored to a sparc64 machine.
    Is really everything on that page needed to get it running?

    No, it's actually very simple and works on any architecture.

    As root:

    # apt install sbuild devscripts
    # sbuild-createchroot unstable /srv/chroot/sid-sparc64-sbuild --alias=sid \
    --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg \
    http://ftp.ports.debian.org/debian-ports
    # sbuild-adduser $YOURUSER

    Then, as your normal user ($YOURUSER):

    $ mkdir firefox-build
    # cd firefox-build
    # dget -u http://snapshot.debian.org/archive/debian/20181003T162948Z/pool/main/f/firefox/firefox_62.0.3-1.dsc
    # wget https://bug1434726.bmoattachments.org/attachment.cgi?id=8947275 -O align-fix.diff
    # cd firefox-62.0.3
    # patch -p1 < ../align-fix.diff
    # dpkg-source --commit (enter a desired patch name, then opens an editor; just save and close)
    # dch -i 'Add patch to fix alignment on sparc64'
    # dch -r ''
    # sbuild -d sid --arch=sparc64 --no-arch-all

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anatoly Pugachev@21:1/5 to cont6pro3@gmail.com on Tue Nov 16 10:50:03 2021
    On Mon, Nov 15, 2021 at 5:21 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:

    Hello Anatoly,

    i am using the highest available gdb for sparc64: root@SunUltra25:/work/firefox62# aptitude versions gdb
    i 10.1-2 unstable 500

    Should i use something else?

    version 10.1-2 of gdb has a crucial bug in printing backtrace output
    or just printing variables,
    please see explanation in https://sourceware.org/bugzilla/show_bug.cgi?id=27147#c16

    So use either older version of gdb 9.x (could be installed from
    snapshot.d.o) or more recent one, i.e. 10.2 or even 11.x (not
    available to debian package yet, but could be compiled from sources).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Tue Nov 16 15:30:02 2021
    Hello Adrian,

    i went through all steps and when i finally try to start the building
    process, i get these errors:

    onnor@SunUltra25:/work/firefox-build/firefox-62.0.3$ sbuild -d sid --arch=sparc64 --no-arch-all
    hostname: Name or service not known
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    dh clean
    dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/work/firefox-build/firefox-62.0.3'
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    rm -f debian/firefox-dev.links debian/firefox.1 debian/firefox.NEWS debian/firefox.README.Debian debian/firefox.bug-control debian/firefox.bug-presubj debian/firefox.bug-script debian/firefox.desktop debian/firefox.dirs debian/firefox.install debian/firefox.js debian/firefox.links debian/firefox.lintian-overrides
    debian/firefox.manpages debian/firefox.mime debian/firefox.mozconfig debian/firefox.postinst debian/firefox.prerm debian/noinstall debian/l10n/browser-l10n.control
    rm -f configure js/src/configure old-configure js/src/old-configure
    rm -rf stamps l10n
    debian/rules debian/control TESTDIR=
    make[2]: Entering directory '/work/firefox-build/firefox-62.0.3'
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    /bin/sh: 1: python: not found
    python -B debian/l10n/gen > debian/l10n/browser-l10n.control
    /bin/sh: 1: python: not found
    make[2]: *** [debian/rules:148: debian/l10n/browser-l10n.control] Error 127 make[2]: Leaving directory '/work/firefox-build/firefox-62.0.3'
    make[1]: *** [debian/rules:255: override_dh_auto_clean] Error 2
    make[1]: Leaving directory '/work/firefox-build/firefox-62.0.3'
    make: *** [debian/rules:321: clean] Error 2
    E: Failed to clean source directory /work/firefox-build/firefox-62.0.3 (/work/firefox-build/firefox_62.0.3-1.1.dsc) connor@SunUltra25:/work/firefox-build/firefox-62.0.3$

    What can i do to correct it?

    Regards,
    Connor

    On Tue, Nov 16, 2021 at 9:37 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hello!

    On 11/15/21 23:20, Connor McLaughlan wrote:
    i have read through the sbuild page and it is very long and looks very complicated and not tailored to a sparc64 machine.
    Is really everything on that page needed to get it running?

    No, it's actually very simple and works on any architecture.

    As root:

    # apt install sbuild devscripts
    # sbuild-createchroot unstable /srv/chroot/sid-sparc64-sbuild --alias=sid \
    --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg \
    http://ftp.ports.debian.org/debian-ports
    # sbuild-adduser $YOURUSER

    Then, as your normal user ($YOURUSER):

    $ mkdir firefox-build
    # cd firefox-build
    # dget -u http://snapshot.debian.org/archive/debian/20181003T162948Z/pool/main/f/firefox/firefox_62.0.3-1.dsc
    # wget https://bug1434726.bmoattachments.org/attachment.cgi?id=8947275 -O align-fix.diff
    # cd firefox-62.0.3
    # patch -p1 < ../align-fix.diff
    # dpkg-source --commit (enter a desired patch name, then opens an editor; just save and close)
    # dch -i 'Add patch to fix alignment on sparc64'
    # dch -r ''
    # sbuild -d sid --arch=sparc64 --no-arch-all

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>i went through all steps and when i finally try to start the building process, i get these errors:<br></div><div><br></div><div>onnor@SunUltra25:/work/firefox-build/firefox-62.0.3$ sbuild -d sid -
    -arch=sparc64 --no-arch-all<br>hostname: Name or service not known<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python:
    not found<br>dh clean<br>dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)<br>   debian/rules override_dh_auto_clean<br>make[1]: Entering directory &#39;/work/firefox-build/firefox-62.0.3&#39;<br>/bin/sh: 1: python: not found<
    /bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>rm -f debian/firefox-dev.links debian/firefox.1 debian/firefox.NEWS debian/firefox.
    README.Debian debian/firefox.bug-control debian/firefox.bug-presubj debian/firefox.bug-script debian/firefox.desktop debian/firefox.dirs debian/firefox.install debian/firefox.js debian/firefox.links debian/firefox.lintian-overrides debian/firefox.
    manpages debian/firefox.mime debian/firefox.mozconfig debian/firefox.postinst debian/firefox.prerm debian/noinstall debian/l10n/browser-l10n.control<br>rm -f configure js/src/configure old-configure js/src/old-configure<br>rm -rf stamps l10n<br>debian/
    rules debian/control TESTDIR=<br>make[2]: Entering directory &#39;/work/firefox-build/firefox-62.0.3&#39;<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1:
    python: not found<br>/bin/sh: 1: python: not found<br>/bin/sh: 1: python: not found<br>python -B debian/l10n/gen  &gt; debian/l10n/browser-l10n.control<br>/bin/sh: 1: python: not found<br>make[2]: *** [debian/rules:148: debian/l10n/browser-l10n.control]
    Error 127<br>make[2]: Leaving directory &#39;/work/firefox-build/firefox-62.0.3&#39;<br>make[1]: *** [debian/rules:255: override_dh_auto_clean] Error 2<br>make[1]: Leaving directory &#39;/work/firefox-build/firefox-62.0.3&#39;<br>make: *** [debian/rules:
    321: clean] Error 2<br>E: Failed to clean source directory /work/firefox-build/firefox-62.0.3 (/work/firefox-build/firefox_62.0.3-1.1.dsc)<br>connor@SunUltra25:/work/firefox-build/firefox-62.0.3$ <br></div><div><br></div><div>What can i do to correct it?<
    /div><div><br></div><div>Regards,</div><div>Connor<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 16, 2021 at 9:37 AM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-
    berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>

    On 11/15/21 23:20, Connor McLaughlan wrote:<br>
    &gt; i have read through the sbuild page and it is very long and looks very<br> &gt; complicated and not tailored to a sparc64 machine.<br>
    &gt; Is really everything on that page needed to get it running?<br>

    No, it&#39;s actually very simple and works on any architecture.<br>

    As root:<br>

    # apt install sbuild devscripts<br>
    # sbuild-createchroot unstable /srv/chroot/sid-sparc64-sbuild --alias=sid \<br>   --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg \<br>
      <a href="http://ftp.ports.debian.org/debian-ports" rel="noreferrer" target="_blank">http://ftp.ports.debian.org/debian-ports</a><br>
    # sbuild-adduser $YOURUSER<br>

    Then, as your normal user ($YOURUSER):<br>

    $ mkdir firefox-build<br>
    # cd firefox-build<br>
    # dget -u <a href="http://snapshot.debian.org/archive/debian/20181003T162948Z/pool/main/f/firefox/firefox_62.0.3-1.dsc" rel="noreferrer" target="_blank">http://snapshot.debian.org/archive/debian/20181003T162948Z/pool/main/f/firefox/firefox_62.0.3-1.dsc</
    <br>
    # wget <a href="https://bug1434726.bmoattachments.org/attachment.cgi?id=8947275" rel="noreferrer" target="_blank">https://bug1434726.bmoattachments.org/attachment.cgi?id=8947275</a> -O align-fix.diff<br>
    # cd firefox-62.0.3<br>
    # patch -p1 &lt; ../align-fix.diff<br>
    # dpkg-source --commit (enter a desired patch name, then opens an editor; just save and close)<br>
    # dch -i &#39;Add patch to fix alignment on sparc64&#39;<br>
    # dch -r &#39;&#39;<br>
    # sbuild -d sid --arch=sparc64 --no-arch-all<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Tue Nov 16 15:30:02 2021
    On 11/16/21 15:22, Connor McLaughlan wrote:
    onnor@SunUltra25:/work/firefox-build/firefox-62.0.3$ sbuild -d sid --arch=sparc64 --no-arch-all
    hostname: Name or service not known
    /bin/sh: 1: python: not found

    As root, change into the chroot and install python-is-python2:

    # chroot /srv/chroot/sid-sparc64-sbuild
    # apt install python-is-python2
    # exit

    Then try again.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to All on Tue Nov 16 19:10:02 2021
    When i try to install python-minimal into the chroot, i get:

    root@SunUltra25:/work/chroot# chroot /work/chroot/sid-sparc64-sbuild root@SunUltra25:/# apt install python-minimal
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Package python-minimal is not available, but is referred to by another
    package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    python2-minimal python-is-python3 python-is-python2

    E: Package 'python-minimal' has no installation candidate

    Regards,
    Connor


    On Tue, Nov 16, 2021 at 6:23 PM Connor McLaughlan <cont6pro3@gmail.com>
    wrote:

    Hello Adrian,

    sbuild was able to start now.

    I am now getting the dependency problem regarding python-minimal here also:

    output-version: 1.2
    native-architecture: sparc64
    report:
    -
    package: sbuild-build-depends-main-dummy
    version: 0.invalid.0
    architecture: sparc64
    status: broken
    reasons:
    -
    missing:
    pkg:
    package: sbuild-build-depends-main-dummy
    version: 0.invalid.0
    architecture: sparc64
    unsat-dependency: python-minimal:sparc64 (>= 2.6.6-13~)

    background-packages: 77315
    foreground-packages: 1
    total-packages: 77316
    broken-packages: 1


    +------------------------------------------------------------------------------+
    | Cleanup
    |

    +------------------------------------------------------------------------------+

    Purging /<<BUILDDIR>>
    Not cleaning session: cloned chroot in use
    E: Package build dependencies not satisfied; skipping


    +------------------------------------------------------------------------------+
    | Summary
    |

    +------------------------------------------------------------------------------+

    Build Architecture: sparc64
    Build Type: any
    Build-Space: n/a
    Build-Time: 0
    Distribution: sid
    Fail-Stage: install-deps
    Host Architecture: sparc64
    Install-Time: 0
    Job: /work/firefox-build/firefox_62.0.3-1.1.dsc
    Machine Architecture: sparc64
    Package: firefox
    Package-Time: 0
    Source-Version: 62.0.3-1.1
    Space: n/a
    Status: given-back
    Version: 62.0.3-1.1

    --------------------------------------------------------------------------------
    Finished at 2021-11-16T16:15:18Z
    Build needed 00:00:00, no disk space
    E: Package build dependencies not satisfied; skipping connor@SunUltra25:/work/firefox-build/firefox-62.0.3$

    On Tue, Nov 16, 2021 at 3:26 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/16/21 15:22, Connor McLaughlan wrote:
    onnor@SunUltra25:/work/firefox-build/firefox-62.0.3$ sbuild -d sid
    --arch=sparc64 --no-arch-all
    hostname: Name or service not known
    /bin/sh: 1: python: not found

    As root, change into the chroot and install python-is-python2:

    # chroot /srv/chroot/sid-sparc64-sbuild
    # apt install python-is-python2
    # exit

    Then try again.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>When i try to install python-minimal into the chroot, i get:<br></div><div><br></div><div>root@SunUltra25:/work/chroot# chroot /work/chroot/sid-sparc64-sbuild</div>root@SunUltra25:/# apt install python-minimal   <br>Reading package
    lists... Done<br>Building dependency tree... Done<br>Reading state information... Done<br>Package python-minimal is not available, but is referred to by another package.<br>This may mean that the package is missing, has been obsoleted, or<br>is only
    available from another source<br>However the following packages replace it:<br>  python2-minimal python-is-python3 python-is-python2<br><br><div>E: Package &#39;python-minimal&#39; has no installation candidate</div><div></div><div><br></div><div>
    Regards,</div><div>Connor<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 16, 2021 at 6:23 PM Connor McLaughlan &lt;<a href="mailto:cont6pro3@gmail.com">cont6pro3@gmail.com</a>&gt; wrote:<br></div><blockquote
    class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>sbuild was able to start now.</div><div><br></div><div>I am now getting the dependency
    problem regarding python-minimal here also:</div><div><br></div><div>output-version: 1.2<br>native-architecture: sparc64<br>report:<br> -<br>  package: sbuild-build-depends-main-dummy<br>  version: 0.invalid.0<br>  architecture: sparc64<br>  status:
    broken<br>  reasons:<br>   -<br>    missing:<br>     pkg:<br>      package: sbuild-build-depends-main-dummy<br>      version: 0.invalid.0<br>      architecture: sparc64<br>      unsat-dependency: python-minimal:sparc64 (&gt;= 2.6.6-13~
    )<br> <br>background-packages: 77315<br>foreground-packages: 1<br>total-packages: 77316<br>broken-packages: 1<br><br>+------------------------------------------------------------------------------+<br>| Cleanup                            
                                           |<br>+------------------------------------------------------------------------------+<br><br>Purging /&lt;&lt;BUILDDIR&gt;&gt;<br>Not cleaning session: cloned chroot in use<br>E: Package build
    dependencies not satisfied; skipping<br><br>+------------------------------------------------------------------------------+<br>| Summary                                                                      |<br>+-------
    -----------------------------------------------------------------------+<br><br>Build Architecture: sparc64<br>Build Type: any<br>Build-Space: n/a<br>Build-Time: 0<br>Distribution: sid<br>Fail-Stage: install-deps<br>Host Architecture: sparc64<br>Install-
    Time: 0<br>Job: /work/firefox-build/firefox_62.0.3-1.1.dsc<br>Machine Architecture: sparc64<br>Package: firefox<br>Package-Time: 0<br>Source-Version: 62.0.3-1.1<br>Space: n/a<br>Status: given-back<br>Version: 62.0.3-1.1<br>--------------------------------
    ------------------------------------------------<br>Finished at 2021-11-16T16:15:18Z<br>Build needed 00:00:00, no disk space<br>E: Package build dependencies not satisfied; skipping<br>connor@SunUltra25:/work/firefox-build/firefox-62.0.3$ </div></div><br>
    <div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 16, 2021 at 3:26 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="
    gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/16/21 15:22, Connor McLaughlan wrote:<br>
    &gt; onnor@SunUltra25:/work/firefox-build/firefox-62.0.3$ sbuild -d sid<br> &gt; --arch=sparc64 --no-arch-all<br>
    &gt; hostname: Name or service not known<br>
    &gt; /bin/sh: 1: python: not found<br>

    As root, change into the chroot and install python-is-python2:<br>

    # chroot /srv/chroot/sid-sparc64-sbuild<br>
    # apt install python-is-python2<br>
    # exit<br>

    Then try again.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Tue Nov 16 18:30:01 2021
    Hello Adrian,

    sbuild was able to start now.

    I am now getting the dependency problem regarding python-minimal here also:

    output-version: 1.2
    native-architecture: sparc64
    report:
    -
    package: sbuild-build-depends-main-dummy
    version: 0.invalid.0
    architecture: sparc64
    status: broken
    reasons:
    -
    missing:
    pkg:
    package: sbuild-build-depends-main-dummy
    version: 0.invalid.0
    architecture: sparc64
    unsat-dependency: python-minimal:sparc64 (>= 2.6.6-13~)

    background-packages: 77315
    foreground-packages: 1
    total-packages: 77316
    broken-packages: 1

    +------------------------------------------------------------------------------+
    | Cleanup
    | +------------------------------------------------------------------------------+

    Purging /<<BUILDDIR>>
    Not cleaning session: cloned chroot in use
    E: Package build dependencies not satisfied; skipping

    +------------------------------------------------------------------------------+
    | Summary
    | +------------------------------------------------------------------------------+

    Build Architecture: sparc64
    Build Type: any
    Build-Space: n/a
    Build-Time: 0
    Distribution: sid
    Fail-Stage: install-deps
    Host Architecture: sparc64
    Install-Time: 0
    Job: /work/firefox-build/firefox_62.0.3-1.1.dsc
    Machine Architecture: sparc64
    Package: firefox
    Package-Time: 0
    Source-Version: 62.0.3-1.1
    Space: n/a
    Status: given-back
    Version: 62.0.3-1.1 --------------------------------------------------------------------------------
    Finished at 2021-11-16T16:15:18Z
    Build needed 00:00:00, no disk space
    E: Package build dependencies not satisfied; skipping connor@SunUltra25:/work/firefox-build/firefox-62.0.3$

    On Tue, Nov 16, 2021 at 3:26 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/16/21 15:22, Connor McLaughlan wrote:
    onnor@SunUltra25:/work/firefox-build/firefox-62.0.3$ sbuild -d sid --arch=sparc64 --no-arch-all
    hostname: Name or service not known
    /bin/sh: 1: python: not found

    As root, change into the chroot and install python-is-python2:

    # chroot /srv/chroot/sid-sparc64-sbuild
    # apt install python-is-python2
    # exit

    Then try again.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>sbuild was able to start now.</div><div><br></div><div>I am now getting the dependency problem regarding python-minimal here also:</div><div><br></div><div>output-version: 1.2<br>native-
    architecture: sparc64<br>report:<br> -<br>  package: sbuild-build-depends-main-dummy<br>  version: 0.invalid.0<br>  architecture: sparc64<br>  status: broken<br>  reasons:<br>   -<br>    missing:<br>     pkg:<br>      package: sbuild-
    build-depends-main-dummy<br>      version: 0.invalid.0<br>      architecture: sparc64<br>      unsat-dependency: python-minimal:sparc64 (&gt;= 2.6.6-13~)<br> <br>background-packages: 77315<br>foreground-packages: 1<br>total-packages: 77316<br>
    broken-packages: 1<br><br>+------------------------------------------------------------------------------+<br>| Cleanup                                                                      |<br>+-------------------------
    -----------------------------------------------------+<br><br>Purging /&lt;&lt;BUILDDIR&gt;&gt;<br>Not cleaning session: cloned chroot in use<br>E: Package build dependencies not satisfied; skipping<br><br>+------------------------------------------------
    ------------------------------+<br>| Summary                                                                      |<br>+------------------------------------------------------------------------------+<br><br>Build
    Architecture: sparc64<br>Build Type: any<br>Build-Space: n/a<br>Build-Time: 0<br>Distribution: sid<br>Fail-Stage: install-deps<br>Host Architecture: sparc64<br>Install-Time: 0<br>Job: /work/firefox-build/firefox_62.0.3-1.1.dsc<br>Machine Architecture:
    sparc64<br>Package: firefox<br>Package-Time: 0<br>Source-Version: 62.0.3-1.1<br>Space: n/a<br>Status: given-back<br>Version: 62.0.3-1.1<br>--------------------------------------------------------------------------------<br>Finished at 2021-11-16T16:15:
    18Z<br>Build needed 00:00:00, no disk space<br>E: Package build dependencies not satisfied; skipping<br>connor@SunUltra25:/work/firefox-build/firefox-62.0.3$ </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 16, 2021
    at 3:26 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-
    left:1ex">On 11/16/21 15:22, Connor McLaughlan wrote:<br>
    &gt; onnor@SunUltra25:/work/firefox-build/firefox-62.0.3$ sbuild -d sid<br> &gt; --arch=sparc64 --no-arch-all<br>
    &gt; hostname: Name or service not known<br>
    &gt; /bin/sh: 1: python: not found<br>

    As root, change into the chroot and install python-is-python2:<br>

    # chroot /srv/chroot/sid-sparc64-sbuild<br>
    # apt install python-is-python2<br>
    # exit<br>

    Then try again.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Tue Nov 16 20:50:03 2021
    Hello!

    On 11/16/21 18:23, Connor McLaughlan wrote:> sbuild was able to start now.

    I am now getting the dependency problem regarding python-minimal here also: (...)
    unsat-dependency: python-minimal:sparc64 (>= 2.6.6-13~)

    You need to replace "python-minimal" with "python2-minimal" in the Build-Depends
    field in debian/control:

    $ sed -i 's/python-minimal/python2-minimal/g' debian/control

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Wed Nov 17 00:40:02 2021
    Hello Adrian,

    i had also to replace python-minimal in the config.in it seems, otherwise
    it would show up again with the original package.

    Now it is missing those dependencies:

    The following packages have unmet dependencies:
    sbuild-build-depends-main-dummy : Depends: llvm-6.0-dev but it is not installable
    Depends: libclang-6.0-dev but it is not installable
    Depends: clang-6.0 but it is not
    installable

    Should i get those from snapshot or is there also a possible replacement?

    Regards,
    Connor

    On Tue, Nov 16, 2021 at 8:35 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hello!

    On 11/16/21 18:23, Connor McLaughlan wrote:> sbuild was able to start now.

    I am now getting the dependency problem regarding python-minimal here
    also:
    (...)
    unsat-dependency: python-minimal:sparc64 (>= 2.6.6-13~)

    You need to replace "python-minimal" with "python2-minimal" in the Build-Depends
    field in debian/control:

    $ sed -i 's/python-minimal/python2-minimal/g' debian/control

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>i  had also to replace python-minimal in the <a href="http://config.in">config.in</a> it seems, otherwise it would show up again with the original package.<br></div><div><br></div>
    <div>Now it is missing those dependencies:</div><div><br></div><div>The following packages have unmet dependencies:<br> sbuild-build-depends-main-dummy : Depends: llvm-6.0-dev but it is not installable<br>                               
     Depends: libclang-6.0-dev but it is not installable<br>                                   Depends: clang-6.0 but it is not installable</div><div><br></div><div>Should i get those from snapshot or is there also a possible replacement?
    </div><div><br></div><div>Regards,</div><div>Connor<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 16, 2021 at 8:35 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.
    fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>

    On 11/16/21 18:23, Connor McLaughlan wrote:&gt; sbuild was able to start now.<br>
    &gt; <br>
    &gt; I am now getting the dependency problem regarding python-minimal here also:<br>
    &gt; (...)<br>
    &gt;       unsat-dependency: python-minimal:sparc64 (&gt;= 2.6.6-13~)<br>

    You need to replace &quot;python-minimal&quot; with &quot;python2-minimal&quot; in the Build-Depends<br>
    field in debian/control:<br>

    $ sed -i &#39;s/python-minimal/python2-minimal/g&#39; debian/control<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Wed Nov 17 14:50:02 2021
    Hello!

    On 11/17/21 00:33, Connor McLaughlan wrote:
    i had also to replace python-minimal in the config.in it seems, otherwise
    it would show up again with the original package.

    Yes, you're right. debian/control is generated from debian/control.in (not config.in).

    Now it is missing those dependencies:

    The following packages have unmet dependencies:
    sbuild-build-depends-main-dummy : Depends: llvm-6.0-dev but it is not installable
    Depends: libclang-6.0-dev but it is not installable
    Depends: clang-6.0 but it is not installable


    Try replacing the following in debian/control.in:

    llvm-6.0-dev,
    libclang-6.0-dev,
    clang-6.0,

    with:

    llvm-11-dev,
    libclang-11-dev,
    clang-11,

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Thu Nov 18 02:10:01 2021
    Hello Adrian,

    it took a few more steps to get sbuild to get over missing dependencies...i
    had to go into the chroot again, import repo keys or it wouldn't let me
    execute apt-get update.
    apt-get update was needed to resolve some more dependencies where packages presumedly changed in the middle of my chroot installation.

    One example was:
    libdrm2 : Depends: libdrm-common (>= 2.4.108-1) but 2.4.107-8 is to be installed

    Now it fails during configure:

    checking for llvm-config... not found
    ERROR: Could not find LLVM/Clang installation for compiling stylo build-time bindgen. Please specify the 'LLVM_CONFIG' environment variable
    (recommended), pass the '--with-libclang-path' and '--with-clang-path'
    options to configure, or put 'llvm-config' in your PATH. Altering your
    PATH may expose 'clang' as well, potentially altering your compiler,
    which may not be what you intended.
    make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 --------------------------------------------------------------------------------

    What can i do here?

    Regards,
    Connor


    On Wed, Nov 17, 2021 at 2:40 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hello!

    On 11/17/21 00:33, Connor McLaughlan wrote:
    i had also to replace python-minimal in the config.in it seems,
    otherwise
    it would show up again with the original package.

    Yes, you're right. debian/control is generated from debian/control.in
    (not config.in).

    Now it is missing those dependencies:

    The following packages have unmet dependencies:
    sbuild-build-depends-main-dummy : Depends: llvm-6.0-dev but it is not installable
    Depends: libclang-6.0-dev but it is
    not
    installable
    Depends: clang-6.0 but it is not installable


    Try replacing the following in debian/control.in:

    llvm-6.0-dev,
    libclang-6.0-dev,
    clang-6.0,

    with:

    llvm-11-dev,
    libclang-11-dev,
    clang-11,

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>it took a few more steps to get sbuild to get over missing dependencies...i had to go into the chroot again, import repo keys or it wouldn&#39;t let me execute apt-get update.</div><div>apt-get
    update was needed to resolve some more dependencies where packages presumedly changed in the middle of my chroot installation.</div><div><br></div><div>One example was:</div><div>libdrm2 : Depends: libdrm-common (&gt;= 2.4.108-1) but 2.4.107-8 is to be
    installed</div><div><br></div><div>Now it fails during configure:</div><div><br></div><div>checking for llvm-config... not found<br>ERROR: Could not find LLVM/Clang installation for compiling stylo build-time<br>bindgen.  Please specify the &#39;LLVM_
    CONFIG&#39; environment variable<br>(recommended), pass the &#39;--with-libclang-path&#39; and &#39;--with-clang-path&#39;<br>options to configure, or put &#39;llvm-config&#39; in your PATH.  Altering your<br>PATH may expose &#39;clang&#39; as well,
    potentially altering your compiler,<br>which may not be what you intended.<br>make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1<br>make[1]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:321: build-
    arch] Error 2<br>dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------</div><div><br></div><div>What can i do here?<br></div><div><br></div><
    Regards,</div><div>Connor</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 17, 2021 at 2:40 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@
    physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>

    On 11/17/21 00:33, Connor McLaughlan wrote:<br>
    &gt; i  had also to replace python-minimal in the <a href="http://config.in" rel="noreferrer" target="_blank">config.in</a> it seems, otherwise<br>
    &gt; it would show up again with the original package.<br>

    Yes, you&#39;re right. debian/control is generated from debian/<a href="http://control.in" rel="noreferrer" target="_blank">control.in</a> (not <a href="http://config.in" rel="noreferrer" target="_blank">config.in</a>).<br>

    &gt; Now it is missing those dependencies:<br>
    &gt; <br>
    &gt; The following packages have unmet dependencies:<br>
    &gt;  sbuild-build-depends-main-dummy : Depends: llvm-6.0-dev but it is not<br>
    &gt; installable<br>
    &gt;                                    Depends: libclang-6.0-dev but it is not<br>
    &gt; installable<br>
    &gt;                                    Depends: clang-6.0 but it is not<br>
    &gt; installable<br>
    &gt; <br>

    Try replacing the following in debian/<a href="http://control.in" rel="noreferrer" target="_blank">control.in</a>:<br>

                   llvm-6.0-dev,<br>
                   libclang-6.0-dev,<br>
                   clang-6.0,<br>

    with:<br>

                   llvm-11-dev,<br>
                   libclang-11-dev,<br>
                   clang-11,<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Thu Nov 18 02:20:01 2021
    --Apple-Mail-3A126150-80C9-456A-BF66-B9DA948C7E81
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable


    On Nov 18, 2021, at 2:01 AM, Connor McLaughlan <cont6pro3@gmail.com> wrote:

    checking for llvm-config... not found
    ERROR: Could not find LLVM/Clang installation for compiling stylo build-time bindgen. Please specify the 'LLVM_CONFIG' environment variable (recommended), pass the '--with-libclang-path' and '--with-clang-path' options to configure, or put 'llvm-config' in your PATH. Altering your
    PATH may expose 'clang' as well, potentially altering your compiler,
    which may not be what you intended.
    make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
    --------------------------------------------------------------------------------

    What can i do here?

    Try adding “llvm” to Build-Depends, see:

    https://packages.debian.org/search?searchon=contents&keywords=llvm-config&mode=exactfilename&suite=stable&arch=any

    Adrian
    --Apple-Mail-3A126150-80C9-456A-BF66-B9DA948C7E81
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><blockquote type="cite">On Nov 18, 2021, at 2:01 AM, Connor McLaughlan &lt;cont6pro3@gmail.
    com&gt; wrote:<br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div><br></div><div>checking for llvm-config... not found<br>ERROR: Could not find LLVM/Clang installation for compiling stylo build-time<br>bindgen.&nbsp; Please
    specify the 'LLVM_CONFIG' environment variable<br>(recommended), pass the '--with-libclang-path' and '--with-clang-path'<br>options to configure, or put 'llvm-config' in your PATH.&nbsp; Altering your<br>PATH may expose 'clang' as well, potentially
    altering your compiler,<br>which may not be what you intended.<br>make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1<br>make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'<br>make: *** [debian/rules:321: build-arch] Error 2<br>dpkg-
    buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------</div><div><br></div><div>What can i do here?</div></div></div></blockquote><br><div>Try
    adding “llvm” to Build-Depends, see:</div><div><br></div><div><a href="https://packages.debian.org/search?searchon=contents&amp;keywords=llvm-config&amp;mode=exactfilename&amp;suite=stable&amp;arch=any">https://packages.debian.org/search?searchon=
    contents&amp;keywords=llvm-config&amp;mode=exactfilename&amp;suite=stable&amp;arch=any</a></div><div><br></div><div>Adrian</div></body></html>
    --Apple-Mail-3A126150-80C9-456A-BF66-B9DA948C7E81--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Thu Nov 18 14:10:04 2021
    Hello Adrian,

    i added llvm-11 to the build depends and it is listed, when i start the building process:

    Build-Depends: autotools-dev, debhelper (>= 9.20160114), autoconf2.13, libx11-dev, libx11-xcb-dev, libxt-dev, libgtk-3-dev, libgtk2.0-dev (>=
    2.10), libglib2.0-dev (>= 2.16.0), libstartup-notification0-dev,
    libjpeg-dev, zlib1g-dev, libreadline-dev, python2.7, python2-minimal (>= 2.6.6-13~), python3, python-ply, dpkg-dev (>= 1.16.1.1~), libnspr4-dev (>= 2:4.19~), libnss3-dev (>= 2:3.38~), libsqlite3-dev (>= 3.24.0), libvpx-dev
    = 1.5.0), libdbus-glib-1-dev, libffi-dev, libevent-dev (>= 1.4.1), libjsoncpp-dev, libpulse-dev, libasound2-dev, yasm (>= 1.1), rustc (>=
    1.24), cargo (>= 0.25), llvm-11-dev, libclang-11-dev, clang-11, llvm-11,
    zip, unzip, locales, xvfb, xfonts-base, xauth, ttf-bitstream-vera, fonts-freefont-ttf, fonts-dejima-mincho, iso-codes

    However this didn't change anything regarding the error...

    Regards,
    Connor



    On Thu, Nov 18, 2021 at 2:10 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:


    On Nov 18, 2021, at 2:01 AM, Connor McLaughlan <cont6pro3@gmail.com>
    wrote:


    checking for llvm-config... not found
    ERROR: Could not find LLVM/Clang installation for compiling stylo
    build-time
    bindgen. Please specify the 'LLVM_CONFIG' environment variable (recommended), pass the '--with-libclang-path' and '--with-clang-path' options to configure, or put 'llvm-config' in your PATH. Altering your
    PATH may expose 'clang' as well, potentially altering your compiler,
    which may not be what you intended.
    make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

    --------------------------------------------------------------------------------

    What can i do here?


    Try adding “llvm” to Build-Depends, see:


    https://packages.debian.org/search?searchon=contents&keywords=llvm-config&mode=exactfilename&suite=stable&arch=any

    Adrian


    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>i added llvm-11 to the build depends and it is listed, when i start the building process:</div><div><br></div><div>Build-Depends: autotools-dev, debhelper (&gt;= 9.20160114), autoconf2.13, libx11-
    dev, libx11-xcb-dev, libxt-dev, libgtk-3-dev, libgtk2.0-dev (&gt;= 2.10), libglib2.0-dev (&gt;= 2.16.0), libstartup-notification0-dev, libjpeg-dev, zlib1g-dev, libreadline-dev, python2.7, python2-minimal (&gt;= 2.6.6-13~), python3, python-ply, dpkg-dev (&
    gt;= 1.16.1.1~), libnspr4-dev (&gt;= 2:4.19~), libnss3-dev (&gt;= 2:3.38~), libsqlite3-dev (&gt;= 3.24.0), libvpx-dev (&gt;= 1.5.0), libdbus-glib-1-dev, libffi-dev, libevent-dev (&gt;= 1.4.1), libjsoncpp-dev, libpulse-dev, libasound2-dev, yasm (&gt;= 1.1)
    , rustc (&gt;= 1.24), cargo (&gt;= 0.25), llvm-11-dev, libclang-11-dev, clang-11, llvm-11, zip, unzip, locales, xvfb, xfonts-base, xauth, ttf-bitstream-vera, fonts-freefont-ttf, fonts-dejima-mincho, iso-codes</div><div><br></div><div>However this didn&#
    39;t change anything regarding the error...</div><div><br></div><div>Regards,</div><div>Connor<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 18, 2021 at 2:10 AM John Paul Adrian
    Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div
    dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><blockquote type="cite">On Nov 18, 2021, at 2:01 AM, Connor McLaughlan &lt;<a href="mailto:cont6pro3@gmail.com" target="_blank">cont6pro3@gmail.com</a>&gt; wrote:<br></blockquote></div><blockquote
    type="cite"><div dir="ltr"><div dir="ltr"><div><br></div><div>checking for llvm-config... not found<br>ERROR: Could not find LLVM/Clang installation for compiling stylo build-time<br>bindgen.  Please specify the &#39;LLVM_CONFIG&#39; environment
    variable<br>(recommended), pass the &#39;--with-libclang-path&#39; and &#39;--with-clang-path&#39;<br>options to configure, or put &#39;llvm-config&#39; in your PATH.  Altering your<br>PATH may expose &#39;clang&#39; as well, potentially altering your
    compiler,<br>which may not be what you intended.<br>make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1<br>make[1]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:321: build-arch] Error 2<br>dpkg-
    buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------</div><div><br></div><div>What can i do here?</div></div></div></blockquote><br><div>Try
    adding “llvm” to Build-Depends, see:</div><div><br></div><div><a href="https://packages.debian.org/search?searchon=contents&amp;keywords=llvm-config&amp;mode=exactfilename&amp;suite=stable&amp;arch=any" target="_blank">https://packages.debian.org/
    search?searchon=contents&amp;keywords=llvm-config&amp;mode=exactfilename&amp;suite=stable&amp;arch=any</a></div><div><br></div><div>Adrian</div></div></blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Thu Nov 18 14:20:02 2021
    On 11/18/21 13:57, Connor McLaughlan wrote:
    Build-Depends: autotools-dev, debhelper (>= 9.20160114), autoconf2.13, libx11-dev, libx11-xcb-dev, libxt-dev, libgtk-3-dev, libgtk2.0-dev (>=
    2.10), libglib2.0-dev (>= 2.16.0), libstartup-notification0-dev,
    libjpeg-dev, zlib1g-dev, libreadline-dev, python2.7, python2-minimal (>= 2.6.6-13~), python3, python-ply, dpkg-dev (>= 1.16.1.1~), libnspr4-dev (>= 2:4.19~), libnss3-dev (>= 2:3.38~), libsqlite3-dev (>= 3.24.0), libvpx-dev (>= 1.5.0), libdbus-glib-1-dev, libffi-dev, libevent-dev (>= 1.4.1), libjsoncpp-dev, libpulse-dev, libasound2-dev, yasm (>= 1.1), rustc (>=
    1.24), cargo (>= 0.25), llvm-11-dev, libclang-11-dev, clang-11, llvm-11,
    zip, unzip, locales, xvfb, xfonts-base, xauth, ttf-bitstream-vera, fonts-freefont-ttf, fonts-dejima-mincho, iso-codes

    However this didn't change anything regarding the error...

    Did you add "llvm"? Not "llvm-11".

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Thu Nov 18 20:00:02 2021
    Hello!

    On 11/18/21 19:48, Connor McLaughlan wrote:
    In file included from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:20: /<<PKGBUILDDIR>>/js/src/util/NativeStack.cpp:29:1: error: ‘pid_t gettid()’
    was declared ‘extern’ and later ‘static’ [-fpermissive]
    29 | gettid()
    | ^~~~~~

    Try building with "--disable-warnings-as-errors":

    --- debian/rules.orig 2018-10-03 09:18:06.000000000 +0200
    +++ debian/rules 2021-11-18 19:57:12.041480785 +0100
    @@ -87,6 +87,8 @@

    AUTOCONF_DIRS := build/autoconf

    +CONFIGURE_FLAGS += --disable-warnings-as-errors
    +
    ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
    CONFIGURE_FLAGS += --disable-optimize
    endif

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Thu Nov 18 19:50:02 2021
    Hello Adrian,

    build has started now and i got a build error:

    /usr/bin/g++ -o Unified_cpp_js_src26.o -c -I/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers -include /<<PKGBUILDDIR>>/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES '-DDLL_PREFIX="lib"' '-DDLL_SUFFIX=".so"' -DMOZ_HAS_MOZGLUE -I/<<PKGBUILDDIR>>/js/src -I/<<PKGBUILDDIR>>/build-browser/js/src -I/<<PKGBUILDDIR>>/build-browser/dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include
    /<<PKGBUILDDIR>>/build-browser/js/src/js-confdefs.h -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall
    -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond
    -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2 -Wno-noexcept-type -fno-sized-deallocation -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
    -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions
    -fno-math-errno -pthread -pipe -g -freorder-blocks -O3 -fomit-frame-pointer -Wno-shadow -Werror=format -fno-strict-aliasing -MD -MP -MF .deps/Unified_cpp_js_src26.o.pp /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp
    In file included from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:20: /<<PKGBUILDDIR>>/js/src/util/NativeStack.cpp:29:1: error: ‘pid_t gettid()’ was declared ‘extern’ and later ‘static’ [-fpermissive]
    29 | gettid()
    | ^~~~~~
    In file included from /usr/include/unistd.h:1186,
    from /<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/unistd.h:3,
    from /<<PKGBUILDDIR>>/js/src/util/NativeStack.cpp:27,
    from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:20: /usr/include/sparc64-linux-gnu/bits/unistd_ext.h:34:16: note: previous declaration of ‘__pid_t gettid()’
    34 | extern __pid_t gettid (void) __THROW;
    | ^~~~~~
    In file included from /<<PKGBUILDDIR>>/js/src/jsutil.h:18,
    from /<<PKGBUILDDIR>>/js/src/threading/Thread.h:19,
    from /<<PKGBUILDDIR>>/js/src/threading/posix/Thread.cpp:26,
    from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:2: /<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PodOperations.h: In instantiation of ‘void mozilla::PodArrayZero(T (&)[N]) [with T = JS::Value; long unsigned int N = 2]’:
    /<<PKGBUILDDIR>>/js/src/jsapi.h:85:30: required from ‘JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int
    N = 2]’
    /<<PKGBUILDDIR>>/js/src/vm/Stack.h:982:45: required from ‘js::detail::FixedArgsBase<Construct, N>::FixedArgsBase(JSContext*) [with js::MaybeConstruct Construct = js::NO_CONSTRUCT; long unsigned int N = 0]’ /<<PKGBUILDDIR>>/js/src/vm/Stack.h:1019:54: required from ‘js::FixedInvokeArgs<N>::FixedInvokeArgs(JSContext*) [with long unsigned
    int N = 0]’
    /<<PKGBUILDDIR>>/js/src/vm/Interpreter.h:85:31: required from here /<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PodOperations.h:67:9: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘union JS::Value’; use assignment or value-initialization instead [-Wclass-memaccess]
    67 | memset(aT, 0, N * sizeof(T));
    | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
    In file included from /<<PKGBUILDDIR>>/js/src/jsutil.h:24,
    from /<<PKGBUILDDIR>>/js/src/threading/Thread.h:19,
    from /<<PKGBUILDDIR>>/js/src/threading/posix/Thread.cpp:26,
    from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:2: /<<PKGBUILDDIR>>/build-browser/dist/include/js/Value.h:313:32: note: ‘union JS::Value’ declared here
    313 | union MOZ_NON_PARAM alignas(8) Value
    | ^~~~~
    In file included from /<<PKGBUILDDIR>>/js/src/jsutil.h:18,
    from /<<PKGBUILDDIR>>/js/src/threading/Thread.h:19,
    from /<<PKGBUILDDIR>>/js/src/threading/posix/Thread.cpp:26,
    from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:2: /<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PodOperations.h: In instantiation of ‘void mozilla::PodArrayZero(T (&)[N]) [with T = JS::Value; long unsigned int N = 3]’:
    /<<PKGBUILDDIR>>/js/src/jsapi.h:85:30: required from ‘JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int
    N = 3]’
    /<<PKGBUILDDIR>>/js/src/vm/Stack.h:982:45: required from ‘js::detail::FixedArgsBase<Construct, N>::FixedArgsBase(JSContext*) [with js::MaybeConstruct Construct = js::NO_CONSTRUCT; long unsigned int N = 1]’ /<<PKGBUILDDIR>>/js/src/vm/Stack.h:1019:54: required from ‘js::FixedInvokeArgs<N>::FixedInvokeArgs(JSContext*) [with long unsigned
    int N = 1]’
    /<<PKGBUILDDIR>>/js/src/vm/Interpreter.h:100:31: required from here /<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PodOperations.h:67:9: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘union JS::Value’; use assignment or value-initialization instead [-Wclass-memaccess]
    67 | memset(aT, 0, N * sizeof(T));
    | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
    In file included from /<<PKGBUILDDIR>>/js/src/jsutil.h:24,
    from /<<PKGBUILDDIR>>/js/src/threading/Thread.h:19,
    from /<<PKGBUILDDIR>>/js/src/threading/posix/Thread.cpp:26,
    from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:2: /<<PKGBUILDDIR>>/build-browser/dist/include/js/Value.h:313:32: note: ‘union JS::Value’ declared here
    313 | union MOZ_NON_PARAM alignas(8) Value
    | ^~~~~
    In file included from /<<PKGBUILDDIR>>/js/src/jsutil.h:18,
    from /<<PKGBUILDDIR>>/js/src/threading/Thread.h:19,
    from /<<PKGBUILDDIR>>/js/src/threading/posix/Thread.cpp:26,
    from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:2: /<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PodOperations.h: In instantiation of ‘void mozilla::PodArrayZero(T (&)[N]) [with T = JS::Value; long unsigned int N = 4]’:
    /<<PKGBUILDDIR>>/js/src/jsapi.h:85:30: required from ‘JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int
    N = 4]’
    /<<PKGBUILDDIR>>/js/src/vm/Stack.h:982:45: required from ‘js::detail::FixedArgsBase<Construct, N>::FixedArgsBase(JSContext*) [with js::MaybeConstruct Construct = js::NO_CONSTRUCT; long unsigned int N = 2]’ /<<PKGBUILDDIR>>/js/src/vm/Stack.h:1019:54: required from ‘js::FixedInvokeArgs<N>::FixedInvokeArgs(JSContext*) [with long unsigned
    int N = 2]’
    /<<PKGBUILDDIR>>/js/src/vm/Interpreter.h:119:31: required from here /<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PodOperations.h:67:9: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘union JS::Value’; use assignment or value-initialization instead [-Wclass-memaccess]
    67 | memset(aT, 0, N * sizeof(T));
    | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
    In file included from /<<PKGBUILDDIR>>/js/src/jsutil.h:24,
    from /<<PKGBUILDDIR>>/js/src/threading/Thread.h:19,
    from /<<PKGBUILDDIR>>/js/src/threading/posix/Thread.cpp:26,
    from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:2: /<<PKGBUILDDIR>>/build-browser/dist/include/js/Value.h:313:32: note: ‘union JS::Value’ declared here
    313 | union MOZ_NON_PARAM alignas(8) Value
    | ^~~~~
    In file included from /<<PKGBUILDDIR>>/js/src/jit/IonCode.h:16,
    from /<<PKGBUILDDIR>>/js/src/jit/JSJitFrameIter.h:12,
    from /<<PKGBUILDDIR>>/js/src/vm/Stack.h:23,
    from /<<PKGBUILDDIR>>/js/src/frontend/NameCollections.h:13,
    from /<<PKGBUILDDIR>>/js/src/vm/Runtime.h:28,
    from /<<PKGBUILDDIR>>/js/src/vm/JSContext.h:22,
    from /<<PKGBUILDDIR>>/js/src/util/AllocPolicy.cpp:9,
    from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:11: /<<PKGBUILDDIR>>/js/src/jit/ExecutableAllocator.h:55:13: warning: ‘void sync_instruction_memory(caddr_t, u_int)’ defined but not used [-Wunused-function]
    55 | static void sync_instruction_memory(caddr_t v, u_int len)
    | ^~~~~~~~~~~~~~~~~~~~~~~
    make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:1033:
    Unified_cpp_js_src26.o] Error 1
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/js/src'
    make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74: js/src/target] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    dh_auto_build: error: cd build-browser && make -j1
    LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
    2
    make[1]: *** [debian/rules:216: stamps/build-browser] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 --------------------------------------------------------------------------------
    Build finished at 2021-11-18T18:18:42Z

    Finished
    --------

    Regards,
    Connor

    On Thu, Nov 18, 2021 at 2:14 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/18/21 13:57, Connor McLaughlan wrote:
    Build-Depends: autotools-dev, debhelper (>= 9.20160114), autoconf2.13, libx11-dev, libx11-xcb-dev, libxt-dev, libgtk-3-dev, libgtk2.0-dev (>= 2.10), libglib2.0-dev (>= 2.16.0), libstartup-notification0-dev, libjpeg-dev, zlib1g-dev, libreadline-dev, python2.7, python2-minimal (>= 2.6.6-13~), python3, python-ply, dpkg-dev (>= 1.16.1.1~), libnspr4-dev
    =
    2:4.19~), libnss3-dev (>= 2:3.38~), libsqlite3-dev (>= 3.24.0),
    libvpx-dev
    = 1.5.0), libdbus-glib-1-dev, libffi-dev, libevent-dev (>= 1.4.1), libjsoncpp-dev, libpulse-dev, libasound2-dev, yasm (>= 1.1), rustc (>= 1.24), cargo (>= 0.25), llvm-11-dev, libclang-11-dev, clang-11, llvm-11, zip, unzip, locales, xvfb, xfonts-base, xauth, ttf-bitstream-vera, fonts-freefont-ttf, fonts-dejima-mincho, iso-codes

    However this didn't change anything regarding the error...

    Did you add "llvm"? Not "llvm-11".

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>build has started now and i got  a build error:</div><div><br></div><div>/usr/bin/g++ -o Unified_cpp_js_src26.o -c -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/system_wrappers -include /&lt;
    &lt;PKGBUILDDIR&gt;&gt;/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES &#39;-DDLL_PREFIX=&quot;lib&quot;&#39; &#39;-DDLL_SUFFIX=&quot;.so&quot;&#39; -DMOZ_HAS_MOZGLUE -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/
    js/src -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/js-confdefs.h -Wdate-time -D_
    FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -
    Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2 -Wno-noexcept-type -
    fno-sized-deallocation -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -
    fno-math-errno -pthread -pipe -g -freorder-blocks -O3 -fomit-frame-pointer -Wno-shadow -Werror=format -fno-strict-aliasing  -MD -MP -MF .deps/Unified_cpp_js_src26.o.pp   /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp<br>In
    file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:20:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/util/NativeStack.cpp:29:1: error: ‘pid_t gettid()’ was declared ‘extern’ and later ‘static’ [-fpermissive]
    <br>   29 | gettid()<br>      | ^~~~~~<br>In file included from /usr/include/unistd.h:1186,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/system_wrappers/unistd.h:3,<br>                 from /&lt;&lt;
    PKGBUILDDIR&gt;&gt;/js/src/util/NativeStack.cpp:27,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:20:<br>/usr/include/sparc64-linux-gnu/bits/unistd_ext.h:34:16: note: previous declaration of
    __pid_t gettid()’<br>   34 | extern __pid_t gettid (void) __THROW;<br>      |                ^~~~~~<br>In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jsutil.h:18,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/
    js/src/threading/Thread.h:19,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/threading/posix/Thread.cpp:26,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:2:<br>/&lt;&lt;
    PKGBUILDDIR&gt;&gt;/build-browser/dist/include/mozilla/PodOperations.h: In instantiation of ‘void mozilla::PodArrayZero(T (&amp;)[N]) [with T = JS::Value; long unsigned int N = 2]’:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jsapi.h:85:30:   required
    from ‘JS::AutoValueArray&lt;N&gt;::AutoValueArray(JSContext*) [with long unsigned int N = 2]’<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Stack.h:982:45:   required from ‘js::detail::FixedArgsBase&lt;Construct, N&gt;::FixedArgsBase(JSContext*) [with
    js::MaybeConstruct Construct = js::NO_CONSTRUCT; long unsigned int N = 0]’<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Stack.h:1019:54:   required from ‘js::FixedInvokeArgs&lt;N&gt;::FixedInvokeArgs(JSContext*) [with long unsigned int N = 0]’<br>/&
    lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Interpreter.h:85:31:   required from here<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/mozilla/PodOperations.h:67:9: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial
    type ‘union JS::Value’; use assignment or value-initialization instead [-Wclass-memaccess]<br>   67 |   memset(aT, 0, N * sizeof(T));<br>      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~<br>In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jsutil.
    h:24,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/threading/Thread.h:19,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/threading/posix/Thread.cpp:26,<br>                 from /&lt;&lt;PKGBUILDDIR&
    gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:2:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/js/Value.h:313:32: note: ‘union JS::Value’ declared here<br>  313 | union MOZ_NON_PARAM alignas(8) Value<br>      |          
                         ^~~~~<br>In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jsutil.h:18,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/threading/Thread.h:19,<br>                 from /&lt;&lt;
    PKGBUILDDIR&gt;&gt;/js/src/threading/posix/Thread.cpp:26,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:2:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/mozilla/PodOperations.h:
    In instantiation of ‘void mozilla::PodArrayZero(T (&amp;)[N]) [with T = JS::Value; long unsigned int N = 3]’:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jsapi.h:85:30:   required from ‘JS::AutoValueArray&lt;N&gt;::AutoValueArray(JSContext*) [with long
    unsigned int N = 3]’<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Stack.h:982:45:   required from ‘js::detail::FixedArgsBase&lt;Construct, N&gt;::FixedArgsBase(JSContext*) [with js::MaybeConstruct Construct = js::NO_CONSTRUCT; long unsigned int N = 1]
    <br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Stack.h:1019:54:   required from ‘js::FixedInvokeArgs&lt;N&gt;::FixedInvokeArgs(JSContext*) [with long unsigned int N = 1]’<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Interpreter.h:100:31:   required from
    here<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/mozilla/PodOperations.h:67:9: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘union JS::Value’; use assignment or value-initialization instead [-
    Wclass-memaccess]<br>   67 |   memset(aT, 0, N * sizeof(T));<br>      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~<br>In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jsutil.h:24,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/
    threading/Thread.h:19,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/threading/posix/Thread.cpp:26,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:2:<br>/&lt;&lt;
    PKGBUILDDIR&gt;&gt;/build-browser/dist/include/js/Value.h:313:32: note: ‘union JS::Value’ declared here<br>  313 | union MOZ_NON_PARAM alignas(8) Value<br>      |                                ^~~~~<br>In file included from /&lt;&
    lt;PKGBUILDDIR&gt;&gt;/js/src/jsutil.h:18,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/threading/Thread.h:19,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/threading/posix/Thread.cpp:26,<br>         
           from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:2:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/mozilla/PodOperations.h: In instantiation of ‘void mozilla::PodArrayZero(T (&amp;)[N]) [with T = JS:
    :Value; long unsigned int N = 4]’:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jsapi.h:85:30:   required from ‘JS::AutoValueArray&lt;N&gt;::AutoValueArray(JSContext*) [with long unsigned int N = 4]’<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Stack.h:982:
    45:   required from ‘js::detail::FixedArgsBase&lt;Construct, N&gt;::FixedArgsBase(JSContext*) [with js::MaybeConstruct Construct = js::NO_CONSTRUCT; long unsigned int N = 2]’<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Stack.h:1019:54:   required
    from ‘js::FixedInvokeArgs&lt;N&gt;::FixedInvokeArgs(JSContext*) [with long unsigned int N = 2]’<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Interpreter.h:119:31:   required from here<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/mozilla/
    PodOperations.h:67:9: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘union JS::Value’; use assignment or value-initialization instead [-Wclass-memaccess]<br>   67 |   memset(aT, 0, N * sizeof(T));<br>   
    |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~<br>In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jsutil.h:24,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/threading/Thread.h:19,<br>                 from /&lt;&lt;
    PKGBUILDDIR&gt;&gt;/js/src/threading/posix/Thread.cpp:26,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:2:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/js/Value.h:313:32: note:
    union JS::Value’ declared here<br>  313 | union MOZ_NON_PARAM alignas(8) Value<br>      |                                ^~~~~<br>In file included from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jit/IonCode.h:16,<br>             
     from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jit/JSJitFrameIter.h:12,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Stack.h:23,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/frontend/NameCollections.h:13,
    <br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/Runtime.h:28,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/vm/JSContext.h:22,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/util/
    AllocPolicy.cpp:9,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:11:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/jit/ExecutableAllocator.h:55:13: warning: ‘void sync_instruction_memory(caddr_t,
    u_int)’ defined but not used [-Wunused-function]<br>   55 | static void sync_instruction_memory(caddr_t v, u_int len)<br>      |             ^~~~~~~~~~~~~~~~~~~~~~~<br>make[5]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.
    mk:1033">rules.mk:1033</a>: Unified_cpp_js_src26.o] Error 1<br>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src&#39;<br>make[4]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:74">recurse.mk:74</a>:
    js/src/target] Error 2<br>make[4]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[3]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:34">recurse.mk:34</a>: compile] Error 2<br>make[3]: Leaving
    directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[2]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:418">rules.mk:418</a>: default] Error 2<br>make[2]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-
    browser&#39;<br>dh_auto_build: error: cd build-browser &amp;&amp; make -j1 LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code 2<br>make[1]: *** [debian/rules:216: stamps/build-browser] Error 25<br>make[1]: Leaving directory &#39;/
    &lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:321: build-arch] Error 2<br>dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------
    <br>Build finished at 2021-11-18T18:18:42Z<br><br>Finished<br>--------</div><div><br></div><div>Regards,</div><div>Connor<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 18, 2021 at 2:14 PM John Paul Adrian
    Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/
    18/21 13:57, Connor McLaughlan wrote:<br>
    &gt; Build-Depends: autotools-dev, debhelper (&gt;= 9.20160114), autoconf2.13,<br>
    &gt; libx11-dev, libx11-xcb-dev, libxt-dev, libgtk-3-dev, libgtk2.0-dev (&gt;=<br>
    &gt; 2.10), libglib2.0-dev (&gt;= 2.16.0), libstartup-notification0-dev,<br> &gt; libjpeg-dev, zlib1g-dev, libreadline-dev, python2.7, python2-minimal (&gt;=<br>
    &gt; 2.6.6-13~), python3, python-ply, dpkg-dev (&gt;= 1.16.1.1~), libnspr4-dev (&gt;=<br>
    &gt; 2:4.19~), libnss3-dev (&gt;= 2:3.38~), libsqlite3-dev (&gt;= 3.24.0), libvpx-dev<br>
    &gt; (&gt;= 1.5.0), libdbus-glib-1-dev, libffi-dev, libevent-dev (&gt;= 1.4.1),<br>
    &gt; libjsoncpp-dev, libpulse-dev, libasound2-dev, yasm (&gt;= 1.1), rustc (&gt;=<br>
    &gt; 1.24), cargo (&gt;= 0.25), llvm-11-dev, libclang-11-dev, clang-11, llvm-11,<br>
    &gt; zip, unzip, locales, xvfb, xfonts-base, xauth, ttf-bitstream-vera,<br> &gt; fonts-freefont-ttf, fonts-dejima-mincho, iso-codes<br>
    &gt; <br>
    &gt; However this didn&#39;t change anything regarding the error...<br>

    Did you add &quot;llvm&quot;? Not &quot;llvm-11&quot;.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Fri Nov 19 01:20:01 2021
    Hello Adrian,

    adding "CONFIGURE_FLAGS += --disable-warnings-as-errors" to debian/rules
    didn't remove the error.

    Should i try to add -fpermissive to the CFLAGS?

    Regards,
    Connor


    On Thu, Nov 18, 2021 at 7:57 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hello!

    On 11/18/21 19:48, Connor McLaughlan wrote:
    In file included from /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:20: /<<PKGBUILDDIR>>/js/src/util/NativeStack.cpp:29:1: error: ‘pid_t
    gettid()’
    was declared ‘extern’ and later ‘static’ [-fpermissive]
    29 | gettid()
    | ^~~~~~

    Try building with "--disable-warnings-as-errors":

    --- debian/rules.orig 2018-10-03 09:18:06.000000000 +0200
    +++ debian/rules 2021-11-18 19:57:12.041480785 +0100
    @@ -87,6 +87,8 @@

    AUTOCONF_DIRS := build/autoconf

    +CONFIGURE_FLAGS += --disable-warnings-as-errors
    +
    ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
    CONFIGURE_FLAGS += --disable-optimize
    endif

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913



    <div dir="ltr"><div>Hello Adrian,</div><div><br></div><div>adding &quot;CONFIGURE_FLAGS += --disable-warnings-as-errors&quot; to debian/rules didn&#39;t remove the error.<br></div><div><br></div><div>Should i try to add -fpermissive to the CFLAGS?</div><
    <br></div><div>Regards,</div><div>Connor<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 18, 2021 at 7:57 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@
    physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>

    On 11/18/21 19:48, Connor McLaughlan wrote:<br>
    &gt; In file included from<br>
    &gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/js/src/Unified_cpp_js_src26.cpp:20:<br>
    &gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/js/src/util/NativeStack.cpp:29:1: error: ‘pid_t gettid()’<br>
    &gt; was declared ‘extern’ and later ‘static’ [-fpermissive]<br>
    &gt;    29 | gettid()<br>
    &gt;       | ^~~~~~<br>

    Try building with &quot;--disable-warnings-as-errors&quot;:<br>

    --- debian/rules.orig   2018-10-03 09:18:06.000000000 +0200<br>
    +++ debian/rules        2021-11-18 19:57:12.041480785 +0100<br>
    @@ -87,6 +87,8 @@<br>

     AUTOCONF_DIRS := build/autoconf<br>

    +CONFIGURE_FLAGS += --disable-warnings-as-errors<br>
    +<br>
     ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))<br>
            CONFIGURE_FLAGS += --disable-optimize<br>
     endif<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Fri Nov 19 15:40:03 2021
    On 11/19/21 01:14, Connor McLaughlan wrote:
    adding "CONFIGURE_FLAGS += --disable-warnings-as-errors" to debian/rules didn't remove the error.

    Should i try to add -fpermissive to the CFLAGS?

    Yes, you can try this. But make sure you add it with "+=" to not overwrite
    the other CFLAGS/CXXFLAGS.

    You can also use DEB_CXXFLAGS_MAINT_APPEND, see [1].

    Adrian

    [1] https://www.debian.org/doc/manuals/debmake-doc/ch04.en.html#step-maintainer

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to All on Fri Nov 19 17:30:01 2021
    On Fri, Nov 19, 2021 at 5:21 PM Connor McLaughlan <cont6pro3@gmail.com>
    wrote:


    On Fri, Nov 19, 2021 at 3:26 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/19/21 01:14, Connor McLaughlan wrote:
    adding "CONFIGURE_FLAGS += --disable-warnings-as-errors" to debian/rules >> > didn't remove the error.

    Should i try to add -fpermissive to the CFLAGS?

    Yes, you can try this. But make sure you add it with "+=" to not overwrite >> the other CFLAGS/CXXFLAGS.

    You can also use DEB_CXXFLAGS_MAINT_APPEND, see [1].


    By adding -fpermissive to the CFLAGS the build process went further.

    Now it is stuck at a rustc compile error:

    Compiling url v1.7.0
    error[E0713]: borrow may still be in use when destructor runs
    --> /<<PKGBUILDDIR>>/third_party/rust/url/src/form_urlencoded.rs:261:40
    |
    259 | impl<'a> Target for ::UrlQuery<'a> {
    | -- lifetime `'a` defined here
    260 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization }
    261 | fn finish(self) -> &'a mut ::Url { self.url }
    | ^^^^^^^^ - here, drop of
    `self` needs exclusive access to `*self.url`, because the type
    `UrlQuery<'_>` implements the `Drop` trait
    | |
    | returning this value requires that `*self.url` is borrowed for `'a`

    For more information about this error, try `rustc --explain E0713`.
    error: could not compile `url` due to previous error
    make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:951: force-cargo-library-build] Error 101
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library/rust'
    make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74: toolkit/library/rust/target] Error 2
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    dh_auto_build: error: cd build-browser && make -j1 LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
    2
    make[1]: *** [debian/rules:218: stamps/build-browser] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:323: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

    --------------------------------------------------------------------------------
    Build finished at 2021-11-19T16:01:50Z

    Regards,
    Connor


    It seems the cause is that rust compiler has changed behavior and so the
    url v1.7.0 needs an update.
    But i don't know where to take it from and how to apply it...

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 5:21 PM Connor McLaughlan &lt;<a href="mailto:cont6pro3@gmail.com">cont6pro3@gmail.com</a>&gt; wrote:<br></div><blockquote
    class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 3:26 PM John Paul
    Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"
    On 11/19/21 01:14, Connor McLaughlan wrote:<br>
    &gt; adding &quot;CONFIGURE_FLAGS += --disable-warnings-as-errors&quot; to debian/rules<br>
    &gt; didn&#39;t remove the error.<br>
    &gt; <br>
    &gt; Should i try to add -fpermissive to the CFLAGS?<br>

    Yes, you can try this. But make sure you add it with &quot;+=&quot; to not overwrite<br>
    the other CFLAGS/CXXFLAGS.<br>

    You can also use DEB_CXXFLAGS_MAINT_APPEND, see [1].<br> <br></blockquote><div><br></div><div> By adding -fpermissive to the CFLAGS the build process went further.</div><div><br></div><div>Now it is stuck at a rustc compile error:</div><div><br></div><div>   Compiling url v1.7.0<br>error[E0713]: borrow may
    still be in use when destructor runs<br>   --&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/third_party/rust/url/src/form_urlencoded.rs:261:40<br>    |<br>259 | impl&lt;&#39;a&gt; Target for ::UrlQuery&lt;&#39;a&gt; {<br>    |      -- lifetime `&#39;a`
    defined here<br>260 |     fn as_mut_string(&amp;mut self) -&gt; &amp;mut String { &amp;mut self.url.serialization }<br>261 |     fn finish(self) -&gt; &amp;&#39;a mut ::Url { self.url }<br>    |                                    
       ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery&lt;&#39;_&gt;` implements the `Drop` trait<br>    |                                        |<br>    |                  
                         returning this value requires that `*self.url` is borrowed for `&#39;a`<br><br>For more information about this error, try `rustc --explain E0713`.<br>error: could not compile `url` due to previous error<br>make[5]: *** [/&
    lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:951" target="_blank">rules.mk:951</a>: force-cargo-library-build] Error 101<br>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/rust&#39;<br>make[4]: ***
    [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:74" target="_blank">recurse.mk:74</a>: toolkit/library/rust/target] Error 2<br>make[4]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[3]: *** [/&lt;&lt;
    PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:34" target="_blank">recurse.mk:34</a>: compile] Error 2<br>make[3]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[2]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="
    http://rules.mk:418" target="_blank">rules.mk:418</a>: default] Error 2<br>make[2]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>dh_auto_build: error: cd build-browser &amp;&amp; make -j1 LD_LIBS=-Wl,--no-gc-sections _
    LEAKTEST_FILES=leaktest.py returned exit code 2<br>make[1]: *** [debian/rules:218: stamps/build-browser] Error 25<br>make[1]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:323: build-arch] Error 2<br>dpkg-
    buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------<br>Build finished at 2021-11-19T16:01:50Z</div><div><br></div><div>Regards,</div><div>
    Connor<br></div><div><br></div></div></div></blockquote><div><br></div><div>It seems the cause is that rust compiler has changed behavior and so the url v1.7.0 needs an update. <br></div><div>But i don&#39;t know where to take it from and how to apply it.
    ..</div><div><br></div><div>Regards,</div><div>Connor<br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Fri Nov 19 17:30:01 2021
    On Fri, Nov 19, 2021 at 3:26 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/19/21 01:14, Connor McLaughlan wrote:
    adding "CONFIGURE_FLAGS += --disable-warnings-as-errors" to debian/rules didn't remove the error.

    Should i try to add -fpermissive to the CFLAGS?

    Yes, you can try this. But make sure you add it with "+=" to not overwrite the other CFLAGS/CXXFLAGS.

    You can also use DEB_CXXFLAGS_MAINT_APPEND, see [1].


    By adding -fpermissive to the CFLAGS the build process went further.

    Now it is stuck at a rustc compile error:

    Compiling url v1.7.0
    error[E0713]: borrow may still be in use when destructor runs
    --> /<<PKGBUILDDIR>>/third_party/rust/url/src/form_urlencoded.rs:261:40
    |
    259 | impl<'a> Target for ::UrlQuery<'a> {
    | -- lifetime `'a` defined here
    260 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization }
    261 | fn finish(self) -> &'a mut ::Url { self.url }
    | ^^^^^^^^ - here, drop of
    `self` needs exclusive access to `*self.url`, because the type
    `UrlQuery<'_>` implements the `Drop` trait
    | |
    | returning this value requires
    that `*self.url` is borrowed for `'a`

    For more information about this error, try `rustc --explain E0713`.
    error: could not compile `url` due to previous error
    make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:951:
    force-cargo-library-build] Error 101
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library/rust'
    make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74: toolkit/library/rust/target] Error 2
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    dh_auto_build: error: cd build-browser && make -j1
    LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
    2
    make[1]: *** [debian/rules:218: stamps/build-browser] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:323: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 --------------------------------------------------------------------------------
    Build finished at 2021-11-19T16:01:50Z

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 3:26 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br><
    /div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/19/21 01:14, Connor McLaughlan wrote:<br>
    &gt; adding &quot;CONFIGURE_FLAGS += --disable-warnings-as-errors&quot; to debian/rules<br>
    &gt; didn&#39;t remove the error.<br>
    &gt; <br>
    &gt; Should i try to add -fpermissive to the CFLAGS?<br>

    Yes, you can try this. But make sure you add it with &quot;+=&quot; to not overwrite<br>
    the other CFLAGS/CXXFLAGS.<br>

    You can also use DEB_CXXFLAGS_MAINT_APPEND, see [1].<br> <br></blockquote><div><br></div><div> By adding -fpermissive to the CFLAGS the build process went further.</div><div><br></div><div>Now it is stuck at a rustc compile error:</div><div><br></div><div>   Compiling url v1.7.0<br>error[E0713]: borrow may
    still be in use when destructor runs<br>   --&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/third_party/rust/url/src/form_urlencoded.rs:261:40<br>    |<br>259 | impl&lt;&#39;a&gt; Target for ::UrlQuery&lt;&#39;a&gt; {<br>    |      -- lifetime `&#39;a`
    defined here<br>260 |     fn as_mut_string(&amp;mut self) -&gt; &amp;mut String { &amp;mut self.url.serialization }<br>261 |     fn finish(self) -&gt; &amp;&#39;a mut ::Url { self.url }<br>    |                                    
       ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery&lt;&#39;_&gt;` implements the `Drop` trait<br>    |                                        |<br>    |                  
                         returning this value requires that `*self.url` is borrowed for `&#39;a`<br><br>For more information about this error, try `rustc --explain E0713`.<br>error: could not compile `url` due to previous error<br>make[5]: *** [/&
    lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:951">rules.mk:951</a>: force-cargo-library-build] Error 101<br>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/rust&#39;<br>make[4]: *** [/&lt;&lt;
    PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:74">recurse.mk:74</a>: toolkit/library/rust/target] Error 2<br>make[4]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[3]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a
    href="http://recurse.mk:34">recurse.mk:34</a>: compile] Error 2<br>make[3]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[2]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:418">rules.mk:418</a>:
    default] Error 2<br>make[2]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>dh_auto_build: error: cd build-browser &amp;&amp; make -j1 LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code 2<br>make[1]: ***
    [debian/rules:218: stamps/build-browser] Error 25<br>make[1]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:323: build-arch] Error 2<br>dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
    status 2<br>--------------------------------------------------------------------------------<br>Build finished at 2021-11-19T16:01:50Z</div><div><br></div><div>Regards,</div><div>Connor<br></div><div><br></div><div><br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to All on Sat Nov 20 03:00:02 2021
    On Fri, Nov 19, 2021 at 5:28 PM Connor McLaughlan <cont6pro3@gmail.com>
    wrote:



    On Fri, Nov 19, 2021 at 5:21 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:


    On Fri, Nov 19, 2021 at 3:26 PM John Paul Adrian Glaubitz <
    glaubitz@physik.fu-berlin.de> wrote:

    On 11/19/21 01:14, Connor McLaughlan wrote:
    adding "CONFIGURE_FLAGS += --disable-warnings-as-errors" to
    debian/rules
    didn't remove the error.

    Should i try to add -fpermissive to the CFLAGS?

    Yes, you can try this. But make sure you add it with "+=" to not
    overwrite
    the other CFLAGS/CXXFLAGS.

    You can also use DEB_CXXFLAGS_MAINT_APPEND, see [1].


    By adding -fpermissive to the CFLAGS the build process went further.

    Now it is stuck at a rustc compile error:

    Compiling url v1.7.0
    error[E0713]: borrow may still be in use when destructor runs
    --> /<<PKGBUILDDIR>>/third_party/rust/url/src/form_urlencoded.rs:261
    :40
    |
    259 | impl<'a> Target for ::UrlQuery<'a> {
    | -- lifetime `'a` defined here
    260 | fn as_mut_string(&mut self) -> &mut String { &mut
    self.url.serialization }
    261 | fn finish(self) -> &'a mut ::Url { self.url }
    | ^^^^^^^^ - here, drop of
    `self` needs exclusive access to `*self.url`, because the type
    `UrlQuery<'_>` implements the `Drop` trait
    | |
    | returning this value
    requires that `*self.url` is borrowed for `'a`

    For more information about this error, try `rustc --explain E0713`.
    error: could not compile `url` due to previous error
    make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:951:
    force-cargo-library-build] Error 101
    make[5]: Leaving directory
    '/<<PKGBUILDDIR>>/build-browser/toolkit/library/rust'
    make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74:
    toolkit/library/rust/target] Error 2
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    dh_auto_build: error: cd build-browser && make -j1
    LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code >> 2
    make[1]: *** [debian/rules:218: stamps/build-browser] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:323: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned
    exit status 2

    --------------------------------------------------------------------------------
    Build finished at 2021-11-19T16:01:50Z

    Regards,
    Connor


    It seems the cause is that rust compiler has changed behavior and so the
    url v1.7.0 needs an update.
    But i don't know where to take it from and how to apply it...

    Regards,
    Connor


    I tried to add modify third_party/rust/url/src/form_urlencoded.rs like here: https://hg.mozilla.org/mozilla-central/rev/93bdaf4be8e4042cadf8fddcc20d43155622474c

    I modified the file and did the three steps after that like before...
    commit and the 2x dch commands.
    But something appears to have gone wrong:

    force-cargo-library-build
    env RUSTFLAGS='-C opt-level=2 -C debuginfo=2 '
    CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/build-browser/toolkit/library RUSTC=/usr/bin/rustc RUSTDOC=/usr/bin/rustdoc MOZ_SRC=/<<PKGBUILDDIR>> MOZ_DIST=/<<PKGBUILDDIR>>/build-browser/dist LIBCLANG_PATH="/usr/lib/llvm-11/lib"
    CLANG_PATH="/usr/lib/llvm-11/bin/clang" PKG_CONFIG_ALLOW_CROSS=1 RUST_BACKTRACE=full MOZ_TOPOBJDIR=/<<PKGBUILDDIR>>/build-browser
    MOZ_CARGO_WRAP_LDFLAGS="-lpthread -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory -Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -Wl,-rpath-link,/<<PKGBUILDDIR>>/build-browser/dist/bin -Wl,-rpath-link,/usr/lib" MOZ_CARGO_WRAP_LD=" /usr/bin/gcc -std=gnu99" CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=/<<PKGBUILDDIR>>/build/cargo-linker
    /usr/bin/cargo rustc --release --frozen --manifest-path /<<PKGBUILDDIR>>/toolkit/library/rust/Cargo.toml --lib --target=sparc64-unknown-linux-gnu --features "servo bindgen quantum_render cubeb_pulse_rust cubeb-remoting moz_memory" -- -C lto
    error: the listed checksum of `/<<PKGBUILDDIR>>/third_party/rust/url/src/ form_urlencoded.rs` has changed:
    expected: 320418526c4564a4469581d426e7467bcefe504eecd098e1eb90a2663a75fd80 actual: d8c35e92375cafcd7e12c4f0d5374bab62aa1f333629d55b007a9c3d5c3cb615

    directory sources are not intended to be edited, if modifications are
    required then it is recommended that `[patch]` is used with a forked copy
    of the source


    Not sure how to undo it and reapply it correctly.
    But i can start from scratch if needed i guess...

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 5:28 PM Connor McLaughlan &lt;<a href="mailto:cont6pro3@gmail.com">cont6pro3@gmail.com</a>&gt; wrote:<br></div><blockquote
    class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 5:21 PM Connor
    McLaughlan &lt;<a href="mailto:cont6pro3@gmail.com" target="_blank">cont6pro3@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div
    dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 3:26 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<br></
    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/19/21 01:14, Connor McLaughlan wrote:<br>
    &gt; adding &quot;CONFIGURE_FLAGS += --disable-warnings-as-errors&quot; to debian/rules<br>
    &gt; didn&#39;t remove the error.<br>
    &gt; <br>
    &gt; Should i try to add -fpermissive to the CFLAGS?<br>

    Yes, you can try this. But make sure you add it with &quot;+=&quot; to not overwrite<br>
    the other CFLAGS/CXXFLAGS.<br>

    You can also use DEB_CXXFLAGS_MAINT_APPEND, see [1].<br> <br></blockquote><div><br></div><div> By adding -fpermissive to the CFLAGS the build process went further.</div><div><br></div><div>Now it is stuck at a rustc compile error:</div><div><br></div><div>   Compiling url v1.7.0<br>error[E0713]: borrow may
    still be in use when destructor runs<br>   --&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/third_party/rust/url/src/form_urlencoded.rs:261:40<br>    |<br>259 | impl&lt;&#39;a&gt; Target for ::UrlQuery&lt;&#39;a&gt; {<br>    |      -- lifetime `&#39;a`
    defined here<br>260 |     fn as_mut_string(&amp;mut self) -&gt; &amp;mut String { &amp;mut self.url.serialization }<br>261 |     fn finish(self) -&gt; &amp;&#39;a mut ::Url { self.url }<br>    |                                    
       ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery&lt;&#39;_&gt;` implements the `Drop` trait<br>    |                                        |<br>    |                  
                         returning this value requires that `*self.url` is borrowed for `&#39;a`<br><br>For more information about this error, try `rustc --explain E0713`.<br>error: could not compile `url` due to previous error<br>make[5]: *** [/&
    lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:951" target="_blank">rules.mk:951</a>: force-cargo-library-build] Error 101<br>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/rust&#39;<br>make[4]: ***
    [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:74" target="_blank">recurse.mk:74</a>: toolkit/library/rust/target] Error 2<br>make[4]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[3]: *** [/&lt;&lt;
    PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:34" target="_blank">recurse.mk:34</a>: compile] Error 2<br>make[3]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[2]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="
    http://rules.mk:418" target="_blank">rules.mk:418</a>: default] Error 2<br>make[2]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>dh_auto_build: error: cd build-browser &amp;&amp; make -j1 LD_LIBS=-Wl,--no-gc-sections _
    LEAKTEST_FILES=leaktest.py returned exit code 2<br>make[1]: *** [debian/rules:218: stamps/build-browser] Error 25<br>make[1]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:323: build-arch] Error 2<br>dpkg-
    buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------<br>Build finished at 2021-11-19T16:01:50Z</div><div><br></div><div>Regards,</div><div>
    Connor<br></div><div><br></div></div></div></blockquote><div><br></div><div>It seems the cause is that rust compiler has changed behavior and so the url v1.7.0 needs an update. <br></div><div>But i don&#39;t know where to take it from and how to apply it.
    ..</div><div><br></div><div>Regards,</div><div>Connor<br></div></div></div></blockquote><div><br></div><div>I tried to add modify <span id="gmail-l6.2" class="gmail-difflineplus">third_party/rust/url/src/<a href="http://form_urlencoded.rs">form_
    urlencoded.rs</a> like here:</span></div><div><span id="gmail-l6.2" class="gmail-difflineplus"><a href="https://hg.mozilla.org/mozilla-central/rev/93bdaf4be8e4042cadf8fddcc20d43155622474c">https://hg.mozilla.org/mozilla-central/rev/
    93bdaf4be8e4042cadf8fddcc20d43155622474c</a></span></div><div><span id="gmail-l6.2" class="gmail-difflineplus"><br></span></div><div><span id="gmail-l6.2" class="gmail-difflineplus">I modified the file and did the three steps after that like before...
    commit and the 2x dch commands.</span></div><div><span id="gmail-l6.2" class="gmail-difflineplus">But something appears to have gone wrong:<br></span></div><div><br></div><div>force-cargo-library-build<br>env   RUSTFLAGS=&#39;-C opt-level=2 -C debuginfo=
    2 &#39;  CARGO_TARGET_DIR=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library RUSTC=/usr/bin/rustc RUSTDOC=/usr/bin/rustdoc MOZ_SRC=/&lt;&lt;PKGBUILDDIR&gt;&gt; MOZ_DIST=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist LIBCLANG_PATH=&quot;/usr/lib/
    llvm-11/lib&quot; CLANG_PATH=&quot;/usr/lib/llvm-11/bin/clang&quot; PKG_CONFIG_ALLOW_CROSS=1 RUST_BACKTRACE=full MOZ_TOPOBJDIR=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser  MOZ_CARGO_WRAP_LDFLAGS=&quot;-lpthread -Wl,--as-needed -Wl,--reduce-memory-
    overheads -Wl,--no-keep-memory -Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -Wl,-rpath-link,/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/bin -Wl,-rpath-link,/usr/lib&quot; MOZ_CARGO_WRAP_LD=&quot; /usr/bin/gcc -std=gnu99&quot;
    CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build/cargo-linker /usr/bin/cargo rustc  --release --frozen --manifest-path /&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/library/rust/Cargo.toml --lib --target=sparc64-unknown-linux-gnu
    --features &quot;servo bindgen quantum_render cubeb_pulse_rust cubeb-remoting moz_memory&quot; --  -C lto<br>error: the listed checksum of `/&lt;&lt;PKGBUILDDIR&gt;&gt;/third_party/rust/url/src/<a href="http://form_urlencoded.rs">form_urlencoded.rs</a>`
    has changed:<br>expected: 320418526c4564a4469581d426e7467bcefe504eecd098e1eb90a2663a75fd80<br>actual:   d8c35e92375cafcd7e12c4f0d5374bab62aa1f333629d55b007a9c3d5c3cb615<br><br>directory sources are not intended to be edited, if modifications are
    required then it is recommended that `[patch]` is used with a forked copy of the source</div><div><br></div><div><br></div><div>Not sure how to undo it and reapply it correctly.</div><div>But i can start from scratch if needed i guess...</div><div><br></
    <div>Regards,</div><div>Connor<br> </div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Sat Nov 20 11:10:02 2021
    On 11/19/21 17:21, Connor McLaughlan wrote:
    Now it is stuck at a rustc compile error:

    Compiling url v1.7.0
    error[E0713]: borrow may still be in use when destructor runs
    --> /<<PKGBUILDDIR>>/third_party/rust/url/src/form_urlencoded.rs:261:40

    I would suggest downloading and installing rustc 1.29 from snapshots [1] which should be easier than starting to update the individual Rust components of the Firefox sources.

    Adrian

    [1] https://snapshot.debian.org/package/rustc/1.29.0%2Bdfsg1-1/

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Sat Nov 20 21:40:02 2021
    On Sat, Nov 20, 2021 at 11:01 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/19/21 17:21, Connor McLaughlan wrote:
    Now it is stuck at a rustc compile error:

    Compiling url v1.7.0
    error[E0713]: borrow may still be in use when destructor runs
    --> /<<PKGBUILDDIR>>/third_party/rust/url/src/form_urlencoded.rs:261
    :40

    I would suggest downloading and installing rustc 1.29 from snapshots [1] which
    should be easier than starting to update the individual Rust components of the
    Firefox sources.

    Adrian

    [1] https://snapshot.debian.org/package/rustc/1.29.0%2Bdfsg1-1/

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    Hello Adrian,

    i entered the chroot and installed rustc 1.29 from snapshot.

    However when i execute sbuild, 1.29 gets replaced with 1.56 automatically:

    Selecting previously unselected package libstd-rust-1.56:sparc64.
    Preparing to unpack .../12-libstd-rust-1.56_1.56.0+dfsg1-2_sparc64.deb ... Unpacking libstd-rust-1.56:sparc64 (1.56.0+dfsg1-2) ...
    Preparing to unpack .../13-rustc_1.56.0+dfsg1-2_sparc64.deb ...
    Unpacking rustc (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...
    Preparing to unpack .../14-libstd-rust-dev_1.56.0+dfsg1-2_sparc64.deb ... Unpacking libstd-rust-dev:sparc64 (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...

    How do i prevent it?

    Do i need to modify control.in and set it to 1.29 exactly:

    rustc (>= 1.24) -> rustc (= 1.29)


    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 20, 2021 at 11:01 AM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:
    <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/19/21 17:21, Connor McLaughlan wrote:<br>
    &gt; Now it is stuck at a rustc compile error:<br>
    &gt; <br>
    &gt;    Compiling url v1.7.0<br>
    &gt; error[E0713]: borrow may still be in use when destructor runs<br>
    &gt;    --&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/third_party/rust/url/src/form_urlencoded.rs:261:40<br>

    I would suggest downloading and installing rustc 1.29 from snapshots [1] which<br>
    should be easier than starting to update the individual Rust components of the<br>
    Firefox sources.<br>

    Adrian<br>

    &gt; [1] <a href="https://snapshot.debian.org/package/rustc/1.29.0%2Bdfsg1-1/" rel="noreferrer" target="_blank">https://snapshot.debian.org/package/rustc/1.29.0%2Bdfsg1-1/</a><br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br> <br></blockquote><div><br></div><div>Hello Adrian,</div><div><br></div><div>i entered  the chroot and installed rustc 1.29 from snapshot.</div><div><br></div><div>However when i execute sbuild, 1.29 gets replaced with 1.56 automatically:</div><div><br></
    <div>Selecting previously unselected package libstd-rust-1.56:sparc64.<br>Preparing to unpack .../12-libstd-rust-1.56_1.56.0+dfsg1-2_sparc64.deb ...<br>Unpacking libstd-rust-1.56:sparc64 (1.56.0+dfsg1-2) ...<br>Preparing to unpack .../13-rustc_1.56.0+
    dfsg1-2_sparc64.deb ...<br>Unpacking rustc (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...<br>Preparing to unpack .../14-libstd-rust-dev_1.56.0+dfsg1-2_sparc64.deb ...<br>Unpacking libstd-rust-dev:sparc64 (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...</div><div><
    </div><div>How do i prevent it?</div><div><br></div><div>Do i need to modify <a href="http://control.in">control.in</a> and set it to 1.29 exactly:</div><div><br></div><div>rustc (&gt;= 1.24) -&gt; rustc (= 1.29)</div><div><br></div><div><br></div><
    Regards,</div><div>Connor<br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Sat Nov 20 22:00:02 2021
    On 11/20/21 21:34, Connor McLaughlan wrote:
    However when i execute sbuild, 1.29 gets replaced with 1.56 automatically:

    Selecting previously unselected package libstd-rust-1.56:sparc64.
    Preparing to unpack .../12-libstd-rust-1.56_1.56.0+dfsg1-2_sparc64.deb ... Unpacking libstd-rust-1.56:sparc64 (1.56.0+dfsg1-2) ...
    Preparing to unpack .../13-rustc_1.56.0+dfsg1-2_sparc64.deb ...
    Unpacking rustc (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...
    Preparing to unpack .../14-libstd-rust-dev_1.56.0+dfsg1-2_sparc64.deb ... Unpacking libstd-rust-dev:sparc64 (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...

    How do i prevent it?

    Do i need to modify control.in and set it to 1.29 exactly:

    rustc (>= 1.24) -> rustc (= 1.29)

    Run sbuild with "--no-apt-upgrade --no-apt-distupgrade".

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Sun Nov 21 04:20:01 2021
    On Sat, Nov 20, 2021 at 9:56 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/20/21 21:34, Connor McLaughlan wrote:
    However when i execute sbuild, 1.29 gets replaced with 1.56
    automatically:

    Selecting previously unselected package libstd-rust-1.56:sparc64.
    Preparing to unpack .../12-libstd-rust-1.56_1.56.0+dfsg1-2_sparc64.deb
    ...
    Unpacking libstd-rust-1.56:sparc64 (1.56.0+dfsg1-2) ...
    Preparing to unpack .../13-rustc_1.56.0+dfsg1-2_sparc64.deb ...
    Unpacking rustc (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...
    Preparing to unpack .../14-libstd-rust-dev_1.56.0+dfsg1-2_sparc64.deb ... Unpacking libstd-rust-dev:sparc64 (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1)
    ...

    How do i prevent it?

    Do i need to modify control.in and set it to 1.29 exactly:

    rustc (>= 1.24) -> rustc (= 1.29)

    Run sbuild with "--no-apt-upgrade --no-apt-distupgrade".

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    With rustc 1.29 it fails in unicode-xid v.0.1.0 which i think is one of the first or the first rust target.
    I have not seen another "Compiling ..." statement before it.

    The error:

    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/security'
    make[5]: Entering directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library/gtest/rust'
    make[5]: Nothing to be done for 'target'.
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library/gtest/rust'
    make[5]: Entering directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library/rust'
    force-cargo-library-build
    env RUSTFLAGS='-C opt-level=2 -C debuginfo=2 '
    CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/build-browser/toolkit/library RUSTC=/usr/bin/rustc RUSTDOC=/usr/bin/rustdoc MOZ_SRC=/<<PKGBUILDDIR>> MOZ_DIST=/<<PKGBUILDDIR>>/build-browser/dist LIBCLANG_PATH="/usr/lib/llvm-11/lib"
    CLANG_PATH="/usr/lib/llvm-11/bin/clang" PKG_CONFIG_ALLOW_CROSS=1 RUST_BACKTRACE=full MOZ_TOPOBJDIR=/<<PKGBUILDDIR>>/build-browser
    MOZ_CARGO_WRAP_LDFLAGS="-lpthread -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory -Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -Wl,-rpath-link,/<<PKGBUILDDIR>>/build-browser/dist/bin -Wl,-rpath-link,/usr/lib" MOZ_CARGO_WRAP_LD=" /usr/bin/gcc -std=gnu99" CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=/<<PKGBUILDDIR>>/build/cargo-linker
    /usr/bin/cargo rustc --release --frozen --manifest-path /<<PKGBUILDDIR>>/toolkit/library/rust/Cargo.toml --lib --target=sparc64-unknown-linux-gnu --features "servo bindgen quantum_render cubeb_pulse_rust cubeb-remoting moz_memory" -- -C lto
    Compiling unicode-xid v0.1.0
    error: Unrecognized option: 'json'

    error: could not compile `unicode-xid`
    make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:951:
    force-cargo-library-build] Error 101
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library/rust'
    make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74: toolkit/library/rust/target] Error 2
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    dh_auto_build: error: cd build-browser && make -j1
    LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
    2
    make[1]: *** [debian/rules:216: stamps/build-browser] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 --------------------------------------------------------------------------------
    Build finished at 2021-11-21T02:58:31Z

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 20, 2021 at 9:56 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<
    </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/20/21 21:34, Connor McLaughlan wrote:<br>
    &gt; However when i execute sbuild, 1.29 gets replaced with 1.56 automatically:<br>
    &gt; <br>
    &gt; Selecting previously unselected package libstd-rust-1.56:sparc64.<br>
    &gt; Preparing to unpack .../12-libstd-rust-1.56_1.56.0+dfsg1-2_sparc64.deb ...<br>
    &gt; Unpacking libstd-rust-1.56:sparc64 (1.56.0+dfsg1-2) ...<br>
    &gt; Preparing to unpack .../13-rustc_1.56.0+dfsg1-2_sparc64.deb ...<br>
    &gt; Unpacking rustc (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...<br>
    &gt; Preparing to unpack .../14-libstd-rust-dev_1.56.0+dfsg1-2_sparc64.deb ...<br>
    &gt; Unpacking libstd-rust-dev:sparc64 (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...<br>
    &gt; <br>
    &gt; How do i prevent it?<br>
    &gt; <br>
    &gt; Do i need to modify <a href="http://control.in" rel="noreferrer" target="_blank">control.in</a> and set it to 1.29 exactly:<br>
    &gt; <br>
    &gt; rustc (&gt;= 1.24) -&gt; rustc (= 1.29)<br>

    Run sbuild with &quot;--no-apt-upgrade --no-apt-distupgrade&quot;.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br> <br></blockquote><div><br></div><div>With rustc 1.29 it fails in unicode-xid v.0.1.0 which i think is one of the first or the first rust target.<br></div><div>I have not seen another &quot;Compiling ...&quot; statement before it.</div><div><br></div><div>
    The error:</div><div><br></div><div>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/security&#39;<br>make[5]: Entering directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/gtest/rust&#39;<br>make[5]:
    Nothing to be done for &#39;target&#39;.<br>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/gtest/rust&#39;<br>make[5]: Entering directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/rust&#39;
    <br>force-cargo-library-build<br>env   RUSTFLAGS=&#39;-C opt-level=2 -C debuginfo=2 &#39;  CARGO_TARGET_DIR=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library RUSTC=/usr/bin/rustc RUSTDOC=/usr/bin/rustdoc MOZ_SRC=/&lt;&lt;PKGBUILDDIR&gt;&gt;
    MOZ_DIST=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist LIBCLANG_PATH=&quot;/usr/lib/llvm-11/lib&quot; CLANG_PATH=&quot;/usr/lib/llvm-11/bin/clang&quot; PKG_CONFIG_ALLOW_CROSS=1 RUST_BACKTRACE=full MOZ_TOPOBJDIR=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-
    browser  MOZ_CARGO_WRAP_LDFLAGS=&quot;-lpthread -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory -Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -Wl,-rpath-link,/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/bin
    -Wl,-rpath-link,/usr/lib&quot; MOZ_CARGO_WRAP_LD=&quot; /usr/bin/gcc -std=gnu99&quot; CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build/cargo-linker /usr/bin/cargo rustc  --release --frozen --manifest-path /&lt;&lt;
    PKGBUILDDIR&gt;&gt;/toolkit/library/rust/Cargo.toml --lib --target=sparc64-unknown-linux-gnu --features &quot;servo bindgen quantum_render cubeb_pulse_rust cubeb-remoting moz_memory&quot; --  -C lto<br>   Compiling unicode-xid v0.1.0<br>error:
    Unrecognized option: &#39;json&#39;<br><br>error: could not compile `unicode-xid`<br>make[5]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:951">rules.mk:951</a>: force-cargo-library-build] Error 101<br>make[5]: Leaving directory &#39;
    /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/rust&#39;<br>make[4]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:74">recurse.mk:74</a>: toolkit/library/rust/target] Error 2<br>make[4]: Leaving directory &#39;/&lt;&lt;
    PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[3]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:34">recurse.mk:34</a>: compile] Error 2<br>make[3]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[2]: *
    ** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:418">rules.mk:418</a>: default] Error 2<br>make[2]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>dh_auto_build: error: cd build-browser &amp;&amp; make -j1 LD_
    LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code 2<br>make[1]: *** [debian/rules:216: stamps/build-browser] Error 25<br>make[1]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:321: build-arch]
    Error 2<br>dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------<br>Build finished at 2021-11-21T02:58:31Z</div><div><br></div><div>Regards,<
    /div><div>Connor<br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Sun Nov 21 06:30:02 2021
    Hello!

    On 11/21/21 04:17, Connor McLaughlan wrote:
    Compiling unicode-xid v0.1.0
    error: Unrecognized option: 'json'

    error: could not compile `unicode-xid`

    You need to downgrade cargo to 0.29.0-1:

    http://snapshot.debian.org/package/cargo/0.29.0-1/#cargo_0.29.0-1

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Sun Nov 21 22:40:01 2021
    On Sun, Nov 21, 2021 at 6:29 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hello!

    On 11/21/21 04:17, Connor McLaughlan wrote:
    Compiling unicode-xid v0.1.0
    error: Unrecognized option: 'json'

    error: could not compile `unicode-xid`

    You need to downgrade cargo to 0.29.0-1:

    http://snapshot.debian.org/package/cargo/0.29.0-1/#cargo_0.29.0-1

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    Hello Adrian,

    i installed cargo 0.29.0-1:
    root@SunUltra25:/# aptitude versions cargo
    Warning: Invalid locale (please review locale settings, this might lead to problems later):
    locale::facet::_S_create_c_locale name not valid
    i 0.29.0-1

    100
    p 0.57.0-3
    unstable
    500

    Strangely it gets reported as 1.28 during configure - but well:
    checking for rustc... /usr/bin/rustc
    checking for cargo... /usr/bin/cargo
    checking rustc version... 1.29.0
    checking cargo version... 1.28.0

    Now it compiles unicode-xid v.0.1.0, but crashes at libc v0.2.39:
    make[5]: Entering directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library/rust'
    force-cargo-library-build
    env RUSTFLAGS='-C opt-level=2 -C debuginfo=2 '
    CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/build-browser/toolkit/library RUSTC=/usr/bin/rustc RUSTDOC=/usr/bin/rustdoc MOZ_SRC=/<<PKGBUILDDIR>> MOZ_DIST=/<<PKGBUILDDIR>>/build-browser/dist LIBCLANG_PATH="/usr/lib/llvm-11/lib"
    CLANG_PATH="/usr/lib/llvm-11/bin/clang" PKG_CONFIG_ALLOW_CROSS=1 RUST_BACKTRACE=full MOZ_TOPOBJDIR=/<<PKGBUILDDIR>>/build-browser
    MOZ_CARGO_WRAP_LDFLAGS="-lpthread -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory -Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -Wl,-rpath-link,/<<PKGBUILDDIR>>/build-browser/dist/bin -Wl,-rpath-link,/usr/lib" MOZ_CARGO_WRAP_LD=" /usr/bin/gcc -std=gnu99" CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=/<<PKGBUILDDIR>>/build/cargo-linker
    /usr/bin/cargo rustc --release --frozen --manifest-path /<<PKGBUILDDIR>>/toolkit/library/rust/Cargo.toml --lib --target=sparc64-unknown-linux-gnu --features "servo bindgen quantum_render cubeb_pulse_rust cubeb-remoting moz_memory" -- -C lto
    Compiling unicode-xid v0.1.0
    Compiling siphasher v0.2.1
    Compiling libc v0.2.39
    thread 'main' panicked at 'specified instant was later than self', libstd/sys/unix/time.rs:292:17
    stack backtrace:
    0: 0xfff000010059e81b -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    1: 0xfff000010056966b -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    2: 0xfff00001005adf2f -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    3: 0xfff00001005adaf7 -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    4: 0xfff00001005a9e4b -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    5: 0xfff00001038bbe9f - <unknown>
    6: 0xfff0000103649f3f - <unknown>
    7: 0xfff00001005ae927 - std::panicking::rust_panic_with_hook::h8a42f1f698beebb2
    8: 0xfff00001005ae65f -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    9: 0xfff00001005822bb -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    10: 0xfff0000100573a73 - std::time::Instant::elapsed::hecaa22291126e88e
    11: 0xfff00001009c2bfb - <unknown>
    12: 0xfff00001009e4daf - <unknown>
    13: 0xfff0000103482f87 - <unknown>
    14: 0xfff00001033694a7 - <unknown>
    15: 0xfff00001030a328b -
    rust_metadata_rustc_a73bbf9616326d00f8c80ec67817568c
    16: 0xfff00001032d955b -
    rust_metadata_rustc_a73bbf9616326d00f8c80ec67817568c
    17: 0xfff00001034a84bf - <unknown> Compiling unicode-xid v0.1.0
    Compiling siphasher v0.2.1

    18: 0xfff000010352179f - <unknown>
    19: 0xfff00001035ebf17 - rustc::ty::query::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::symbol_name::hf254445141a56f8d
    20: 0xfff0000105c08e0f - <unknown>
    21: 0xfff0000105bf2f23 - <unknown>
    22: 0xfff0000105b63a93 - <unknown>
    23: 0xfff0000105c1638f - <unknown>
    24: 0xfff0000103485747 - <unknown>
    25: 0xfff000010336a0db - <unknown>
    26: 0xfff00001030ae7a7 -
    rust_metadata_rustc_a73bbf9616326d00f8c80ec67817568c
    27: 0xfff000010334946b - <unknown>
    28: 0xfff00001034ba2f3 - <unknown>
    29: 0xfff000010351ea0b - <unknown>
    30: 0xfff00001035ecb7b - rustc::ty::query::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::collect_and_partition_mono_items::h8d5c5762b2e3f51a
    31: 0xfff0000105c1bba7 - <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate::hc83533030405993f
    32: 0xfff000010021eb03 - <unknown>
    33: 0xfff000010021331b - rustc_driver::driver::phase_4_codegen::heaf479227585b87b
    34: 0xfff00001002ed573 - <unknown>
    35: 0xfff00001002e7e8f - <unknown>
    36: 0xfff0000100282d03 - <unknown>
    37: 0xfff0000100314e5b - <unknown>
    38: 0xfff000010020b47b - rustc_driver::driver::compile_input::h8fc997d3d02841ae
    39: 0xfff00001002f342f - <unknown>
    40: 0xfff00001001c482b - <unknown>
    41: 0xfff00001001c458b - <unknown>
    42: 0xfff000010029849f - <unknown>
    43: 0xfff00001001c2d3f - <unknown>
    44: 0xfff00001002d39b3 - <unknown>
    45: 0xfff00001005b7fcb - __rust_maybe_catch_panic
    46: 0xfff00001002ef8bb - <unknown>
    47: 0xfff00001003003c7 - rustc_driver::main::h518b3d26bef3a0dc
    48: 0x10000000ccf - <unknown>
    49: 0x10000000c97 - <unknown>
    50: 0xfff000010056a213 -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    51: 0xfff00001005ae1af -
    rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc
    52: 0xfff00001005b7fcb - __rust_maybe_catch_panic
    53: 0xfff000010058187b - std::rt::lang_start_internal::h5b2959a2ae66034e
    54: 0x10000000d27 - <unknown>
    55: 0xfff000010076312f - __libc_start_main
    56: 0x10000000b2b - <unknown>
    query stack during panic:
    #0 [symbol_name] computing the symbol for `<unix::rusage as std::clone::Clone>::clone`
    #1 [collect_and_partition_mono_items] collect_and_partition_mono_items
    end of query stack

    error: internal compiler error: unexpected panic

    note: the compiler unexpectedly panicked. this is a bug.

    note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

    note: rustc 1.29.0 running on sparc64-unknown-linux-gnu

    note: compiler flags: -C opt-level=2 -C codegen-units=1 -C linker=/<<PKGBUILDDIR>>/build/cargo-linker --crate-type lib

    note: some of the compiler flags provided by cargo are hidden

    error: Could not compile `libc`.

    To learn more, run the command again with --verbose.
    make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:951:
    force-cargo-library-build] Error 101
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library/rust'
    make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74: toolkit/library/rust/target] Error 2
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    dh_auto_build: error: cd build-browser && make -j1
    LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
    2
    make[1]: *** [debian/rules:216: stamps/build-browser] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 --------------------------------------------------------------------------------
    Build finished at 2021-11-21T21:27:00Z

    Finished
    --------

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 21, 2021 at 6:29 AM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<
    </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>

    On 11/21/21 04:17, Connor McLaughlan wrote:<br>
    &gt;    Compiling unicode-xid v0.1.0<br>
    &gt; error: Unrecognized option: &#39;json&#39;<br>
    &gt; <br>
    &gt; error: could not compile `unicode-xid`<br>

    You need to downgrade cargo to 0.29.0-1:<br>

    &gt; <a href="http://snapshot.debian.org/package/cargo/0.29.0-1/#cargo_0.29.0-1" rel="noreferrer" target="_blank">http://snapshot.debian.org/package/cargo/0.29.0-1/#cargo_0.29.0-1</a><br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br> <br></blockquote><div><br></div><div>Hello Adrian,</div><div><br></div><div>i installed cargo 0.29.0-1:</div><div></div><div></div><div>root@SunUltra25:/# aptitude versions cargo<br>Warning: Invalid locale (please review locale settings, this might lead
    to problems later):<br>  locale::facet::_S_create_c_locale name not valid<br>i   0.29.0-1                                                                                                            
                                   100 <br>p   0.57.0-3                                                                             unstable                                        
                  500 <br></div><div><br></div><div>Strangely it gets reported as 1.28 during configure - but well:</div><div>checking for rustc... /usr/bin/rustc<br>checking for cargo... /usr/bin/cargo<br>checking rustc version... 1.29.0<br>
    checking cargo version... 1.28.0</div><div><br></div><div>Now it compiles unicode-xid v.0.1.0, but crashes at libc v0.2.39:</div><div></div><div>make[5]: Entering directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/rust&#39;<br>
    force-cargo-library-build<br>env   RUSTFLAGS=&#39;-C opt-level=2 -C debuginfo=2 &#39;  CARGO_TARGET_DIR=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library RUSTC=/usr/bin/rustc RUSTDOC=/usr/bin/rustdoc MOZ_SRC=/&lt;&lt;PKGBUILDDIR&gt;&gt; MOZ_
    DIST=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist LIBCLANG_PATH=&quot;/usr/lib/llvm-11/lib&quot; CLANG_PATH=&quot;/usr/lib/llvm-11/bin/clang&quot; PKG_CONFIG_ALLOW_CROSS=1 RUST_BACKTRACE=full MOZ_TOPOBJDIR=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser  
    MOZ_CARGO_WRAP_LDFLAGS=&quot;-lpthread -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory -Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -Wl,-rpath-link,/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/bin -Wl,-
    rpath-link,/usr/lib&quot; MOZ_CARGO_WRAP_LD=&quot; /usr/bin/gcc -std=gnu99&quot; CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build/cargo-linker /usr/bin/cargo rustc  --release --frozen --manifest-path /&lt;&lt;PKGBUILDDIR&
    gt;&gt;/toolkit/library/rust/Cargo.toml --lib --target=sparc64-unknown-linux-gnu --features &quot;servo bindgen quantum_render cubeb_pulse_rust cubeb-remoting moz_memory&quot; --  -C lto<br>   Compiling unicode-xid v0.1.0<br>   Compiling siphasher
    v0.2.1<br>   Compiling libc v0.2.39<br>thread &#39;main&#39; panicked at &#39;specified instant was later than self&#39;, libstd/sys/unix/time.rs:292:17<br>stack backtrace:<br>   0: 0xfff000010059e81b - rust_metadata_std_
    495c22e44ed0c1b01a54db1d43dc4cfc<br>   1: 0xfff000010056966b - rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc<br>   2: 0xfff00001005adf2f - rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc<br>   3: 0xfff00001005adaf7 - rust_metadata_std_
    495c22e44ed0c1b01a54db1d43dc4cfc<br>   4: 0xfff00001005a9e4b - rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc<br>   5: 0xfff00001038bbe9f - &lt;unknown&gt;<br>   6: 0xfff0000103649f3f - &lt;unknown&gt;<br>   7: 0xfff00001005ae927 - std::
    panicking::rust_panic_with_hook::h8a42f1f698beebb2<br>   8: 0xfff00001005ae65f - rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc<br>   9: 0xfff00001005822bb - rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc<br>  10: 0xfff0000100573a73 - std::
    time::Instant::elapsed::hecaa22291126e88e<br>  11: 0xfff00001009c2bfb - &lt;unknown&gt;<br>  12: 0xfff00001009e4daf - &lt;unknown&gt;<br>  13: 0xfff0000103482f87 - &lt;unknown&gt;<br>  14: 0xfff00001033694a7 - &lt;unknown&gt;<br>  15:
    0xfff00001030a328b - rust_metadata_rustc_a73bbf9616326d00f8c80ec67817568c<br>  16: 0xfff00001032d955b - rust_metadata_rustc_a73bbf9616326d00f8c80ec67817568c<br>  17: 0xfff00001034a84bf - &lt;unknown&gt;   Compiling unicode-xid v0.1.0<br>   
    Compiling siphasher v0.2.1<br><br>  18: 0xfff000010352179f - &lt;unknown&gt;<br>  19: 0xfff00001035ebf17 - rustc::ty::query::&lt;impl rustc::ty::context::TyCtxt&lt;&#39;a, &#39;tcx, &#39;lcx&gt;&gt;::symbol_name::hf254445141a56f8d<br>  20:
    0xfff0000105c08e0f - &lt;unknown&gt;<br>  21: 0xfff0000105bf2f23 - &lt;unknown&gt;<br>  22: 0xfff0000105b63a93 - &lt;unknown&gt;<br>  23: 0xfff0000105c1638f - &lt;unknown&gt;<br>  24: 0xfff0000103485747 - &lt;unknown&gt;<br>  25: 0xfff000010336a0db -
    &lt;unknown&gt;<br>  26: 0xfff00001030ae7a7 - rust_metadata_rustc_a73bbf9616326d00f8c80ec67817568c<br>  27: 0xfff000010334946b - &lt;unknown&gt;<br>  28: 0xfff00001034ba2f3 - &lt;unknown&gt;<br>  29: 0xfff000010351ea0b - &lt;unknown&gt;<br>  30:
    0xfff00001035ecb7b - rustc::ty::query::&lt;impl rustc::ty::context::TyCtxt&lt;&#39;a, &#39;tcx, &#39;lcx&gt;&gt;::collect_and_partition_mono_items::h8d5c5762b2e3f51a<br>  31: 0xfff0000105c1bba7 - &lt;rustc_codegen_llvm::LlvmCodegenBackend as rustc_
    codegen_utils::codegen_backend::CodegenBackend&gt;::codegen_crate::hc83533030405993f<br>  32: 0xfff000010021eb03 - &lt;unknown&gt;<br>  33: 0xfff000010021331b - rustc_driver::driver::phase_4_codegen::heaf479227585b87b<br>  34: 0xfff00001002ed573 - &lt;
    unknown&gt;<br>  35: 0xfff00001002e7e8f - &lt;unknown&gt;<br>  36: 0xfff0000100282d03 - &lt;unknown&gt;<br>  37: 0xfff0000100314e5b - &lt;unknown&gt;<br>  38: 0xfff000010020b47b - rustc_driver::driver::compile_input::h8fc997d3d02841ae<br>  39:
    0xfff00001002f342f - &lt;unknown&gt;<br>  40: 0xfff00001001c482b - &lt;unknown&gt;<br>  41: 0xfff00001001c458b - &lt;unknown&gt;<br>  42: 0xfff000010029849f - &lt;unknown&gt;<br>  43: 0xfff00001001c2d3f - &lt;unknown&gt;<br>  44: 0xfff00001002d39b3 -
    &lt;unknown&gt;<br>  45: 0xfff00001005b7fcb - __rust_maybe_catch_panic<br>  46: 0xfff00001002ef8bb - &lt;unknown&gt;<br>  47: 0xfff00001003003c7 - rustc_driver::main::h518b3d26bef3a0dc<br>  48:      0x10000000ccf - &lt;unknown&gt;<br>  49:    
     0x10000000c97 - &lt;unknown&gt;<br>  50: 0xfff000010056a213 - rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc<br>  51: 0xfff00001005ae1af - rust_metadata_std_495c22e44ed0c1b01a54db1d43dc4cfc<br>  52: 0xfff00001005b7fcb - __rust_maybe_catch_panic<
      53: 0xfff000010058187b - std::rt::lang_start_internal::h5b2959a2ae66034e<br>  54:      0x10000000d27 - &lt;unknown&gt;<br>  55: 0xfff000010076312f - __libc_start_main<br>  56:      0x10000000b2b - &lt;unknown&gt;<br>query stack during
    panic:<br>#0 [symbol_name] computing the symbol for `&lt;unix::rusage as std::clone::Clone&gt;::clone`<br>#1 [collect_and_partition_mono_items] collect_and_partition_mono_items<br>end of query stack<br><br>error: internal compiler error: unexpected panic<
    <br>note: the compiler unexpectedly panicked. this is a bug.<br><br>note: we would appreciate a bug report: <a href="https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports">https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.
    md#bug-reports</a><br><br>note: rustc 1.29.0 running on sparc64-unknown-linux-gnu<br><br>note: compiler flags: -C opt-level=2 -C codegen-units=1 -C linker=/&lt;&lt;PKGBUILDDIR&gt;&gt;/build/cargo-linker --crate-type lib<br><br>note: some of the compiler
    flags provided by cargo are hidden<br><br>error: Could not compile `libc`.<br><br>To learn more, run the command again with --verbose.<br>make[5]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:951">rules.mk:951</a>: force-cargo-
    library-build] Error 101<br>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/library/rust&#39;<br>make[4]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:74">recurse.mk:74</a>: toolkit/library/rust/
    target] Error 2<br>make[4]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[3]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:34">recurse.mk:34</a>: compile] Error 2<br>make[3]: Leaving directory &#39;/
    &lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[2]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:418">rules.mk:418</a>: default] Error 2<br>make[2]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>dh_
    auto_build: error: cd build-browser &amp;&amp; make -j1 LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code 2<br>make[1]: *** [debian/rules:216: stamps/build-browser] Error 25<br>make[1]: Leaving directory &#39;/&lt;&lt;
    PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:321: build-arch] Error 2<br>dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------<br>
    Build finished at 2021-11-21T21:27:00Z<br><br>Finished<br>--------<br></div><div><br></div><div>Regards,</div><div>Connor<br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Mon Nov 22 09:40:02 2021
    On 11/21/21 22:37, Connor McLaughlan wrote:
    Now it compiles unicode-xid v.0.1.0, but crashes at libc v0.2.39:
    make[5]: Entering directory

    Try building with a slightly newer rustc version or use LLVM-6.0 instead
    as originally intended.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Tue Nov 23 23:00:02 2021
    Hi!

    On 11/23/21 22:34, Connor McLaughlan wrote:
    Should i go up or down with the rustc version?

    You need to go down since you need a Rust version that is less strict
    with macros.

    Or is there another way to fix it?

    As I said, the best way is to work on the NodeJS workaround that the Solaris developers are using. I might write something down for that tomorrow and then you can try whether you can get it working.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Tue Nov 23 22:40:03 2021
    On Mon, Nov 22, 2021 at 9:30 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/21/21 22:37, Connor McLaughlan wrote:
    Now it compiles unicode-xid v.0.1.0, but crashes at libc v0.2.39:
    make[5]: Entering directory

    Try building with a slightly newer rustc version or use LLVM-6.0 instead
    as originally intended.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    Hello Adrian,

    i now used rustc version... 1.35.0, cargo version... 1.34.0 and it went
    much further and compiled many rust targets.

    It stopped at:

    Compiling style_traits v0.0.1 (/<<PKGBUILDDIR>>/servo/components/style_traits)
    error: missing documentation for macro
    --> servo/components/style_traits/values.rs:142:1
    |
    142 | macro_rules! serialize_function {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    note: lint level defined here
    --> servo/components/style_traits/lib.rs:12:22
    |
    12 | #![deny(unsafe_code, missing_docs)]
    | ^^^^^^^^^^^^
    error: missing documentation for macro
    --> servo/components/style_traits/values.rs:414:1
    |
    414 | macro_rules! define_css_keyword_enum {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    error: aborting due to 2 previous errors
    error: Could not compile `style_traits`.

    Should i go up or down with the rustc version? Or is there another way to
    fix it?

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 22, 2021 at 9:30 AM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<
    </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/21/21 22:37, Connor McLaughlan wrote:<br>
    &gt; Now it compiles unicode-xid v.0.1.0, but crashes at libc v0.2.39:<br>
    &gt; make[5]: Entering directory<br>

    Try building with a slightly newer rustc version or use LLVM-6.0 instead<br>
    as originally intended.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br> <br></blockquote><div><br></div><div>Hello Adrian,</div><div><br></div><div>i now used rustc version... 1.35.0, cargo version... 1.34.0 and it went much further and compiled many rust targets.</div><div><br></div><div>It stopped at: <br></div><div><br></
    <div>  Compiling style_traits v0.0.1 (/&lt;&lt;PKGBUILDDIR&gt;&gt;/servo/components/style_traits)<br>error: missing documentation for macro<br>   --&gt; servo/components/style_traits/values.rs:142:1<br>    |<br>142 | macro_rules! serialize_
    function {<br>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>    |<br>note: lint level defined here<br>   --&gt; servo/components/style_traits/lib.rs:12:22<br>    |<br>12  | #![deny(unsafe_code, missing_docs)]<br>    |                    
    ^^^^^^^^^^^^<br>error: missing documentation for macro<br>   --&gt; servo/components/style_traits/values.rs:414:1<br>    |<br>414 | macro_rules! define_css_keyword_enum {<br>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>error: aborting due to 2
    previous errors<br>error: Could not compile `style_traits`.</div><div><br></div><div>Should i go up or down with the rustc version? Or is there another way to fix it?<br></div><div><br></div><div>Regards,</div><div>Connor<br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Thu Nov 25 18:40:02 2021
    On Tue, Nov 23, 2021 at 10:56 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hi!

    On 11/23/21 22:34, Connor McLaughlan wrote:
    Should i go up or down with the rustc version?

    You need to go down since you need a Rust version that is less strict
    with macros.

    Or is there another way to fix it?

    As I said, the best way is to work on the NodeJS workaround that the
    Solaris
    developers are using. I might write something down for that tomorrow and
    then
    you can try whether you can get it working.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    Hello Adrian,

    both rustc 1.31 and 1.32 fail during configure:

    checking rustc version... 1.32.0
    checking cargo version... 1.31.0
    DEBUG: Executing: `/usr/bin/rustc --crate-type staticlib --target=sparc64-unknown-linux-gnu -o /tmp/conftestz9qzPs.rlib /tmp/conftestveP467.rs`
    DEBUG: The command returned non-zero exit status 101.
    DEBUG: Its error output was:
    DEBUG: | thread 'main' panicked at 'specified instant was later than self', src/libstd/sys/unix/time.rs:298:17
    DEBUG: | note: Run with `RUST_BACKTRACE=1` for a backtrace.
    DEBUG: |
    DEBUG: | error: internal compiler error: unexpected panic
    DEBUG: |
    DEBUG: | note: the compiler unexpectedly panicked. this is a bug.
    DEBUG: |
    DEBUG: | note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports DEBUG: |
    DEBUG: | note: rustc 1.32.0 running on sparc64-unknown-linux-gnu
    DEBUG: |
    DEBUG: | note: compiler flags: --crate-type staticlib
    DEBUG: |
    ERROR: Cannot compile for sparc64-unknown-linux-gnu with /usr/bin/rustc
    The target may be unsupported, or you may not have
    a rust std library for that target installed. Try:

    rustup target add sparc64-unknown-linux-gnu

    make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 --------------------------------------------------------------------------------
    Build finished at 2021-11-25T17:02:23Z


    I suppose sbuild cleans everything between builds..or do i need to clean something?

    Otherwise i will go higher or back to rustc 1.35 which worked well and try
    to comment out the restriction with the documentation:

    "To build with current Rust, you also need to remove #![deny(missing_docs)] from servo/components/style/lib.rs and servo/components/style_traits/lib.rs
    ."


    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 23, 2021 at 10:56 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:
    <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>

    On 11/23/21 22:34, Connor McLaughlan wrote:<br>
    &gt; Should i go up or down with the rustc version?<br>

    You need to go down since you need a Rust version that is less strict<br>
    with macros.<br>

    &gt; Or is there another way to fix it?<br>

    As I said, the best way is to work on the NodeJS workaround that the Solaris<br>
    developers are using. I might write something down for that tomorrow and then<br>
    you can try whether you can get it working.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br> <br></blockquote><div><br></div><div>Hello Adrian,</div><div><br></div><div>both rustc 1.31 and 1.32 fail during configure:</div><div><br></div><div>checking rustc version... 1.32.0<br>checking cargo version... 1.31.0<br>DEBUG: Executing: `/usr/bin/rustc
    --crate-type staticlib --target=sparc64-unknown-linux-gnu -o /tmp/conftestz9qzPs.rlib /tmp/conftestveP467.rs`<br>DEBUG: The command returned non-zero exit status 101.<br>DEBUG: Its error output was:<br>DEBUG: | thread &#39;main&#39; panicked at &#39;
    specified instant was later than self&#39;, src/libstd/sys/unix/time.rs:298:17<br>DEBUG: | note: Run with `RUST_BACKTRACE=1` for a backtrace.<br>DEBUG: | <br>DEBUG: | error: internal compiler error: unexpected panic<br>DEBUG: | <br>DEBUG: | note: the
    compiler unexpectedly panicked. this is a bug.<br>DEBUG: | <br>DEBUG: | note: we would appreciate a bug report: <a href="https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports">https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.
    md#bug-reports</a><br>DEBUG: | <br>DEBUG: | note: rustc 1.32.0 running on sparc64-unknown-linux-gnu<br>DEBUG: | <br>DEBUG: | note: compiler flags: --crate-type staticlib<br>DEBUG: | <br>ERROR: Cannot compile for sparc64-unknown-linux-gnu with /usr/bin/
    rustc<br>The target may be unsupported, or you may not have<br>a rust std library for that target installed. Try:<br><br>  rustup target add sparc64-unknown-linux-gnu<br><br>make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1<br>make[1]:
    Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:321: build-arch] Error 2<br>dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------
    ------------------------<br>Build finished at 2021-11-25T17:02:23Z<br><br></div><div><br></div><div>I suppose sbuild cleans everything between builds..or do i need to clean something?</div><div><br></div><div>Otherwise i will go higher or back to rustc 1.
    35 which worked well and try to comment out the restriction with the documentation:</div><div><br></div><div>&quot;To build with current Rust, you also need to remove <code>#![deny(missing_docs)]</code> from <code>servo/components/style/<a href="http://
    lib.rs">lib.rs</a></code> and <code>servo/components/style_traits/<a href="http://lib.rs">lib.rs</a></code>.&quot;</div><div><br></div><div><br></div><div>Regards,</div><div>Connor</div><div><br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Tue Nov 30 23:40:01 2021
    On Tue, Nov 30, 2021 at 11:25 PM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hi Conner!

    On 11/30/21 23:19, Connor McLaughlan wrote:
    For the last error, i applied a quick and dirty fix i found here - for compiling problems with nss 3.66:
    https://bugs.archlinux.org/task/71113

    Sorry for not being able to respond the past days, I was busy with other software issues, both in Debian and my dayjob. I will start looking into
    this later this week.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    Hello Adrian,

    i just did some research on the last error i reported - it seems to be
    caused by compiler changes: /<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp:92:30:
    error: ‘numeric_limits’ is not a member of ‘std’

    I found it reported for when gcc-11 is used here: https://github.com/MultiMC/Launcher/issues/3574

    Since i am using gcc-10 for this build, i wonder if it is the same problem
    and could be fixed by adding - where applicable:

    #include <limits>

    Or is it advised to install a lower gcc for the build? If so, which one?

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 30, 2021 at 11:25 PM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:
    <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Conner!<br>

    On 11/30/21 23:19, Connor McLaughlan wrote:<br>
    &gt; For the last error, i applied a quick and dirty fix i found here - for<br> &gt; compiling problems with nss 3.66:<br>
    &gt; <a href="https://bugs.archlinux.org/task/71113" rel="noreferrer" target="_blank">https://bugs.archlinux.org/task/71113</a><br>

    Sorry for not being able to respond the past days, I was busy with other<br> software issues, both in Debian and my dayjob. I will start looking into<br> this later this week.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br> <br></blockquote><div><br></div><div>Hello Adrian,</div><div><br></div><div>i just did some research on the last error i reported - it seems to be caused by compiler changes:</div><div>/&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/components/telemetry/
    ProcessedStack.cpp:92:30: error: ‘numeric_limits’ is not a member of ‘std’<br></div><div><br></div><div>I found it reported for when gcc-11 is used here:<br><div><a href="https://github.com/MultiMC/Launcher/issues/3574">https://github.com/MultiMC/
    Launcher/issues/3574</a></div><div><br></div><div>Since i am using gcc-10 for this build, i wonder if it is the same problem and could be fixed by adding - where applicable:</div><div><pre><span class="gmail-pl-mi1">#include &lt;limits&gt;<br><br></span><
    /pre><pre><span class="gmail-pl-mi1"><span style="font-family:arial,sans-serif">Or is it advised to install a lower gcc for the build? If so, which one?<br><br></span></span></pre><pre><span style="font-family:arial,sans-serif"><span class="gmail-pl-mi1">
    Regards,<br>Connor<br></span></span></pre><pre><span class="gmail-pl-mi1"><br></span></pre></div></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Tue Nov 30 23:30:03 2021
    Hi Conner!

    On 11/30/21 23:19, Connor McLaughlan wrote:
    For the last error, i applied a quick and dirty fix i found here - for compiling problems with nss 3.66:
    https://bugs.archlinux.org/task/71113

    Sorry for not being able to respond the past days, I was busy with other software issues, both in Debian and my dayjob. I will start looking into
    this later this week.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to All on Tue Nov 30 23:30:03 2021


    Hello Adrian,

    update on the current progress:

    rustc_1.30.0, rustc_1.31.0 and rustc_1.32.0 are crashing on my machine
    during configure or later during rust building.
    rustc_1.33.0 and rustc_1.35.0 seem to work, so when went with
    rustc_1.35.0, since rustc_1.33.0 has the same constraints with missing_docs in place.
    llvm stayed at 11 for now.

    As stated above i removed #![deny(missing_docs)] from servo/components/style/lib.rs and servo/components/style_traits/lib.rs
    The rust part compiled without errors it seems (unsure if a second rust
    part is coming later in the build).

    Now after 14 hours of compile time the errors below will appear.
    Have to search if there is a known solution.

    However this is now getting somewhat tedious as it seems that i can not
    just apply a change and test it by continuing the build.
    sbuild will always start the building from scratch.

    Is there a way around restarting the whole build?

    Regards,
    Connor



    For the last error, i applied a quick and dirty fix i found here - for compiling problems with nss 3.66:
    https://bugs.archlinux.org/task/71113

    Now i have gotten the following error thrown:

    /usr/bin/g++ -o ProcessedStack.o -c -I/<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers -I/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers -include /<<PKGBUILDDIR>>/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 '-DMOZ_APP_VERSION="62.0.3"' -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/<<PKGBUILDDIR>>/toolkit/components/telemetry -I/<<PKGBUILDDIR>>/build-browser/toolkit/components/telemetry -I/<<PKGBUILDDIR>>/build-browser/ipc/ipdl/_ipdlheaders -I/<<PKGBUILDDIR>>/ipc/chromium/src -I/<<PKGBUILDDIR>>/ipc/glue -I/<<PKGBUILDDIR>>/xpcom/build -I/<<PKGBUILDDIR>>/xpcom/threads -I/<<PKGBUILDDIR>>/build-browser/dist/include -I/usr/include/nspr -I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include /<<PKGBUILDDIR>>/build-browser/mozilla-config.h -Wdate-time
    -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall
    -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond
    -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2
    -fno-sized-deallocation -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks -fpermissive -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno
    -pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer
    -Wno-error=shadow -MD -MP -MF .deps/ProcessedStack.o.pp /<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp /<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp: In
    function ‘mozilla::Telemetry::ProcessedStack mozilla::Telemetry::GetStackAndModules(const std::vector<long unsigned int>&)’: /<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp:92:30:
    error: ‘numeric_limits’ is not a member of ‘std’
    92 | std::numeric_limits<uint16_t>::max()};
    | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp:92:53:
    error: expected primary-expression before ‘>’ token
    92 | std::numeric_limits<uint16_t>::max()};
    | ^ /<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp:92:56:
    error: ‘::max’ has not been declared; did you mean ‘std::max’?
    92 | std::numeric_limits<uint16_t>::max()};
    | ^~~
    | std::max
    In file included from /usr/include/c++/11/algorithm:62,
    from /<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/algorithm:3,
    from /<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers/algorithm:44,
    from /<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/Span.h:31,
    from /<<PKGBUILDDIR>>/build-browser/dist/include/nsTSubstring.h:16,
    from /<<PKGBUILDDIR>>/build-browser/dist/include/nsAString.h:22,
    from /<<PKGBUILDDIR>>/build-browser/dist/include/nsString.h:14,
    from /<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.h:11,
    from /<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp:7: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
    3467 | max(initializer_list<_Tp> __l, _Compare __comp)
    | ^~~
    make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:1033: ProcessedStack.o]
    Error 1
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/toolkit/components/telemetry'
    make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74: toolkit/components/telemetry/target] Error 2
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    dh_auto_build: error: cd build-browser && make -j1
    LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
    2
    make[1]: *** [debian/rules:216: stamps/build-browser] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 --------------------------------------------------------------------------------
    Build finished at 2021-11-30T22:05:06Z

    Finished
    --------


    +------------------------------------------------------------------------------+
    | Cleanup
    | +------------------------------------------------------------------------------+

    Purging /<<BUILDDIR>>
    Not cleaning session: cloned chroot in use
    E: Build failure (dpkg-buildpackage died)

    +------------------------------------------------------------------------------+
    | Summary
    | +------------------------------------------------------------------------------+

    Build Architecture: sparc64
    Build Type: any
    Build-Space: 8376604
    Build-Time: 69453
    Distribution: sid
    Fail-Stage: build
    Host Architecture: sparc64
    Install-Time: 538
    Job: /work/firefox-build/firefox_62.0.3-1.1.dsc
    Machine Architecture: sparc64
    Package: firefox
    Package-Time: 73150
    Source-Version: 62.0.3-1.1
    Space: 8376604
    Status: attempted
    Version: 62.0.3-1.1 --------------------------------------------------------------------------------
    Finished at 2021-11-30T22:05:06Z
    Build needed 20:19:10, 8376604k disk space
    E: Build failure (dpkg-buildpackage died)

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="
    gmail_quote"><div><br></div><div><br></div><div>Hello Adrian,</div><div><br></div><div>update on the current progress:</div><div><br></div><div>rustc_1.30.0, rustc_1.31.0 and rustc_1.32.0 are crashing on my machine during configure or later during rust
    building.</div><div>rustc_1.33.0 and rustc_1.35.0 seem to work, so when went with rustc_1.35.0, since rustc_1.33.0 has the same constraints with missing_docs in place.</div><div>llvm stayed at 11 for now.</div><div><br></div><div>As stated above i
    removed <code>#![deny(missing_docs)]</code> from <code>servo/components/style/<a href="http://lib.rs" target="_blank">lib.rs</a></code> and <code>servo/components/style_traits/<a href="http://lib.rs" target="_blank">lib.rs</a> <br></code></div><div>The
    rust part compiled without errors it seems (unsure if a second rust part is coming later in the build).</div><div><br></div><div>Now after 14 hours of compile time the errors below will appear.</div><div><div>Have to search if there is a known solution.</
    <div><br></div><div>However this is now getting somewhat tedious as it seems that i can not just apply a change and test it by continuing the build.</div><div>sbuild will always start the building from scratch.</div><div><br></div><div>Is there a way
    around restarting the whole build?</div><div><br></div><div>Regards,</div><div>Connor</div></div><div><br></div><br><div></div></div></div></blockquote><div><br></div><div>For the last error, i applied a quick and dirty fix i found here - for compiling
    problems with nss 3.66:<br></div><div><a href="https://bugs.archlinux.org/task/71113">https://bugs.archlinux.org/task/71113</a></div><div><br></div><div>Now i have gotten the following error thrown:<br></div></div><div class="gmail_quote"><br></div><div
    class="gmail_quote">/usr/bin/g++ -o ProcessedStack.o -c -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/stl_wrappers -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/system_wrappers -include /&lt;&lt;PKGBUILDDIR&gt;&gt;/config/gcc_hidden.h -DNDEBUG=1 -
    DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 &#39;-DMOZ_APP_VERSION=&quot;62.0.3&quot;&#39; -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/components/telemetry -I/&lt;&lt;PKGBUILDDIR&gt;&
    gt;/build-browser/toolkit/components/telemetry -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/ipc/ipdl/_ipdlheaders -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/ipc/chromium/src -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/ipc/glue -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/xpcom/build -I/&lt;&
    lt;PKGBUILDDIR&gt;&gt;/xpcom/threads -I/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include -I/usr/include/nspr -I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/mozilla-config.h -Wdate-time -D_FORTIFY_
    SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-
    fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2 -fno-sized-deallocation -fstack-
    protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks -fpermissive -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections
    -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer -Wno-error=shadow  -MD -MP -MF .deps/ProcessedStack.o.pp   /&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/components/telemetry/ProcessedStack.cpp<br>/&lt;&lt;PKGBUILDDIR&
    gt;&gt;/toolkit/components/telemetry/ProcessedStack.cpp: In function ‘mozilla::Telemetry::ProcessedStack mozilla::Telemetry::GetStackAndModules(const std::vector&lt;long unsigned int&gt;&amp;)’:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/components/
    telemetry/ProcessedStack.cpp:92:30: error: ‘numeric_limits’ is not a member of ‘std’<br>   92 |                         std::numeric_limits&lt;uint16_t&gt;::max()};<br>      |                              ^~~~~~~~~~
    ~~~~<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/components/telemetry/ProcessedStack.cpp:92:53: error: expected primary-expression before ‘&gt;’ token<br>   92 |                         std::numeric_limits&lt;uint16_t&gt;::max()};<br>   
    |                                                     ^<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/components/telemetry/ProcessedStack.cpp:92:56: error: ‘::max’ has not been declared; did you mean ‘std::max’?<br>   92 |
                            std::numeric_limits&lt;uint16_t&gt;::max()};<br>      |                                                        ^~~<br>      |                                        
                   std::max<br>In file included from /usr/include/c++/11/algorithm:62,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/system_wrappers/algorithm:3,<br>                 from /&lt;&lt;
    PKGBUILDDIR&gt;&gt;/build-browser/dist/stl_wrappers/algorithm:44,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/mozilla/Span.h:31,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/
    dist/include/nsTSubstring.h:16,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/nsAString.h:22,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/include/nsString.h:14,<br>     
               from /&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/components/telemetry/ProcessedStack.h:11,<br>                 from /&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/components/telemetry/ProcessedStack.cpp:7:<br>/usr/include/c++/11/bits/stl_algo.h:
    3467:5: note: ‘std::max’ declared here<br> 3467 |     max(initializer_list&lt;_Tp&gt; __l, _Compare __comp)<br>      |     ^~~<br>make[5]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:1033">rules.mk:1033</a>:
    ProcessedStack.o] Error 1<br>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/components/telemetry&#39;<br>make[4]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:74">recurse.mk:74</a>: toolkit/
    components/telemetry/target] Error 2<br>make[4]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[3]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:34">recurse.mk:34</a>: compile] Error 2<br>make[3]:
    Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[2]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:418">rules.mk:418</a>: default] Error 2<br>make[2]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/
    build-browser&#39;<br>dh_auto_build: error: cd build-browser &amp;&amp; make -j1 LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code 2<br>make[1]: *** [debian/rules:216: stamps/build-browser] Error 25<br>make[1]: Leaving directory
    &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:321: build-arch] Error 2<br>dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------
    ------<br>Build finished at 2021-11-30T22:05:06Z<br><br>Finished<br>--------<br><br><br>+------------------------------------------------------------------------------+<br>| Cleanup                                                
                       |<br>+------------------------------------------------------------------------------+<br><br>Purging /&lt;&lt;BUILDDIR&gt;&gt;<br>Not cleaning session: cloned chroot in use<br>E: Build failure (dpkg-buildpackage died)<br><
    +------------------------------------------------------------------------------+<br>| Summary                                                                      |<br>+------------------------------------------------
    ------------------------------+<br><br>Build Architecture: sparc64<br>Build Type: any<br>Build-Space: 8376604<br>Build-Time: 69453<br>Distribution: sid<br>Fail-Stage: build<br>Host Architecture: sparc64<br>Install-Time: 538<br>Job: /work/firefox-build/
    firefox_62.0.3-1.1.dsc<br>Machine Architecture: sparc64<br>Package: firefox<br>Package-Time: 73150<br>Source-Version: 62.0.3-1.1<br>Space: 8376604<br>Status: attempted<br>Version: 62.0.3-1.1<br>-------------------------------------------------------------
    -------------------<br>Finished at 2021-11-30T22:05:06Z<br>Build needed 20:19:10, 8376604k disk space<br>E: Build failure (dpkg-buildpackage died)</div><div class="gmail_quote"><br></div><div class="gmail_quote">Regards,</div><div class="gmail_quote">
    Connor<br></div><div class="gmail_quote"><br><div><br></div><div><br> </div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Connor McLaughlan on Wed Dec 1 00:20:02 2021
    On 11/30/21 23:30, Connor McLaughlan wrote:
    Since i am using gcc-10 for this build, i wonder if it is the same problem and could be fixed by adding - where applicable:

    #include <limits>

    Yes, that sounds reasonable. Just try it.

    Or is it advised to install a lower gcc for the build? If so, which one?

    No, that's too much of a hassle. I would advise against that.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Thu Dec 2 01:30:01 2021
    On Wed, Dec 1, 2021 at 12:14 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    On 11/30/21 23:30, Connor McLaughlan wrote:
    Since i am using gcc-10 for this build, i wonder if it is the same
    problem
    and could be fixed by adding - where applicable:

    #include <limits>

    Yes, that sounds reasonable. Just try it.

    Or is it advised to install a lower gcc for the build? If so, which one?

    No, that's too much of a hassle. I would advise against that.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    Hello Adrian,

    /toolkit/components/telemetry/ProcessedStack.cpp compiled ok when the
    include was added.

    Now i am stuck at this new error below.
    Unfortunately i can't find something helpful on the internet.

    /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2
    -fno-sized-deallocation -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks -fpermissive -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno
    -pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libxul.so -o libxul.so /<<PKGBUILDDIR>>/build-browser/toolkit/library/libxul_so.list -lpthread -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory
    -Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id /<<PKGBUILDDIR>>/toolkit/library/StaticXULComponents.ld -Wl,-rpath-link,/<<PKGBUILDDIR>>/build-browser/dist/bin -Wl,-rpath-link,/usr/lib ../../js/src/build/libjs_static.a sparc64-unknown-linux-gnu/release/libgkrust.a ../../config/external/lgpllibs/liblgpllibs.so ../../widget/gtk/mozgtk/stub/libmozgtk_stub.so -Wl,--version-script,symverscript -ldl -ljsoncpp -lffi -L/usr/lib/sparc64-linux-gnu -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lz -lm -Wl,-rpath-link,/usr/lib/sparc64-linux-gnu -lssl3 -lsmime3 -lnss3
    -lnssutil3 -lsqlite3 -lfreetype -lfontconfig -lrt -lXrender -levent -lvpx -lasound -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lstartup-notification-1 -lX11-xcb -lxcb-shm -lxcb -lX11 -lXext -lpangoft2-1.0 -lXt -lgthread-2.0
    /usr/bin/ld: warning:
    /<<PKGBUILDDIR>>/toolkit/library/StaticXULComponents.ld contains output sections; did you forget -T?
    /usr/bin/ld: /<<PKGBUILDDIR>>/build-browser/toolkit/library/../../gfx/vr/openvr/vrpathregistry_public.o:
    in function `ParseStringListFromJson(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, Json::Value const&, char const*) [clone
    .part.0]':
    /<<PKGBUILDDIR>>/gfx/vr/openvr/src/vrpathregistry_public.cpp:160: undefined reference to `Json::Value::operator!() const'
    collect2: error: ld returned 1 exit status
    make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:681: libxul.so] Error 1
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library' make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74:
    toolkit/library/target] Error 2
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
    dh_auto_build: error: cd build-browser && make -j1
    LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
    2
    make[1]: *** [debian/rules:216: stamps/build-browser] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:321: build-arch] Error 2
    dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 --------------------------------------------------------------------------------
    Build finished at 2021-12-02T00:05:14Z


    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 1, 2021 at 12:14 AM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<
    </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/30/21 23:30, Connor McLaughlan wrote:<br>
    &gt; Since i am using gcc-10 for this build, i wonder if it is the same problem<br>
    &gt; and could be fixed by adding - where applicable:<br>
    &gt; <br>
    &gt; #include &lt;limits&gt;<br>

    Yes, that sounds reasonable. Just try it.<br>

    &gt; Or is it advised to install a lower gcc for the build? If so, which one?<br>

    No, that&#39;s too much of a hassle. I would advise against that.<br>

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br> <br></blockquote><div><br></div><div>Hello Adrian, <br></div><div><br></div><div><span class="gmail-im">/toolkit/components/telemetry/ProcessedStack.cpp compiled ok when the include was added.</span></div><div><span class="gmail-im"><br></span></div><div>
    <span class="gmail-im">Now i am stuck at this new error below.</span></div><div><span class="gmail-im">Unfortunately i can&#39;t find something helpful on the internet.<br></span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-
    im">/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++
    1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-
    overflow=2 -fno-sized-deallocation -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks -fpermissive -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -
    fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer  -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libxul.so -o libxul.so /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-
    browser/toolkit/library/libxul_so.list  -lpthread -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory -Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id /&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/library/StaticXULComponents.
    ld -Wl,-rpath-link,/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/dist/bin -Wl,-rpath-link,/usr/lib   ../../js/src/build/libjs_static.a sparc64-unknown-linux-gnu/release/libgkrust.a ../../config/external/lgpllibs/liblgpllibs.so ../../widget/gtk/mozgtk/stub/
    libmozgtk_stub.so -Wl,--version-script,symverscript  -ldl  -ljsoncpp -lffi -L/usr/lib/sparc64-linux-gnu -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lz -lm -Wl,-rpath-link,/usr/lib/sparc64-linux-gnu -lssl3 -lsmime3 -lnss3 -lnssutil3 -lsqlite3 -lfreetype -
    lfontconfig -lrt -lXrender -levent -lvpx -lasound -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lstartup-notification-1 -lX11-xcb -lxcb-shm -lxcb -
    lX11 -lXext -lpangoft2-1.0 -lXt -lgthread-2.0<br>/usr/bin/ld: warning: /&lt;&lt;PKGBUILDDIR&gt;&gt;/toolkit/library/StaticXULComponents.ld contains output sections; did you forget -T?<br>/usr/bin/ld: /&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser/toolkit/
    library/../../gfx/vr/openvr/vrpathregistry_public.o: in function `ParseStringListFromJson(std::vector&lt;std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, std::allocator&lt;std::__cxx11::basic_string&lt;
    char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt;*, Json::Value const&amp;, char const*) [clone .part.0]&#39;:<br>/&lt;&lt;PKGBUILDDIR&gt;&gt;/gfx/vr/openvr/src/vrpathregistry_public.cpp:160: undefined reference to `Json::
    Value::operator!() const&#39;<br>collect2: error: ld returned 1 exit status<br>make[5]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://rules.mk:681">rules.mk:681</a>: libxul.so] Error 1<br>make[5]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;
    &gt;/build-browser/toolkit/library&#39;<br>make[4]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:74">recurse.mk:74</a>: toolkit/library/target] Error 2<br>make[4]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#
    39;<br>make[3]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/config/<a href="http://recurse.mk:34">recurse.mk:34</a>: compile] Error 2<br>make[3]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>make[2]: *** [/&lt;&lt;PKGBUILDDIR&gt;&gt;/
    config/<a href="http://rules.mk:418">rules.mk:418</a>: default] Error 2<br>make[2]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;/build-browser&#39;<br>dh_auto_build: error: cd build-browser &amp;&amp; make -j1 LD_LIBS=-Wl,--no-gc-sections _
    LEAKTEST_FILES=leaktest.py returned exit code 2<br>make[1]: *** [debian/rules:216: stamps/build-browser] Error 25<br>make[1]: Leaving directory &#39;/&lt;&lt;PKGBUILDDIR&gt;&gt;&#39;<br>make: *** [debian/rules:321: build-arch] Error 2<br>dpkg-
    buildpackage: error: debian/rules build-arch subprocess returned exit status 2<br>--------------------------------------------------------------------------------<br>Build finished at 2021-12-02T00:05:14Z<br></span></div><div><span class="gmail-im"><br></
    span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im">Regards,</span></div><div><span class="gmail-im">Connor<br></span></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Riccardo Mottola@21:1/5 to All on Sat Dec 11 19:10:02 2021
    Hi,

    commenting to this topic. I was able to first fix and then upgrade my faitfhul Ultra 2 (*). Equipped now with 2x 396 MHz processors and 1GB of RAM, running NetBSD 9 I could for the first time "dare" to install firefox 52 esr, with all the patches done
    for it by Martin. I am quite impressed: it has no immediately apparent Endianness issues and is capable of browsing without crashing, even performance is acceptable, although of course JS itself is slow. I cannot fully assert speed, since current
    versions of Xorg are quite slow on the Creator card, as if it running without even 2D acceleration (moving and scrolling is bad, but even with xterm). Images, fonts, interface all display fine. The only broken thing are image operations, but this is a
    long-standing issue that affects also ArcticFox. So all-in-all that FF version is more modern than AF39 and has no more issue (compared to non-patched official releases).
    I did not find any rust-basef FFs in NetBSD packages, so I couldn't compare.

    My only comparison is recent Firefox on Debian running on 64Bit ppc and that one is unusable with a broken interface and incredible slowness, but didn't test it on SPARC, I only have my T2000 running and I guess that on NIagara it could take minutes just
    to start! Should ? (however since it has e10s, t should be able to exploit the multi-cores later on)

    Riccardo


    (*) Some story of the breakage which might be of interest for others running vintage Sun hardware.
    The machine first smoked badly that I feared a broken MB and PSU! But by careful disassembly I was able to determine that the disk drive was so badly shorted that it brought down everything. Put hot-swap in a server it did shut it down immediatley! Fixed
    that it would not boot and die during POST! Damage? I was worried. But no - the NVRAM chip was so "dead". With a dead battery the computer usually comes up, here not. I got a new chip and with that one it the computer starts perfectly! I don't know if
    it was damaged by the power issues or died

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to All on Sun Dec 12 02:00:01 2021
    On Sat, Dec 11, 2021 at 7:04 PM Riccardo Mottola <riccardo.mottola@libero.it> wrote:

    Hi,

    commenting to this topic. I was able to first fix and then upgrade my faitfhul Ultra 2 (*). Equipped now with 2x 396 MHz processors and 1GB of
    RAM, running NetBSD 9 I could for the first time "dare" to install firefox
    52 esr, with all the patches done for it by Martin. I am quite impressed:
    it has no immediately apparent Endianness issues and is capable of browsing without crashing, even performance is acceptable, although of course JS itself is slow. I cannot fully assert speed, since current versions of Xorg are quite slow on the Creator card, as if it running without even 2D acceleration (moving and scrolling is bad, but even with xterm). Images, fonts, interface all display fine. The only broken thing are image operations, but this is a long-standing issue that affects also ArcticFox.
    So all-in-all that FF version is more modern than AF39 and has no more
    issue (compared to non-patched official releases).
    I did not find any rust-basef FFs in NetBSD packages, so I couldn't
    compare.

    Riccardo


    Hello Riccardo,

    yes the FF52 on NetBSD/pkgsrc/sparc64 runs very well... also you can
    install or compile a slightly older seamonkey..2.49 if i remember
    correctly. Then again there is no libreoffice on NetBSD/sparc64 and also
    some other stuff is missing that is available on debian.

    qt stuff has broken dependencies on debian and also some stuff is missing
    that is present in pkgsrc, which is why i use pkgsrc also on debian to
    complete the software collection. However the Mozilla software in pkgsrc ( firefox 52, seamonkey, thunderbird) is not compiling out of box on debian
    and even if you make it compile, the patches in pkgsrc are not taking linux into account it seems and in the end they will not run. I also don't know
    how to make debugging possible on pkgsrc with those..gdb will not give any
    info why and where the bus errors happen.

    On debian i can either run a slightly older version of libreoffice where
    all dependencies are available from snapshot.debian.org or i can compile
    the latest version from pkgsrc when i patch pkgsrc to remove the rustc dependencies everywhere so that it will use the debian provided rustc
    during compiling.
    The latest firefox working from debian repos is firefox 50.1.0, but it is
    less stable than ff52 on NetBSD and has more problems like not saving
    certain settings when i activate and modify toolbars.

    Linux runs more software but is generally less stable for me than NetBSD on
    my machines. I have very strange issues with filesystems where checking
    them will occasionally destroy critical parts of the filesystems. I fixed
    it it somewhat by using xfs and booting up with read-only filesystems. Then
    i execute a few runs of xfs_repair -n on them until i get a stable result.
    Then i can remount to rw and use the systems. Pretty annoying but works reliably.
    Another problem is that i have issues with mouse and keyboard on my Ultra
    25 on certain kernels. 5.2, 5.6, 5.8 will work for example and a 4.19 or
    5.10 kernel will not.

    Regards,
    Connor

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 11, 2021 at 7:04 PM Riccardo Mottola &lt;<a href="mailto:riccardo.mottola@libero.it">riccardo.mottola@libero.it</a>&gt; wrote:<br></div><
    blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>

    commenting to this topic. I was able to first fix and then upgrade my faitfhul Ultra 2 (*). Equipped now with 2x 396 MHz processors and 1GB of RAM, running NetBSD 9 I could for the first time &quot;dare&quot; to install firefox 52 esr, with all the
    patches done for it by Martin. I am quite impressed: it has no immediately apparent Endianness issues and is capable of browsing without crashing, even performance is acceptable, although of course JS itself is slow. I cannot fully assert speed, since
    current versions of Xorg are quite slow on the Creator card, as if it running without even 2D acceleration (moving and scrolling is bad, but even with xterm). Images, fonts, interface all display fine. The only broken thing are image operations, but this
    is a long-standing issue that affects also ArcticFox. So all-in-all that FF version is more modern than AF39 and has no more issue (compared to non-patched official releases).<br>
    I did not find any rust-basef FFs in NetBSD packages, so I couldn&#39;t compare.<br>

    Riccardo<br>
    <br></blockquote><div><br></div><div>Hello Riccardo,</div><div><br></div><div>yes the FF52 on NetBSD/pkgsrc/sparc64 runs very well... also you can install or compile a slightly older seamonkey..2.49 if i remember correctly. Then again there is no
    libreoffice on NetBSD/sparc64 and also some other stuff is missing that is available on debian.</div><div><br></div><div>qt stuff has broken dependencies on debian and also some stuff is missing that is present in pkgsrc, which is why i use pkgsrc also
    on debian to complete the software collection. However the Mozilla software in pkgsrc ( firefox 52,  seamonkey, thunderbird) is not compiling out of box on debian and even if you make it compile, the patches in pkgsrc are not taking linux into account
    it seems and in the end they will not run. I also don&#39;t know how to make debugging possible on pkgsrc with those..gdb will not give any info why and where the bus errors happen.</div><div><br></div><div>On debian i can either run a slightly older
    version of libreoffice where
    all dependencies are available from <a href="http://snapshot.debian.org">snapshot.debian.org</a> or i can
    compile the latest version from pkgsrc when i patch pkgsrc to remove the
    rustc dependencies everywhere so that it will use the debian provided
    rustc during compiling.</div><div></div><div>The latest firefox working from debian repos is firefox 50.1.0, but it is less stable than ff52 on NetBSD and has more problems like not saving certain settings when i activate and modify toolbars.</div><div></
    <div><br></div><div>Linux runs more software but is generally less stable for me than NetBSD on my machines. I have very strange issues with filesystems where checking them will occasionally destroy critical parts of the filesystems. I fixed it it
    somewhat by using xfs and booting up with read-only filesystems. Then i execute a few runs of xfs_repair -n on them until i get a stable result. Then i can remount to rw and use the systems. Pretty annoying but works reliably.</div><div>Another problem
    is that i have issues with mouse and keyboard on my Ultra 25 on certain kernels. 5.2, 5.6, 5.8 will work for example and a 4.19 or 5.10 kernel will not.</div><div><br></div><div>Regards,</div><div>Connor<br></div><div><br></div><div><br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)