ludo@gnu.org (Ludovic Courtès) writes: >>> However, this package recipe explicitly adds Autoconf, Automake, and >>> Libtool as inputs, plus it runs ‘autoreconf’. So I suspect this is >>> because upstream’s tarball isn’t self-contained, right? >>> >>> Ludo’. >> >> Oh, I did that because otherwise I get the following at start of the >> build phase: >> >> (CDPATH="${ZSH_VERSION+.}:" && cd . && /gnu/store/nq6idcqwqc9x6z7g9jxq11a58jqx6w8x-bash-4.3.33/bin/bash /tmp/nix-build-leptonica-1.71.drv-1/leptonica-1.71/config/missing --run autoheader) >> aclocal.m4:17: warning: this file was generated for autoconf 2.68. > > This may be because a .ac, .am, or .m4 file is newer than ‘configure’, > for instance. Does any of these get patched, which would explain the > newer mtime? Can it be worked around by changing that file’s mtime > using ‘set-file-time’ or similar? I get the warning even if I just run "./configure && make", outside of Guix. The reason seems to be config/config.h.in being old; touching it suppresses the warning, and the build still succeeds. Is it fine this way? Updated patch: