Mailinglist Archive: opensuse-buildservice (252 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Bug with Fedora_Extras_4 and yacc (byacc/bison).
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Thu, 21 Sep 2006 11:12:24 +0200
- Message-id: <20060921091224.GA12467@xxxxxxx>
On Wed, Sep 20, 2006 at 09:22:56PM -0600, Boyd Lynn Gerber wrote:
> 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
Not in the specfile the build service uses for games:roleplay/vultures.
Looks good otherwise.
> 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.
rpm does not support an %elseif statement. And n
> %if 0%{?suse_version}
> BuildRequires: bison
> %else
> %if 0%{?fedora_version}
> BuildRequires: byacc
> %endif
There's a missing %endif here.
Cheers,
Michael.
--
Michael Schroeder mls@xxxxxxx
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
> 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
Not in the specfile the build service uses for games:roleplay/vultures.
Looks good otherwise.
> 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.
rpm does not support an %elseif statement. And n
> %if 0%{?suse_version}
> BuildRequires: bison
> %else
> %if 0%{?fedora_version}
> BuildRequires: byacc
> %endif
There's a missing %endif here.
Cheers,
Michael.
--
Michael Schroeder mls@xxxxxxx
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |