From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Y73Kq-0006fR-8B for ptxdist@pengutronix.de; Fri, 02 Jan 2015 15:36:16 +0100 Received: by mail-la0-f53.google.com with SMTP id gm9so15247969lab.40 for ; Fri, 02 Jan 2015 06:36:10 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20141231125511.GA18758@pengutronix.de> Date: Fri, 2 Jan 2015 09:36:10 -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="===============1766867243==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --===============1766867243== Content-Type: multipart/alternative; boundary=047d7bf0f65e077fe1050bac431b --047d7bf0f65e077fe1050bac431b Content-Type: text/plain; charset=UTF-8 On Fri, Jan 2, 2015 at 9:28 AM, Jon Ringle wrote: > 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 :( > > Ahh... however, I just realized that I had a host-fakeroot-*-dev.tar.gz package that my build was using. After removing that so that ptxdist would rebuild host-fakeroot again, it is now having a positive effect :) Jon --047d7bf0f65e077fe1050bac431b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Fri, Jan 2, 2015 at 9:28 AM, Jon Ringle <jon@ringle.org> wro= te:
On Wed, Dec 31, 20= 14 at 7:55 AM, Michael Olbrich <m.olbrich@pengutronix.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 comple= te clean again, this patch did not help :(


Ahh... however, I just realized that I had a host-fakeroot-*-dev.tar.= gz package that my build was using. After removing that so that ptxdist wou= ld rebuild host-fakeroot again, it is now having a positive effect :)
Jon

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