bastistician commented on issue #48012: URL: https://github.com/apache/arrow/issues/48012#issuecomment-3473869813
Thanks for having a look! Note that several scripts use `/usr/bin/env bash` as their shebang (and likely use bash-specific features). [`inst/build_arrow_static.sh`](https://github.com/apache/arrow/blob/2289f3143499a0c6a54c724e0b4515b623eb951c/r/inst/build_arrow_static.sh) is one of them and is called from <https://github.com/apache/arrow/blob/2289f3143499a0c6a54c724e0b4515b623eb951c/r/tools/nixlibs.R#L643-L645> (called itself during configure) *without* checking if bash is available. So if bash is not available the installation log shows ``` sh: bash: not found ``` followed by several error messages. The bash requirement is tested in some other places, e.g., <https://github.com/apache/arrow/blob/2289f3143499a0c6a54c724e0b4515b623eb951c/r/tools/nixlibs.R#L823-L826> but apparently not for `build_libarrow()`. I think the scripts involved in the configure step should either be freed from the bash dependency or Bash should be mentioned in the DESCRIPTION SystemRequirements and configuration should fail clearly if that requirement is not fulfilled. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
