Failed to build go packges without `GOCACHE` in `APKBUILD` after enable `MOVE_CACHES`
version: abuild-3.14.0_rc2-r2, go-1.23.2-r0
How to reproduce
- Uncomment
MOVE_CACHES=1
in/etc/abuild.conf
- Build go package without
GOCACHE
set
example: (community/forgejo-runner
)# abuild -r -f >>> forgejo-runner: Building community/forgejo-runner 3.5.1-r0 (using abuild 3.14.0_rc2-r2) started Fri, 11 Oct 2024 15:48:35 +0800 >>> forgejo-runner: Validating /home/lindsay/src/aports/community/forgejo-runner/APKBUILD... >>> WARNING: forgejo-runner: Setting the maintainer with a comment is deprecated. Use maintainer="Patrycja Rosa <alpine@ptrcnull.me>" instead >>> forgejo-runner: Analyzing dependencies... >>> forgejo-runner: Installing for build: build-base go (1/1) Installing .makedepends-forgejo-runner (20241011.074838) OK: 4296 MiB in 1025 packages >>> forgejo-runner: Cleaning up srcdir >>> forgejo-runner: Cleaning up pkgdir >>> forgejo-runner: Cleaning up tmpdir >>> forgejo-runner: Fetching forgejo-runner-3.5.1.tar.gz::https://code.forgejo.org/forgejo/runner/archive/v3.5.1.tar.gz >>> forgejo-runner: Fetching forgejo-runner-3.5.1.tar.gz::https://code.forgejo.org/forgejo/runner/archive/v3.5.1.tar.gz >>> forgejo-runner: Checking sha512sums... forgejo-runner-3.5.1.tar.gz: OK forgejo-runner.logrotate: OK forgejo-runner.initd: OK forgejo-runner.confd: OK >>> forgejo-runner: Unpacking /var/cache/distfiles/forgejo-runner-3.5.1.tar.gz... go: creating work dir: stat /home/lindsay/src/aports/community/forgejo-runner/tmp: no such file or directory >>> ERROR: forgejo-runner: build failed >>> forgejo-runner: Uninstalling dependencies... (1/1) Purging .makedepends-forgejo-runner (20241011.074838) OK: 4296 MiB in 1024 packages
Edited by Lindsay Zhou