dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch
MIT License
99 stars 18 forks source link

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

Open dslm4515 opened 6 months ago

dslm4515 commented 6 months ago

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
dslm4515 commented 6 months ago

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