libtoolize (from x86 3.1 repos) seems broken
From /usr/bin/libtoolize, after a fresh install of the ‘libtool’ package from the Alpine repos, line 4074:
ltdl_ac_aux_dir=“”
That causes func_make_relative_ltdl_filter() to generate an invalid replacement expression for sed. That causes the invocation of sed on line 2728 to fail. That causes libtoolize to return a non-zero status code on exit. That causes build scripts which rely on libtoolize to fail.
When libtoolize is built, the libtool Makefile does the following to set the value of ltdl_ac_aux_dir:
- Invoke “build-aux/extract-trace AC_CONFIG_AUX_DIR libltdl/configure.ac” to get the value of “AC_CONFIG_AUX_DIR”
- Use that to set a variable called ltdl_ac_aux_dir in the Makefile
- Insert that into
ltdl_ac_aux_dir
which appears on line 4074 of libtoolize
Looking at the APKBUILD file for the libtool APK, it looks like you are essentially doing a simple “configure && make”. If you go to your checkout of the libtool code and run “build-aux/extract-trace AC_CONFIG_AUX_DIR libltdl/configure.ac”, what do you get?
(from redmine: issue id 4071, created on 2015-04-17, closed on 2019-06-11)