[pkg-nvidia-devel] Bug#534535: dh_builddeb - Option destdir requires an argument

Artur R. Czechowski arturcz at hell.pl
Thu Jun 25 06:17:52 UTC 2009


Package: nvidia-kernel-source
Version: 185.18.14-1
Severity: normal
Tags: patch

Hello,
During build nvidia kernel module I spotted following warning:

dh_builddeb  --destdir=
Option destdir requires an argument
dh_builddeb: warning: unknown options will be a fatal error in a future debhelper release

I build the package using debian/rules binary_modules

In debian/rules file there is call:
dh_builddeb  --destdir=$(KPKG_DEST_DIR)
I believe that KPKG_DEST_DIR is passed from caller via command line. In such
case adding following line:

KPKG_DEST_DIR ?= ..

somewhere at the begining of rules file is sufficient and shall not break
anything.

Regards
	Artur

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     7.2.16     helper programs for debian/rules
ii  dpatch                        2.0.31     patch maintenance system for Debia
ii  make                          3.81-6     An utility for Directing compilati
ii  sed                           4.2-1      The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                   2.10.52     scripts to make the life of a Debi
ii  kernel-package               12.014      A utility for building Linux kerne
ii  nvidia-glx                   185.18.14-1 NVIDIA binary Xorg driver

nvidia-kernel-source suggests no packages.

-- no debconf information

-- 
Artur R. Czechowski <arturcz at hell.pl>
JID: arturcz at hell.pl  http://hell.pl/arturcz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kpkg-dest-dir.patch
Type: text/x-diff
Size: 375 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20090625/1ac04919/attachment.patch>


More information about the Pkg-nvidia-devel mailing list