* [Buildroot] host-autoconf fails to build, no m4
@ 2016-08-03 12:26 Atilla Filiz
2016-08-03 12:36 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Atilla Filiz @ 2016-08-03 12:26 UTC (permalink / raw)
To: buildroot
I was trying to build some host packages, which depend on automake and
autoconf, which in turn fail to build.
>>> host-autoconf 2.69 Building
PATH="/home/atilla/hek/buildroot/output/host/bin:/home/atilla/hek/buildroot/output/host/sbin:/home/atilla/hek/buildroot/output/host/usr/bin:/home/atilla/hek/buildroot/output/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
PKG_CONFIG="/home/atilla/hek/buildroot/output/host/usr/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/"
PKG_CONFIG_LIBDIR="/home/atilla/hek/buildroot/output/host/usr/lib/pkgconfig"
/usr/bin/make -j9 -C
/home/atilla/hek/buildroot/output/build/host-autoconf-2.69/
make[1]: Entering directory
'/home/atilla/hek/buildroot/output/build/host-autoconf-2.69'
/usr/bin/make all-recursive
make[2]: Entering directory
'/home/atilla/hek/buildroot/output/build/host-autoconf-2.69'
Making all in bin
make[3]: Entering directory
'/home/atilla/hek/buildroot/output/build/host-autoconf-2.69/bin'
autom4te_perllibdir='..'/lib AUTOM4TE_CFG='../lib/autom4te.cfg'
../bin/autom4te -B '..'/lib -B '..'/lib --language M4sh --cache ''
--melt ./autoconf.as -o autoconf.in
autom4te: need GNU m4 1.4 or later:
/home/atilla/hek/buildroot/output/host/usr/bin/m4
Makefile:641: recipe for target 'autoconf.in' failed
make[3]: *** [autoconf.in] Error 1
make[3]: Leaving directory
'/home/atilla/hek/buildroot/output/build/host-autoconf-2.69/bin'
Makefile:357: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/atilla/hek/buildroot/output/build/host-autoconf-2.69'
Makefile:292: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/home/atilla/hek/buildroot/output/build/host-autoconf-2.69'
package/pkg-generic.mk:195: recipe for target
'/home/atilla/hek/buildroot/output/build/host-autoconf-2.69/.stamp_built'
failed
make: ***
[/home/atilla/hek/buildroot/output/build/host-autoconf-2.69/.stamp_built]
Error 2
/home/atilla/hek/buildroot/output/host/usr/bin/m4 simply doesn't exist and
apparently the package m4 has been deprecated.
--
Atilla Filiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160803/b6ea87a5/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] host-autoconf fails to build, no m4
2016-08-03 12:26 [Buildroot] host-autoconf fails to build, no m4 Atilla Filiz
@ 2016-08-03 12:36 ` Thomas Petazzoni
2016-08-03 13:26 ` Atilla Filiz
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2016-08-03 12:36 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 3 Aug 2016 14:26:21 +0200, Atilla Filiz wrote:
> I was trying to build some host packages, which depend on automake and
> autoconf, which in turn fail to build.
Which version of Buildroot are you using?
> /home/atilla/hek/buildroot/output/host/usr/bin/m4 simply doesn't exist and
This is not possible:
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
so host-autoconf depends on host-m4, so host-m4 *must* have been built
prior to host-autoconf.
> apparently the package m4 has been deprecated.
The *target* variant of m4, yes. The host variant is still there and
available.
Could you pastebin your Buildroot .config file, as well as the *entire*
build output of "make clean all" ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] host-autoconf fails to build, no m4
2016-08-03 12:36 ` Thomas Petazzoni
@ 2016-08-03 13:26 ` Atilla Filiz
0 siblings, 0 replies; 3+ messages in thread
From: Atilla Filiz @ 2016-08-03 13:26 UTC (permalink / raw)
To: buildroot
Hello Thomas
Doing a clean make solved the problem somehow. Before that `make host-m4`
was a no-op.
Regards
Atilla
On Wed, Aug 3, 2016 at 2:36 PM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Wed, 3 Aug 2016 14:26:21 +0200, Atilla Filiz wrote:
> > I was trying to build some host packages, which depend on automake and
> > autoconf, which in turn fail to build.
>
> Which version of Buildroot are you using?
>
> > /home/atilla/hek/buildroot/output/host/usr/bin/m4 simply doesn't exist
> and
>
> This is not possible:
>
> HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
>
> so host-autoconf depends on host-m4, so host-m4 *must* have been built
> prior to host-autoconf.
>
> > apparently the package m4 has been deprecated.
>
> The *target* variant of m4, yes. The host variant is still there and
> available.
>
> Could you pastebin your Buildroot .config file, as well as the *entire*
> build output of "make clean all" ?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>
--
Atilla Filiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160803/69e41cd3/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-03 13:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 12:26 [Buildroot] host-autoconf fails to build, no m4 Atilla Filiz
2016-08-03 12:36 ` Thomas Petazzoni
2016-08-03 13:26 ` Atilla Filiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox