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

 
 

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

Submitter:  None
Submitted:  Sun 04 Oct 2009 09:43:12 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.82 Operating System:  Any
Fixed Release:  3.82 Triage Status:  Verified
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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 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)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-09 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Component Version4.0 3.82
        Fixed ReleaseNone 3.82
    2009-10-31 psmith Operating SystemMS Windows Any
        Triage StatusNone Verified

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code