All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Jeff Mitchell <jmitchell@ll.mit.edu>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Magic/File problems
Date: Mon, 01 Aug 2011 15:18:45 -0700	[thread overview]
Message-ID: <4E372645.7000205@linux.intel.com> (raw)
In-Reply-To: <4E36E879.8070407@ll.mit.edu>

On 08/01/2011 10:55 AM, Jeff Mitchell wrote:
> On my host system I have the "file" utility version 5.05. The version in
> poky/in my build directories is version 5.04. I'm seeing a lot of builds
> fail with the following:
>
> | error: magic_load(ms, /usr/share/misc/magic) failed: File 5.4 supports
> only version 7 magic files. `/usr/share/misc/magic.mgc' is version 8
>
> Note that the version there is 5.4; this doesn't match anything as far
> as I can tell.
>
> Any ideas?

Jeff,

Which version of poky are you working with? There was a problem that we 
had with file at one point and thought was fixed. If you check in your
tmp/sysroots directory for the host machine, do you have a file.real?

We needed to create a cover script which correctly pointed file to the 
right magic.mgc file.

Hope that helped.

Sau!

>
> Thanks,
> Jeff
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


  reply	other threads:[~2011-08-01 22:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01 17:55 Magic/File problems Jeff Mitchell
2011-08-01 22:18 ` Saul Wold [this message]
2011-08-02 14:31   ` Jeff Mitchell
  -- strict thread matches above, loose matches on Subject: below --
2011-08-09 15:57 jani.uusi-rantala
2011-08-11 15:29 ` Saul Wold

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=4E372645.7000205@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=jmitchell@ll.mit.edu \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.