Bug 2460027 - Cannot update due to missing rocm-libc++
Summary: Cannot update due to missing rocm-libc++
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rocm-compilersupport
Version: 45
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: ROCm Packagers SIG
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-21 09:36 UTC by Vít Ondruch
Modified: 2026-10-02 10:56 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2026-04-21 09:36:33 UTC
~~~
$ sudo dnf update 
Updating and loading repositories:
Repositories loaded.
Problem 1: cannot install both rocm-llvm-filesystem-22-7.rocm7.2.1.fc45.x86_64 from rawhide and rocm-llvm-filesystem-22-1.rocm7.2.0.fc45.x86_64 from @System
  - installed package rocm-libc++-22-1.rocm7.2.0.fc45.x86_64 requires rocm-llvm-filesystem(x86-64) = 22-1.rocm7.2.0.fc45, but none of the providers can be installed
  - cannot install the best update candidate for package rocm-llvm-filesystem-22-1.rocm7.2.0.fc45.x86_64
  - problem with installed package
 Problem 2: cannot install both rocm-llvm-filesystem-22-7.rocm7.2.1.fc45.x86_64 from rawhide and rocm-llvm-filesystem-22-1.rocm7.2.0.fc45.x86_64 from @System
  - installed package rocm-libc++-22-1.rocm7.2.0.fc45.x86_64 requires rocm-llvm-filesystem(x86-64) = 22-1.rocm7.2.0.fc45, but none of the providers can be installed
  - package rocm-clang-22-7.rocm7.2.1.fc45.x86_64 from rawhide requires rocm-llvm-filesystem(x86-64) = 22-7.rocm7.2.1.fc45, but none of the providers can be installed
  - installed package rocm-libc++-devel-22-1.rocm7.2.0.fc45.x86_64 requires rocm-libc++(x86-64) = 22-1.rocm7.2.0.fc45, but none of the providers can be installed
  - cannot install the best update candidate for package rocm-clang-22-1.rocm7.2.0.fc45.x86_64
  - problem with installed package

Package                 Arch    Version                 Repository        Size
Skipping packages with conflicts:
 rocm-llvm-filesystem   x86_64  22-7.rocm7.2.1.fc45     rawhide        0.0   B
Skipping packages with broken dependencies:
 rocm-clang             x86_64  22-7.rocm7.2.1.fc45     rawhide      147.2 MiB

Nothing to do.
~~~

I believe this is due to:

https://src.fedoraproject.org/rpms/rocm-compilersupport/c/d66cfe26a8794beedae96b55fe97e4680b2b2ac6?branch=rawhide

Which essentially disables the rocm-libc++, but does not provide any means to remove the library from the system.

BTW I don't understand why there is so many subpackages if they are not optional at all.

Reproducible: Always

Comment 1 Vít Ondruch 2026-04-21 09:38:00 UTC
The workaround is:

~~~
$ sudo dnf update --best --allowerasing
~~~

It also requires `--best`. The `--allowerasing` is not enough for some reasons.

Comment 2 Aoife Moloney 2026-08-17 14:34:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.