Magic/File problems
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?
Thanks,
Jeff
Quoted 11 lines · Jeff Mitchell
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 8Note 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!
Quoted 8 lines
Thanks,
Jeff
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Hi there,
Quoted 1 line · Saul Wold
Which version of poky are you working with?
Git master as of that point. Revision 46cf540e63a848512617b20fd8492f81bfb2f704
Quoted 3 lines
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?
I do have a tmp/sysroots/x86_64-linux/usr/bin/file.real -- although I'm building for BeagleBoard, and don't have one in that directory.
Thanks,
Jeff