bugmake - Bugs: bug #56655, Pattern rule fails when filename...


bug #56655: Pattern rule fails when filename contains a space

Submitted by:  None
Submitted on:  Mon 22 Jul 2019 07:27:57 AM UTC  
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  Paul D. Smith <psmith> Open/Closed:  Closed
Component Version:  4.2.1 Operating System:  POSIX-Based
Fixed Release:  4.3 Triage Status:  None

Add a New Comment (Rich Markup)

You are not logged in

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


Fri 27 Dec 2019 06:44:03 AM UTC, comment #2: 

Fixed for the next release.  Thanks for the report!

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Tue 30 Jul 2019 01:05:50 PM UTC, comment #1: 

I am also seeing this issue on Make 4.2 on Windows. Filenames containing spaces are correctly handled in 3.811 but cause errors on 4.2.

Steven MacDiarmid <duff_man>
Mon 22 Jul 2019 07:27:57 AM UTC, original submission:  

I have a simple make file with a single pattern rule.
make fails on files whose name contain a space.

Several (not all) versions were checked and these failed:

Stock 3.82 does NOT fail.
However, the 3.82 distributed with CentOS 7 does fail.
Checking several (not all) of the patches they apply, make was found to fail after applying make-3.82-stem_glob.patch which relates to bug #39310.



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

Attach Files:

Attached Files
file #47304:  Makefile added by None (104B - application/octet-stream - I also just encountered this and made a few other tests (see attached Makefile). There seems to be an inconsistency between escape removal in pattern targets and pattern prerequisites. Pattern requisites get more escapes removed.)
file #47246:  av-recode.make added by None (64B - application/octet-stream)
file #47247:  make.out added by None (2KiB - application/octet-stream)


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 duff_man (Posted a comment)

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

    Only logged-in users can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-27 psmith StatusNone => Fixed
        Assigned toNone => psmith
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.3
    2019-08-07 None Attached File- => Added Makefile, #47304
    2019-07-22 None Attached File- => Added av-recode.make, #47246
        Attached File- => Added make.out, #47247

    Back to the top

    Powered by Savane 3.7