When running the libtoolize from the package of libtool-nativesdk, it reported the following error: /opt/poky/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/libtoolize: line 393: /usr/bin/sed: No such file or directory. It turns out that the libtoolize generated by "bitbake libtool-nativesdk" is using the path of the building machine for utilities such as sed, grep. If the host machine on which the libtool-nativesdk gets installed have such utilities in a different path, it would fail.
Which distro are you running on ?
Also can you give me exact steps to reproduce it ?
To reproduce this: 1. get a meta-toolchain tarball for i586 from auto builder. 2. extract the tarball to / 3. source the environment file 4. run libtoolize or check the libtoolize script for whether it is using the absolute path for sed, grep, etc.
Fixed in this commit which has gone in master Please help verify. commit 489465b82be73da1d845a0cea601b41ce5ade411 Author: Nitin A Kamble <nitin.a.kamble@intel.com> Date: Fri Feb 18 10:13:48 2011 -0800 libtool: avoid absolute pathnames of general utils addded a new patch: libtool/avoid_absolute_paths_for_general_utils.patch This fixes [BUGID #154] This fixes [BUGID #734] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Verified against latest Bernard branch