Bug#544194: linux-source-2.6: compiles kernel but fails to make .deb package
Ben Hutchings escreveu:
> It works for me, though I have to run "umask 022" first due to a
> separate bug in the deb-pkg rule.
Even after typing "umask 022", "make deb-pkg" still refuses to work in the
fakeroot environment.
Things has changed however, now under root ownership (using either su or
sudo) "make deb-pkg" produces the kernel .deb package. Using "make-kpkg"
is ok too. It's weird, I tried many times before and was stuck by the
error message as I had reported.
> Is /usr/src/linux-source-2.6.30 on a local filesystem or NFS?
It's on my local SATA hard disk.
> 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?
That directory really exists (not a symlink), but it's empty.
> 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.
Running as root is pointless now, since the bug doesn't occur. I wonder if
it would be a fakeroot bug.
I confess myself surprised by the bug changing its behavior.
Flavio Matsumoto
>
> Ben.
>
> --
> Ben Hutchings
> If at first you don't succeed, you're doing about average.
>
Reply to: