bugmake - Bugs: bug #45477, cygwin: regression in VPATH...

 
 

bug #45477: cygwin: regression in VPATH handling.

Submitter:  marco atzeri <matzeri>
Submitted:  Sun 05 Jul 2015 08:54:40 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.1 Operating System:  MS Windows
Fixed Release:  4.3 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Dec 2016 02:27:26 PM UTC, comment #2: 

I believe this has been fixed with a change to improve drivespec handling in the current Git master HEAD.  I don't have a cygwin system to test this with though.  If you discover it still doesn't work please add a comment here and I'll re-open.

Paul D. Smith <psmith>
Group administrator
Mon 06 Jul 2015 07:39:44 PM UTC, comment #1: 

AFAIK, we don't have a Cygwin maintainer on board, and I don't have Cygwin installed on my system.  So even if I could come up with a suitable fix, I cannot test it.

Therefore, a tested patch to fix this from a Cygwin user will be highly appreciated.

Thanks.

Eli Zaretskii <eliz>
Group Member
Sun 05 Jul 2015 08:54:40 PM UTC, original submission:  

First reported on:
https://cygwin.com/ml/cygwin/2015-06/msg00036.html

make cygwin package is using unpatched source code.

-- original message ----
This version of make introduces a regression in VPATH handling.

Bash uses VPATH = .:/path/to/sources

to specify a two-directory VPATH.  Technically, the .: is redundant
(because make will automatically search the current directory before
resorting to VPATH rules), but that hasn't stopped bash from using it
anyways.  (Most automake-based packages only use a one-directory VPATH
designation; but bash doesn't use automake)

The old version of make properly handled this as two directories; but
the new version of make is apparently treating it as a drive letter
directive and failing to look in /path/to/sources.

If I change bash to emit:

VPATH = . /path/to/sources

then things work again.  Likewise if I change it to omit the redundant
leading '.:'.  So I can work around the regression in the meantime.


marco atzeri <matzeri>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by eliz (Posted a comment)
  • -email is unavailable- added by matzeri (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-26 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.3

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code