[oe] git head: build of rpm-native fails

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Feb 16 07:38:35 UTC 2011


2011/2/15 Tom Rini <tom_rini at mentor.com>:
> On 02/14/2011 11:48 PM, Frans Meulenbroeks wrote:
>>
>> Hi,
>>
>> Yesterday I tried whether I could cross compile a helloworld.rpm to
>> try on a fedora-arm box, but I failed in building rpm-native.
>> This issue was verified by Jay. His log:
>> http://tinderbox.openembedded.net/public/logs/task/25555153.txt
>>
>> apparently this is the failing part is:
>>
>> file -C -m ./magic.mime
>> ./magic.mime, 187: Warning: string extension `B' invalid
>> ./magic.mime, 401: Warning: string extension `B' invalid
>> ./magic.mime, 618: Warning: string extension `B' invalid
>> ./magic.mime, 623: Warning: string extension `B' invalid
>> ./magic.mime, 627: Warning: string extension `B' invalid
>> ./magic.mime, 628: Warning: string extension `B' invalid
>> ./magic.mime, 672: Warning: no need to escape `#'
>> ./magic.mime, 674: Warning: no need to escape `#'
>> file: could not find any magic files!
>> make[4]: *** [magic.mime.mgc] Ошибка 1
>> make[4]: *** Ожидание Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð¸Ñ  Ð·Ð°Ð´Ð°Ð½Ð¸Ð¹..
>>
>> I tried the command in a devshell and there it also fails, but I have
>> not really an idea what is wrong (and I don't know too much about RPM
>> anyway)
>> Suggestions? Fixes ?
>
> rpm depends on having a specific version of file around and there's probably
> a mis-match.

Guess so.
Note that this is not host related as the file used is build by OE (file-native)

Actually maybe we should move to a newer version of rpm. Ours is at
4.4.2.3, latest stable is 4.8.1
and file on oe is 5.04, mainstream is 5.05, but I guess that will have
less impact.

Frans




More information about the Openembedded-devel mailing list