bugzilla-daemon at mindrot.org
2024-Sep-20  19:51 UTC
[Bug 3738] New: References to autoreconf
https://bugzilla.mindrot.org/show_bug.cgi?id=3738
            Bug ID: 3738
           Summary: References to autoreconf
           Product: Portable OpenSSH
           Version: 9.9p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Documentation
          Assignee: unassigned-bugs at mindrot.org
          Reporter: Keith.S.Thompson at gmail.com
In https://anongit.mindrot.org/openssh.git, the README.md and INSTALL
files refer to running autoreconf to generate the configure script if
building from a checked out git repo.
As of release 9.9 (tag V_9_9_P1), the configure script is checked into
the git repo, so it can be built without first running autoreconf.
Running autoreconf anyway is harmless (on my system it adds an empty
line to the end of the configure script), so this is unlikely to cause
any problems. 9.9 is the first and so far only release that has the
configure script in the git repo.
Presumably some local changes might invalidate the configure script and
require re-running autoreconf, but I suspect that's not likely to be an
issue -- and it already applies to building from a tarball with local
changes.
Suggested solutions:
1. Leave it alone and don't worry about it.
2. Update README.md and INSTALL with more discussion about when it's
necessary to run autoreconf.
3. Remove the configure script from the git repo, forcing users to run
autoreconf.
(Unrelated: Both README and README.md exist, but they have different
content. That feels odd.)
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3738
Darren Tucker <dtucker at dtucker.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net
--- Comment #1 from Darren Tucker <dtucker at dtucker.net>
---> Presumably some local changes might invalidate the configure script and
> require re-running autoreconf,
There's already a check in configure for this
(https://github.com/openssh/openssh-portable/blob/master/configure.ac#L21),
so:
$ touch configure.ac && ./configure
configure: error: ./configure.ac newer than configure, run autoreconf
> (Unrelated: Both README and README.md exist, but they have different
> content. That feels odd.)
README is the original file, README.md was added for the benefit of
github users.
-- 
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.
https://bugzilla.mindrot.org/show_bug.cgi?id=3738
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
the mention of autoreconf is still relevant - we only check in
configure on the release branches, not the master branch
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3738
Darren Tucker <dtucker at dtucker.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |3740
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
--- Comment #3 from Darren Tucker <dtucker at dtucker.net> ---
I've made a number of updates to the files
(https://github.com/openssh/openssh-portable/commit/9b57c099f57152e6c94f633c114f544087f4bdaa)
which should address your comments.  Thanks for the report.
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=3740
[Bug 3740] Tracking bug for OpenSSH 10.0
-- 
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.
Maybe Matching Threads
- bug(let): openssh v4.3p2 'ok' out-of-box; 'configure' does not survive 'autoreconf'
 - [Bug 3752] New: ssh agent with host constraints fails creating a signature
 - [Bug 3740] New: Tracking bug for OpenSSH 10.0
 - autoreconf errors with latest git
 - [Bug 3168] New: libssh.a(utf8.o): undefined reference to symbol 'strcasestr@@GLIBC_2.17'