Firefox not up-to-date, on 69.0.3, current is 71.0

Problems with packages? Post here, using [tags] of the package name.

Firefox not up-to-date, on 69.0.3, current is 71.0

Postby gerardr » Mon Dec 09, 2019 8:23 pm

Hi!

The most recent package for Firefox on aarch64 is version 69.0.3, while the current release is 71.0. Did builds start failing, or is there some numeric limit in the retrieve function, or ???

Thanks for checking!
gerardr
 
Posts: 11
Joined: Fri Dec 22, 2017 3:13 pm

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby graysky » Mon Dec 09, 2019 8:56 pm

Your mirror is out of date ... it was pushed 6 days ago. https://github.com/archlinuxarm/PKGBUIL ... f44755ec7d
graysky
Developer
 
Posts: 1881
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby moonman » Tue Dec 10, 2019 3:05 pm

https://archlinuxarm.org/packages 69 is still current.
It must have failed to build for some reason.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby graysky » Tue Dec 10, 2019 3:25 pm

$this->bbcode_second_pass_quote('moonman', 'h')ttps://archlinuxarm.org/packages 69 is still current.
It must have failed to build for some reason.


My bad, you are correct.

$this->bbcode_second_pass_code('', '% pacman -Ss firefox
extra/firefox 69.0.3-1
Standalone web browser from mozilla.org
extra/firefox-i18n-ach 71.0-1
Acholi language pack for Firefox
extra/firefox-i18n-af 71.0-1
Afrikaans language pack for Firefox
...')

I didn't scroll to the top of this list to see 69 there... TONS of language packs + PKGBUILD @ 71 put to to the high confidence level.
graysky
Developer
 
Posts: 1881
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby mogwai » Fri Dec 13, 2019 12:04 pm

It's probably due to out-of-memory issues on the builds for armv7h and below. During compilation of firefox on 32bit systems, at several stages it needs more than the complete 32-bit address range. So it's hitting an unsurpassable boundary of the architecture.
I'm assuming that a package version is only released if it can be successfully built on all supported architectures. So, in that case the armv7h build could be holding back the aarch64 build. But that's just my speculation.

I've been trying for several weeks now to compile firefox 70 and 71 for armv7h based on the most recent PKGBUILDs. All my attempts to build it in an armv7h (32bit) environment have failed, both on the physical hardware or on a qemu environment on x86_64 with 32GB of RAM. I've tried many tricks to reduce the memory usage. If you google around, you'll find lots of results for other 32bit distros as well; not only limited to arm as i686 builds suffer from the same problem.
The largest bottleneck now seems to be linking libxul.so. Using distcc will not help to solve that, since linking has to be done on the host machine, thus by definition limited by the 32bit address range.

The only realistic alternative is cross-compiling... Yesterday I've finally managed to cross-compile firefox 71 for armv7h on a x86_64 machine. But I can't yet run and test it on my raspberry pi 3 because the toolchain that I used (from the AUR) has a more recent glibc than the one in the archlinuxarm repositories... Ah well, more fiddling to be done in the next couple of days...
mogwai
 
Posts: 18
Joined: Fri Dec 13, 2019 10:25 am

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby graysky » Fri Dec 13, 2019 12:13 pm

Which toolchain from the AUR did you use? I maintain the PKGBUILD that provides the official Arch ARM toolchain (https://archlinuxarm.org/builder/xtools/) which works fine the last time I used it (19-Nov).
graysky
Developer
 
Posts: 1881
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby mogwai » Fri Dec 13, 2019 12:32 pm

I'm using the "pure" cross-compiling toolchain, not the distcc-based one.
So it's this one (and related packages): https://aur.archlinux.org/packages/arm-linux-gnueabihf-gcc/
As mentioned, any distcc-based approach will still run into the 32bit memory limitations at link stage.

Anywat, it's my bad that I didn't check the libc dependency against the version in the official ARM repository.

Can you actually also use the xtools toolchain for "pure" cross-compilation? I have to admit that I didn't look into that. I had just assumed that xtools only had the minimum tools needed for distcc compilation, so no linker etc.
mogwai
 
Posts: 18
Joined: Fri Dec 13, 2019 10:25 am

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby graysky » Fri Dec 13, 2019 2:00 pm

I have always used the distcc toolchain and never experienced a problem.
graysky
Developer
 
Posts: 1881
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby mogwai » Fri Dec 13, 2019 10:00 pm

Indeed, the xtools toolchain contains everything that's needed to compile straight from x86_64 (e.g. linker etc.). My bad!
I'm now recompiling using this chain. I'm halfway through, and it's still looking good.

NB: I'm building everything from x86_64, so not through distcc from an arm host. I've tried that route for many days, but it always runs out of memory during the linking phase which can exclusively be done on the arm host. It simply looks like certain programs are becoming too big to compile/link on 32-bit hosts.
mogwai
 
Posts: 18
Joined: Fri Dec 13, 2019 10:25 am

Re: Firefox not up-to-date, on 69.0.3, current is 71.0

Postby gerardr » Wed Jan 08, 2020 3:38 pm

Looks like the new version 72.0 builds successfully, as it now shows up in pacman.

I had a similar experience, as I successfully built an aarch64 version of 72.0 on a chromebook with 4GB of RAM but essentially setting the parallel make off by including 'mk_add_options MOZ_MAKE_FLAGS=-j1' in the '.mozconfig' file.
gerardr
 
Posts: 11
Joined: Fri Dec 22, 2017 3:13 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 29 guests