From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 From: Jon Ringle Date: Mon, 18 Feb 2019 15:18:36 -0500 Message-ID: Subject: [ptxdist] host-autoconf: hardcoded path to m4 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1209540370==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.com --===============1209540370== Content-Type: multipart/alternative; boundary="000000000000f531dd058230d409" --000000000000f531dd058230d409 Content-Type: text/plain; charset="UTF-8" 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 --000000000000f531dd058230d409 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The host-autoconf.make package creates a *-dev.tar.gz package, bu= t 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 tha= t use the=C2=A0host-autoconf-2.69-arm-*-dev.tar.gz package:
Line = 90 of the autom4te in mine has:
my $m4 =3D $ENV{"M4"} || '/srv/bambo= o-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_auto= gen: '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
<= div>
/usr/local/lib/ptxdist-2019.01.0/rules/post/ptxd_make_wo= rld_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
<= /div>
<= br>
-Jon

--000000000000f531dd058230d409-- --===============1209540370== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1209540370==--