[pkg-nvidia-devel] Bug#523716: Another build failure...
Sven Joachim
svenjoac at gmx.de
Sun Apr 12 17:36:36 UTC 2009
On 2009-04-12 15:15 +0200, Christopher Martin wrote:
> My build (180.44-1) also failed here:
>
> dh_installdocs
> dh_installmodules
> dh_installchangelogs
> dh_installmodules
> dh_strip
> dh_compress
> dh_fixperms
> dh_installdeb
> dh_gencontrol -- -v
Strange, I get
dh_gencontrol -- -v180.44-1+custom.1.2
at this stage (the custom.1.2 being the Debian revision of my
linux-image package).
> dpkg-gencontrol: unknown option `-v'
This error message is misleading, since -v is actually a known option,
but the version argument is missing.
> Usage: dpkg-gencontrol [<option> ...]
>
> Options:
> -p<package> print control file for package.
> -c<controlfile> get control info from this file.
> -l<changelogfile> get per-version info from this file.
> -F<changelogformat> force change log format.
> -v<forceversion> set version of binary package.
> -f<fileslistfile> write files here instead of debian/files.
> -P<packagebuilddir> temporary build dir instead of debian/tmp.
> -n<filename> assume the package filename will be
> <filename>.
> -O write to stdout, not .../DEBIAN/control.
> -is, -ip, -isp, -ips deprecated, ignored for compatibility.
> -D<field>=<value> override or add a field and value.
> -U<field> remove a field.
> -V<name>=<value> set a substitution variable.
> -T<varlistfile> read variables here, not debian/substvars.
> -h, --help show this help message.
> --version show the version.
> dh_gencontrol: dpkg-gencontrol returned exit code 2
> make: *** [binary-modules] Error 1
>
> ---
>
> I simply edited debian/rules to change "dh_gencontrol -- -v$(VERSION)"
> into "dh_gencontrol -- $(VERSION)". Seems to work...
Only because $(VERSION) is empty for you, and that is the problem. How
did you try to build the module?
Sven
More information about the Pkg-nvidia-devel
mailing list