Cannot install local pkg
I've build some packages for aarch64 (aarch64-none-linux-gnu-gcc-10.3-bin
and bazelisk
). I need them as build dependencies for another package (stt
) so I try to install the local package to build but this happens:
❯ sudo buildarmpkg -p stt -a aarch64 -i aarch64-none-linux-gnu-gcc-10.3-bin.pkg.tar.zst,bazelisk-1.12.0-1-aarch64.pkg.tar.zst
declare -a packages=([0]="aarch64-none-linux-gnu-gcc-10.3-bin.pkg.tar.zst" [1]=$'bazelisk-1.12.0-1-aarch64.pkg.tar.zst\n')
File found: aarch64-none-linux-gnu-gcc-10.3-bin.pkg.tar.zst
aarch64-none-linux-gnu-gcc-10.3-bin.pkg.tar.zst is compatible with aarch64
File found: bazelisk-1.12.0-1-aarch64.pkg.tar.zst
bazelisk-1.12.0-1-aarch64.pkg.tar.zst is compatible with aarch64
==> Building stt for aarch64...
-> Removing old rootfs...
==> Creating rootfs...
-> Switching branch to stable...
==> Creating install root at /var/lib/manjaro-arm-tools/pkg/aarch64
==> Installing packages to /var/lib/manjaro-arm-tools/pkg/aarch64
...
~~~
...
==> Configuring rootfs for building...
:: Synchronizing package databases...
core 270.6 KiB 307 KiB/s 00:01 [######################] 100%
extra 2.5 MiB 1060 KiB/s 00:02 [######################] 100%
community 6.6 MiB 1964 KiB/s 00:03 [######################] 100%
-> Installing local package {aarch64-none-linux-gnu-gcc-10.3-bin.pkg.tar.zst,bazelisk-1.12.0-1-aarch64.pkg.tar.zst} to rootfs...
declare -a packages=([0]="aarch64-none-linux-gnu-gcc-10.3-bin.pkg.tar.zst" [1]=$'bazelisk-1.12.0-1-aarch64.pkg.tar.zst\n')
List of packages to add:
/home/waser/Repository/aarch64-none-linux-gnu-gcc-10.3-bin.pkg.tar.zst
/home/waser/Repository/bazelisk-1.12.0-1-aarch64.pkg.tar.zst
loading packages...
error: '/var/cache/pacman/pkg/aarch64-none-linux-gnu-gcc-10.3-bin.pkg.tar.zst': could not find or read package
error: '/var/cache/pacman/pkg/bazelisk-1.12.0-1-aarch64.pkg.tar.zst': could not find or read package
ERROR:
There was a problem with installing the local package/s.
Please,check the logs.
The readme says to make a dir with the pkg(s) inside but that changed a while ago. I never needed a local pkg so maybe I'm doing something wrong here...
Manjaro ARM Tools: 2.10.9-1
Linux Manjaro 5.15.55-1-MANJARO #1 SMP PREEMPT Fri Jul 15 09:45:39 UTC 2022 x86_64 GNU/Linux