All of lore.kernel.org
 help / color / mirror / Atom feed
* git head: build of rpm-native fails
@ 2011-02-15  6:48 Frans Meulenbroeks
  2011-02-15 14:38 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Frans Meulenbroeks @ 2011-02-15  6:48 UTC (permalink / raw)
  To: openembedded-devel

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 ?

Frans



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git head: build of rpm-native fails
  2011-02-15  6:48 git head: build of rpm-native fails Frans Meulenbroeks
@ 2011-02-15 14:38 ` Tom Rini
  2011-02-16  7:38   ` Frans Meulenbroeks
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2011-02-15 14:38 UTC (permalink / raw)
  To: openembedded-devel

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.

-- 
Tom Rini
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git head: build of rpm-native fails
  2011-02-15 14:38 ` Tom Rini
@ 2011-02-16  7:38   ` Frans Meulenbroeks
  2011-02-18 19:29     ` Tom Rini
  2011-02-19  2:25     ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Frans Meulenbroeks @ 2011-02-16  7:38 UTC (permalink / raw)
  To: openembedded-devel

2011/2/15 Tom Rini <tom_rini@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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git head: build of rpm-native fails
  2011-02-16  7:38   ` Frans Meulenbroeks
@ 2011-02-18 19:29     ` Tom Rini
  2011-02-19  2:25     ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2011-02-18 19:29 UTC (permalink / raw)
  To: openembedded-devel

On 02/16/2011 12:38 AM, Frans Meulenbroeks wrote:
> 2011/2/15 Tom Rini<tom_rini@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.

In terms of doing anything with rpm, the best bet is to look at what 
poky has done as Mark Hatle has spent a lot of time making rpm usable 
and useful there.  Or better yet, start working on oe-core where we've 
inherited those benefits out of the box.  I say this since rpm is a 
complex beast and it's a non-trivial thing to make it "just work".

-- 
Tom Rini
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git head: build of rpm-native fails
  2011-02-16  7:38   ` Frans Meulenbroeks
  2011-02-18 19:29     ` Tom Rini
@ 2011-02-19  2:25     ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2011-02-19  2:25 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Feb 15, 2011 at 11:38 PM, Frans Meulenbroeks
<fransmeulenbroeks@gmail.com> wrote:
> 2011/2/15 Tom Rini <tom_rini@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 ?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-19  2:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-15  6:48 git head: build of rpm-native fails Frans Meulenbroeks
2011-02-15 14:38 ` Tom Rini
2011-02-16  7:38   ` Frans Meulenbroeks
2011-02-18 19:29     ` Tom Rini
2011-02-19  2:25     ` Khem Raj

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.