[pkg-nvidia-devel] Bug#459848: 169.07-1 kernel module does not build with m-a due to packaging issues

Modestas Vainius modestas at vainius.eu
Wed Jan 9 01:55:15 UTC 2008


Package: nvidia-kernel-source
Version: 169.07-1
Severity: serious

Hello,

m-a no longer finds a kernel module source tarball because it was
renamed to /usr/share/nvidia-kernel.tar.bz2

What's more, when I rename the tarball back to
/usr/share/nvidia-kernel-source.tar.bz2 and run m-a, then build fails with:

-------------------
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:204: warning: pointer of type ‘void *’ used in arithmetic
  LD [M]  /usr/src/modass/usr_src/modules/nvidia-kernel/nv/nvidia.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/src/modass/usr_src/modules/nvidia-kernel/nv/nvidia.mod.o
  LD [M]  /usr/src/modass/usr_src/modules/nvidia-kernel/nv/nvidia.ko
make[3]: Leaving directory `/usr/src/linux-headers-2.6.23-1-amd64'
NVIDIA: left KBUILD.
make[2]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel/nv'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
find: ./debian/patches.old: Permission denied
dh_clean: command returned error code
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
make: *** [kdist_image] Error 2
BUILD FAILED!
See /usr/src/modass/var_cache_modass/nvidia-kernel-source.buildlog.2.6.23-1-amd64.1199842099 for details.
Build failed. Press Return to continue...
-------------------

If I run `ls` commands below, I get:

$ ls -ld /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/
drw-r-Sr-- 2 modax src 4096 2008-01-07 22:51 patches.old/

$ ls -l /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches*
total 0
?--------- ? ? ? ?                ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/00list
?--------- ? ? ? ?                ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/01_sysfs
?--------- ? ? ? ?                ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/02_pcialias
?--------- ? ? ? ?                ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/03_pci_get_class
?--------- ? ? ? ?                ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/04_minion

After running `chmod 755 /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old`
a build with `m-a -O build nvidia` completed fine. All this is on
amd64 box with amd64 kernel and userland. According to the 
changelog, at least the first part of the problem should be present
on i386 too.


-- System Information:
Debian Release: lenny/sid
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (SMP w/1 CPU core)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.10.12    Scripts to make the life of a Debi
ii  kernel-package                11.001     A utility for building Linux kerne
ii  nvidia-glx                    169.07-1   NVIDIA binary Xorg driver

-- no debconf information





More information about the Pkg-nvidia-devel mailing list