[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57962] apparent regression involving PATH resolution
From: |
Frederick Eaton |
Subject: |
[bug #57962] apparent regression involving PATH resolution |
Date: |
Thu, 5 Mar 2020 23:24:41 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<https://savannah.gnu.org/bugs/?57962>
Summary: apparent regression involving PATH resolution
Project: make
Submitted by: misfit
Submitted on: Fri 06 Mar 2020 04:24:40 AM UTC
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: None
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
I submitted the following to address@hidden but didn't hear back. Apologies
if this is a duplicate, as I couldn't figure out how to search outstanding
Make bugs in Savannah.
----------------
A recent change broke use of Perl in Makefiles for me. This is because I have
a PATH element with a directory called 'perl'. Here is how to reproduce it:
$ sudo pacman -U /var/cache/pacman/pkg/make-4.2.1-4-x86_64.pkg.tar.xz
...
$ mkdir -p mybin/perl
$ cat Makefile
PATH=mybin:/usr/bin/
all:
which perl
perl -le 'print "HELLO"'
$ make
which perl
/usr/bin/perl
perl -le 'print "HELLO"'
HELLO
$ sudo pacman -U /var/cache/pacman/pkg/make-4.3-1-x86_64.pkg.tar.zst
...
$ make
which perl
/usr/bin/perl
perl -le 'print "HELLO"'
make: perl: Permission denied
make: *** [Makefile:5: all] Error 127
As you can see, the problem occurs with Make 4.3.1 but not 4.2.1.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57962>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #57962] apparent regression involving PATH resolution,
Frederick Eaton <=