Probably a wrong patch in the ebuild of sys-apps/util-linux-2.19 which is only used with USE="loop-aes". Reproducible: Always Steps to Reproduce: 1. emerge sys-apps/util-linux-2.19 with USE="loop-aes" Actual Results: Failed Patch: util-linux-ng-2.18-20100706.diff Expected Results: A compiled and installed version of util-linux. My System: ~x86 emerge -1av sys-apps/util-linux These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-apps/util-linux-2.19 [2.18-r1] USE="cramfs crypt loop-aes nls perl unicode -old-linux (-selinux) -slang (-uclibc)" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/util-linux-2.19 * util-linux-2.19.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * util-linux-ng-2.18-20100706.diff.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: sys-apps/util-linux-2.19 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: cramfs crypt elibc_glibc kernel_linux loop-aes nls perl unicode userland_GNU x86 * FEATURES: ccache sandbox >>> Unpacking source... >>> Unpacking util-linux-2.19.tar.bz2 to /var/tmp/portage/sys-apps/util-linux-2.19/work >>> Unpacking util-linux-ng-2.18-20100706.diff.bz2 to /var/tmp/portage/sys-apps/util-linux-2.19/work >>> Source unpacked in /var/tmp/portage/sys-apps/util-linux-2.19/work >>> Preparing source in /var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-2.19 ... * Applying util-linux-ng-2.18-20100706.diff ... * Failed Patch: util-linux-ng-2.18-20100706.diff ! * ( /var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-ng-2.18-20100706.diff ) * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-apps/util-linux-2.19/temp/util-linux-ng-2.18-20100706.diff.out * ERROR: sys-apps/util-linux-2.19 failed (prepare phase): * Failed Patch: util-linux-ng-2.18-20100706.diff! * * Call stack: * ebuild.sh, line 56: Called src_prepare * environment, line 3067: Called epatch '/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-ng-2.18-20100706.diff' * environment, line 1664: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of 'emerge --info =sys-apps/util-linux-2.19', * the complete build log and the output of 'emerge -pqv =sys-apps/util-linux-2.19'. * The complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.19/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/util-linux-2.19/temp/environment'. * S: '/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-2.19'
*** This bug has been marked as a duplicate of bug 354451 ***