[bug #57022] Error 127 executing a script with no #!

2019-12-26 Thread Paul D. Smith
Update of bug #57022 (project make): Status:None => Fixed Assigned to:None => psmith Open/Closed:Open => Closed Fixed Release:

[bug #57022] Error 127 executing a script with no #!

2019-10-14 Thread Dmitry Goncharov
Follow-up Comment #6, bug #57022 (project make): Submitted a new test features/exec which reproduces this bug. https://lists.gnu.org/archive/html/bug-make/2019-10/msg00046.html ___ Reply to this item at:

[bug #57022] Error 127 executing a script with no #!

2019-10-11 Thread Martin Dorey
Follow-up Comment #5, bug #57022 (project make): Argh, all those hours fighting autoconf to now see Dmitry had already sent a similar patch. I see Paul didn't like the cross-compilation issue. That was when it just looked like an ENOENT problem, which he could sensibly solve at runtime, before

[bug #57022] Error 127 executing a script with no #!

2019-10-10 Thread Dmitry Goncharov
Follow-up Comment #4, bug #57022 (project make): 1. gmake posix_spawn's dodgy 2. fork inside posix_spawn succeeds and posix_spawn returns 0. 3. gmake skips fallback to /bin/sh because posix_spawn's return code is not enoexec. 4. posix_spawn's child proceeds to exec dodgy and fails 5. posix_spawn

[bug #57022] Error 127 executing a script with no #!

2019-10-09 Thread Martin Dorey
Follow-up Comment #3, bug #57022 (project make): > SHELL = /bin/bash ... > the bug does not show up). Good spot, thanks Denis. I see the same. I see a "goto slow" code path in the source when the shell isn't /bin/sh. I don't suppose you had a chance to try my attached configure.ac patch?

[bug #57022] Error 127 executing a script with no #!

2019-10-09 Thread anonymous
Follow-up Comment #2, bug #57022 (project make): I forgot to say that SHELL = /bin/sh does _not_ work, you have to use SHELL = /bin/bash Denis Excoffier. ___ Reply to this item at:

[bug #57022] Error 127 executing a script with no #!

2019-10-09 Thread anonymous
Follow-up Comment #1, bug #57022 (project make): I add that if the Makefile contains the line SHELL = /bin/bash the behaviour of make-4.2.92 is iaw make-4.2.1 (that is the bug does not show up). This is perhaps not enough explicit in the original bug report. In other words, to be able to run

[bug #57022] Error 127 executing a script with no #!

2019-10-08 Thread Martin Dorey
URL: Summary: Error 127 executing a script with no #! Project: make Submitted by: mdorey Submitted on: Tue 08 Oct 2019 05:29:37 PM PDT Severity: 3 - Normal Item Group: