Opened 3 years ago

Closed 3 years ago

#17709 closed defect (fixed)

libtool should depend on m4

Reported by: luizluca@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Barrier Breaker 14.07
Keywords: Cc:



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

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by luizluca@…

Just hit the same bug in trunk.

comment:2 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r42322, r42323

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.