Subject: automake-1.16: error: unrequested trace '$n'

From: Filipp Uskov <[email-masked]>
Date: Fri, 01 Oct 2021 00:24:49 +0300

I download  https://github.com/crosstool-ng/crosstool-ng.git and try to build it under cygwin and get error automake-1.16: error: unrequested trace '$n'
 
(1j0/cygdrive/c/Users/feelus/_repos/_foreign)--0-------(feelus@feelus-PC@23:53)
[503] $ git clone --depth 1 --config core.autocrlf=input https://github.com/crosstool-ng/crosstool-ng.git
Клонирование в «crosstool-ng»…
remote: Enumerating objects: 1770, done.
remote: Counting objects: 100% (1770/1770), done.
remote: Compressing objects: 100% (1548/1548), done.
remote: Total 1770 (delta 363), reused 1117 (delta 162), pack-reused 0
Получение объектов: 100% (1770/1770), 2.23 МиБ | 1.09 МиБ/с, готово.
Определение изменений: 100% (363/363), готово.
Updating files: 100% (1821/1821), готово.
 
(1j0/cygdrive/c/Users/feelus/_repos/_foreign)--0-------(feelus@feelus-PC@23:53)
[504] $ cd crosstool-ng
bash-completion  config  contrib  debian  docs  kconfig  licenses.d  m4  maintainer  packages  samples  scripts  testing  bootstrap  configure.ac  COPYING  ct-ng.in  issue_template.md  LICENSE  Makefile.am  paths.sh.in  README.md  TODO
 
(1j0/cygdrive/c/Users/feelus/_repos/_foreign/crosstool-ng)--0-------(feelus@feelus-PC@23:53)
[505] $ ./bootstrap
INFO  :: *** Generating package version descriptions
INFO  :: Master packages: android-ndk autoconf automake avr-libc binutils bison cloog dtc duma elf2flt expat gcc gdb gettext glibc glibc-ports gmp gnuprumcu isl libelf libiconv libtool linux ltrace m4 make mingw-w64 moxiebox mpc mpfr musl ncurses newlib newlib-nano picolibc strace uClibc zlib
INFO  :: Generating 'config/versions/android-ndk.in'
INFO  :: Generating 'config/versions/autoconf.in'
INFO  :: Generating 'config/versions/automake.in'
INFO  :: Generating 'config/versions/avr-libc.in'
INFO  :: Generating 'config/versions/binutils.in'
INFO  :: Generating 'config/versions/bison.in'
INFO  :: Generating 'config/versions/cloog.in'
INFO  :: Generating 'config/versions/dtc.in'
INFO  :: Generating 'config/versions/duma.in'
INFO  :: Generating 'config/versions/elf2flt.in'
INFO  :: Generating 'config/versions/expat.in'
INFO  :: Generating 'config/versions/gcc.in'
INFO  :: Generating 'config/versions/gdb.in'
INFO  :: Generating 'config/versions/gettext.in'
INFO  :: Generating 'config/versions/glibc.in'
INFO  :: Generating 'config/versions/glibc-ports.in'
INFO  :: Generating 'config/versions/gmp.in'
INFO  :: Generating 'config/versions/gnuprumcu.in'
INFO  :: Generating 'config/versions/isl.in'
INFO  :: Generating 'config/versions/libelf.in'
INFO  :: Generating 'config/versions/libiconv.in'
INFO  :: Generating 'config/versions/libtool.in'
INFO  :: Generating 'config/versions/linux.in'
INFO  :: Generating 'config/versions/ltrace.in'
INFO  :: Generating 'config/versions/m4.in'
INFO  :: Generating 'config/versions/make.in'
INFO  :: Generating 'config/versions/mingw-w64.in'
INFO  :: Generating 'config/versions/moxiebox.in'
INFO  :: Generating 'config/versions/mpc.in'
INFO  :: Generating 'config/versions/mpfr.in'
INFO  :: Generating 'config/versions/musl.in'
INFO  :: Generating 'config/versions/ncurses.in'
INFO  :: Generating 'config/versions/newlib.in'
INFO  :: Generating 'config/versions/newlib-nano.in'
INFO  :: Generating 'config/versions/picolibc.in'
INFO  :: Generating 'config/versions/strace.in'
INFO  :: Generating 'config/versions/uClibc.in'
INFO  :: Generating 'config/versions/zlib.in'
INFO  :: *** Generating menu/choice selections
INFO  :: Generating arch.in (choice)
INFO  :: Generating kernel.in (choice)
INFO  :: Generating cc.in (choice)
INFO  :: Generating binutils.in (choice)
INFO  :: Generating libc.in (choice)
INFO  :: Generating debug.in (menu)
INFO  :: Generating comp_tools.in (menu)
INFO  :: Generating comp_libs.in (menu)
INFO  :: *** Gathering the list of data files to install
INFO  :: *** Running autoreconf
automake-1.16: error: unrequested trace '$n'
automake-1.16: Please contact <[email-masked]>.
 at /usr/share/automake-1.16/Automake/Channels.pm line 662, <GEN0> line 1.
        Automake::Channels::msg("automake", "", "unrequested trace '\$n'") called at /usr/share/automake-1.16/Automake/ChannelDefs.pm line 212
        Automake::ChannelDefs::prog_error("unrequested trace '\$n'") called at /usr/bin/automake-1.16 line 5271
        Automake::scan_autoconf_traces("configure.ac") called at /usr/bin/automake-1.16 line 5530
        Automake::scan_autoconf_files() called at /usr/bin/automake-1.16 line 8357
autoreconf-2.69: automake failed with exit status: 29
INFO  :: *** Done!
 
(1j0/cygdrive/c/Users/feelus/_repos/_foreign/crosstool-ng)--0-------(feelus@feelus-PC@00:15)
[506] $ ls
autom4te.cache   config   debian  kconfig     m4          packages  scripts  aclocal.m4  config.h.in  configure.ac  ct-ng.in           LICENSE      paths.sh.in  TODO
bash-completion  contrib  docs    licenses.d  maintainer  samples   testing  bootstrap   configure    COPYING       issue_template.md  Makefile.am  README.md    verbatim-data.mk

--
Filipp