Mailinglist Archive: opensuse-buildservice (252 mails)

< Previous Next >
[opensuse-buildservice] Bug with Fedora_Extras_4 and yacc (byacc/bison).
  • From: Boyd Lynn Gerber <gerberb@xxxxxxxxx>
  • Date: Wed, 20 Sep 2006 21:22:56 -0600
  • Message-id: <Pine.LNX.4.64.0609202107010.22302@xxxxxxxxxxxxxxx>
Hi,

I am getting a yacc not found on Fedora_Extras_4. Below is the error
message.

yacc -d dgn_comp.y
make: yacc: Command not found
make: *** [dgn_yacc.c] Error 127
make: Leaving directory
`/usr/src/redhat/BUILD/vultures-2.1.0/nethack/util'
error: Bad exit status from /var/tmp/rpm-tmp.33147 (%build)

I have the following in the spec file.

%if 0%{?suse_version}
BuildRequires: bison
%endif
%if 0%{?fedora_version}
BuildRequires: byacc
%endif

I had but thought if I add an other target it may not work. Also the
%elseif instead of %else, did not seem to work.

%if 0%{?suse_version}
BuildRequires: bison
%else
%if 0%{?fedora_version}
BuildRequires: byacc
%endif

I see this in the log file. It should be byacc not bison or an error that
bison is not available. But I get

...
installing bison-2.0-6
...

In Fedora_Extras_5 I see (which is correct)...

...
installing byacc-1.9-29.2.1
...


--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >