Repositories for supported Debian, Raspbian, and Ubuntu releases

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-05-17, 00:59

I've got 32.2.0 built for the OBS repos for i386, amd64, and arm64 architectures, (will try the EOL Ubuntu 18.04 amd64 problem children tomorrow), but all the 32-bit ARM (armhf/armv71) builds are now failing during the configure process right at the start with a new Python 2.7 error message:

Code: Select all

 The error occurred while processing the following file:
[  498s] 
[  498s]     /usr/src/packages/BUILD/platform/js/src/moz.build
[  498s] 
[  498s] The error was triggered on line 653 of this file:
[  498s] 
[  498s]     UNIFIED_SOURCES += jit_ioncheck2_deunified_sources
[  498s] 
[  498s] An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
[  498s] 
[  498s] The error as reported by Python is:
[  498s] 
[  498s]     ["NameError: name 'jit_ioncheck2_deunified_sources' is not defined\n"]
[  498s] 
[  498s] *** Fix above errors and then restart with\
[  498s]                "make -f client.mk build"

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35583
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Moonchild » 2023-05-17, 08:30

Try building with ac_add_options --disable-js-lto in mozconfig. I'm thinking it might not satisfy the config checks in place on ARM32
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 783
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by jobbautista9 » 2023-05-17, 08:41

The bustage will still occur even with --disable-js-lto, as JS_LTO is already not defined in non-Windows. For some reason JS_SIMULATOR_ARM isn't defined, which means this assignment never occurs:

Code: Select all

    if CONFIG['JS_SIMULATOR_ARM']:
        jit_ioncheck2_deunified_sources = [
            'jit/arm/Simulator-arm.cpp'
        ]
    elif CONFIG['OS_ARCH'] == 'Darwin':
        jit_ioncheck2_deunified_sources = [
            'jit/arm/llvm-compiler-rt/arm/aeabi_idivmod.S',
            'jit/arm/llvm-compiler-rt/arm/aeabi_uidivmod.S',
        ]
Which leaves jit_ioncheck2_deunified_sources undefined.

Weird that it succeeds in ARM64 though! Might want to find out why JS_SIMULATOR_ARM64 is being defined but not JS_SIMULATOR_ARM.

For now you can try fixing this temporarily by changing the following lines in js/src/moz.build from this:

Code: Select all

    if CONFIG['ENABLE_ION']:
        UNIFIED_SOURCES += jit_ioncheck2_deunified_sources
to this:

Code: Select all

    if CONFIG['ENABLE_ION'] and not CONFIG['JS_SIMULATOR_ARM']:
        UNIFIED_SOURCES += jit_ioncheck2_deunified_sources
Really wish I have an ARM machine right now...
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35583
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Moonchild » 2023-05-17, 09:16

JS_SIMULATOR_ARM would only be set if you're building on an ARM simulator (which is x86 only), not on ARM hardware. I'm guessing 64-bit would bail on not being x86...

You could also just make sure it's defined as an empty array beforehand? that way it's always defined even if nothing is added to it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 783
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by jobbautista9 » 2023-05-17, 09:27

Moonchild wrote:
2023-05-17, 09:16
JS_SIMULATOR_ARM would only be set if you're building on an ARM simulator (which is x86 only), not on ARM hardware. I'm guessing 64-bit would bail on not being x86...
That makes sense.
Moonchild wrote:
2023-05-17, 09:16
You could also just make sure it's defined as an empty array beforehand? that way it's always defined even if nothing is added to it.
Good thinking, I will do that! :D
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 783
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by jobbautista9 » 2023-05-17, 10:16

Created PR Issue #2248 (UXP). stevepusser, can you test if that fixes building for armhf?
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-05-17, 21:56

I'll take a whack at it. At least the error is right at the start, instead of deep in the compilation, which takes hours in the emulated arm 32 machines.

To be sure, I'm not building on any ARM hardware myself. If I understand it correctly, the OBS build farm is also emulating ARM hardware on what is probably x86-64 hardware using QEMU.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35583
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Moonchild » 2023-05-17, 22:38

stevenpusser wrote:
2023-05-17, 21:56
If I understand it correctly, the OBS build farm is also emulating ARM hardware on what is probably x86-64 hardware using QEMU.
That wouldn't make a difference here -- for the build system it would seem to be running on ARM hardware; whether that hardware is emulated under the hood or not doesn't matter. The "simulator" stuff in the build system seems to be something run inside an existing intel environment, but I have no knowledge otherwise of it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-05-18, 12:46

The fix worked, so I will merge the two commits into one patch so it looks more like I know what I am doing, and upload updated sources to the OBS later this morning.

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-05-18, 20:49

And also the separate 32.2.0 Ubuntu Bionic packages are built, but the users will probably have to "go to the download repository" manually to get the deb.

User avatar
Mæstro
Lunatic
Lunatic
Posts: 463
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Mæstro » 2023-05-18, 20:56

I had got today an upgrade from a first to another version of v32·2 today in Mint Upgrade. Is there some bug in the first one, or is this ‘upgrade’ safe to skip?
Browser: Pale Moon (Pusser’s repository for Debian)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 LTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Formerly user TheRealMaestro: æsc is the best letter.

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-05-19, 21:39

You can safely ignore that update if you are really concerned with bandwidth, as the update just has the patch to fix the armhf architecture builds.

I also see that Ubuntu 18.0.4 can't be considered dead now until 2028...https://ubuntuhandbook.org/index.php/20 ... es-ubuntu/

User avatar
Pentium4User
Board Warrior
Board Warrior
Posts: 1131
Joined: 2019-04-24, 09:38

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Pentium4User » 2023-05-31, 07:29

stevenpusser wrote:
2023-05-19, 21:39

I also see that Ubuntu 18.0.4 can't be considered dead now until 2028...https://ubuntuhandbook.org/index.php/20 ... es-ubuntu/
If you really want to support such old systems, feel free, but most developers stop it because ESM is only available in certain situations and must be paid except for private people with a small amount of machines.
The profile picture shows my Maico EC30 E ceiling fan.

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-06-21, 01:13

Uploaded sources for 32.2.1 to the OBS. Except for the Ubuntu 18.04 ones, will try to make time for those tomorrow, but am pretty darn busy with helping MX 23 development.

Intel x86_64 and x86 packages as usual should be done within an hour, with ARM taking several times longer. I've built Debian 11-based MX 21 64-bit and 32-bit packages locally already on my laptop, now am doing the same for Debian 10 MX 19. Letting the OBS do all the ARM ones and MX 23 ones overnight, I gotta quit for the day soon.

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-06-27, 23:32

Ubuntu 18.04 packages should now be available. Trying to fix builds for last three Ubuntu releases now, plus upstream Debian...

User avatar
Drugwash
Fanatic
Fanatic
Posts: 218
Joined: 2016-01-28, 12:08
Location: Ploieşti, Romania
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Drugwash » 2023-06-28, 07:16

Steven, thank you for continuing to work on the 18.04/Bionic packages. :thumbup:

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-07-16, 22:28

Drugwash wrote:
2023-06-28, 07:16
Steven, thank you for continuing to work on the 18.04/Bionic packages. :thumbup:
Bionic packages for 32.3.0 have successfully built, as well as for most of the released Ubuntu and Debian versions. Debian testing and Sid are failing, though. Sid recently switched to gcc-13 by default, but Trixie (testing) still has the gcc-12 that is working elsewhere. Will have to do some forensics later.

User avatar
Drugwash
Fanatic
Fanatic
Posts: 218
Joined: 2016-01-28, 12:08
Location: Ploieşti, Romania
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Drugwash » 2023-07-16, 23:08

Great news about Bionic, thank you! :thumbup: Gotta fire up the updater as it's set to manual. ;)
Hope you manage to fix the remaining ones soon. Good luck!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35583
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Moonchild » 2023-07-16, 23:19

Steve, be aware we'll be having another release this coming week (32.3.1) to address some pretty important issues with the platform. If some target platforms aren't building at the moment you may want to hold off to the point release.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2023-07-17, 15:37

Got it!

Post Reply