[Rpm-maint] apparently broken 'rpm2cpio' in rpm-4.9.*

Sergei Steshenko sergstesh at yahoo.com
Sun Aug 21 21:14:08 UTC 2011


I've built rpm-4.9.0, rpm-4.9.1, rpm- and using
'rpm2cpio' from them running a command line like this:

/mnt/sdb8/sergei/AFSWD_debug/20110601/rpm-4.9.0/binsh/rpm2cpio ../java-1_6_0-sun-1.6.0.u26-0.2.1.i586.rpm | /home/sergei/junk/cpio-2.11/src/cpio -ivd 2>&1 | less

I'm getting a lot of error messages like these:

/home/sergei/junk/cpio-2.11/src/cpio: Malformed number
/home/sergei/junk/cpio-2.11/src/cpio: warning: skipped 7892 bytes of junk

The messages are followed gibberish on some lines.

Using 'rpm2cpio' of (apparently) version does not cause
these messages and the command line works as expected. So the Java RPM
I'm using a tes t case is apaprently OK.

This 'rpm2cpio' version is a stock one on my machine.

Since I'm not hacking the source most likely it's a problem
with 'rpm' source.

I can't build easily earlier 'rpm'  versions because my Berkeley db
is too new for them.


More information about the Rpm-maint mailing list