From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Y9BL8-0005X5-S4 for ptxdist@pengutronix.de; Thu, 08 Jan 2015 12:33:22 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Y9BL8-0000aP-QI for ptxdist@pengutronix.de; Thu, 08 Jan 2015 12:33:22 +0100 Date: Thu, 8 Jan 2015 12:33:22 +0100 From: Michael Olbrich Message-ID: <20150108113322.GC31136@pengutronix.de> References: <20141231125511.GA18758@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Fri, Jan 02, 2015 at 09:36:10AM -0500, Jon Ringle wrote: > 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 :) I've pushed a patch for this. Thanks for testing. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de