mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] ubi utils in package mtd-utils broken
Date: Thu, 5 Apr 2012 12:49:35 +0200	[thread overview]
Message-ID: <20120405104935.GA20256@regiomontanus.bwalle.de> (raw)
In-Reply-To: <CAF6WcOj8HozJvGDiGZO_iuHw1OuzO1mr4nc=3FQ_8nOr1h6V5Q@mail.gmail.com>

Hi,

* Bart van der Meulen <bartvdrmeulen@gmail.com> [2012-04-05 11:20]:
> 2012/4/4 Alexander Dahl <post@lespocky.de>:
> > 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:
> >
> >  make: ***
> > [/home/adahl/Work/src/BSP/platform-at91sam9g20XXX/state/mtd-utils.targetinstall]
> > Error 1
> >
> >  No 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

  reply	other threads:[~2012-04-05 10:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04 16:59 Alexander Dahl
2012-04-05  9:05 ` Bernhard Walle
2012-04-05  9:20 ` Bart van der Meulen
2012-04-05 10:49   ` Bernhard Walle [this message]
2012-04-05 10:50     ` [ptxdist] [PATCH] mtd-utils: Fix build of UBI tools when mkfs.ubifs is not enabled Bernhard Walle
2012-04-08  7:43       ` Michael Olbrich
2012-04-05 16:29     ` [ptxdist] ubi utils in package mtd-utils broken Alexander Dahl
2012-04-10 15:04       ` Alexander Dahl
2012-04-10 15:08         ` Bernhard Walle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120405104935.GA20256@regiomontanus.bwalle.de \
    --to=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox