bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #57674] regression in make 4.3 with makefile from stdin


From: Natanael Copa
Subject: [bug #57674] regression in make 4.3 with makefile from stdin
Date: Mon, 27 Jan 2020 06:41:57 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?57674>

                 Summary: regression in make 4.3 with makefile from stdin
                 Project: make
            Submitted by: ncopa
            Submitted on: Mon 27 Jan 2020 11:41:55 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.3
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

(I tried to send this to address@hidden but is seems to have been redirected
to /dev/null by some spam filter or similar)

Hi,

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 
all:
        @echo \$(CC)
$ make -sf Makefile 
cc
$ 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 -`

https://cvsweb.bsd.lv/mandoc/configure?rev=1.71&content-type=text/x-cvsweb-markup


Downstream bug report:
https://gitlab.alpinelinux.org/alpine/aports/issues/11163

Thanks!

-nc





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57674>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]