Manjaro ARM’s extra/sccache package is out-of-date for a long time (0.4.2-1 from Apr 2023 vs 0.10.0-2 from Apr 2025 on Arch Linux). It seems to be built by Arch Linux ARM devs, but their forum and package source are unavailable to me. Where should I seek help?
They do not solve ARM packaging issues, only x86-64 ones.
I actually made a patch for the PKGBUILD, to fix the build issues on ARM machines, since dist-server
feature only supports x86-64:
diff --git a/PKGBUILD b/PKGBUILD
index 4c2c9f1..048140a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sccache
pkgver=0.10.0
pkgrel=2
pkgdesc='Shared compilation cache'
-arch=(x86_64)
+arch=(x86_64 aarch64)
url=https://github.com/mozilla/sccache
license=(Apache-2.0)
depends=(
@@ -46,7 +46,7 @@ build() {
# Use LTO
export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
- cargo build --release --frozen --features all,dist-server
+ cargo build --release --frozen
}
#check() {
@@ -56,7 +56,7 @@ build() {
package() {
cd sccache
- install -Dt "$pkgdir/usr/bin" target/release/sccache{,-dist}
+ install -Dt "$pkgdir/usr/bin" target/release/sccache
install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md docs/*
}