Re: Mozilla Software on Sparc64/Linux

2021-12-11 Thread Connor McLaughlan
On Sat, Dec 11, 2021 at 7:04 PM Riccardo Mottola 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

Re: Mozilla Software on Sparc64/Linux

2021-12-11 Thread Riccardo Mottola
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

Re: Mozilla Software on Sparc64/Linux

2021-12-01 Thread Connor McLaughlan
On Wed, Dec 1, 2021 at 12:14 AM John Paul Adrian Glaubitz < glaub...@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 >

Re: Mozilla Software on Sparc64/Linux

2021-11-30 Thread John Paul Adrian Glaubitz
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 Yes, that sounds reasonable. Just try it. > Or is it advised to install a lower gcc for the build? If so,

Re: Mozilla Software on Sparc64/Linux

2021-11-30 Thread Connor McLaughlan
On Tue, Nov 30, 2021 at 11:25 PM John Paul Adrian Glaubitz < glaub...@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: > >

Re: Mozilla Software on Sparc64/Linux

2021-11-30 Thread John Paul Adrian Glaubitz
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,

Re: Mozilla Software on Sparc64/Linux

2021-11-30 Thread Connor McLaughlan
> > > 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

Re: Mozilla Software on Sparc64/Linux

2021-11-28 Thread Connor McLaughlan
On Thu, Nov 25, 2021 at 6:31 PM Connor McLaughlan wrote: > > 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

Re: Mozilla Software on Sparc64/Linux

2021-11-25 Thread Connor McLaughlan
On Tue, Nov 23, 2021 at 10:56 PM John Paul Adrian Glaubitz < glaub...@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. > > >

Re: Mozilla Software on Sparc64/Linux

2021-11-23 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-23 Thread Connor McLaughlan
On Mon, Nov 22, 2021 at 9:30 AM John Paul Adrian Glaubitz < glaub...@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

Re: Mozilla Software on Sparc64/Linux

2021-11-22 Thread John Paul Adrian Glaubitz
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 : :' :

Re: Mozilla Software on Sparc64/Linux

2021-11-21 Thread Connor McLaughlan
On Sun, Nov 21, 2021 at 6:29 AM John Paul Adrian Glaubitz < glaub...@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

Re: Mozilla Software on Sparc64/Linux

2021-11-20 Thread John Paul Adrian Glaubitz
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 -- .''`.

Re: Mozilla Software on Sparc64/Linux

2021-11-20 Thread Connor McLaughlan
On Sat, Nov 20, 2021 at 9:56 PM John Paul Adrian Glaubitz < glaub...@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.

Re: Mozilla Software on Sparc64/Linux

2021-11-20 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-20 Thread Connor McLaughlan
On Sat, Nov 20, 2021 at 11:01 AM John Paul Adrian Glaubitz < glaub...@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 > >

Re: Mozilla Software on Sparc64/Linux

2021-11-20 Thread John Paul Adrian Glaubitz
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 >--> /<>/third_party/rust/url/src/form_urlencoded.rs:261:40 I would suggest downloading and installing rustc

Re: Mozilla Software on Sparc64/Linux

2021-11-19 Thread Connor McLaughlan
On Fri, Nov 19, 2021 at 5:28 PM Connor McLaughlan wrote: > > > On Fri, Nov 19, 2021 at 5:21 PM Connor McLaughlan > wrote: > >> >> On Fri, Nov 19, 2021 at 3:26 PM John Paul Adrian Glaubitz < >> glaub...@physik.fu-berlin.de> wrote: >> >>> On 11/19/21 01:14, Connor McLaughlan wrote: >>> > adding

Re: Mozilla Software on Sparc64/Linux

2021-11-19 Thread Connor McLaughlan
On Fri, Nov 19, 2021 at 5:21 PM Connor McLaughlan wrote: > > On Fri, Nov 19, 2021 at 3:26 PM John Paul Adrian Glaubitz < > glaub...@physik.fu-berlin.de> wrote: > >> On 11/19/21 01:14, Connor McLaughlan wrote: >> > adding "CONFIGURE_FLAGS += --disable-warnings-as-errors" to debian/rules >> >

Re: Mozilla Software on Sparc64/Linux

2021-11-19 Thread Connor McLaughlan
On Fri, Nov 19, 2021 at 3:26 PM John Paul Adrian Glaubitz < glaub...@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

Re: Mozilla Software on Sparc64/Linux

2021-11-19 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-18 Thread Connor McLaughlan
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 < glaub...@physik.fu-berlin.de> wrote: > Hello! > > On

Re: Mozilla Software on Sparc64/Linux

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

Re: Mozilla Software on Sparc64/Linux

2021-11-18 Thread Connor McLaughlan
Hello Adrian, build has started now and i got a build error: /usr/bin/g++ -o Unified_cpp_js_src26.o -c -I/<>/build-browser/dist/system_wrappers -include /<>/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES '-DDLL_PREFIX="lib"'

Re: Mozilla Software on Sparc64/Linux

2021-11-18 Thread John Paul Adrian Glaubitz
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,

Re: Mozilla Software on Sparc64/Linux

2021-11-18 Thread Connor McLaughlan
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),

Re: Mozilla Software on Sparc64/Linux

2021-11-17 Thread John Paul Adrian Glaubitz
> On Nov 18, 2021, at 2:01 AM, Connor McLaughlan 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

Re: Mozilla Software on Sparc64/Linux

2021-11-17 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-17 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-16 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-16 Thread John Paul Adrian Glaubitz
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"

Re: Mozilla Software on Sparc64/Linux

2021-11-16 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-16 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-16 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-16 Thread Connor McLaughlan
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:

Re: Mozilla Software on Sparc64/Linux

2021-11-16 Thread Anatoly Pugachev
On Mon, Nov 15, 2021 at 5:21 PM Connor McLaughlan wrote: > > Hello Anatoly, > > i am using the highest available gdb for sparc64: > root@SunUltra25:/work/firefox62# aptitude versions gdb > i 10.1-2 > unstable

Re: Mozilla Software on Sparc64/Linux

2021-11-16 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-15 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-15 Thread John Paul Adrian Glaubitz
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=0xfff10a7cfe4c ) > at

Re: Mozilla Software on Sparc64/Linux

2021-11-15 Thread Connor McLaughlan
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 wrote: > On Mon, Nov

Re: Mozilla Software on Sparc64/Linux

2021-11-15 Thread Anatoly Pugachev
On Mon, Nov 15, 2021 at 5:10 PM Anatoly Pugachev wrote: > > On Mon, Nov 15, 2021 at 5:00 PM Connor McLaughlan 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

Re: Mozilla Software on Sparc64/Linux

2021-11-15 Thread Anatoly Pugachev
On Mon, Nov 15, 2021 at 5:00 PM Connor McLaughlan 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

Re: Mozilla Software on Sparc64/Linux

2021-11-15 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-15 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-14 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-14 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-14 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-14 Thread Riccardo Mottola
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,

Re: Mozilla Software on Sparc64/Linux

2021-11-10 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-10 Thread Gregor Riepl
> 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? Isn't it possible to add a specific snapshot as

Re: Mozilla Software on Sparc64/Linux

2021-11-10 Thread John Paul Adrian Glaubitz
Hi! On 11/10/21 10:04, Hermann Lauer wrote: > apt-get source > > 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 The better approach is to setup sbuild as explained here:

Re: Re: Mozilla Software on Sparc64/Linux

2021-11-10 Thread Connor McLaughlan
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 <

Re: Re: Mozilla Software on Sparc64/Linux

2021-11-10 Thread Hermann Lauer
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 >

Re: Mozilla Software on Sparc64/Linux

2021-11-09 Thread Connor McLaughlan
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

Re: Mozilla Software on Sparc64/Linux

2021-11-09 Thread John Paul Adrian Glaubitz
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

Re: Mozilla Software on Sparc64/Linux

2021-11-08 Thread Rick Leir
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

Re: Mozilla Software on Sparc64/Linux

2021-11-07 Thread John Paul Adrian Glaubitz
Hello Rick! On 11/7/21 22:44, rl...@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

Re: Mozilla Software on Sparc64/Linux

2021-11-07 Thread rleir
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