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

Bug#1086329: mark libamdhip64-5 Multi-Arch: same



Package: libamdhip64-5,libhiprtc-builtins5,rocm-opencl-icd
Version: 5.7.1-5
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability
Control: affects -1 + src:aevol src:ampliconnoise src:colmap src:combblas src:ectrans src:examl src:fdb src:ffindex src:flann src:form src:garli src:gfsview src:gloo src:hpcc src:hyphy src:kokkos src:lrslib src:metkit src:mfem src:molds src:mpi-defaults src:mrbayes src:mrmpi src:netcdf-parallel src:odc src:openfoam src:otf src:phyml src:ray src:relion src:rocalution src:spfft src:spooles src:tree-puzzle src:valgrind

The affected packages cannot satisfy their cross Build-Depends, because
their transitive dependency on libamdhip64-5 needs to be satisfied for
the build and host architecture simultaneously, but libamdhip64-5 is not
marked Multi-Arch: same and therefore does not allow coinstallation. Its
files are already laid out in a compatible way and the multiarch hinter
suggests that Multi-Arch: same is safe to add. I'm attaching a patch for
your convenience.

Helmut
diff --minimal -Nru rocm-hipamd-5.7.1/debian/changelog rocm-hipamd-5.7.1/debian/changelog
--- rocm-hipamd-5.7.1/debian/changelog	2024-09-25 00:15:52.000000000 +0200
+++ rocm-hipamd-5.7.1/debian/changelog	2024-10-29 20:46:36.000000000 +0100
@@ -1,3 +1,11 @@
+rocm-hipamd (5.7.1-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark libamdhip64-5, libhiprtc-builtins5, and rocm-opencl-icd
+    Multi-Arch: same (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 29 Oct 2024 20:46:36 +0100
+
 rocm-hipamd (5.7.1-5) unstable; urgency=medium
 
   * Source only upload for migration to testing.
diff --minimal -Nru rocm-hipamd-5.7.1/debian/control rocm-hipamd-5.7.1/debian/control
--- rocm-hipamd-5.7.1/debian/control	2024-09-24 23:05:58.000000000 +0200
+++ rocm-hipamd-5.7.1/debian/control	2024-10-29 20:46:25.000000000 +0100
@@ -77,6 +77,7 @@
 Package: libamdhip64-5
 Section: libs
 Architecture: amd64 arm64 ppc64el
+Multi-Arch: same
 Depends: libamd-comgr2, ${misc:Depends}, ${shlibs:Depends}
 Description: Heterogeneous Interface for Portability - AMD GPUs implementation
  This package is central to the ROCm stack. It is at the exchange point between
@@ -103,6 +104,7 @@
 Package: libhiprtc-builtins5
 Section: libs
 Architecture: amd64 arm64 ppc64el
+Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: HIP Run Time Compilation libraries
  HIP allows one to compile kernels at runtime with its hiprtc* APIs.  hipRTC
@@ -127,6 +129,7 @@
 Package: rocm-opencl-icd
 Section: libs
 Architecture: amd64 arm64 ppc64el
+Multi-Arch: same
 Provides: opencl-icd
 Depends: ${misc:Depends}, ${shlibs:Depends}
 # Either will trigger LLVM double load bug

Reply to: