The rpm_unpack function in rpm.eclass uses rpm2tar to unpack the contents of a RPM file to workdir. rpm2tar fails on some rpms (see https://bugs.gentoo.org/show_bug.cgi?id=576842) the rpm2cpio | cpio -idm works reliably on these packages. Shouldn't we switch to rpm2cpio?
(In reply to Anton Gubarkov from comment #0) > Shouldn't we switch to rpm2cpio? That would require people to install app-arch/rpm, which is a "heavier" package than rpm2targz. I do agree that it would probably be a better solution though.