amoeba commented on issue #44458: URL: https://github.com/apache/arrow/issues/44458#issuecomment-2429894386
Hi @MichalLauer, thanks for the report. I can confirm this fails in the same way for me on a Windows machine. I'm not sure when this stopped working but I do believe it worked at some point. My best guess is that this broke whenever Microsoft added a stub `bash.exe` to C:\Windows\System32 which (1) is not bash but really just a launcher for WSL and (2) now tricks our script: https://github.com/apache/arrow/blob/bcb4653c6387a2b22df52a3bbc91317607abdccc/r/R/install-arrow.R#L184-L190 Previously this stopped if you didn't have bash but now continues if you have this bash stub in your %PATH% but then goes on to try to use the stub to run the download script which doesn't work. I think we assume the user running `create_package_with_all_dependencies` has Rtools installed which provides bash so I think the best fix here is to change the routine in the above code snippet to detect when bash is this WSL launcher. @assignUser any thoughts on that approach? -- 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]
