FS#63413 - [findutils] Run autoreconf to avoid tool version problems

Attached to Project: Arch Linux
Opened by Austin Lund (aplund) - Friday, 09 August 2019, 02:52 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 17 August 2020, 09:45 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

findutils will not build without SOURCE_DATE_EPOCH set. The dates in the tarball are such that the build will try and automatically remake some of the build configuration files. This means that if the installed autotools version doesn't match that used to generate the files then the build will fail. This can be fixed by running autoreconf before building (see attached patch).

Additional info:

Package version: 4.6.0

Build output:

make: Entering directory '/build/findutils/src/findutils-4.6.0/locate'
cd .. && make am--refresh
make[1]: Entering directory '/build/findutils/src/findutils-4.6.0'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /build/findutils/src/findutils-4.6.0/build-aux/missing aclocal-1.14 -I gl/m4 -I m4
/build/findutils/src/findutils-4.6.0/build-aux/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make[1]: *** [Makefile:1681: aclocal.m4] Error 127

Steps to reproduce:

$ unset SOURCE_DATE_EPOCH
$ makechrootpkg -r /var/lib/archbuild/extra-x86_64 -c -n
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 17 August 2020, 09:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  trunk

Loading...