[pkg-nvidia-devel] Bug#493470: building nvidia module package using module-assistant fails

Harald Dunkel harald.dunkel at t-online.de
Sat Aug 2 20:06:00 UTC 2008

Package: nvidia-kernel-source
Version: 173.14.09-3
Severity: serious

Hi folks,

If I try to build the nvidia modules using module-assistant, then
I get

% export SIGNCHANGES=true
% module-assistant -f -t -u /tmp/modules build nvidia-kernel
Warning: sudo not found. Automatic package installations not possible!
Extracting the package tarball, /usr/src/nvidia-kernel.tar.bz2, please wait...
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/tmp/modules/usr_src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /tmp/modules/usr_src/modules/nvidia-kernel/Makefile || true
dh_gencontrol -- -v173.14.09-3
dh_builddeb  --destdir=/tmp/modules
dpkg-deb: building package `nvidia-kernel-2.6.26' in `/tmp/modules/nvidia-kernel-2.6.26_173.14.09-3_amd64.deb'.
make[1]: Leaving directory `/tmp/modules/usr_src/modules/nvidia-kernel'
# Build a .changes file.
dpkg-genchanges -b -e" <user at myhome.net>" -u"/tmp/modules/usr_src/modules/nvidia-kernel/../.." > /tmp/modules/usr_src/modules/nvidia-kernel/../../nvidia-kernel-2.6.26_173.14.09-3_.changes
dpkg-genchanges: binary-only upload - not including any source code
dpkg-genchanges: failure: cannot fstat file /tmp/modules/usr_src/modules/nvidia-kernel/../../nvidia-kernel-2.6.26_173.14.09-3_amd64.deb: No such file or directory
make: *** [kdist] Error 2
See /tmp/modules/var_cache_modass/nvidia-kernel-source.buildlog. for details.
Build failed. Press Return to continue...

AFAICS the "../.." in calling dpkg-genchanges is messed up. Should be
"../../..". And the *.changes file should be named something like
"nvidia-kernel-2.6.26_173.14.09-3_amd64.changes", depending upon the
output of dpkg-architecture.

The same problem exists for the old legacy modules, AFAICS. It would
be very nice if this could be fixed.

Many thanx


More information about the Pkg-nvidia-devel mailing list