>>> Emerging (1 of 1) sys-kernel/hardened-sources-2.6.17-r1 to / * genpatches-2.6.17-8.base.tar.bz2 MD5 ;-) ... [ ok ] * genpatches-2.6.17-8.base.tar.bz2 RMD160 ;-) ... [ ok ] * genpatches-2.6.17-8.base.tar.bz2 SHA1 ;-) ... [ ok ] * genpatches-2.6.17-8.base.tar.bz2 SHA256 ;-) ... [ ok ] * genpatches-2.6.17-8.base.tar.bz2 size ;-) ... [ ok ] * hardened-patches-2.6.17-3.extras.tar.bz2 MD5 ;-) ... [ ok ] * hardened-patches-2.6.17-3.extras.tar.bz2 RMD160 ;-) ... [ ok ] * hardened-patches-2.6.17-3.extras.tar.bz2 SHA1 ;-) ... [ ok ] * hardened-patches-2.6.17-3.extras.tar.bz2 SHA256 ;-) ... [ ok ] * hardened-patches-2.6.17-3.extras.tar.bz2 size ;-) ... [ ok ] * linux-2.6.17.tar.bz2 MD5 ;-) ... [ ok ] * linux-2.6.17.tar.bz2 RMD160 ;-) ... [ ok ] * linux-2.6.17.tar.bz2 SHA1 ;-) ... [ ok ] * linux-2.6.17.tar.bz2 SHA256 ;-) ... [ ok ] * linux-2.6.17.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking linux-2.6.17.tar.bz2 ;-) ... [ ok ] * checking hardened-patches-2.6.17-3.extras.tar.bz2 ;-) ... [ ok ] * checking genpatches-2.6.17-8.base.tar.bz2 ;-) ... [ ok ] >>> Preparing to unpack ... >>> Unpacking source... >>> Unpacking linux-2.6.17.tar.bz2 to /var/tmp/portage/hardened-sources-2.6.17-r1/work * Preparing genpatches-2.6.17-8.base.tar.bz2 ... [ ok ] * Preparing hardened-patches-2.6.17-3.extras.tar.bz2 ... [ ok ] * Applying patch: 4000_deprecate-sk98lin.patch ... [ ok ] * Applying patch: 4105_dm-bbr.patch ... [ ok ] * Applying patch: 4135_promise-pdc2037x.patch ... [ ok ] * Applying patch: 4300_squashfs-3.0.patch ... [ ok ] * Unable to apply patch: 4450_grsec-2.1.9-2.6.17-200608231940.patch * Please attach the following patch log when submitting * a bug. * /var/tmp/portage/hardened-sources-2.6.17-r1/temp/4450_grsec-2.1.9-2.6.17-200608231940.patch.log !!! ERROR: sys-kernel/hardened-sources-2.6.17-r1 failed. Call stack: ebuild.sh, line 1543: Called dyn_unpack ebuild.sh, line 709: Called src_unpack ebuild.sh, line 1252: Called kernel-2_src_unpack kernel-2.eclass, line 978: Called unipatch ' /var/tmp/portage/hardened-sources-2.6.17-r1/distdir/genpatches-2.6.17-8.base.tar.bz2 /var/tmp/portage/hardened-sources-2.6.17-r1/distdir/hardened-patches-2.6.17-3.extras.tar.bz2' unipatch-001.eclass, line 254: Called apply_patch '/var/tmp/portage/hardened-sources-2.6.17-r1/work/patches/2.6.17/4450_grsec-2.1.9-2.6.17-200608231940.patch' unipatch-001.eclass, line 300: Called die !!! Unable to apply patch: 4450_grsec-2.1.9-2.6.17-200608231940.patch !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 95173 [details] 4450_grsec-2.1.9-2.6.17-200608231940.patch.log
Created attachment 95174 [details] emerge --info
*** Bug 145228 has been marked as a duplicate of this bug. ***
Looks like unipatch is screwing this up. Will see to either fix unipatch or just remove it for now.
OK, I just committed an updated ebuild (which isn't having the unipatch in the include and WORKSFORME). Thanks everyone for bringing this to my attention.