To get oolite 1.90 to build on archlinux I have had to make 3 changes to prevent build failure
Apply https://github.com/OoliteProject/oolite ... 6a92647363 from master
-Wno-error=incompatible-pointer-types
(not needed on master build)
-Wno-format-security (also needed on master)
Adding a 1.90 branch where fixes for 1.90 can be added would make it easier for downstream to keep oolite 1.90 usable .
Create a separate branch for 1.90 ?
Moderators: winston, another_commander
Create a separate branch for 1.90 ?
OS : Arch Linux 64-bit - rolling release
From: The Netherlands, Europe
OXPs : My user page
(needs updating)
Retired, occasionally active
From: The Netherlands, Europe
OXPs : My user page
(needs updating)
Retired, occasionally active
- phkb
- Impressively Grand Sub-Admiral
- Posts: 5380
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Create a separate branch for 1.90 ?
Two questions:
1. Does the latest main branch for 1.91 build successfully on your rig?
2. Do the pre-built Linux binaries for 1.90 not work on your rig?
I guess from a core dev perspective, all our effort is going into 1.91. Creating a branch for 1.90 and then backporting all the "bugfix" issues would still only cover WIndows easily, Linux with difficulty, and Mac not at all, given the state of our build environment. This was the reason we didn't create a bugfix build to correct the URL for the download manager, and instead we used a hex editor to adjust the executables in the pre-built packages.
1. Does the latest main branch for 1.91 build successfully on your rig?
2. Do the pre-built Linux binaries for 1.90 not work on your rig?
I guess from a core dev perspective, all our effort is going into 1.91. Creating a branch for 1.90 and then backporting all the "bugfix" issues would still only cover WIndows easily, Linux with difficulty, and Mac not at all, given the state of our build environment. This was the reason we didn't create a bugfix build to correct the URL for the download manager, and instead we used a hex editor to adjust the executables in the pre-built packages.
Re: Create a separate branch for 1.90 ?
Are you referring to the "Oolite for 64-bit Linux" link on https://oolite.space/#download ?2. Do the pre-built Linux binaries for 1.90 not work on your rig?
I have the impression that is only usable for per-user installs and have never tried it.
Archlinux does some things differently then most distros so adjustments are often needed.
Those adjustments are easiest done by building from source to create binaries for systemwide usage that are managed by our package manager pacman.
EDIT
See viewtopic.php?t=21936 for my experience with 1.90 prebuilt .
<end-of-edit>
Yes, but some adjustments are needed.1. Does the latest main branch for 1.91 build successfully on your rig?
Two adjustments are mandatory to make things work with 1.91 Release target :
- add OBJCFLAGS+="-Wno-format-security" to the make command to suppress format-security errors
(solving that will require sourcecode changes)
- force the use of libpng14
oolite build system looks for png , finds libpng 16 (if present), stops searching and links to it.
When only libpng 14 is installed, the build system doesn't find png.
The link with libpng 16 causes issues at runtime : menu items are shown as colored bricks without any text.
Patching one line in GNUMakefile to explicitly link to png14 instead of png solves this.
A 3rd adjustment I make is to use espeak-ng instead of espeak.
oolite works with both, but espeak & espeak-ng can't coexist on archlinux so using the maintained espeak-ng is better .
Last edited by Lone_Wolf on Tue Aug 19, 2025 12:10 pm, edited 1 time in total.
OS : Arch Linux 64-bit - rolling release
From: The Netherlands, Europe
OXPs : My user page
(needs updating)
Retired, occasionally active
From: The Netherlands, Europe
OXPs : My user page
(needs updating)
Retired, occasionally active
Re: Create a separate branch for 1.90 ?
I've successfully used 1.6, the only issue being a load of log noise, which I've shown a workaround for..Lone_Wolf wrote: ↑Mon Aug 18, 2025 10:45 am- force the use of libpng14
oolite build system looks for png , finds libpng 16 (if present), stops searching and links to it.
When only libpng 14 is installed, the build system doesn't find png.
The link with libpng 16 causes issues at runtime : menu items are shown as colored bricks without any text.
Patching one line in GNUMakefile to explicitly link to png14 instead of png solves this.
My fork uses ng too. Seems the best plan.