We are looking to recompile a tool that uses expat. We expect to compile from source, so I downloaded the expat SRPM file from the AIX OpenSoource Toolkit. I am having difficulty in extracting the source file(s) though.
$ rpm2cpio expat-2.6.2-1.src.rpm | /usr/bin/cpio -idmv
Out of phase!
cpio attempting to continue...
skipping 24032 bytes to get back in phase!
One or more files lost and the previous file is possibly corrupt
Length of file name doesn't match expected length.
So, I tried to extract the package into a ".cpio" file, and that succeeded, but subsequently using cpio to extract the source files still fails.
$ cpio -id <expat-2.6.2-1.src.cpio
Out of phase!
cpio attempting to continue...
skipping 24032 bytes to get back in phase!
One or more files lost and the previous file is possibly corrupt
Length of file name doesn't match expected length.
So, what do I do now? I think I need to get a new updated "cpio", but I don't know where to look to find one to install. It is not available within the "toolkit".
Sincerely,
Chuck
------------------------------
Chuck Moore
------------------------------