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

Mathias Behrle mathias.behrle at gmx.de
Tue May 27 17:06:15 UTC 2008

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.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-2-obelix-opt (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     7.0.8      helper programs for debian/rules
ii  dpatch                        2.0.29     patch maintenance system for Debia
ii  make                          3.81-4     The GNU version of the "make" util
ii  sed                           4.1.5-6    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.10.27    scripts to make the life of a Debi
ii  kernel-package                11.001-0.1 A utility for building Linux kerne
ii  nvidia-glx                    169.12-3   NVIDIA binary Xorg driver

-- no debconf information

More information about the Pkg-nvidia-devel mailing list