From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Y73Dk-0006W8-AS for ptxdist@pengutronix.de; Fri, 02 Jan 2015 15:28:56 +0100 Received: by mail-lb0-f178.google.com with SMTP id f15so17222590lbj.9 for ; Fri, 02 Jan 2015 06:28:50 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20141231125511.GA18758@pengutronix.de> References: <20141231125511.GA18758@pengutronix.de> Date: Fri, 2 Jan 2015 09:28:50 -0500 Message-ID: From: Jon Ringle Subject: Re: [ptxdist] targetinstall fails Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0863026143==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --===============0863026143== Content-Type: multipart/alternative; boundary=001a113368d4d02904050bac28fd --001a113368d4d02904050bac28fd Content-Type: text/plain; charset=UTF-8 On Wed, Dec 31, 2014 at 7:55 AM, Michael Olbrich wrote: > On Wed, Dec 31, 2014 at 01:57:17AM -0500, Jon Ringle wrote: > > Changing the /bin/sh link to point to bash instead of dash fixed this > for me > > > > On Tue, Dec 30, 2014 at 2:02 PM, Jon Ringle wrote: > > > > > I'm setting up a new machine with Ubuntu-14.04 where I'll be doing > ptxdist > > > builds. I'm running into a problem where the targetinstall step fails > on > > > all packages with something like the following (I added 'set -x' to the > > > fakeroot script for debugging purposes): > [...] > > I think I saw this at some point, but then it worked again and I never made > a patch. Does this help? > > Michael > > diff --git a/rules/host-fakeroot.make b/rules/host-fakeroot.make > index 53236194a582..3fb699a56759 100644 > --- a/rules/host-fakeroot.make > +++ b/rules/host-fakeroot.make > @@ -30,6 +30,10 @@ HOST_FAKEROOT_DIR := > $(HOST_BUILDDIR)/$(HOST_FAKEROOT) > # Prepare > # > ---------------------------------------------------------------------------- > > +HOST_FAKEROOT_CONF_ENV := \ > + $(HOST_ENV) \ > + CONFIG_SHELL=/bin/bash > + > HOST_FAKEROOT_CONF_TOOL := autoconf > HOST_FAKEROOT_CONF_OPT := \ > $(HOST_AUTOCONF) \ > I reproduced the problem by restoring the sh link to point back to dash again and then applied this patch. Starting a build after a complete clean again, this patch did not help :( Jon --001a113368d4d02904050bac28fd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On W= ed, Dec 31, 2014 at 7:55 AM, Michael Olbrich <m.olbrich@pengutroni= x.de> wrote:
On Wed, Dec 31, 2014 at 01:57:17AM -0500, Jon Ringle wrote:
> Changing the /bin/sh link to point to bash instead of dash fixed this = for me
>
> On Tue, Dec 30, 2014 at 2:02 PM, Jon Ringle <jon@ringle.org> wrote:
>
> > I'm setting up a new machine with Ubuntu-14.04 where I'll= be doing ptxdist
> > builds. I'm running into a problem where the targetinstall st= ep fails on
> > all packages with something like the following (I added 'set = -x' to the
> > fakeroot script for debugging purposes):
[...]

I think I saw this at some point, but then it worked again and I never made=
a patch. Does this help?

Michael

diff --git a/rules/host-fakeroot.make b/rules/host-fakeroot.make
index 53236194a582..3fb699a56759 100644
--- a/rules/host-fakeroot.make
+++ b/rules/host-fakeroot.make
@@ -30,6 +30,10 @@ HOST_FAKEROOT_DIR=C2=A0 =C2=A0 :=3D $(HOST_BUILDDIR)/$(H= OST_FAKEROOT)
=C2=A0# Prepare
=C2=A0# -------------------------------------------------------------------= ---------

+HOST_FAKEROOT_CONF_ENV :=3D \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0$(HOST_ENV) \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0CONFIG_SHELL=3D/bin/bash
+
=C2=A0HOST_FAKEROOT_CONF_TOOL :=3D autoconf
=C2=A0HOST_FAKEROOT_CONF_OPT :=3D \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(HOST_AUTOCONF) \

I reproduced the problem by restoring the sh link to point= back to dash again and then applied this patch. Starting a build after a c= omplete clean again, this patch did not help :(

Jon
--001a113368d4d02904050bac28fd-- --===============0863026143== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0863026143==--