Issues with make-kpkg while compiling Linux Kernel From Source.

From: Anil Nair
Date: Mon May 08 2017 - 01:19:43 EST


Hi,

A file named "REPORTING-BUGS" is moved (and renamed and edited) to
"Documentation/admin-guide/reporting-bugs.rst" as on linux kernel version v4.10.
(As mentioned in conversation with Randy Dunlap in lkml)

The command make-kpkg fails to build, the command that i used was,

"fakeroot make-kpkg --initrd --revision=1.0.AN kernel_image kernel_headers -j 4"

The error i received was,

"install -p -o root -g root -m 644 REPORTING-BUGS
/home/anilnair/linux-kernel/linux-stable/debian/linux-headers-4.11.0anilnair-07650-ga1be8ed-dirty/usr/share/doc/linux-headers-4.11.0anilnair-07650-ga1be8ed-dirty/
install: cannot stat 'REPORTING-BUGS': No such file or directory
debian/ruleset/targets/headers.mk:40: recipe for target
'debian/stamp/install/linux-headers-4.11.0anilnair-07650-ga1be8ed-dirty'
failed
make[1]: *** [debian/stamp/install/linux-headers-4.11.0anilnair-07650-ga1be8ed-dirty]
Error 1
make[1]: Leaving directory '/home/anilnair/linux-kernel/linux-stable'
debian/ruleset/local.mk:102: recipe for target 'kernel_headers' failed
make: *** [kernel_headers] Error 2"

I am using linux kernel version 4.4.0-72-generic, and make-kpkg version 13.018.

I suppose i am addressing this issue to proper maintainer.


--
--
Regards,
Anil Nair