No aarch64 branch naming since 4.26 #195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Since 4.26 update, it is defaulting to
stableinsteadarm-stableI am not sure if this is pkgbuild issue or the source issue.
Example: We normally have arm-stable as default but since the new update it is defaulting to
stableinsteadarm-stableError from the package
hmmm - pacman-mirrors check the runtime architecture - it will apply
arm-internally - this should not have changed.I cannot deduce what this would be from the output provided - it seems to be a CI.
The default config will always be stable - so if you are looking the .pacnew then it is correct - at least for what I know - perhaps there is a separate PKGBUILD for arm architecture - I have not checked that option.
The pacman-mirrors package itself is architecture agnostic - in the sense that the architecture is read from the system at runtime and the
arm-prefix is applied to the config if aarch64 is detected.I just checked the build process on a rpi5 using the PKGBUILD in packages/core/pacman-mirrors.
It generates no errors - perhaps you could provide some more insight ?
Did you solve the issue ? I have checked a fresh sdcard build using
manjaro-arm-installer- switching the final install to unstable, sync'ing with the repo provides a functional pacman-mirrors 4.26.1-1.If I had run
manjaro-arm-installer arm-unstableI imagine I would have gotten 4.26.1 from the beginning.@spikerguy Apparently it's something with your CI. I've been able to build ARM packages just fine.
I'm closing the issue as it has nothing to do with
pacman-mirrors.@spikerguy you can fix that by a sed command if it still cause issues...
Can someone confirm how does it detect the arch of the host ?
Cause it looks like the detection method have changed ?
We have not done any change to the build CI other than pacman-mirrors pkg got updated.
We can still build images on arm-stable and arm-testing branches as they still have 4.24 pkg.
@yochananmarqos1 please wait for few days before closing an issue.
We also have ARCH defined in our pacman-conf.aarch64 which gets pulled.
Unless it skips if after failing to find SyncFirst command here.
we already have sed but it resets to
StableCan be seen here
Dan's comments:
https://github.com/manjaro-arm/rootfs/blob/master/.github/workflows/aarch64_base_unstable_docker_build.yaml#L150
sed does not seem to help,
https://gitlab.manjaro.org/applications/pacman-mirrors/-/blob/master/pacman_mirrors/pacman_mirrors.py?ref_type=heads#L106
But that doesn't seem to be the issue.
I cannot deduce what is the issue as I don't know the environment.
https://gitlab.manjaro.org/applications/pacman-mirrors/-/blob/master/pacman_mirrors/functions/util.py?ref_type=heads#L81-90
If it is a comment from Dan - then you should look at the timestamp for that change - it could be anything.
The architecture check is provided by the python platform package.
The message in your log is created by pacman-mirrors (functions->config_setup.py->line126)
Usually the line reads
If for some reason the pacman.conf file used has an uncommented value - the error is thrown. This is intended as one would be able to manually alter the config and cause severe system issues with incompatible packages.
The solution as I see it - is to ensure the CI is using the correct default file.
Just for the sake of testing - I installed manjaro-arm-tools and ran a buildimg on my workstation (x86)
I have never done this before - I assume the errors thrown has no impact as it seems to be some internal cleaning which fails due mounts still active.
This line in your CI
https://github.com/manjaro-arm/rootfs/blob/master/.github/workflows/aarch64_base_unstable_docker_build.yaml#L136
appears to be targeting the wrong file - if anything at all - it should be pacman-mirrors.conf
But you don't need to use sed to modify - pacman-mirrors can do it for you using the API
Just tried with the api call PR
I even compiled a new
pacman-mirrorswith latest python from arm-unstable branchThe api call fails with this
A user have reported some issue with the new package.
https://forum.manjaro.org/t/pacman-mirror-update-error/164810
Sorry, I typed something dumb and then deleted it. Nevermind...
Why are you building the package for arm ?
The code is architecture agnostic - there is no need - but if you absolut must ... be sure to build from the correct pkgbuild
https://gitlab.manjaro.org/packages/core/pacman-mirrors
I get it - pacman-mirrors has been updated - CI fails - pacman-mirrors is the fault.
That message shows an incomplete pacman-mirrors - I have no idea how you build it
Build on rpi5
There is no need to mess with branch - unless it is for changing the hardcoded repo path in pacman.conf.$ARCH - I admit - that confused me a lot.
Why hardcode the server ? It is simple to use the mirrorlist.
If you need something specifically for the build process, the API is created for that purpose
You can even target a configuration in an arbitrary folder - change branch and manipulate the mirrorlist to use the branch as well
See the documentation
The package currently in arm-unstable 4.26.1-3 does not match the aarch64 system python at 3.12.
http://mirror.easyname.at/manjaro/arm-unstable/core/aarch64/pacman-mirrors-4.26.1-3-any.pkg.tar.zst
The package installs to python3.11 site-packages.
This will be causing the error mentioned above with a forum link - https://forum.manjaro.org/t/pacman-mirror-update-error/164810
I am trying to reproduce the error message from the orginal topic.
There is something fishy with the set-branch command when running on arm device.
When experimenting a little I find the set-branch to correctly alter the branch but then it throws the error message and a non-zero exit-code which is likely why the CI fails.
mentioned in merge request !350
mentioned in commit
7a1813a73e@spikerguy
The mention of this issue in the MR and the merge of it autoclosed the issue.
It was indeed an issue with the pacman-mirrors code.
The issue has never been brought to my attention - why it only surfaced now - I have no idea.
Please update your PKGBUILD from my merge reqest https://gitlab.manjaro.org/packages/core/pacman-mirrors/-/merge_requests/3
Your CI will fail again if you don't change
To