bugmake - Bugs: bug #18435, no rule to make target whose name...

 
 

bug #18435: no rule to make target whose name contains close parenthesis

Submitter:  Martin Dorey <mdorey>
Submitted:  Fri 01 Dec 2006 06:52:35 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.81 Operating System:  POSIX-Based
Fixed Release:  3.82 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 13 Jun 2009 10:46:05 PM UTC, comment #1: 

I've fixed this.  It definitely was an issue with archive names; GNU make specifies that a target matching name(member) is considered an archive.

In your example with empty parentheses it seemed like this could never be legal so I made it a requirement in the code that "member" must not be the empty string.

However, if you change your example to something like "bracket(x)" instead of just "bracket()", it will still run afoul of this archive issue.

I'm not sure how to manage this; it seems a basic limitation in make.  If someone runs into THAT bug we'll have to address it then.

Paul D. Smith <psmith>
Group administrator
Fri 01 Dec 2006 06:52:35 PM UTC, original submission:  

With this makefile:

.PRECIOUS:.%.time
%.t:.%.time;
.%.time:%
bla bla bla

And a file on the file system called "bracket()":

-rw-rw-r-- 1 martind software 0 2006-11-30 16:44 bracket()

$ make 'bracket()'.t
make: * No rule to make target `bracket().t'.  Stop.
$

Paul says [

That seems to be a bug.  I can reproduce it.  On the other hand I can do
this:

  $ touch 'foo(bar)baz'
  $ make 'foo(bar)baz.t'

and I don't get this error: it actually runs the rule, so it's not just parentheses.  I wonder if it has to do with archive support.  This should be reported on Savannah.

].

OP (cc:d) was Dan Jacobson.

Martin Dorey <mdorey>

 

(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)
  • -email is unavailable- added by mdorey (Submitted the item)
  •  

    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
    2010-07-28 psmith Fixed Release4.0 3.82
    2009-06-13 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0
    2006-12-01 mdorey Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-7b9d.
    Corresponding source code