After emerging rpm5, I tried to re-emerge openoffice-bin due to some USE flag changes and the emerge failed during unpacking with various cpio "end of file not reached" errors. I tracked this failure back to issues in the rpm5 package, so I masked rpm-5.0.0 and re-emerged openoffice-bin successfully. Reproducible: Always Steps to Reproduce: 1. Emerge rpm-5.0.0. 2. Try to emerge openoffice-bin - It will fail. 3. Mask rpm-5.0.0. 4. Emerge "older" rpm. 5. emerge openoffice-bin, again. - It will succeed. Actual Results: Failed emerge of openoffice-bin.....unpacking is the source of the failure, but the actual failure happens during the install stage. Expected Results: Successful emerge of openoffice-bin. The openoffice-bin ebuild makes use of rpm_unpack functionality. This functions with pre-5.0.0 rpm, but not with 5.0.0.
I had this similar bug while using "rpm2targz-9.0.0.1g". the rpm ebuild was not installed. The 9.0.0.3g resolve the problem with emerging openoffice.
Actually I'm seeing this problem with app-arch/rpm2targz-9.0.0.3g on amd64.
rpm.eclass no longer uses app-arch/rpm, only app-arch/rpm2targz. if you have a problem with rpm2targz, then file a new bug. however, the issue you're hitting most likely isnt the same as this and there's already a bug for it.