bugGNU GRUB - Bugs: bug #25318, grub2 fails to compile with bison...


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

bug #25318: grub2 fails to compile with bison >= 2.4

Submitted by:  Bernhard Rosenkraenzer <bero>
Submitted on:  Wed 14 Jan 2009 04:34:43 PM UTC  
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  Vesa Jääskeläinen <chaac> Originator Name: 
Open/Closed:  Closed Release:  GRUB 2 SVN 1946
Release:  None Reproducibility:  Every Time
Planned Release:  None

Sun 01 Feb 2009 08:57:59 AM UTC, comment #2: 

There is no harm done by adding ;. I assume that previous versions automatically adds ; there if it was missing. At least that seems to be case here.

So thanks for you patch it gets applied.

Vesa Jääskeläinen <chaac>
Project MemberIn charge of this item.
Sun 01 Feb 2009 08:32:35 AM UTC, comment #1: 

Hi, I just have updated my Bison to 2.4.1 and tried compiling current SVN trunk and it did work.
But if I look at parser.y line 59 there seems to be really a ; missing, but I don't know bison at all.

Felix Zielcke <fzielcke>
Project Member
Wed 14 Jan 2009 04:34:43 PM UTC, original submission:  

Compiling grub2 with bison 2.4.1 results in

./normal/parser.y: In function 'grub_script_yyparse':
./normal/parser.y:59: error: expected ';' before '}' token

Bernhard Rosenkraenzer <bero>


Attached Files
file #17258:  grub2-compile.patch added by bero (332B - text/x-diff - Attaching fix)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by chaac (Posted a comment)
  • -email is unavailable- added by fzielcke (Posted a comment)
  • -email is unavailable- added by bero
  • -email is unavailable- added by bero (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-01 chaac StatusNone => Fixed
        Assigned toNone => chaac
        Open/ClosedOpen => Closed
    2009-01-14 bero Attached File- => Added grub2-compile.patch, #17258
        Carbon-Copy- => Added bero

    Back to the top

    Powered by Savane 3.5