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

Submitted by:  Igor <booster>
Submitted on:  Sun 20 Sep 2009 08:57:29 AM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 1.96Reproducibility: 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>
Project 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>
Project 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>
Project 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>

 

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 20 Sep 2009 11:19:59 AM UTCfzielckeOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1