emerge mm-sources (sys-kernel/mm-sources-2.6.5-r6) fails consistently when trying to apply the 2.6.5-mm6 patch. root@Beta mm-sources # emerge mm-sources Calculating dependencies ...done! >>> emerge (1 of 1) sys-kernel/mm-sources-2.6.5-r6 to / >>> md5 src_uri ;-) linux-2.6.5.tar.bz2 >>> md5 src_uri ;-) 2.6.5-mm6.bz2 >>> Preparing to unpack... >>> Unpacking source... >>> Unpacking linux-2.6.5.tar.bz2 to /var/tmp/portage/mm-sources-2.6.5-r6/work * Applying 2.6.5-mm6.patch... patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed. [ !! ] * Please attach /var/tmp/portage/mm-sources-2.6.5-r6/temp/2.6.5-mm6.err to any bug you may post. !!! ERROR: sys-kernel/mm-sources-2.6.5-r6 failed. !!! Function unipatch, Line 485, Exitcode 0 !!! Unable to dry-run patch. Reproducible: Always Steps to Reproduce: 1.rm /usr/portage/distfiles/* (to make sure I did not have a bad file) 2.cd /usr/portage/sys-kernel/mm-sources (optional - tried after reading forums) 3.emerge mm-sources Actual Results: The build fails during the "dry-run patch". Expected Results: created the sources under /usr/src/linux-2.6.5-*
Created attachment 30126 [details] Errors generated by emerge issue (as requested by the failure messages)
Could you try booting into a livecd and trying to emerge it from the chroot environment?
This was a problem with the upstream mm-sources-2.6.5-r6 patch; mm-sources-2.6.7_rc1-r1 applies fine here so I'm closing this as FIXED.