Hello, I discover the problem when I tried to install media-fonts/urw-fonts. This was my build log: [32;01m * [39;49;00mPackage: media-fonts/urw-fonts-2.4.9 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: fonts@gentoo.org [32;01m * [39;49;00mUSE: X abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU [32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox Unpacking source... Unpacking urw-fonts-2.4-9.fc13.src.rpm to /var/tmp/portage/media-fonts/urw-fonts-2.4.9/work rpm2tar: /var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm: failed to extract cpio via gzip (not actually an RPM?) tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors [31;01m*[0m ERROR: media-fonts/urw-fonts-2.4.9::gentoo failed (unpack phase): [31;01m*[0m failure unpacking /var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 133: Called src_unpack [31;01m*[0m environment, line 2295: Called rpm_src_unpack [31;01m*[0m environment, line 2250: Called srcrpm_unpack 'urw-fonts-2.4-9.fc13.src.rpm' [31;01m*[0m environment, line 2300: Called rpm_unpack 'urw-fonts-2.4-9.fc13.src.rpm' [31;01m*[0m environment, line 2278: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m rpm2tar -O "${a}" | tar xf - || die "failure unpacking ${a}"; [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=media-fonts/urw-fonts-2.4.9::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-fonts/urw-fonts-2.4.9::gentoo'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work' [31;01m*[0m S: '/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work' I had the idea to emerge app-arch/cpio and re-emerge app-arch/gzip. It's ok ! I think so that app-arch/gzip package needs a little evolution. I am not a experimented gentoo user, I suppose it needs a cpio flag to decide either the cpio will be supported or not. I hope that I gave enough information. If I don't, don't hesitate to ask me. Regards, Hogren
Thanks for the bug report. First thing: the error message is coming from the rpm2tar command, as provided by the app-arch/rpm2targz package. Let's take a look at the dependencies involved here: media-fonts/urw-fonts DEPENDs on app-arch/rpm2targz. app-arch/rpm2targz RDEPENDs on app-arch/cpio. Therefore, assuming a system with consistent package state, you should have had cpio installed before urw-fonts reached its unpack stage. I'm guessing you manually unmerged cpio at some point. If you can demonstrate a way to reproduce this problem in some other way, feel free to reopen the bug.
Hello, effectively, when I unmerge rpm2targz, cpio, and urw-fonts, and I make "emerge urw-fonts", it works fine. I see that the free package are emerged. I never unmerge cpio. I analysed my emerge.log. I see the emerge of cpio, and many times after, the emerge of rpm2targz. Between this and today, there isn't unmerge of cpio. I didn't give attention of the status of the today emerge of cpio (N or R), but I think that it was "R", when I look at the log : 1466163514: *** emerge cpio 1466163517: >>> emerge (1 of 1) app-arch/cpio-2.12-r1 to / 1466163517: === (1 of 1) Cleaning (app-arch/cpio-2.12-r1::/usr/portage/app-arch/cpio/cpio-2.12-r1.ebuild) 1466163517: === (1 of 1) Compiling/Merging (app-arch/cpio-2.12-r1::/usr/portage/app-arch/cpio/cpio-2.12-r1.ebuild) 1466163569: === (1 of 1) Merging (app-arch/cpio-2.12-r1::/usr/portage/app-arch/cpio/cpio-2.12-r1.ebuild) 1466163570: >>> AUTOCLEAN: app-arch/cpio:0 1466163570: === Unmerging... (app-arch/cpio-2.12-r1) 1466163571: >>> unmerge success: app-arch/cpio-2.12-r1 1466163573: === (1 of 1) Updating world file (app-arch/cpio-2.12-r1) 1466163573: === (1 of 1) Post-Build Cleaning (app-arch/cpio-2.12-r1::/usr/portage/app-arch/cpio/cpio-2.12-r1.ebuild) 1466163573: ::: completed emerge (1 of 1) app-arch/cpio-2.12-r1 to / 1466163573: *** Finished. Cleaning up... 1466163574: *** exiting successfully. 1466163578: *** terminating. May be there was a problem with my first cpio emerge… Mystery Thank you for you response Mike Gilbert.