Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 476098

Summary: =sys-kernel/gentoo-sources-3.9.[236] - devicetable-offsets.h is not removed by "make distclean"
Product: Gentoo Linux Reporter: Mark Dominik Bürkle <dominik.buerkle>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.kernel.org/show_bug.cgi?id=60540
Whiteboard: watch-linux-bugzilla
Package list:
Runtime testing required: ---

Description Mark Dominik Bürkle 2013-07-07 19:20:26 UTC
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.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-09 21:07:43 UTC
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.
Comment 2 Mark Dominik Bürkle 2013-07-09 22:26:42 UTC
see https://bugzilla.kernel.org/show_bug.cgi?id=60540
Kind regards,
mdb