The file scripts/mod/devicetable-offsets.h is generated by kbuild and not removed by "make distclean". Most likely an ustream bug... Reproducible: Always Steps to Reproduce: 1. emerge =sys-kernel/gentoo-sources-3.9.2 # or .3 or .6 I guess any 3.9 version 2. cd /usr/src/linux-3.9.2-gentoo 3. copy your preferred .config 4. make oldconfig 5. make modules_prepare 6. make distclean 7. emerge --unmerge =sys-kernel/gentoo-sources-3.9.2 Actual Results: one file is left: /usr/src/linux-3.9.2-gentoo/scripts/mod/devicetable-offsets.h Expected Results: file should be removed by "make distclean". gentoo-sources-3.10.0 behaves correctly, seems to be fixed there. Workaround: remove the file (and directories above) by hand.
Yes, we patch minimal and I don't see it in genpatches; please report upstream at https://bugzilla.kernel.org and leave us a link to the upstream bug, thank you in advance. If you can't, let us know and we'll do it for you.
see https://bugzilla.kernel.org/show_bug.cgi?id=60540 Kind regards, mdb