bugGNU GRUB - Bugs: bug #22758, grub-2: compile fails with...

 
 

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

bug #22758: grub-2: compile fails with [grub_script.tab.h] Broken pipe

Submitter:  John Frankish <juanito>
Submitted:  Fri 28 Mar 2008 08:31:12 AM UTC
   
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  None
Release:  cvs 28 Mar 08 Reproducibility:  Every Time
Planned Release:  None

Thu 21 Aug 2008 08:08:49 PM UTC, comment #1: 

Broken Pipe sounds more then a bug in bison
I wonder why you were using a old bison and old gcc and old kernel but this report is from March this year.

I think the report can be closed, feel free to reopen if this still happens.

Felix Zielcke <fzielcke>
Group Member
Fri 28 Mar 2008 08:31:12 AM UTC, original submission:  

Compiling grub2 from cvs 28 Mar 2008 on damnsmalllinux (kernel 2.4.31) with gcc-3.3.5, bison-1.875

Using:
$ export LDFLAGS=-L/opt/grub-2/lib [lzo libs/headers here]
$ export CPPFLAGS="-I/opt/compile-3.3.5/include -I/opt/grub-2/include"

$./configure --prefix=/opt/grub-2
$ make
...
gcc -Inormal -I./normal -I. -Iinclude -I./include -Wall -W  -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes                  -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -fno-builtin -mrtd -mregparm=3 -m32 -MD -c -o normal_mod-normal_cmdline.o normal/cmdline.c
bison -d -p grub_script_yy -b grub_script ./normal/parser.y
make: * [grub_script.tab.h] Broken pipe

Does grub2 require a certain version of bison?

Note also that even though m4 is in the path, unless m4 is /usr/bin/,the compile fails with:

autom4te: need GNU m4 1.4 or later: /usr/bin/m4

John Frankish <juanito>

 

(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 juanito (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
    2008-08-21 fzielcke Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code