Your message dated Sun, 30 Aug 2009 01:03:09 +0800
with message-id <[email protected]>
and subject line Re: Bug#544197: Same as #544194 bug, sorry!
has caused the Debian Bug report #544197,
regarding linux-source-2.6: compiles kernel but fails to make .deb package
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
544197: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544197
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 could 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
--- End Message ---
--- Begin Message ---
* Flavio M Matsumoto <[email protected]> [2009-08-29 10:45]:
> It's my first bug reporting for Debian and I messed things a little. I
> posted this bug twice, this one is the same as #544194. I beg to the
> maintainers to remove #544197, please. Sorry for the inconvenience.
Closing.
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---