Bug 2316262 - F42FailsToInstall: rocm-device-libs, hipcc
Summary: F42FailsToInstall: rocm-device-libs, hipcc
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: lld
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2024-10-03 09:03 UTC by Fedora Fails To Install
Modified: 2024-10-05 19:44 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-10-05 19:44:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2024-10-03 09:03:20 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (rocm-compilersupport) Fails To Install in Fedora 42:

can't install rocm-device-libs:
  - nothing provides lld-devel(major) = 18 needed by rocm-device-libs-18-7.rocm6.2.1.fc42.x86_64
  
can't install hipcc:
  - nothing provides compiler-rt(major) = 18 needed by hipcc-18-7.rocm6.2.1.fc42.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-42-x86_64 --config-opts mirrored=False install rocm-device-libs hipcc


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2024-10-03 09:12:51 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=2315542#c6

Comment 2 Tim Flink 2024-10-03 15:45:02 UTC
As near as I can tell, this is due to how the llvm packaged do their provides.

For example, rocm-device-libs has requires on lld-devel(major) = 18 which wasn't an issue before llvm19 landed since that was provided by lld-devel. Once llvm19 landed, lld-devel started providing lld-devel(major) = 19 and in theory, rocm-device-libs should start requiring lld18-devel.

However, the lld packages do their provides with %{name}-devel(major) = %{maj_ver} which looks fine but the compat packages change their name so lld -> lld18 and the provides end up being lld18-devel(major) = 18 and all of a sudden, rocm-device-libs can't find a provider for it's requirement of lld-devel(major) = 18.

There is more than one way fix this, but I'd like to talk with the llvm folks about changing how their provides work so that we can just do our requires from the major version without needing logic to handle the compat packages.

Comment 3 Jeremy Newton 2024-10-03 17:38:24 UTC
Yeah that's not right, it should be providing lld-devel(major) = 18 in my honest opinion.

They originally added this at my request, so it looks like a bug.

Comment 4 Jeremy Newton 2024-10-03 17:49:42 UTC
See https://src.fedoraproject.org/rpms/lld18/pull-request/1

Reassigning to lld

Comment 5 Tim Flink 2024-10-03 19:00:06 UTC
It's not just lld, though. compiler-rt18 has the same problem

Comment 6 Tulio Magno Quites Machado Filho 2024-10-03 19:16:09 UTC
See https://src.fedoraproject.org/rpms/compiler-rt18/pull-request/1 for the compiler-rt18 change.

Comment 7 Fedora Fails To Install 2024-10-05 19:44:22 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 42.

Thanks for taking care of it!


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