Skip to content

Can't autoreconf when building from source #3658

@darlo-me

Description

@darlo-me

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions