bugmake - Bugs: bug #27591, $(wildcard) bug in latest CVS....

 
 

bug #27591: $(wildcard) bug in latest CVS. Worked OK in 3.81 stable release.

Submitted by:  None
Submitted on:  Sun 04 Oct 2009 09:43:12 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.82Operating System: Any
Fixed Release: 3.82Triage Status: Verified

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 09 Oct 2013 05:14:46 AM UTC, comment #5:

This appears to have been fixed in GNU make 3.82; it works for me with that release.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Sat 31 Oct 2009 09:34:05 AM UTC, comment #4:

Hi Paul,

Thanks for your answer.

Further investigation revealed that the problem started with either of these two changes:

2009-09-16 Paul Smith <psmith@gnu.org>
2009-09-15 Paul Smith <psmith@gnu.org>

(Checkout at 20090901 is OK, checkout at 20090920 is wrong)

Brgds,
Viktor

Anonymous
Sat 31 Oct 2009 12:01:29 AM UTC, comment #3:

I just checked and I can reproduce this on Linux as well, with any globbing string containing parens; it seems to be a problem with parsing the open paren; if I replace that with "?" to match a single character, it works.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Fri 30 Oct 2009 10:13:32 PM UTC, comment #2:

Hi folks,

Any follow-up on this bug?

I've just retested with this binary build:

http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/make/make_20091026_bin.tar.gz/download

and the problems remains the same. This kills some tool detection code which uses $(wildcard) to do its magic, when the tool to be detected is installed on an x64 Windows system (f.e. all Visual Studio installations).

Brgds,
Viktor

Anonymous
Sun 04 Oct 2009 09:45:57 AM UTC, comment #1:

Ops, in the second test, ">c:/Program Files/Common Files< with 3.81"
should read ">c:/Program Files (x86)/Common Files< with 3.81".

Brgds,
Viktor

Anonymous
Sun 04 Oct 2009 09:43:12 AM UTC, original submission:

Hi All,

This works with both CVS and stable builds:
$(info >$(wildcard c:/Program\ Files/Common\ Files)<)
->

>c:/Program Files/Common Files<


This works with stable build, but fails (returns empty string) with CVS build:
$(info >$(wildcard c:/Program\ Files\ (x86)/Common\ Files)<)
->

>c:/Program Files/Common Files< with 3.81
>< with CVS


[ Tests were run on Win XP x64 Edition ]

Brgds,
Viktor

Anonymous

 

(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)
  •  

    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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Oct 2013 05:14:46 AM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Component Version4.0=>3.82
      Fixed ReleaseNone=>3.82
    Sat 31 Oct 2009 12:01:29 AM UTCpsmithOperating SystemMS Windows=>Any
      Triage StatusNone=>Verified

    Back to the top


    Powered by Savane 3.1-cleanup