New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aur-chroot: confusion between armv7h and armv7l #810
Comments
There's nothing I can do about this with the current It could be done differently in a standalone |
This is a dirty hack, but I personally solve this on my Pi 1B (same issue but with armv6) with this patch to
|
https://archlinux.org/packages/extra/any/devtools/ is now at 20211129-1. ALARM still seems to be at the previous version. As far as I understand the commit message, one would have to create
in the devtools source directory, with contents
then set the basename in the Makefile
Then do the same for other architectures as required. All this would ideally be adopted by ALARM when they update their devtools package. |
When running on a Raspberry Pi 4 with a 32 bits kernel,
uname -m
reportsarmv7l
. Despite that, the packages are built forarmv7h
- and that's the architecture set in thepacman.conf
.With that said, running this command:
With in the
makepkg-chroot.conf
:And in the
pacman-chroot.conf
:(Both taken from the base Archlinux installation)
This gives:
setarch --list
:If in the
makepkg-chroot.conf
I setCARCH="armv7l"
, it works - but the packages end up being built for the wrong architecture.I'm not really sure what's calling
setarch
, but I'm not sure theCARCH
value is the proper reference here. MaybeCHOST
would be better?The text was updated successfully, but these errors were encountered: