[opensuse-buildservice] Bug with Fedora_Extras_4 and yacc (byacc/bison).
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@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2006-09-20 21:22:56 -0600, Boyd Lynn Gerber wrote:
I am getting a yacc not found on Fedora_Extras_4. Below is the error message.
use bison. should work on all of them. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, 21 Sep 2006, Marcus Rueckert wrote:
On 2006-09-20 21:22:56 -0600, Boyd Lynn Gerber wrote:
I am getting a yacc not found on Fedora_Extras_4. Below is the error message.
use bison. should work on all of them.
I get yacc not found when I use bison on all the Fedora_Extras_*. That is why I created the mods to the spec in the first place. -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Sep 20, 2006 at 09:46:30PM -0600, Boyd Lynn Gerber wrote:
On Thu, 21 Sep 2006, Marcus Rueckert wrote:
On 2006-09-20 21:22:56 -0600, Boyd Lynn Gerber wrote:
I am getting a yacc not found on Fedora_Extras_4. Below is the error message.
use bison. should work on all of them.
I get yacc not found when I use bison on all the Fedora_Extras_*. That is why I created the mods to the spec in the first place.
That is why you should replace "yacc" with "bison -y" in your makefile. Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."
On Thu, 21 Sep 2006, Robert Schiele wrote:
On Wed, Sep 20, 2006 at 09:46:30PM -0600, Boyd Lynn Gerber wrote:
On Thu, 21 Sep 2006, Marcus Rueckert wrote:
On 2006-09-20 21:22:56 -0600, Boyd Lynn Gerber wrote:
I am getting a yacc not found on Fedora_Extras_4. Below is the error message.
use bison. should work on all of them.
I get yacc not found when I use bison on all the Fedora_Extras_*. That is why I created the mods to the spec in the first place.
That is why you should replace "yacc" with "bison -y" in your makefile.
This is a change that the author/maintainer of vultures is un-willing to make. I asked him that when I found out he prefers/uses byacc. He was willing to allow me to use bison on SUSE as there is no byacc in the distribution. He really wants me to have byacc instead. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, 20 Sep 2006, Boyd Lynn Gerber wrote:
On Thu, 21 Sep 2006, Robert Schiele wrote:
That is why you should replace "yacc" with "bison -y" in your makefile.
This is a change that the author/maintainer of vultures is un-willing to make. I asked him that when I found out he prefers/uses byacc. He was willing to allow me to use bison on SUSE as there is no byacc in the distribution. He really wants me to have byacc instead.
Thanks, I can make a suse specific patch file probably slip it by him. -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2006-09-20 22:57:46 -0600, Boyd Lynn Gerber wrote:
This is a change that the author/maintainer of vultures is un-willing to make. I asked him that when I found out he prefers/uses byacc. He was willing to allow me to use bison on SUSE as there is no byacc in the distribution. He really wants me to have byacc instead.
please ask him for the reasons. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Sep 20, 2006 at 10:57:46PM -0600, Boyd Lynn Gerber wrote:
On Thu, 21 Sep 2006, Robert Schiele wrote:
That is why you should replace "yacc" with "bison -y" in your makefile.
This is a change that the author/maintainer of vultures is un-willing to make. I asked him that when I found out he prefers/uses byacc. He was willing to allow me to use bison on SUSE as there is no byacc in the distribution. He really wants me to have byacc instead.
Well, _you_ can do changes for your RPM even if the author does not want them upstream. Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."
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@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, 21 Sep 2006, Michael Schroeder wrote:
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 changed it to try and force bison -y for all builds. I still received a yacc error with it. On Fedora_Extras_4. All others it did not have any errors with the bison -y patch. It is now back to the above. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thanks, to every one. I finally got them to build on the build service for all the Fedora_Extras. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Boyd Lynn Gerber
-
Marcus Rueckert
-
Michael Schroeder
-
Robert Schiele