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

 
 

bug #45477: cygwin: regression in VPATH handling.

Submitted by:  marco atzeri <matzeri>
Submitted on:  Sun 05 Jul 2015 08:54:40 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.1Operating System: MS Windows
Fixed Release: SCMTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Dec 2016 02:27:26 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>SCM

    Back to the top


    Powered by Savane 3.1-cleanup1