Okay, I guess I mixed up something. I tried again and bootstrap finished successfully. But now I've run into libtool version mismatch when I "make" the project:
libtool: Version mismatch error. This is libtool 2.4.6, but the libtool: definition of this LT_INIT comes from libtool 2.4.7. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 libtool: and run autoconf again. It's this way on Alpine Linux >= 3.16 (libtool >= 2.4.7). My current steps: $ docker run --rm -it alpine:3.16 / # apk add git libtool autoconf automake wget rsync gettext-dev coreutils build-base perl-pod-parser bison flex gawk texinfo gnutls-dev / # git clone git://git.savannah.gnu.org/mailutils.git / # cd mailutils /mailutils # sed -i '/CFLAGS=.*sed/d' am/debug.m4 /mailutils # ./bootstrap /mailutils # ./configure CFLAGS='-g3 -O0' /mailutils # make I saw that supposedly autoreconf with --force and/or --install can help. But from what I can see autoreconf is called in bootstrap as it is: http://git.savannah.gnu.org/cgit/mailutils.git/tree/bootstrap?h=release-3.17#n955 How should I change the steps to make it work? Regards, Yuri