On 02/16/2011 12:38 AM, Frans Meulenbroeks wrote:
2011/2/15 Tom Rini<[email protected]>:
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

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to