#1109509 gcc-offload-amdgcn: fails to dist-upgrade from bookworm to trixie

Package:
gcc-offload-amdgcn
Source:
gcc-offload-amdgcn
Description:
GCC offloading compiler to AMD GCN
Submitter:
Lucas Nussbaum
Date:
2025-07-19 09:45:05 UTC
Severity:
normal
#1109509#5
Date:
2025-07-19 09:44:39 UTC
From:
To:
Hi,

The following fails:
- In bookworm, install gcc-offload-amdgcn
- dist-upgrade to trixie
I would expect gcc-offload-amdgcn to be upgraded, but it is not.

Instead, it stays at version 4:12.2.0-3.

MWE:
PKG=gcc-offload-amdgcn; mmdebstrap --chrooted-customize-hook="set -x ; apt -y install $PKG  && sed -e s/bookworm/trixie/ -i /etc/apt/sources.list && apt update && apt dist-upgrade -y -o Debug::pkgProblemResolver=true && apt -y install gcc-offload-amdgcn" bookworm /dev/null

I wonder if there are missing Replaces/Provides somewhere, to help apt
figure out that solution.

Relevant part during dist-upgrade:

And when apt install: