[Toybox] toybox sed screwing up libtool?
Rob Landley
rob at landley.net
Fri Oct 30 02:52:02 PDT 2015
So, on irc you reported a bug, and I tried to reproduce it:
Build root-filesystem-i686, chroot into it with toolchain attached. So
that's something like:
tar xvzf root-filesystem-i686.tar.gz
tar xvzf native-compiler-i686.tar.gz
mv native-compiler-i686 root-filesystem-i686/usr/overlay
chroot root-filesystem-i686 /sbin/init.sh
sh /usr/overlay/init
cd /home
wget http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz
tar xvzf m4-1.4.17.tar.gz
./configure --prefix=/usr
make
make install
cd ..
wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz
tar xvzf libtool-2.4.6.tar.gz
cd libtool-2.4.6
./configure --prefix=/usr
make
make install
cd ..
wget http://libarchive.org/downloads/libarchive-3.1.2.tar.gz
cd libarchive-3.1.2
libtoolize --force --copy
At this point, you said I should see:
Somasis> `libtoolize --force --copy` alone seems to trigger the error
<Somasis> sorry; the error is "libtoolize: error:
AC_CONFIG_MACRO_DIRS([m4trace]) conflicts with ACLOCAL_AMFLAGS=-I
build/autoconf."
But what I did see is:
# libtoolize --force --copy
/bin/libtoolize: line 159: func_add_hook: command not found
/bin/libtoolize: line 186: func_add_hook: command not found
/bin/libtoolize: line 257: func_add_hook: command not found
/bin/libtoolize: line 291: func_add_hook: command not found
/bin/libtoolize: line 296: func_options: command not found
/bin/libtoolize: line 1589: func_verbose: command not found
And so on for several dozen pages...
I have no idea what's wrong because I don't use libtool, ever, for
anything. It was created to make non-elf systems behave like elf, and
Linux has been ELF since 1996:
http://lists.busybox.net/pipermail/uclibc/2007-June/038948.html
So I don't know what success looks like here.
Rob
1446198722.0
More information about the Toybox
mailing list