mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] host-autoconf: hardcoded path to m4
@ 2019-02-18 20:18 Jon Ringle
  2019-02-22  8:14 ` [ptxdist] [PATCH] host-autotools-autoconf: fix m4 path Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Jon Ringle @ 2019-02-18 20:18 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1170 bytes --]

The host-autoconf.make package creates a *-dev.tar.gz package, but the
host-autoconf-2.69/bin/auto4mte script install found in it contains a
hardcoded path to m4 that results in a build failure for future builds that
use the host-autoconf-2.69-arm-*-dev.tar.gz package:
Line 90 of the autom4te in mine has:

my $m4 = $ENV{"M4"} ||
'/srv/bamboo-home/xml-data/build-dir/29261826/GPEC-EC6-JOB1/platform-ec1c/sysroot-host/bin/m4';


Resulting in a build failure of any package that calls autogen.sh in the
extract.post phase:

-------------------------------------
target: host-libfastjson.extract.post
-------------------------------------

pkg_patch_autogen: 'ptxdist-2019.01.0/patches/libfastjson-0.99.8/autogen.sh'

autom4te: need GNU m4 1.4 or later:
/srv/bamboo-home/xml-data/build-dir/29261826/GPEC-EC6-JOB1/platform-ec1c/sysroot-host/bin/m4
aclocal: error: echo failed with exit status: 1
/usr/local/lib/ptxdist-2019.01.0/rules/post/ptxd_make_world_extract.make:38:
recipe for target
'/srv/gpec-build/rootfs/platform-ec1c/state/host-libfastjson.extract.post'
failed
make: ***
[/srv/gpec-build/rootfs/platform-ec1c/state/host-libfastjson.extract.post]
Error 1


-Jon

[-- Attachment #1.2: Type: text/html, Size: 2287 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-22 18:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-18 20:18 [ptxdist] host-autoconf: hardcoded path to m4 Jon Ringle
2019-02-22  8:14 ` [ptxdist] [PATCH] host-autotools-autoconf: fix m4 path Michael Olbrich
2019-02-22 12:59   ` Michael Olbrich
2019-02-22 13:19     ` Michael Olbrich
2019-02-22 18:08   ` Jon Ringle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox