dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autotools Broken -- `autoreconf` runs but exits with errors

dslm4515 opened this issue · comments

If running autoreconf -vfi to generate configure script for a package, there are errors:

# autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize:   error: copying '/usr/share/libtool/build-aux/ltmain.sh' to './' failed
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize:   error: copying '/usr/share/aclocal/libtool.m4' to 'm4/' failed
libtoolize:   error: copying '/usr/share/aclocal/ltoptions.m4' to 'm4/' failed
libtoolize:   error: copying '/usr/share/aclocal/ltsugar.m4' to 'm4/' failed
libtoolize:   error: copying '/usr/share/aclocal/ltversion.m4' to 'm4/' failed
libtoolize:   error: copying '/usr/share/aclocal/lt~obsolete.m4' to 'm4/' failed
autoreconf: error: libtoolize failed with exit status: 1

Turns out if I exit chroot and re-enter with out using llvmtools, issue is gone