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

 
 

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

Submitted by:  Martin Dorey <mdorey>
Submitted on:  Fri 01 Dec 2006 06:52:35 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.81Operating System: POSIX-Based
Fixed Release: 3.82Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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 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)
  • -unavailable- added by mdorey (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Jul 2010 06:19:15 AM UTCpsmithFixed Release4.0=>3.82
    Sat 13 Jun 2009 10:46:05 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0
    Fri 01 Dec 2006 06:52:35 PM UTCmdoreyCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1