bugmake - Bugs: bug #15340, make shows incorrect line number...

 
 

bug #15340: make shows incorrect line number in error report

Submitted by:  Manoj Srivastava <srivasta>
Submitted on:  Sat 31 Dec 2005 03:43:00 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: NoneOperating System: None
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 10 Feb 2006 02:34:37 AM UTC, comment #2:

Closed as a duplicate of bug #106

Paul D. Smith <psmith>
Project Administrator
Sat 31 Dec 2005 03:50:55 PM UTC, comment #1:

Hi,

This could be a duplicate of #106 (I can't seem to be able to close my report)

manoj

Manoj Srivastava <srivasta>
Sat 31 Dec 2005 03:43:00 PM UTC, original submission:

Please look at the following Makefile:

nikita@zigzag:~> cat -n bug.mak
1 VAR = value;
2 all:
3 echo 1
4 echo 2
5 echo $(VAR}

It contains a typo ('}' instead of ')' in line 5) Now running make on it:

nikita@zigzag:~> LANG=C make -f bug.mak
bug.mak:3: *** unterminated variable reference. Stop.

You see, the line number reported in the first line of command block, not line number where the error is.

I faced this when a typo was somewhere in a 100-line command block, that was full of variable references. It was not easy to find where the problem was.

Manoj Srivastava <srivasta>

 

(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

 

CC list is empty

 

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

Date Changed By Updated Field Previous Value => Replaced By
Fri 10 Feb 2006 02:34:37 AM UTCpsmithStatusNone=>Duplicate
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1