Debian Bug report logs - #1101487
libkokkos-dev: file conflict as vendered in libtrilinos-kokkos-dev

version graph

Package: libkokkos-dev; Maintainer for libkokkos-dev is Alex Myczko <tar@debian.org>; Source for libkokkos-dev is src:kokkos (PTS, buildd, popcon).

Affects: libtrilinos-kokkos-dev

Reported by: Jochen Sprickerhof <jspricke@debian.org>

Date: Fri, 28 Mar 2025 10:39:01 UTC

Severity: serious

Found in version kokkos/4.5.01-1.2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, ginggs@debian.org, tar@debian.org, nils.schild@posteo.de, unknown-package@qa.debian.org:
Bug#1101487; Package src:libkokkos-dev. (Fri, 28 Mar 2025 10:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Jochen Sprickerhof <jspricke@debian.org>:
New Bug report received and forwarded. Copy sent to ginggs@debian.org, tar@debian.org, nils.schild@posteo.de, unknown-package@qa.debian.org. (Fri, 28 Mar 2025 10:39:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jochen Sprickerhof <jspricke@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libkokkos-dev: file conflict as vendered in libtrilinos-kokkos-dev
Date: Fri, 28 Mar 2025 11:36:31 +0100
Source: libkokkos-dev
Version: 4.5.01-1.2
Severity: serious
X-Debbugs-Cc: Graham Inggs <ginggs@debian.org>, Alex Myczko <tar@debian.org>, Nils Schild <nils.schild@posteo.de>
User: dabian-qa@lists.debian.org
Usertags: fileconflict
Control: affects -1 + libtrilinos-kokkos-dev

Hi,

I have NMUed src:kokkos with the intention to get it into trixie. As
part of it I fixed the multi arch problem by moving the cmake files from
/usr/lib/cmake to usr/lib/${DEB_HOST_MULTIARCH}/. Now libkokkos-dev has
a undeclared file conflict as both provide KokkosConfig.cmake. Even
more, libtrilinos-kokkos-dev seems to vendor kokkos 3.0 whereas
libkokkos-dev contains kokkos 4.0. This bug is to block the file
conflict from migrating to testing and to discuss how to resolve the
duplicated packaging.

As I have no deeper insights on both packages nor their downstreams, I
would be happy to get comments from both maintainers.

Cheers Jochen



Added indication that 1101487 affects libtrilinos-kokkos-dev Request was from Jochen Sprickerhof <jspricke@debian.org> to submit@bugs.debian.org. (Fri, 28 Mar 2025 10:39:02 GMT) (full text, mbox, link).


Bug reassigned from package 'src:libkokkos-dev' to 'src:kokkos'. Request was from Graham Inggs <ginggs@debian.org> to control@bugs.debian.org. (Fri, 28 Mar 2025 16:30:01 GMT) (full text, mbox, link).


No longer marked as found in versions libkokkos-dev/4.5.01-1.2. Request was from Graham Inggs <ginggs@debian.org> to control@bugs.debian.org. (Fri, 28 Mar 2025 16:30:02 GMT) (full text, mbox, link).


Marked as found in versions kokkos/4.5.01-1.2. Request was from Graham Inggs <ginggs@debian.org> to control@bugs.debian.org. (Fri, 28 Mar 2025 16:30:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Alex Myczko <tar@debian.org>:
Bug#1101487; Package src:kokkos. (Mon, 31 Mar 2025 13:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Helmut Grohne <helmut@subdivi.de>:
Extra info received and forwarded to list. Copy sent to Alex Myczko <tar@debian.org>. (Mon, 31 Mar 2025 13:36:03 GMT) (full text, mbox, link).


Message #18 received at 1101487@bugs.debian.org (full text, mbox, reply):

From: Helmut Grohne <helmut@subdivi.de>
To: Jochen Sprickerhof <jspricke@debian.org>, 1101487@bugs.debian.org
Subject: Re: Bug#1101487: libkokkos-dev: file conflict as vendered in libtrilinos-kokkos-dev
Date: Mon, 31 Mar 2025 15:27:05 +0200
Control: reassign -1 libkokkos-dev 4.5.01-1.2

Jochen originally assigned it to src:libkokkos-dev and then Graham
reassigned it to src:kokkos, but that makes the conflict detector not
see it either as it only thinks about binary packages.

If reassigning, please go

    Control: reassign -1 libtrilinos-kokkos-dev VER
    Control: affects -1 = libkokkos-dev

I'll leave the technical bits to you.

Thanks

Helmut




Bug reassigned from package 'src:kokkos' to 'libkokkos-dev'. Request was from Helmut Grohne <helmut@subdivi.de> to 1101487-submit@bugs.debian.org. (Mon, 31 Mar 2025 13:36:03 GMT) (full text, mbox, link).


No longer marked as found in versions kokkos/4.5.01-1.2. Request was from Helmut Grohne <helmut@subdivi.de> to 1101487-submit@bugs.debian.org. (Mon, 31 Mar 2025 13:36:04 GMT) (full text, mbox, link).


Marked as found in versions kokkos/4.5.01-1.2. Request was from Helmut Grohne <helmut@subdivi.de> to 1101487-submit@bugs.debian.org. (Mon, 31 Mar 2025 13:36:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Alex Myczko <tar@debian.org>:
Bug#1101487; Package libkokkos-dev. (Thu, 03 Apr 2025 17:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to Nils Schild <nils.schild@posteo.de>:
Extra info received and forwarded to list. Copy sent to Alex Myczko <tar@debian.org>. (Thu, 03 Apr 2025 17:48:01 GMT) (full text, mbox, link).


Message #29 received at submit@bugs.debian.org (full text, mbox, reply):

From: Nils Schild <nils.schild@posteo.de>
To: 1101487@bugs.debian.org, Debian Bug Tracking System <submit@bugs.debian.org>
Cc: Graham Inggs <ginggs@debian.org>, Alex Myczko <tar@debian.org>, Jochen Sprickerhof <jspricke@debian.org>
Subject: Re: Bug#1101487: libkokkos-dev: file conflict as vendered in libtrilinos-kokkos-dev
Date: Thu, 3 Apr 2025 17:42:49 +0000
Hi,

Trilinos can be build with an external Kokkos package if the version 
matches.
The current required version for Kokkos to be compatible with Trilinos 
in Debian would be 4.1.0 
(https://salsa.debian.org/science-team/trilinos/-/blob/master/packages/tpetra/CMakeLists.txt?ref_type=heads#L27).
In the latest Trilinos version Kokkos would requires the latest release 
4.6.0.

Searching a bit in the Trilinos documentation I found -D 
TPL_ENABLE_KOKKOS=ON as a CMake configuration flag to build with an 
external Kokkos package.
I am not yet sure how to point Trilinos to the external Kokkos install. 
Usually Kokkos_ROOT or Kokkos_DIR should be set in the cmake configuration.
If Kokkos can be found in the default paths maybe cmake is capable to 
find the install without specifying the path.

This might solve the issue.

Best regards,
Nils




Information forwarded to debian-bugs-dist@lists.debian.org, Alex Myczko <tar@debian.org>:
Bug#1101487; Package libkokkos-dev. (Thu, 03 Apr 2025 17:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to Nils Schild <nils.schild@posteo.de>:
Extra info received and forwarded to list. Copy sent to Alex Myczko <tar@debian.org>. (Thu, 03 Apr 2025 17:48:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 9 10:21:45 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.