Bug 80719 - modutils BuildRequires bison and flex
Summary: modutils BuildRequires bison and flex
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: modutils
Version: phoebe
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-12-30 13:17 UTC by Warren Togami
Modified: 2014-03-17 02:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-12-30 20:26:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Warren Togami 2002-12-30 13:17:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218

Description of problem:
Compilation of modutils fails without bison.

gcc -O2 -march=i386 -mcpu=i686 -o makecrc32 makecrc32.c
./makecrc32 > crc32.tab.tmp
mv crc32.tab.tmp crc32.tab
gcc -O2 -march=i386 -mcpu=i686 -I. -I. -I./../include -D_GNU_SOURCE 
-DCONFIG_USE_ZLIB=1 -DCONFIG_ROOT_CHECK_OFF=0   -c -o genksyms.o genksyms.c
expect 6 shift/reduce conflicts and 5 reduce/reduce conflicts.
bison -o parse.c -dtv parse.y
make[1]: bison: Command not found
make[1]: *** [parse.c] Error 127
make[1]: Leaving directory `/usr/src/redhat/BUILD/modutils-2.4.22/genksyms'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.5789 (%build)

Version-Release number of selected component (if applicable):
Rawhide modutils-2.4.22-1

Comment 1 Warren Togami 2002-12-30 13:21:12 UTC
Oops, also requires flex.

bison -o parse.c -dtv parse.y
parse.y contains 6 shift/reduce conflicts and 5 reduce/reduce conflicts.
gcc -O2 -march=i386 -mcpu=i686 -Wno-uninitialized -I. -I. -I./../include
-D_GNU_SOURCE  -DCONFIG_USE_ZLIB=1 -DCONFIG_ROOT_CHECK_OFF=0   -c -o parse.o parse.c
flex -olex.c -d lex.l parse.h
make[1]: flex: Command not found
make[1]: *** [lex.c] Error 127
make[1]: Leaving directory `/usr/src/redhat/BUILD/modutils-2.4.22/genksyms'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.34114 (%build)

Comment 2 Bill Nottingham 2002-12-30 20:26:00 UTC
Added, will be in 2.4.22-3.


Note You need to log in before you can comment on or make changes to this bug.