Re: cross-compiling rpm -- runtime issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eli Carter wrote:
Jeff Johnson wrote:

Eli Carter wrote:

All,

I have built rpm 4.1 for arm-linux, to run on arm-linux. But it doesn't work. :( What am I doing wrong?

Oh, you want more detail? ;)

So far, I have rpm 4.1 built to run on x86, but create packages for armv4l.
Using that, I built rpm 4.1 to run on armv4l and use packages for armv4l.




There's a structure alignment patch in rpmio/rpmpgp.c for arm that you want. Check
the rpm package at netwinder.org for the patch (you might have to diff rpmpgp.c yourself).


I'm not having any luck finding a delta for rpmpgp.c
Comparing this:
http://rpmfind.net//linux/RPM/netwinder/netwinder/SRPMS/base/nw9/rpm-4.2-0.69.src.html


With 4.2-1 from rpm.org didn't show a rpmpgp.c delta.
Is this something that was merged into the main-line 4.2?

I found a discussion regarding ARM alignment issues here: http://www.netwinder.org/~brianbr/alignment.html
Is this what you are refering to?
[snip]
If all the indices were created with lazy open, and Packages has changed size, then the package was
probably installed correctly. Add -vv to the install args watch the entries being created.


The install sure looks like it is installing correctly... all the files show up, the database in /var/lib/rpm gets updated (lots of files, presumably indexes), -vv looks ok to me[1] and shows /var/lib/rpm ...

When installing SysVinit, I got:
warning: group tty does not exist - using root
error: rpmdbAdd: skipping h# 1 Header SHA1 digest: BAD Expected(855b2024ed7c9e0f84a95ef7eecc8dd94299aa4d) != (b3df4119a6ba856a3e69299f82cc980cd6796610)


I haven't pursued this yet, but it may be a clue.
I'll try again to find the alignment patch...

Thanks again,

Eli
PS. I'll be out until Tuesday, so I'll pick this up then.
--------------------. "If it ain't broke now,
Eli Carter           \                  it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------




------------------------------------------------------------------------ Confidentiality Notice: This e-mail transmission may contain confidential and/or privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or reliance upon the contents of this e-mail message is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that proper delivery can be arranged, and please delete the message from your computer. Thank you. Inet Technologies, Inc. ------------------------------------------------------------------------


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux