From 8c0d916164d945d47b1982b50963483431b90224 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sun, 26 Jan 2020 08:34:39 +0200 Subject: [PATCH] Add BuildRequires for autogen [..] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Scs6Sw + umask 022 + cd /builddir/build/BUILD + cd gcc-10.0.1-20200121 + cd obj-riscv64-redhat-linux + LC_ALL=C + make -j4 -k check ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ 'RUNTESTFLAGS=--target_board=unix/'\''{,-fstack- protector-strong}'\''' make[1]: Entering directory '/builddir/build/BUILD/gcc-10.0.1-20200121/obj-riscv64-redhat-linux' make[2]: Entering directory '/builddir/build/BUILD/gcc-10.0.1-20200121/obj-riscv64-redhat-linux/fixincludes' autogen -T ../../fixincludes/check.tpl ../../fixincludes/inclhack.def BUILDSTDERR: make[2]: autogen: Command not found make[2]: Leaving directory '/builddir/build/BUILD/gcc-10.0.1-20200121/obj-riscv64-redhat-linux/fixincludes' BUILDSTDERR: make[2]: *** [Makefile:176: check] Error 127 BUILDSTDERR: make[1]: *** [Makefile:3831: check-fixincludes] Error 2 [..] Signed-off-by: David Abdurachmanov --- gcc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc.spec b/gcc.spec index c303c95..656a006 100644 --- a/gcc.spec +++ b/gcc.spec @@ -110,7 +110,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: %{gcc_release}.1.riscv64%{?dist} +Release: %{gcc_release}.0.riscv64%{?dist} # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -158,7 +158,7 @@ BuildRequires: binutils >= 2.24 # While gcc doesn't include statically linked binaries, during testing # -static is used several times. BuildRequires: glibc-static -BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, sharutils +BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, sharutils, autogen BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man BuildRequires: systemtap-sdt-devel >= 1.3 BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1