[pkg-nvidia-devel] Bug#483074: Bug#483074: nvidia-kernel-source: same problem with make-kpkg

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Tue May 27 17:53:27 UTC 2008


On Tue, May 27, 2008 at 07:06:15PM +0200, Mathias Behrle wrote:
> Package: nvidia-kernel-source
> Version: 169.12-3
> Followup-For: Bug #483074
> 
> I am builduing my kernel with 
>  make-kpkg --rootcmd=fakeroot --initrd kernel_image modules_image
> and therefore IMHO I have to unpack as user the module sources, since otherwise the modules won't be built.
> And consequently the build process complains:
> 
> #patch for XEN
> patch -p3 < /usr/src/modules/nvidia-kernel/debian/patches/xen.patch
> /bin/sh: /usr/src/modules/nvidia-kernel/debian/patches/xen.patch: Keine Berechtigung
> make[2]: *** [configure-stamp] Fehler 1
> make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
> make[1]: *** [kdist_image] Fehler 2
> make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
> Module /usr/src/modules/nvidia-kernel failed.
> Perhaps /usr/src/modules/nvidia-kernel does not understand --rootcmd?
> If you see messages that indicate that it is not
> in fact being built as root, please file a bug 
> against /usr/src/modules/nvidia-kernel.
> Hit return to Continue
> 
> I think, /usr/src/modules/nvidia-kernel/debian/patches should be drwxrwsr-x anyway, also if extracted by user.

drwxrwxr-x root/src          0 2008-05-26 12:39 modules/
drwxrwxr-x root/src          0 2008-05-26 12:39 modules/nvidia-kernel/
drwxrwxr-x root/src          0 2008-05-26 12:39 modules/nvidia-kernel/debian/
-rw-r--r-- root/src        353 2008-05-26 12:39 modules/nvidia-kernel/debian/README.Debian
-rw-r--r-- root/src      27233 2008-05-26 12:39 modules/nvidia-kernel/debian/changelog
-rw-r--r-- root/src       2734 2008-05-26 12:39 modules/nvidia-kernel/debian/conf.mk
-rw-r--r-- root/src        726 2008-05-26 12:39 modules/nvidia-kernel/debian/control.template
-rw-r--r-- root/src       8055 2008-05-26 12:39 modules/nvidia-kernel/debian/copyright
-rw-r--r-- root/src        228 2008-05-26 12:39 modules/nvidia-kernel/debian/devfs.devices
-rw-r--r-- root/src         55 2008-05-26 12:39 modules/nvidia-kernel/debian/dirs.template
-rw-r--r-- root/src        227 2008-05-26 12:39 modules/nvidia-kernel/debian/override.template
drw-r--r-- root/src          0 2008-05-26 12:39 modules/nvidia-kernel/debian/patches/
-rw-rw-r-- root/src       6367 2008-05-24 21:08 modules/nvidia-kernel/debian/patches/xen.patch
-rw-r--r-- root/src       1720 2008-05-26 12:39 modules/nvidia-kernel/debian/postinst
-rw-r--r-- root/src         21 2008-05-26 12:39 modules/nvidia-kernel/debian/postrm
-rwxr-xr-x root/src       5177 2008-05-26 12:39 modules/nvidia-kernel/debian/rules
-rw-r--r-- root/src       9425 2008-05-26 12:39 modules/nvidia-kernel/Makefile.kbuild
-rw-r--r-- root/src       4025 2008-05-26 12:39 modules/nvidia-kernel/Makefile.nvidia
-rw-r--r-- root/src       1803 2008-05-26 12:39 modules/nvidia-kernel/README
-rw-r--r-- root/src      41227 2008-05-26 12:39 modules/nvidia-kernel/conftest.sh
-rw-r--r-- root/src       8476 2008-05-26 12:39 modules/nvidia-kernel/cpuopsys.h
-rw-r--r-- root/src       9077 2008-05-26 12:39 modules/nvidia-kernel/gcc-version-check.c
-rw-r--r-- root/src       1834 2008-05-26 12:39 modules/nvidia-kernel/makefile
-rw-r--r-- root/src       9980 2008-05-26 12:39 modules/nvidia-kernel/nv-i2c.c
-rw-r--r-- root/src   11074288 2008-05-26 12:39 modules/nvidia-kernel/nv-kernel.o
-rw-r--r-- root/src      46064 2008-05-26 12:39 modules/nvidia-kernel/nv-linux.h
-rw-r--r-- root/src       2967 2008-05-26 12:39 modules/nvidia-kernel/nv-memdbg.h
-rw-r--r-- root/src        714 2008-05-26 12:39 modules/nvidia-kernel/nv-misc.h
-rw-r--r-- root/src      16820 2008-05-26 12:39 modules/nvidia-kernel/nv-reg.h
-rw-r--r-- root/src      23909 2008-05-26 12:39 modules/nvidia-kernel/nv-vm.c
-rw-r--r-- root/src        768 2008-05-26 12:39 modules/nvidia-kernel/nv-vm.h
-rw-r--r-- root/src     128305 2008-05-26 12:39 modules/nvidia-kernel/nv.c
-rw-r--r-- root/src      20681 2008-05-26 12:39 modules/nvidia-kernel/nv.h
-rw-r--r-- root/src      10344 2008-05-26 12:39 modules/nvidia-kernel/nvacpi.c
-rw-r--r-- root/src       4875 2008-05-26 12:39 modules/nvidia-kernel/nvreadme.h
-rw-r--r-- root/src      12333 2008-05-26 12:39 modules/nvidia-kernel/nvtypes.h
-rw-r--r-- root/src       9189 2008-05-26 12:39 modules/nvidia-kernel/os-agp.c
-rw-r--r-- root/src        804 2008-05-26 12:39 modules/nvidia-kernel/os-agp.h
-rw-r--r-- root/src      33830 2008-05-26 12:39 modules/nvidia-kernel/os-interface.c
-rw-r--r-- root/src       9532 2008-05-26 12:39 modules/nvidia-kernel/os-interface.h
-rw-r--r-- root/src       2395 2008-05-26 12:39 modules/nvidia-kernel/os-registry.c
-rw-r--r-- root/src       3067 2008-05-26 12:39 modules/nvidia-kernel/pat.h
-rw-r--r-- root/src       3752 2008-05-26 12:39 modules/nvidia-kernel/rmretval.h
-rw-r--r-- root/src   11074288 2008-05-26 12:39 modules/nvidia-kernel/nv-kernel.o.x86_64
-rw-r--r-- root/src       9425 2008-05-26 12:39 modules/nvidia-kernel/Makefile

That's the contents of the tar file.  It would appear that the
permissions on the patches directory is in fact screwed up.  We better
fix that.

-- 
Len Sorensen





More information about the Pkg-nvidia-devel mailing list