Bug 77860 - openmotif-2.2.2-12.1.src.rpm needs byacc as prerequisite?
openmotif-2.2.2-12.1.src.rpm needs byacc as prerequisite?
Product: Red Hat Raw Hide
Classification: Retired
Component: openmotif (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Ngo Than
Depends On:
  Show dependency treegraph
Reported: 2002-11-14 10:09 EST by Ken MacFarlane
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-11-14 10:09:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ken MacFarlane 2002-11-14 10:09:44 EST
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:

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 Ngo Than 2002-11-14 12:58:44 EST
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.