VCVRack / rack-plugin-toolchain

52 stars 12 forks source link

docker-plugin-build failing with Error 127 on Mac #37

Closed Jon-Biz closed 2 weeks ago

Jon-Biz commented 1 month ago

My toolchain stopped working, so I pulled the latest changes of this repo and re-ran make docker-build. The build appeared to complete successfully, but invoking:

make -j$(nproc) docker-plugin-build PLUGIN_DIR=(plugin directory path)

results in the following error message:

docker run --rm --interactive --tty --volume=/Users/Bumpant/Development/VCV/rack-plugin-toolchain/JB:/home/build/plugin-src --volume=/Users/Bumpant/Development/VCV/rack-plugin-toolchain/plugin-build:/home/build/rack-plugin-toolchain/plugin-build --volume=/Users/Bumpant/Development/VCV/rack-plugin-toolchain/Rack-SDK-mac-x64:/home/build/rack-plugin-toolchain/Rack-SDK-mac-x64 --volume=/Users/Bumpant/Development/VCV/rack-plugin-toolchain/Rack-SDK-mac-arm64:/home/build/rack-plugin-toolchain/Rack-SDK-mac-arm64 --volume=/Users/Bumpant/Development/VCV/rack-plugin-toolchain/Rack-SDK-win-x64:/home/build/rack-plugin-toolchain/Rack-SDK-win-x64 --volume=/Users/Bumpant/Development/VCV/rack-plugin-toolchain/Rack-SDK-lin-x64:/home/build/rack-plugin-toolchain/Rack-SDK-lin-x64 --env PLUGIN_DIR=/home/build/plugin-src rack-plugin-toolchain:15 /bin/bash -c "/Applications/Xcode.app/Contents/Developer/usr/bin/make plugin-build "
/bin/bash: line 1: /Applications/Xcode.app/Contents/Developer/usr/bin/make: No such file or directory

Has something changed that no longer allows docker images to access to xcode's make on Macs?

Jon-Biz commented 1 month ago

Please let me know if there is any other information I could provide, thanks.

cschol commented 1 month ago

See the README.md. You have to add MAKE=make before your command on macOS.