#17709: libtool should depend on m4
-------------------------+-----------------------------------
Reporter: luizluca@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Barrier Breaker 14.07
Component: base system | Version: Barrier Breaker 14.07
Keywords: |
-------------------------+-----------------------------------
Hello,
While building BB with make -j3, libtool is built before m4 is installed:
{{{
openwrt/bb $ make -j3
make[1] world
make[2] tools/install
make[2] package/cleanup
make[3] -C tools/patch compile
make[3] -C tools/xz compile
make[3] -C tools/sed compile
make[3] -C tools/sstrip compile
make[3] -C tools/firmware-utils compile
make[3] -C tools/patch-image compile
make[3] -C tools/findutils compile
make[3] -C tools/flock compile
make[3] -C tools/patch install
make[3] -C tools/sed install
make[3] -C tools/xz install
make[3] -C tools/sstrip install
make[3] -C tools/ipkg-utils compile
make[3] -C tools/genext2fs compile
make[3] -C tools/mkimage compile
make[3] -C tools/firmware-utils install
make[3] -C tools/patch-image install
make[3] -C tools/findutils install
make[3] -C tools/yaffs2 compile
make[3] -C tools/flock install
make[3] -C tools/padjffs2 compile
make[3] -C tools/cmake compile
make[3] -C tools/scons compile
make[3] -C tools/lzma compile
make[3] -C tools/squashfs4 compile
make[3] -C tools/m4 compile
make[3] -C tools/libtool compile
make -r world: build failed. Please re-run make with V=s to see what's
going on
make: ** [world] Erro 1
}}}
And, as libtool fails to compile without m4, make exits with error. The
log with V=s:
{{{
make[3]: Entering directory `/home/REDETRESC/luizluca/prog-
local/openwrt/bb/tools/libtool'
make --jobserver-fds=3,4 -j -C /home/REDETRESC/luizluca/prog-
local/openwrt/bb/build_dir/host/libtool-2.4
make[4]: Entering directory `/home/REDETRESC/luizluca/prog-
local/openwrt/bb/build_dir/host/libtool-2.4'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/REDETRESC/luizluca
/prog-local/openwrt/bb/build_dir/host/libtool-2.4/libltdl/config/missing
--run autoconf
autom4te: need GNU m4 1.4 or later: /home/REDETRESC/luizluca/prog-
local/openwrt/bb/staging_dir/host/bin/m4
make[4]: *** [configure] Error 1
make[4]: Leaving directory `/home/REDETRESC/luizluca/prog-
local/openwrt/bb/build_dir/host/libtool-2.4'
make[3]: *** [/home/REDETRESC/luizluca/prog-
local/openwrt/bb/build_dir/host/libtool-2.4/.built] Error 2
make[3]: Leaving directory `/home/REDETRESC/luizluca/prog-
local/openwrt/bb/tools/libtool'
make[2]: *** [tools/libtool/compile] Error 2
make[2]: *** Waiting for unfinished jobs....
}}}
A sequential build (make -j1) does not show the problem.
So libtool should depend on m4 installed before it is allowed to compile
--
Ticket URL: <https://dev.openwrt.org/ticket/17709>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets