To update sys-kernel/linux-headers-2.6.6-r1 fails on my machine because the tcp_info DRS backport patch can't be applied. The output of emerge is as follows: >>> emerge (1 of 10) sys-kernel/linux-headers-2.6.6-r1 to / >>> md5 src_uri ;-) linux-2.6.6.tar.bz2 >>> Unpacking source... >>> Unpacking linux-2.6.6.tar.bz2 to /var/tmp/portage/linux-headers-2.6.6-r1/work Makefile:434: .config: No such file or directory CHK include/linux/version.h UPD include/linux/version.h >>> version.h compiled successfully. * Applying linux-headers-2.6.6-appCompat.patch... [ ok ] * Applying linux-headers-2.6.3-strict-ansi-fix.patch... [ ok ] * Applying linux-headers-2.6.0-sysctl_h-compat.patch... [ ok ] * Applying linux-headers-2.6.0-fb.patch... [ ok ] amd64 * Applying linux-headers-2.6.4-unistd-nptl-fix.patch... [ ok ] * Applying linux-headers-2.6.6-tcp_info-DRS-backport.patch... * Failed Patch: linux-headers-2.6.6-tcp_info-DRS-backport.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/linux-headers-2.6.6-r1/temp/linux-headers-2.6.6-tcp_info-DRS-backport.patch-12581.out !!! ERROR: sys-kernel/linux-headers-2.6.6-r1 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: linux-headers-2.6.6-tcp_info-DRS-backport.patch!
Created attachment 34012 [details] "linux-headers-2.6.6-tcp_info-DRS-backport.patch-12581.out" as requested by the emerge output.
Hm, can you add "cd ../.." before the last epatch line in the ebuild which concerns that patch?
*** Bug 54972 has been marked as a duplicate of this bug. ***
OK; I've added "cd ${S}" to the ebuild so this shouldn't be an issue any more. If you could just sync and then merge the headers again things should work. Thanks!