Bug 77860 - openmotif-2.2.2-12.1.src.rpm needs byacc as prerequisite?
Summary: openmotif-2.2.2-12.1.src.rpm needs byacc as prerequisite?
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: openmotif
Version: 1.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-14 15:09 UTC by Ken MacFarlane
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-11-14 15:09:50 UTC
Embargoed:


Attachments (Terms of Use)

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.


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