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 <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2020-01-26 08:34:39 +02:00
parent 179df180b5
commit 8c0d916164
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -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