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: CompilationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: Vesa Jääskeläinen <chaac>Originator Name: 
Open/Closed: ClosedRelease: GRUB 2 SVN 1946
Release: NoneReproducibility: 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
  • -unavailable- added by chaac (Posted a comment)
  • -unavailable- added by fzielcke (Posted a comment)
  • -unavailable- added by bero
  • -unavailable- added by bero (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 01 Feb 2009 09:03:26 AM UTCchaacStatusNone=>Fixed
      Assigned toNone=>chaac
      Open/ClosedOpen=>Closed
    Wed 14 Jan 2009 04:34:43 PM UTCberoAttached File-=>Added grub2-compile.patch, #17258
      Carbon-Copy-=>Added bero

    Back to the top


    Powered by Savane 3.1-cleanup1