Bug 77860

Summary: openmotif-2.2.2-12.1.src.rpm needs byacc as prerequisite?
Product: [Retired] Red Hat Raw Hide Reporter: Ken MacFarlane <ksm>
Component: openmotifAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-14 15:09:50 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 Ken MacFarlane 2002-11-14 15:09:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020911

Description of problem:
openmotif-2.2.2-12.1.src.rpm will not build unless byacc RPM is installed. 
bison is installed, but does not satisfy configure requirements.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. rpm -e byacc
2. rpmbuild --rebuild openmotif-2.2.2-12.1.src.rpm
	

Actual Results:  From the configure step:

checking for Cygwin environment... (cached) no
checking for executable suffix... (cached) no
checking for byacc... no
checking for flex... flex
checking for flex... (cached) flex

From build:

make[2]: Entering directory '/usr/src/redhat/BUILD/openMotif-2.2.2/tools/wml'
flex   wmllex.l && mv lex.yy.c wmllex.c
"wmllex.l", line 111: warning, rule cannot be matched
yacc -d  wmlparse.y && mv y.tab.c wmlparse.c
/bin/sh: line 1: yacc: command not found
make[2]: *** [wmlparse.c] Error 127
make[2]: Leaving directory `/usr/src/redhat/BUILD/openMotif-2.2.2/tools/wml'



Expected Results:  If byacc package is not installed, rpmbuild should have
failed immediately with a "needs byacc" error.  If byacc package is installed,
rpmbuild should successfully run to completion.

Additional info:

Could bison be used instead of yacc here?  If so, openmotif configure should
pick it up and use it.

Comment 1 Than Ngo 2002-11-14 17:58:44 UTC
it's fixed in 2.2.2-12.2 or newer.