The previous patch overlooked that the variable in debian/rules affected not only the package name, but the soname produced for the .so file. Please find a corrected patch attached.
Unfortunately, based on a local test stdgpu appears to have regressed in buildability in the past 7 days. So while I am uploading this package to experimental, it's not clear what is required to get it building. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/changelog stdgpu-1.3.0+git20220507.32e0517/debian/changelog --- stdgpu-1.3.0+git20220507.32e0517/debian/changelog 2023-07-01 21:13:20.000000000 +0000 +++ stdgpu-1.3.0+git20220507.32e0517/debian/changelog 2024-02-25 20:41:43.000000000 +0000 @@ -1,3 +1,17 @@ +stdgpu (1.3.0+git20220507.32e0517-5.1~exp3) experimental; urgency=medium + + * Fix debian/rules to not change the upstream soname. + + -- Steve Langasek <vor...@debian.org> Sun, 25 Feb 2024 20:41:43 +0000 + +stdgpu (1.3.0+git20220507.32e0517-5.1~exp2) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + * Fix wrong debian/control handling in previous upload. Closes: #1063069. + + -- Steve Langasek <vor...@debian.org> Sun, 18 Feb 2024 00:39:25 +0000 + stdgpu (1.3.0+git20220507.32e0517-5) unstable; urgency=medium * Fix wrong alignment test to actually provoke wrong alignment diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/control stdgpu-1.3.0+git20220507.32e0517/debian/control --- stdgpu-1.3.0+git20220507.32e0517/debian/control 2023-07-01 21:13:11.000000000 +0000 +++ stdgpu-1.3.0+git20220507.32e0517/debian/control 2024-02-18 00:39:25.000000000 +0000 @@ -21,7 +21,11 @@ agnostic and native algorithms that look like sequential CPU code but are executed in parallel on the GPU. -Package: libstdgpu-openmp0d +Package: libstdgpu-openmp0t64 +Provides: ${t64:Provides} +X-Time64-Compat: libstdgpu-openmp0d +Replaces: libstdgpu-openmp0d +Breaks: libstdgpu-openmp0d (<< ${source:Version}) Architecture: any Multi-Arch: same Depends: @@ -40,7 +44,7 @@ Provides: libstdgpu-dev Depends: ${misc:Depends}, - libstdgpu-openmp0d (= ${binary:Version}), + libstdgpu-openmp0t64 (= ${binary:Version}), libthrust-dev, Description: ${source:Synopsis} (OpenMP development headers) ${source:Extended-Description} diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0d.install stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0d.install --- stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0d.install 2023-07-01 21:13:11.000000000 +0000 +++ stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0d.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/lib/*/lib*.so.* diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.install stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.install --- stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.install 1970-01-01 00:00:00.000000000 +0000 +++ stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.install 2024-02-18 00:39:25.000000000 +0000 @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.lintian-overrides stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.lintian-overrides --- stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ stdgpu-1.3.0+git20220507.32e0517/debian/libstdgpu-openmp0t64.lintian-overrides 2024-02-18 00:39:25.000000000 +0000 @@ -0,0 +1 @@ +libstdgpu-openmp0t64: package-name-doesnt-match-sonames libstdgpu-openmp0d diff -Nru stdgpu-1.3.0+git20220507.32e0517/debian/rules stdgpu-1.3.0+git20220507.32e0517/debian/rules --- stdgpu-1.3.0+git20220507.32e0517/debian/rules 2023-07-01 21:13:11.000000000 +0000 +++ stdgpu-1.3.0+git20220507.32e0517/debian/rules 2024-02-25 20:40:41.000000000 +0000 @@ -5,6 +5,8 @@ BUILD_TESTS := $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) BUILD_HIP := $(if $(filter amd64 arm64 ppc64el,$(DEB_HOST_ARCH)),ON,OFF) SOVERSION := 0d +SOVERSION_ISH := 0t64 +SOVERSION_HIP := 0d %: dh $@ --buildsystem=cmake @@ -28,7 +30,7 @@ -DSTDGPU_BUILD_SHARED_LIBS=ON \ -DSTDGPU_BACKEND=STDGPU_BACKEND_HIP \ -DCMAKE_HIP_ARCHITECTURES=OFF \ - -DSTDGPU_SOVERSION=$(SOVERSION) \ + -DSTDGPU_SOVERSION=$(SOVERSION_HIP) \ -DSTDGPU_OUTPUT_NAME=stdgpu_hip endif @@ -51,8 +53,8 @@ endif override_dh_install: - dh_install --package=libstdgpu-openmp$(SOVERSION) --package=libstdgpu-openmp-dev --sourcedir=debian/tmp-openmp + dh_install --package=libstdgpu-openmp$(SOVERSION_ISH) --package=libstdgpu-openmp-dev --sourcedir=debian/tmp-openmp ifeq ($(BUILD_HIP),ON) - dh_install --package=libstdgpu-hip$(SOVERSION) --package=libstdgpu-hip-dev --sourcedir=debian/tmp-hip + dh_install --package=libstdgpu-hip$(SOVERSION_HIP) --package=libstdgpu-hip-dev --sourcedir=debian/tmp-hip endif
signature.asc
Description: PGP signature