After commit bac2c19d2352eb4e984a09c113703cc4840c5bbd, when a system tool is registered as a native_tool_toolchain (like /usr/bin/make) then rules_foreign_cc tries to append the absolute path at the end of $EXT_BUILD_ROOT failing with the following error message.
Can not copy /.../execroot/...//usr/bin/make
Workaround: git revert bac2c19d (on top of current main as well as 0.10.0) resolves the issue.
After commit bac2c19d2352eb4e984a09c113703cc4840c5bbd, when a system tool is registered as a
native_tool_toolchain
(like/usr/bin/make
) then rules_foreign_cc tries to append the absolute path at the end of$EXT_BUILD_ROOT
failing with the following error message.Workaround:
git revert bac2c19d
(on top of current main as well as 0.10.0) resolves the issue.An example BUILD file: