[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1011365: marked as done (bullseye-pu: package nvidia-cuda-toolkit/11.2.2-3+deb11u2)



Your message dated Sat, 09 Jul 2022 11:47:43 +0100
with message-id <2280fe8c78e64b02a6c1d04c6dde5a32e342ba81.camel@adam-barratt.org.uk>
and subject line Closing requests for updates included in 11.4
has caused the Debian Bug report #1011365,
regarding bullseye-pu: package nvidia-cuda-toolkit/11.2.2-3+deb11u2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1011365: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011365
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian.org@packages.debian.org
Usertags: pu

Hi,

the nvidia-cuda-toolkit 11.2.2-3+deb11u1 bullseye-pu update
unfortunately updated the bundled openjdk-8 binary snapshot to a version
not runnable on bullseye since it added dependencies on versioned
symbols from a newer glibc.
That was not noticed at build time since dpkg-gensymbols (?) only issued
a warning for the missing symbol version and not an error like for a fully
missing symbol.
We now have a test to ensure the java binary is actually usable ;-)
For amd64 we use a newer binary snapshot built in stretch (lts), for
ppc64el we had to go back to a previously used snapshot and munge the
version a bit.

Another bug was reported for nsight-compute that was looking for some
resources in a different location than where we shipped them.

These bug reports show that there are actually users for these packages
in stable ;-)

The updated package is already uploaded.

Andreas
diff --git a/debian/changelog b/debian/changelog
index 92c791a..f68e95e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+nvidia-cuda-toolkit (11.2.2-3+deb11u2) bullseye; urgency=medium
+
+  * Use a snapshot of openjdk-8-jre (8u332-ga-1~deb9u1) for amd64.
+  * Use a snapshot of openjdk-8-jre (8u302-b08-1) for ppc64el.
+  * Check usability of the java binary.  (Closes: #1008591)
+  * nsight-compute: Move the 'sections' folder to a multiarch location.
+    (Closes: #1009719)
+  * Upload to bullseye.
+
+ -- Andreas Beckmann <anbe@debian.org>  Fri, 20 May 2022 09:48:41 +0200
+
 nvidia-cuda-toolkit (11.2.2-3+deb11u1) bullseye; urgency=medium
 
   * cuda-gdb: Disable non-functional python support causing segmentation
diff --git a/debian/gbp.conf b/debian/gbp.conf
index 8947feb..438a5c5 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -10,8 +10,9 @@ component = [
 	'amd64',
 	'ppc64el',
 	'arm64',
-	'openjdk-8-source-8u312-b07-1',
-	'openjdk-8-jre-amd64-8u312-b07-1',
-	'openjdk-8-jre-ppc64el-8u312-b07-1',
+	'openjdk-8-source-8u302-b08-1',
+	'openjdk-8-source-8u332-ga-1-d9u1',
+	'openjdk-8-jre-amd64-8u332-ga-1-d9u1',
+	'openjdk-8-jre-ppc64el-8u302-b08-1',
 	]
 debian-branch = bullseye
diff --git a/debian/nsight-compute.install b/debian/nsight-compute.install
index bb8ddf7..8323707 100755
--- a/debian/nsight-compute.install
+++ b/debian/nsight-compute.install
@@ -3,6 +3,6 @@ nsight_compute/ncu			usr/lib/nsight-compute/
 nsight_compute/ncu-ui			usr/lib/nsight-compute/		[amd64]
 nsight_compute/nv-nsight-cu		usr/lib/nsight-compute/		[amd64]
 nsight_compute/nv-nsight-cu-cli		usr/lib/nsight-compute/
-nsight_compute/sections/		usr/lib/nsight-compute/
+nsight_compute/sections/		usr/lib/${DEB_HOST_MULTIARCH}/nsight-compute/
 nsight_compute/extras/			usr/lib/nsight-compute/
 nsight_compute/host/			usr/lib/nsight-compute/		[amd64]
diff --git a/debian/nvidia-openjdk-8-jre.lintian-overrides b/debian/nvidia-openjdk-8-jre.lintian-overrides
index 01265ef..b888f3d 100644
--- a/debian/nvidia-openjdk-8-jre.lintian-overrides
+++ b/debian/nvidia-openjdk-8-jre.lintian-overrides
@@ -5,10 +5,9 @@ executable-in-usr-lib
 hardening-no-bindnow
 hardening-no-fortify-functions
 image-file-in-usr-lib
-library-not-linked-against-libc
 package-contains-documentation-outside-usr-share-doc
 package-has-unnecessary-activation-of-ldconfig-trigger
 exit-in-shared-library
 repeated-path-segment
-shared-library-lacks-prerequisites
+[!amd64]: shared-library-lacks-prerequisites
 spelling-error-in-binary
diff --git a/debian/rules b/debian/rules
index 0264dfc..ce9a8b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -310,6 +310,11 @@ execute_before_dh_auto_build: build-stamp
 override_dh_auto_build-arch:
 	dh_auto_build --sourcedirectory=cuda-gdb -- V=1
 
+ifneq (,$(jre_pkg))
+execute_before_dh_auto_test-arch:
+	openjdk-8-jre/$(CUDA_JAVA_HOME)/bin/java -version
+endif
+
 execute_before_dh_auto_install:
 	rm -rf debian/tmp
 	cp -al build/ debian/tmp
diff --git a/debian/rules.defs b/debian/rules.defs
index 528807a..6c045b4 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -102,7 +102,9 @@ nsight-systems-target.VERSION		 = $(CUDA_VERSION_nsight_systems)
 
 DEFAULT_GCC_VERSION			 = 10
 
-OPENJDK_VERSION.default			 = 8u312-b07-1
+OPENJDK_VERSION.default			 = 8u332-ga-1
+OPENJDK_VERSION.amd64			 = 8u332-ga-1~deb9u1
+OPENJDK_VERSION.ppc64el			 = 8u302-b08-1
 
 NSIGHT_COMPUTE_DESKTOP_DIR.amd64	 = linux-desktop-glibc_2_11_3-x64
 NSIGHT_COMPUTE_DESKTOP_DIR.i386		 = linux-desktop-glibc_2_11_3-x86
diff --git a/debian/rules.version_prefix b/debian/rules.version_prefix
index 36c82ed..9194940 100644
--- a/debian/rules.version_prefix
+++ b/debian/rules.version_prefix
@@ -11,7 +11,11 @@ nvidia-cuda-gdb.PREV_VERSION            = 11.2.152
 nvidia-profiler.PREV_VERSION            = 11.2.152
 
 nvidia-openjdk-8-jre.VERSION_PREFIX     = 9.+
-nvidia-openjdk-8-jre.PREV_VERSION       = 9.+8u312-b07-1
+nvidia-openjdk-8-jre.PREV_VERSION       = 9.+8u332-ga-1~deb9u1
+ifeq (ppc64el,$(DEB_HOST_ARCH))
+nvidia-openjdk-8-jre.VERSION_PREFIX     = 9.+8u312-b07-1~11.2.2+
+nvidia-openjdk-8-jre.PREV_VERSION       = 9.+8u312-b07-1~11.2.2+8u302-b08-1
+endif
 
 nvidia-visual-profiler.PREV_VERSION     = 11.2.152
 

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 11.4

(re-sending with fixed bug numbers)

Hi,

The updates discussed in these bugs were included in today's bullseye
point release.

Regards,

Adam

--- End Message ---

Reply to: