bugmake - Bugs: bug #36106, make target-specific variables...

 
 

bug #36106: make target-specific variables fail if over 150 characters and contain semicolon

Submitter:  None
Submitted:  Thu 05 Apr 2012 10:15:49 PM 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:  4.0 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 09 Sep 2012 09:32:08 PM UTC, comment #1: 

Gak!  Good catch.  Fixed.  Thanks.

Paul D. Smith <psmith>
Group administrator
Thu 05 Apr 2012 10:15:49 PM UTC, original submission:  

The bug is triggered by extra-long target-specific variable assignments containing at least one semicolon.

The bug is this: on a target-specific variable, if the assignment of the variable contains a semicolon(s) and is over 150 characters in length, then the assignment is truncated at the first semicolon or an error is thrown (this occurs with line continuation slashes as well).

Test makefile attached.

bash $ gmake -f test.makefile a
test.makefile:1: * Malformed target-specific variable definition.  Stop.

bash-4.1$ gmake --version
GNU Make 3.82

Remove one 'e' or a semicolon from the above and it suddenly works.
Patch to fix this issue attached.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #25595:  test.makefile added by None (220B - application/octet-stream)
file #25596:  make-3.82-readc.patch added by None (805B - text/x-diff)

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-09 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0
    2012-04-05 None Attached File- Added test.makefile, #25595
        Attached File- Added make-3.82-readc.patch, #25596

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code