Bug#700621: nvidia-cuda-toolkit: compatibility with nvidia-experimental-* drivers (Ubuntu)

Andreas Beckmann anbe at debian.org
Sat Feb 16 11:57:57 UTC 2013

Control: tag -1 pending

On 2013-02-15 11:54, Graham Inggs wrote:
> +  * Ubuntu: Build-Depend/Depend on nvidia-experimental-* (LP: #1092259).

ACK + committed, except for adding Depends: ${package:libcuda1}

On 2013-02-16 09:09, Graham Inggs wrote:
> Attached is an improved patch which excludes packages which provide
> libcuda.so (i.e. libcuda1, nvidia-current, etc.) from ${shlibs:Depends} as
> they are included in ${package:libcuda1}.

NACK in that form.

> This allows packages like nvidia-profiler to be installed on systems with,
> for example, only nvidia-experimental-310 installed and doesn't depend on
> the package that was present on the build system, usually nvidia-current.

Sounds sensible.

I implemented a different solution using shlibs.local to override the
dependencies for libcuda.so.1 (and reusing $(package_libcuda1)) in SVN.
Then we can have dh_shlibdeps resolve these for us without adding -x
options (and yet another copy of the Ubuntu package list). Please try it.

Good to see that the infrastructure I added to the Debian packaging to
support Ubuntu without requiring further changes on their side actually
works :-)



PS: In case you need to send further patches, please base them against
SVN trunk.

More information about the pkg-nvidia-devel mailing list