[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#544194: linux-source-2.6: compiles kernel but fails to make .deb package



On Sat, 2009-08-29 at 10:27 -0300, Flávio Massao Matsumoto wrote:
> 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. 
[...]
> 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
[...]

It works for me, though I have to run "umask 022" first due to a
separate bug in the deb-pkg rule.

Is /usr/src/linux-source-2.6.30 on a local filesystem or NFS?

There are several references to /usr/src/linux/debian/linux-image-2.6.30
in your bug report.  Is this a different directory or is one of these a
sym-link to the other?

Please can you run:
    make
    strace -f -e execve,chdir,chmod,fchmodat -o deb-pkg.strace make deb-pkg
and send back the file "deb-pkg.strace".  The second command should be
run as root, not using fakeroot.

Ben.

-- 
Ben Hutchings
If at first you don't succeed, you're doing about average.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: