New comment by Wychmire on void-packages repository https://github.com/void-linux/void-packages/issues/12835#issuecomment-508953274 Comment: I added ``` pre_build() { rm -f ${XBPS_WRAPPERDIR}/strip } ``` like found in the grub template and it gave me an error about /usr/local being forbidden like you mentioned, so I deleted that chunk and re-ran the build and it works. I installed the package with `sudo xbps-install --repository=hostdir/binpkgs oilshell` and that works too. The issue that caused me to symlink to /usr/local in the first place isn't occurring. I tried to compile it to i686 with `./xbps-src -a i686 pkg oilshell` but readline-devel never gets installed, so it fails. If I remove `--with-readline` from the configure-args if fails with lots of ``` #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." ``` and thenobjcopy --only-keep-debug _build/oil/ovm-opt _build/oil/ovm-opt.symbols objcopy: '_build/oil/ovm-opt': No such file make: *** [Makefile:150: _build/oil/ovm-opt.symbols] Error 1 => ERROR: oilshell-0.6.0_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2 => ERROR: in do_build() at common/build-style/configure.sh:14 ``` So I don't think it supports i686. I attached the whole log regardless ``` If I add /usr/bin/osh to /etc/shells and chsh to it, I can't log into tty2, though all other ttys work. I can log into it with root, or if I chsh back to /bin/bash [i686.log](https://github.com/void-linux/void-packages/files/3365023/i686.log)