Error: spawn /usr/xcc/armv6-unknown-linux-gnueabihf/bin/strip ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Running
prebuildify-cross -i linux-armv6 --napi --strip
results in:We define it here:
https://github.com/prebuild/docker-images/blob/5c35ae480ad6b0c160416c812bda9684c54ea9f5/linux-armv6/Dockerfile#L23
And the value of
CROSS_ROOT
is:There's indeed no
strip
binary there. But there is one here:So we must change the Dockerfile to:
Which matches the other
linux-*
images, e.g.:https://github.com/prebuild/docker-images/blob/5c35ae480ad6b0c160416c812bda9684c54ea9f5/linux-arm64/Dockerfile#L23