Ticket #4268 (closed defect: duplicate)
mc from git fails to build on autoconf-2.71
Reported by: | slyfox | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
autoconf-2.71 released a while ago:
- 2.71 notes: https://lists.gnu.org/archive/html/autoconf/2021-01/msg00126.html
- 2.70 notes: https://lists.gnu.org/archive/html/autoconf/2020-12/msg00002.html
It's mostly compatible to 2.69 but has a few minor changes in how macros are evaluated around AC_INIT and friends.
Looks like mc is one of those rare cases that broke:
$ autoconf --version autoconf (GNU Autoconf) 2.71 $ automake --version automake (GNU automake) 1.16.4 mc.git $ ./autogen.sh autoreconf-2.71: export WARNINGS= autoreconf-2.71: Entering directory '.' autoreconf-2.71: running: autopoint --force Copying file ABOUT-NLS Creating directory config Copying file config/config.rpath Creating directory m4 Copying file m4/codeset.m4 Copying file m4/fcntl-o.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.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/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.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/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin autoreconf-2.71: running: aclocal -I m4 --force -I m4 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-2.71: error: /usr/bin/m4 failed with exit status: 1 aclocal-1.16: error: /usr/bin/autom4te-2.71 failed with exit status: 1 autoreconf-2.71: error: aclocal failed with exit status: 1
Change History
Note: See
TracTickets for help on using
tickets.
Closed as duplicate of #4266.