[Bug 3520] autoreconf is overkill for a fresh checkout

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jan 13 14:35:22 AEDT 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3520

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net

--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Clarence "Sparr" Risher from comment #0)
> This may not be worth worrying about, but it may also be useful to
> add as a note in INSTALL. After a fresh git checkout, I am able to
> compile after `aclocal && autoconf`, which is a subset of what
> `autoreconf` does and requires fewer additional tools to be
> available.

That's not sufficient, you also need "autoheader":

$ git clone https://github.com/openssh/openssh-portable && cd
openssh-portable && aclocal && autoconf && ./configure
[...]
config.status: error: cannot find input file: `config.h.in'

$ autoheader && ./configure && make
[...]
$ ./ssh -V
OpenSSH_9.1p1, OpenSSL 3.0.5 5 Jul 2022

but given that this only impacts people building the development
versions, and that it's possible to do the autoconf prep on a machine
other than the build target (that's what our VM-based tests do since it
keeps the prereqs on the VMs to a minimum) I'd rather specify the thing
that guaranteed to do all of the needful even if that means you may
have to install another package or two on the development machine.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list