Package: linux-source-2.6 Severity: important I compile my own kernel with kernel-package, but new 2.6.26 source fails at the very end of the compiling. I tried to compile from 2.6.30 source, but same thing happens. Both kernel source came from official Debian mirror, they are linux-source-2.6.xx packages. Perhaps other versions of source suffer of same problem, but I have not tested yet.
When I type "fakeroot make-kpkg --initrd --revision=uxie.1.2 kernel_image" the following error message is displayed: =====================================CUT======================================= install -p -o root -g root -m 644 ./debian/templates.master /usr/src/linux/debian/linux-image-2.6.30/DEBIAN/templates dpkg-gencontrol -DArchitecture=amd64 -isp \ -plinux-image-2.6.30 -P/usr/src/linux/debian/linux-image-2.6.30/ /usr/src/linux/debian/linux-image-2.6.30 make[2]: execvp: /usr/src/linux/debian/linux-image-2.6.30: Permission denied make[2]: *** [debian/stamp/binary/linux-image-2.6.30] Error 127 make[2]: Leaving directory `/usr/src/linux-source-2.6.30' make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.30] Error 2 make[1]: Leaving directory `/usr/src/linux-source-2.6.30' make: *** [kernel_image] Error 2 ======================================END====================================== I thought it was kernel-package bug, but investigating further I found it's likely to be a kernel source bug. Typing "fakeroot make all", everything goes fine, producing many .o and .ko files. The problem arises when I type "fakeroot make deb-pkg", and the following error message is printed: ===================================CUT========================================= INSTALL sound/pci/hda/snd-hda-intel.ko INSTALL sound/soundcore.ko DEPMOD 2.6.30 chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/lib': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/lib/modules': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/lib/modules/2.6.30': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/lib/modules/2.6.30/kernel': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/lib/modules/2.6.30/kernel/lib': Invalid argument ... [ and so on, similar message lines...] ... chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/lib/modules/2.6.30/kernel/fs/nfsd': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/lib/modules/2.6.30/kernel/fs/affs': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/lib/modules/2.6.30/kernel/fs/isofs': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/boot': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/DEBIAN': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/etc': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/etc/kernel': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/etc/kernel/preinst.d': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/etc/kernel/postrm.d': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/etc/kernel/postinst.d': Invalid argument chmod: changing permissions of `/usr/src/linux-source-2.6.30/debian/tmp/etc/kernel/prerm.d': Invalid argument make[1]: *** [deb-pkg] Error 1 make: *** [deb-pkg] Error 2 ======================================END====================================== It might be a bug in fakeroot, but I ruled it out compiling the kernel as the root user, and the same behavior has been detected. I changed ownerships and permissions of directory tree, but all attempts have been fruitless. That bug does not render the linux-source useless because I can make its tarball, using the command "fakeroot make tarbz2-pkg". The resulting kernel image is installed without problem in my computer. Nevertheless this workaround is unsatisfactory for me, I preferred to make things in "Debian way" installing the kernel image like any normal .deb package. Thanks in advance. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org