Created attachment 202385 [details] SHEBANG_FILES patch - Add src/internal/x/fiximports.bash to SHEBANG_FILES QA: poudriere testport: OK (112a, 120a)
Created attachment 202386 [details] remove pkg/bootstrap I also thought it would be a good opportunity to update port to not install pkg/bootstrap which is go14-compiled bootstrapping toolchain and is not needed after build.
*** Bug 236064 has been marked as a duplicate of this bug. ***
Created attachment 202485 [details] [patch] add missing shebangfix file, v2 This version of the patch addresses the missing fiximports.bash and also removes perl from SHEBANG_LANG since that is already added in Mk/Uses/shebangfix.mk (causing perl to be in the list twice).
(In reply to John Hein from comment #3) Has anyone suggested to upstream that they not specify bash in the shebang for all these scripts that don't need bash features? Good for them that they are not coding with non-posix bashisms, but why not use #!/bin/sh?
(In reply to John Hein from comment #4) It looks like a few of the bash scripts really do have bashisms. For example: IFS=$'\n' . make.bash "$@" --no-banner '&>' So this port should probably not be using /bin/sh in shebangs - at least not in those scripts using the bashisms. Of course, those bashisms could pretty easily be converted to posix - then using /bin/sh would be fine. p.s. Sorry for hijacking the bug. The bash vs sh issue is really a separate bug.
*** Bug 236159 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 236159 ***