Often builds fail on ALARM, but work on Manjaro.
Draft: Run CI on ArchLinuxARM #8
ci-on-arch into master
Does CI need to be approved or something?
Yep. I have to spin up a (paid) instance at https://www.equinix.com/ for the aarch64 builds, so those don't automatically run.
Can you give me some more details why/how builds fail on ALARM? I'm somewhat torn on what to build on: Many people seem to use Manjaro on aarch64 devices, so building it with that in mind seemed reasonable back then, but considering it sometimes seems to lag behind for a week or two with dependencies, that's not optimal as well.
Still, things seem to have worked so far with the resulting binaries for most users, so I'd not want to change it if not for a good reason.
The exact issue building has varied over time, and most of the times I've no idea what's causing it.
Currently, it's:
:: Resolving dependencies...
error: could not find all required packages:
wasi-libc>=1:0+258+30094b6 (wanted by: librewolf)
So it seems that there's a dependency on a package that's available on x86_64 but hasn't built on aarch64 yet.
Yep. I have to spin up a (paid) instance at https://www.equinix.com/ for the
aarch64builds, so those don't automatically run.
Lemme try and see if I can figure out something better for this. :)
Luckily, the wasi-packages are any-packages, so you can just use the ones from Arch.
(I've added the version constraints for things to fail early, until ALARM provides the updated ones – otherwise, it'll fail an hour in or so).
I've worked around that issue for the CI builds like this: https://gitlab.com/librewolf-community/browser/arch/-/blob/master/ci.build.sh#L9-17
Luckily, the wasi-packages are any-packages, so you can just use the ones from Arch.
Yeah, downstream ALARM seems to rebuild those. I've mentioned that they can just mirror upstream's, but it's fallen on deaf years.
I'll try to set up my own runner somehow and let you know -- I need a builder/runner other aarch64 arch packages anyway.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?