Bug 80719

Summary: modutils BuildRequires bison and flex
Product: [Retired] Red Hat Public Beta Reporter: Warren Togami <wtogami>
Component: modutilsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: low    
Version: phoebeCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-30 20:26:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.