[pkg-nvidia-devel] Bug#473378: nvidia-kernel-source: Fails to create changelog when kernel source directory is outside /usr/src

Peter Hicks peter.hicks at poggs.co.uk
Sun Mar 30 09:06:39 UTC 2008


Package: nvidia-kernel-source
Version: 169.09-1
Severity: normal

I build several kernel sources off one machine, and my sources are all held
under /usr/src/poggs/$KERNEL_VERSION.

nvidia-kernel-source fails to generate a changelog:

  dh_builddeb  --destdir=/usr/src/poggs/2.6.24/linux-2.6.24/..
  dpkg-deb: building package `nvidia-kernel-2.6.24.4-angel-poggs' in `/usr/src/poggs/2.6.24/linux-2.6.24/../nvidia-kernel-2.6.24.4-angel-poggs_169.09-1+2.6.24.4-angel-poggs-10.00.Custom_i386.deb'.
  make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
  # Build a .changes file.
  dpkg-genchanges -b -e"angel.st-albans.poggs.net <root at angel.st-albans.poggs.net>" -u"/usr/src/modules/nvidia-kernel/../.." > /usr/src/modules/nvidia-kernel/../../nvidia-kernel-2.6.24.4-angel-poggs_169.09-1+2.6.24.4-angel-poggs-10.00.Custom_i386.changes
  dpkg-genchanges: warning: duplicate files list entry for file nvidia-kernel-2.6.24.4-angel-poggs_169.09-1+2.6.24.4-angel-poggs-10.00.Custom_i386.deb (line 2)
  dpkg-genchanges: binary-only upload - not including any source code
  dpkg-genchanges: failure: cannot open upload file /usr/src/modules/nvidia-kernel/../../nvidia-kernel-2.6.24.4-angel-poggs_169.09-1+2.6.24.4-angel-poggs-10.00.Custom_i386.deb for reading: No such file or directory
  make[1]: *** [kdist] Error 2
  make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
  Module /usr/src/modules/nvidia-kernel failed.
  Hit return to Continue?

This is caused by the following line in debian/rules:

  kdist:
  [...]
    dpkg-genchanges -b -e"$(KMAINT) <$(KEMAIL)>" -u"$(CURDIR)/../.." > $(CHFILE)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.4-angel-poggs (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     6.0.10     helper programs for debian/rules
ii  dpatch                        2.0.29     patch maintenance system for Debia
ii  make                          3.81-3.1   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.20    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.09-1   NVIDIA binary Xorg driver

-- no debconf information





More information about the Pkg-nvidia-devel mailing list