Package: kernel-package Version: 13.016 Severity: important It looks like the latest changes from 2016 have broken kernel-package. It cannot produce .debs anymore.
rrs@chutzpah:~/Community/linux (stable-44)$ make-kpkg --rootcmd sudo -j4 --initrd kernel_headers kernel_image kernel_debug cannot unlink file for debian/linux-headers-4.4.0+/usr/src/linux-headers-4.4.0+/include/dt-bindings/input/linux-event-codes.h: Permission denied at /usr/bin/make-kpkg line 950. cannot restore permissions to 0120777 for debian/linux-headers-4.4.0+/usr/src/linux-headers-4.4.0+/include/dt-bindings/input/linux-event-codes.h: at /usr/bin/make-kpkg line 950. cannot unlink file for debian/linux-headers-4.4.0+/usr/src/linux-headers-4.4.0+/include/asm/asm-x86: Permission denied at /usr/bin/make-kpkg line 950. cannot restore permissions to 0120777 for debian/linux-headers-4.4.0+/usr/src/linux-headers-4.4.0+/include/asm/asm-x86: Permission denied at /usr/bin/make-kpkg line 950. cannot unlink file for debian/linux-image-4.4.0+-dbg/usr/lib/debug/lib/modules/4.4.0+/source: Permission denied at /usr/bin/make-kpkg line 950. cannot restore permissions to 0120777 for debian/linux-image-4.4.0+-dbg/usr/lib/debug/lib/modules/4.4.0+/source: Permission denied at /usr/bin/make-kpkg line 950. cannot unlink file for debian/linux-image-4.4.0+-dbg/usr/lib/debug/lib/modules/4.4.0+/build: Permission denied at /usr/bin/make-kpkg line 950. cannot restore permissions to 0120777 for debian/linux-image-4.4.0+-dbg/usr/lib/debug/lib/modules/4.4.0+/build: Permission denied at /usr/bin/make-kpkg line 950. cannot unlink file for debian/linux-image-4.4.0+/lib/modules/4.4.0+/source: Permission denied at /usr/bin/make-kpkg line 950. cannot restore permissions to 0120777 for debian/linux-image-4.4.0+/lib/modules/4.4.0+/source: Permission denied at /usr/bin/make-kpkg line 950. cannot unlink file for debian/linux-image-4.4.0+/lib/modules/4.4.0+/build: Permission denied at /usr/bin/make-kpkg line 950. cannot restore permissions to 0120777 for debian/linux-image-4.4.0+/lib/modules/4.4.0+/build: Permission denied at /usr/bin/make-kpkg line 950. cannot remove directory for debian/stamp: Directory not empty at /usr/bin/make-kpkg line 950. cannot remove directory for debian: Directory not empty at /usr/bin/make-kpkg line 950. exec make kpkg_version=13.016 -f /usr/share/kernel-package/ruleset/minimal.mk debian INITRD=YES ROOT_CMD=sudo make[1]: Entering directory '/home/rrs/Community/linux' 1 CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h Kernel: arch/x86/boot/bzImage is ready (#2) make[1]: Leaving directory '/home/rrs/Community/linux' /usr/bin/make -j4 ARCH=x86_64 \ modules make[1]: Entering directory '/home/rrs/Community/linux' CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh Building modules, stage 2. MODPOST 4491 modules make[1]: Leaving directory '/home/rrs/Community/linux' COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils make dpkg-dev |\ awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'> debian/stamp/build/info uname -a >> debian/stamp/build/info echo using the compiler: >> debian/stamp/build/info if [ -f include/generated/compile.h ]; then \ grep LINUX_COMPILER include/generated/compile.h | \ sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> \ debian/stamp/build/info; \ elif [ -f include/linux/compile.h ]; then \ grep LINUX_COMPILER include/linux/compile.h | \ sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> \ debian/stamp/build/info; \ fi echo done > debian/stamp/build/kernel sudo /usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-headers-4.4.0+ sudo /usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-image-4.4.0+ sudo /usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-image-4.4.0+-dbg make: 'debian/stamp/binary/pre-linux-image-4.4.0+' is up to date. make: 'debian/stamp/binary/pre-linux-headers-4.4.0+' is up to date. make: 'debian/stamp/binary/pre-linux-image-4.4.0+-dbg' is up to date. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages kernel-package depends on: ii bc 1.06.95-9+b1 ii binutils 2.25.90.20160101-2 ii build-essential 11.7 ii bzip2 1.0.6-8 ii dpkg-dev 1.18.4 ii file 1:5.25-2 ii gettext 0.19.7-2 ii kmod 21-1 ii po-debconf 1.0.19 ii xmlto 0.0.28-0.1 ii xz-utils [lzma] 5.1.1alpha+20120614-2.1 Versions of packages kernel-package recommends: ii cpio 2.11+dfsg-4.1 pn docbook-utils <none> ii kernel-common 13.016 pn uboot-mkimage <none> Versions of packages kernel-package suggests: ii libncurses5-dev [libncurses-dev] 6.0+20151024-2 pn linux-source <none> -- no debconf information