mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bart van der Meulen <bartvdrmeulen@gmail.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] ubi utils in package mtd-utils broken
Date: Thu, 5 Apr 2012 11:20:51 +0200	[thread overview]
Message-ID: <CAF6WcOj8HozJvGDiGZO_iuHw1OuzO1mr4nc=3FQ_8nOr1h6V5Q@mail.gmail.com> (raw)
In-Reply-To: <331c066a9fdb38f7a91ef2e0bf11110e@idefix.lespocky.dyndns.org>

[-- Attachment #1: Type: text/plain, Size: 1424 bytes --]

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,

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.

See attached patch.


> Greets
> Alex
>
> --
> »With the first link, the chain is forged. The first speech censured,
> the first thought forbidden, the first freedom denied, chains us all
> irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
> *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de

[-- Attachment #2: 0001-mtd-utils-build-of-ubi-utils-should-depend-on-MTD_UT.patch --]
[-- Type: text/x-diff, Size: 853 bytes --]

From 064471c078fc09442422f08a45fa6e24de786461 Mon Sep 17 00:00:00 2001
From: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
Date: Thu, 5 Apr 2012 11:19:29 +0200
Subject: [PATCH] mtd-utils: build of ubi-utils should depend on MTD_UTILS_UBI_UTILS

When MTD_UTILS_UBI_UTILS is not selected then the ubi-utils don't
have to build.


Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
 rules/mtd-utils.make |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
index 14df787..ef0a61b 100644
--- a/rules/mtd-utils.make
+++ b/rules/mtd-utils.make
@@ -48,7 +48,7 @@ ifndef PTXCONF_MTD_UTILS_USE_LIBLZO
 MTD_UTILS_COMPILE_ENV += WITHOUT_LZO=1
 endif
 
-ifndef PTXCONF_MTD_UTILS_MKFS_UBIFS
+ifndef PTXCONF_MTD_UTILS_UBI_UTILS
 MTD_UTILS_COMPILE_ENV += WITHOUT_MKUBIFS=1
 endif
 
-- 
1.7.0.4


[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2012-04-05  9:20 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 [this message]
2012-04-05 10:49   ` Bernhard Walle
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='CAF6WcOj8HozJvGDiGZO_iuHw1OuzO1mr4nc=3FQ_8nOr1h6V5Q@mail.gmail.com' \
    --to=bartvdrmeulen@gmail.com \
    --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