-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Describe the bug
When running ./bootstrap.sh (or autoreconf -f), I get this error message:
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.ac: not using Gettext
autoreconf-2.69: running: aclocal --force
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: configure.ac: not using Libtool
autoreconf-2.69: running: /usr/bin/autoconf-2.69 --force
configure.ac:118: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf-2.69: /usr/bin/autoconf-2.69 failed with exit status: 1
It seems installing autoconf-archive fixes the issue
Steps To Reproduce
curl https://nixos.org/releases/nix/nix-2.3.6/nix-2.3.6.tar.xz > nix-2.3.6.tar.xz
tar -xvf nix-2.3.6.tar.xz
cd nix-2.3.6
./bootstrap.sh
Expected behavior
Clearer error (install autoconf-archive) or documentation (mention it in the manual)
Additional context
I encountered this issue while trying to install the gentoo ebuild (https://github.com/trofi/nix-guix-gentoo)
Similar bug mentioned here: #3154 (comment)
Pamplemousse and alishir