librewolf/arch
13
62
Fork
You've already forked arch
16

Draft: Run CI on ArchLinuxARM #8

Open
WhyNotHugo wants to merge 1 commit from ci-on-arch into master
pull from: ci-on-arch
merge into: librewolf:master
librewolf:master
librewolf:jack
librewolf:aarch64
WhyNotHugo commented 2022年07月18日 20:49:38 +02:00 (Migrated from gitlab.com)
Copy link

Often builds fail on ALARM, but work on Manjaro.

Often builds fail on ALARM, but work on Manjaro.
WhyNotHugo commented 2022年07月18日 20:50:47 +02:00 (Migrated from gitlab.com)
Copy link

Does CI need to be approved or something?

Does CI need to be approved or something?
ohfp commented 2022年07月26日 11:41:33 +02:00 (Migrated from gitlab.com)
Copy link

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.

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.
WhyNotHugo commented 2022年07月31日 16:43:03 +02:00 (Migrated from gitlab.com)
Copy link

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 aarch64 builds, so those don't automatically run.

Lemme try and see if I can figure out something better for this. :)

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 `aarch64` builds, so those don't automatically run. Lemme try and see if I can figure out something better for this. :)
ohfp commented 2022年08月01日 19:11:57 +02:00 (Migrated from gitlab.com)
Copy link

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. (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
WhyNotHugo commented 2022年08月02日 20:15:54 +02:00 (Migrated from gitlab.com)
Copy link

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.

> 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.
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin ci-on-arch:ci-on-arch
git switch ci-on-arch

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.

git switch master
git merge --no-ff ci-on-arch
git switch ci-on-arch
git rebase master
git switch master
git merge --ff-only ci-on-arch
git switch ci-on-arch
git rebase master
git switch master
git merge --no-ff ci-on-arch
git switch master
git merge --squash ci-on-arch
git switch master
git merge --ff-only ci-on-arch
git switch master
git merge ci-on-arch
git push origin master
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
librewolf/arch!8
Reference in a new issue
librewolf/arch
No description provided.
Delete branch "ci-on-arch"

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?