Has anyone successfully built this in a chroot? When I try, I get this error:
$ makechrootpkg -r $CHROOT -I /var/lib/repo/aur/nvm-0.39.1-1-any.pkg.tar.zst
[snip...]
==> Starting build()...
Downloading and installing node v16.14.2...
Binary download failed, trying source.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check [/path/to/chroot/user/build]
It's clearly failing at the nvm install
command, but I'm not sure why this happens because building outside of a chroot works fine. I can also run nvm install v16.14.2
in some random dir and that works fine as well.
Pinned Comments