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

Khem Raj raj.khem at gmail.com
Sat Feb 19 02:25:23 UTC 2011


On Tue, Feb 15, 2011 at 11:38 PM, Frans Meulenbroeks
<fransmeulenbroeks at gmail.com> wrote:
> 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.

Good idea. Care to do the patches ?




More information about the Openembedded-devel mailing list