bugGNU GRUB - Bugs: bug #27484, Error parsing script

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27484: Error parsing script

Submitter:  Igor <booster>
Submitted:  Sun 20 Sep 2009 08:57:29 AM UTC
   
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  1.96
Release:  Reproducibility:  Every Time
Planned Release:  None

Sun 20 Sep 2009 11:19:59 AM UTC, comment #5: 

the README from bison 2.4.1 tells that m4 1.6.1 or later is required
README from bison 2.3 says m4 1.4.3 or later
Anyway it's a bug in bison/m4 where we can do nothing for it.
And because the required m4 version depends on bison itself, I don't think we should document that in our INSTALL.
Then people might think m4 1.4.3 would work with bison 2.4.1 because we just require bison 2.3, but that doestn't
And it's not our business to provide and keep a list up2date which bison version with which m4 version works for us.

Felix Zielcke <fzielcke>
Group Member
Sun 20 Sep 2009 10:52:24 AM UTC, comment #4: 

m4 1.6.1?
I find 1.4.13 and less.

Igor <booster>
Sun 20 Sep 2009 10:43:34 AM UTC, comment #3: 

That's definately then a bug in m4.
And I can reproduce this with m4 < 1.6.1 and autoconf 2.59d
autoconf 2.59d and m4 1.6.1 works fine.
So the solution is to update our INSTALL file to mention this.

Felix Zielcke <fzielcke>
Group Member
Sun 20 Sep 2009 09:54:59 AM UTC, comment #2: 

Thank you. Now 1.97~beta3:
bison -d -p grub_script_yy -b grub_script ./script/sh/parser.y
/home/knoppix/Build/bison/share/bison/yacc.c:158: /usr/bin/m4: Warning: Excess arguments to built-in `_m4_popdef' ignored
NONE:0: /usr/bin/m4: ERROR: EOF in string
./script/sh/parser.y: fatal error: invalid @ in skeleton: @Copyright
make: * [grub_script.tab.h] Error 1

Igor <booster>
Sun 20 Sep 2009 08:59:44 AM UTC, comment #1: 

If this is really with the 1.96 release then please try 1.97~beta3
The 1.96 release is over 1 1/2 years old and much has changed since then.

Felix Zielcke <fzielcke>
Group Member
Sun 20 Sep 2009 08:57:29 AM UTC, original submission:  

log:
bison -d -p grub_script_yy -b grub_script ./normal/parser.y
NONE:0: /usr/bin/m4: ERROR: EOF in string
bison: subsidiary program `/usr/bin/m4' failed (exit status 1)
make: * [grub_script.tab.h] Error 1

m4 1.4.4. Bison 2.4.1

Igor <booster>

 

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

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 fzielcke (Posted a comment)
  • -email is unavailable- added by booster (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-20 fzielcke Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code