From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay04.ispgateway.de ([80.67.31.42]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SFkG2-0004TH-0O for ptxdist@pengutronix.de; Thu, 05 Apr 2012 12:49:39 +0200 Received: from [78.47.165.117] (helo=regiomontanus.bwalle.de) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SFkG1-00030O-3t for ptxdist@pengutronix.de; Thu, 05 Apr 2012 12:49:37 +0200 Date: Thu, 5 Apr 2012 12:49:35 +0200 From: Bernhard Walle Message-ID: <20120405104935.GA20256@regiomontanus.bwalle.de> References: <331c066a9fdb38f7a91ef2e0bf11110e@idefix.lespocky.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] ubi utils in package mtd-utils broken 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, * Bart van der Meulen [2012-04-05 11:20]: > 2012/4/4 Alexander Dahl : > > Hei hei, > > > > I was just migrating our BSP from ptxdist 2012.03.0 to 2012.04.0 and > > the build fails in targetinstall stage of package mtd-utils like this: > > > > =A0make: *** > > [/home/adahl/Work/src/BSP/platform-at91sam9g20XXX/state/mtd-utils.targe= tinstall] > > Error 1 > > > > =A0No suitable file '/usr/sbin/ubiattach' could be found in any of these > > locations: > > > > /home/adahl/Work/src/BSP/platform-at91sam9g20XXX/packages/mtd-utils-1.4= .9/usr/sbin/ubiattach.at91sam9g20XXX > > > > /home/adahl/Work/src/BSP/platform-at91sam9g20XXX/packages/mtd-utils-1.4= .9/usr/sbin/ubiattach > > > > A little look to the output of the previous stages showed: ubiattach > > and all the other UBI tools are not compiled. Can anyone reproduce this? > > How can it be fixed? > > > = > I thinks it is caused by the patch > patches/mtd-utils-1.4.9/0001-make-ubifs-optional.patch, Sorry, yes, my fault. > If PTXCONF_MTD_UTILS_MKFS_UBIFS is not set then all ubi-utils are not > build, I think > that this must be PTXCONF_MTD_UTILS_UBI_UTILS. While that fixes the problem, it builds too much (and we need liblzo if any ubi tool is selected). I think the right fix is to fix the patch that patches the Makefile, see next mail. @Alexander: Can you try that out? Regards, Bernhard -- = ptxdist mailing list ptxdist@pengutronix.de