#1133738 libtrilinos-kokkos-kernels-dev fails to coinstall

Package:
libtrilinos-kokkos-kernels-dev
Source:
libtrilinos-kokkos-kernels-dev
Description:
Kokkos local computational kernels - development files
Submitter:
Helmut Grohne
Date:
2026-04-19 20:59:05 UTC
Severity:
normal
#1133738#5
Date:
2026-04-14 07:41:15 UTC
From:
To:
libtrilinos-kokkos-kernels-dev is declared Multi-Arch: same, but fails
to coinstall.

The file /usr/include/trilinos/KokkosKernels_config.h is shared by
libtrilinos-kokkos-kernels-dev version 16.1.0-5 as present in
forky|unstable with varying content.

Please ensure that shared files have bit-identical content across
architectures, move architecture-dependent files to
architecture-dependent paths or remove the Multi-Arch: same field.

Kind regards

Helmut Grohne

#1133738#10
Date:
2026-04-17 11:21:26 UTC
From:
To:
Hi Helmut

I compared KokkosKernels_config.h files for various architectures.
amd64, arm64, loong64, ppc64el and riscv64 were all identical.
s390x was the outlier with the following difference:

 /* Define if fortran blas 1 function can return complex type */
-#define KOKKOSKERNELS_TPL_BLAS_RETURN_COMPLEX
+/* #undef KOKKOSKERNELS_TPL_BLAS_RETURN_COMPLEX */

Guessing it may be related to endianness, I also compared the file
from ppc64, but it was identical to amd64 and the rest.

In your opinion, is the safest option just to drop the Multi-Arch: same field?

Regards
Graham

#1133738#15
Date:
2026-04-17 12:10:42 UTC
From:
To:
Hi Graham,

Yes, for 90% (wild guess) of -dev packages M-A:same is not needed. If
there is a need, someone can still invest the time to come up with a
better solution.

Helmut