Re: 'make clean' not working
Akim Demaille <[email protected]> Thu, 23 Sep 2021 18:42:56 +0200
| Newsgroups | gmane.comp.parsers.bison.bugs |
|---|---|
| Message-ID | <[email protected]> |
> Le 23 sept. 2021 à 09:31, Hans Åberg <[email protected]> a écrit : > >> >> On 23 Sep 2021, at 07:31, Akim Demaille <[email protected]> wrote: >> >> Hi Andrea, >> >>> Le 21 sept. 2021 à 16:45, Andrea Monaco <[email protected]> a écrit : >>> >>> Hello, >>> >>> I'm trying to rebuild a bison-3.8 release tree, but "make clean" aborts >>> with this error: >>> >>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/root/bison-3.8/build-aux/missing' autoconf >>> /root/bison-3.8/build-aux/missing: line 81: autoconf: command not found >>> WARNING: 'autoconf' is missing on your system. >>> You should only need it if you modified 'configure.ac', >>> or m4 files included by it. >>> The 'autoconf' program is part of the GNU Autoconf package: >>> <https://www.gnu.org/software/autoconf/> >>> It also requires GNU m4 and Perl in order to run: >>> <https://www.gnu.org/software/m4/> >>> <https://www.perl.org/> >>> Makefile:3894: recipe for target 'configure' failed >>> make: *** [configure] Error 127 >>> >>> Is it expected? > … >> I can't reproduce your problem. I have run configure, make, make clean, >> make, without any problem (autoconf was not called). Maybe something was >> touched in your tree, I don't know. > > I can reproduce the problem by modifying a file by touching it after the build (tried with an m4 file) and making sure autoconf is not in the PATH. That's expected: if you touch something that requires Autoconf, of course autoconf is fired. Andrea said he did nothing like that, yet autoconf was called.