Ticket #4249 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Autoreconf is failing with tarball prepared by make dist

Reported by: IceMan Owned by: andrew_b
Priority: minor Milestone: 4.8.27
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

autoreconf -fisv is failing with sources tarball prepared by make dist command after 1409eddde3671dce6ff3763931ecc24a8a5b987f

1409eddde3671dce6ff3763931ecc24a8a5b987f is the first bad commit
commit 1409eddde3671dce6ff3763931ecc24a8a5b987f
Author: Andreas Mohr <and@gmx.li>
Date:   Sat Mar 20 10:02:12 2021 +0300

    Ticket #3603: configure.ac: proper AC_INIT and AM_INIT_AUTOMAKE usage.

    Fix deprecate warning
    configure.ac:13: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
    configure.ac:13: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation

    Support of m4_esyscmd_s() since autoconf-2.64 (release 2009-07-26).

    Signed-off-by: Andreas Mohr <and@gmx.li>
    Signed-off-by: Andrew Borodin <aborodin@vmail.ru>

:100644 100644 45a20fb865c4d57065fc5aa8f9735f48ba8e0abb cb81a7487e443dac4a052e13e630d660aeda9e54 M  configure.ac
:040000 040000 6acb4b4b42224d1fb4ed255fbef02a7f603195fd da92ed3d9ba4ba573016c29e18d47bbc8a5f8af7 M  doc
:040000 040000 8c849720e9e319b89a387c75dbda878257e5f4af 52ac4430d861a5756eb3a47d89e7ab1c3a239846 M  m4.include
:040000 040000 1c32feb62d638879b35117239e501d6ef18975a7 f8749bde97e65c30a4a83919912209268f5b88a6 M  maint

Steps to reproduce:

git clone https://github.com/MidnightCommander/mc.git
cd mc/
./autogen.sh
./configure
make dist
tar -xf mc-4.8.*.tar.gz
rm mc-4.8.*.tar.gz
cd mc-4.8.*
autoreconf -fisv

What is the expected output?
autoreconf -fisv finished without error

What do you see instead?

$ autoreconf -fisv
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Copying file m4/codeset.m4
Copying file m4/fcntl-o.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lock.m4
Copying file m4/printf-posix.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makevars.template
autoreconf: running: aclocal --force -I m4
sh: 1: maint/utils/version.sh: not found
configure.ac:31: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:31: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Attachments

mc-4249-teach-automake-to-include-maint_utils_version.patch (674 bytes) - added by and 3 years ago.

Change History

comment:1 Changed 3 years ago by and

Thanks IceMan?,
for purposefully bug reporting following patch should solve it.

comment:2 Changed 3 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.27
Last edited 3 years ago by andrew_b (previous) (diff)

comment:3 Changed 3 years ago by IceMan

This patch is fixing issue.

comment:4 Changed 3 years ago by andrew_b

  • Votes for changeset set to IceMan andrew_b
  • Branch state changed from on review to approved

comment:5 Changed 3 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from IceMan andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:6 Changed 3 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.