Run autoreconf

[..]
+ /usr/bin/make -O -j4 V=1 VERBOSE=1
 cd . && /bin/sh /builddir/build/BUILD/sed-4.8/build-aux/missing automake-1.16 --gnu Makefile
aclocal.m4:17: warning: this file was generated for autoconf 2.69.202-d78a.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.
configure.ac:24: error: version mismatch.  This is Automake 1.16.5,
configure.ac:24: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:24: comes from Automake 1.16a.  You should recreate
configure.ac:24: aclocal.m4 with aclocal and run automake again.
WARNING: 'automake-1.16' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make: *** [Makefile:2329: Makefile.in] Error 63
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-08-09 10:46:44 +03:00
parent 6e6c1201d6
commit d6d4d7a51e
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ sed -e 's/1729576/EPERM/' \
-i gnulib-tests/test-{strerror_r,perror2}.c
%build
autoreconf -fiv
%configure --without-included-regex
%make_build
install -m 644 -p %{SOURCE1} sedfaq.txt
@ -72,6 +73,7 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
%changelog
* Tue Aug 08 2022 David Abdurachmanov <davidlt@rivosinc.com> - 4.8-11.1.riscv64
- Regenerate build system (autoreconf)
- Fix testsuite (export CONFIG_HEADER to test scripts)
* Mon Aug 08 2022 David Abdurachmanov <davidlt@rivosinc.com> - 4.8-11.0.riscv64