Summary: regression in make 4.3 with makefile from stdin
Submitted by: ncopa
Submitted on: Mon 27 Jan 2020 11:41:55 AM UTC
Severity: 3 - Normal
Item Group: Bug
Assigned to: None
Discussion Lock: Any
Component Version: 4.3
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
(I tried to send this to [hidden email] but is seems to have been redirected
to /dev/null by some spam filter or similar)
I believe there is a regression in make 4.3. To reproduce:
$ make -v
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ cat Makefile
$ make -sf Makefile
$ cat Makefile | env -i make -sf -
make: echo: No such file or directory
make: *** [/tmp/GmOCOMgl:2: all] Error 127
Problem was found in the configure script of mandoc (mdocml).
CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`