bootstrap: abuild does not fill in arch into repo path
The generated repo path for the cross compiled packages is supposed to be ~/packages/repo/
arch/. However, it doesn't.
It looks like that when aliasing abuild to abuild -v in bootstrap.sh, and setting -x:
+ repo_args='--repository '"'"'/home/buildozer/packages//main'"'"
+ eval abuild-apk add --wait 30 --repository ''"'"'/home/buildozer/packages//main'"'" --virtual .makedepends-gcc-aarch64 '$@'
+ abuild-apk add --wait 30 --repository /home/buildozer/packages//main --virtual .makedepends-gcc-aarch64 --quiet --simulate musl-dev binutils-aarch64 gcc g++ bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev gcc-gnat linux-headers isl-dev '!gettext-dev' libucontext-dev
ERROR: unable to select packages:
binutils-aarch64 (no such package):
required by: .makedepends-gcc-aarch64-20210717.002454[binutils-aarch64]
+ return
+ return 1
As can be seen, the arch is missing in the --repository
value, so that doesn't work. But even when fixing that, the dependency is not found, although it is available in the repository. So what am I missing?