Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900208 - sys-libs/libomp-15.0.7-r1[llvm_targets_AMDGPU,offload,ompt] hard blocking dev-libs/rocr-runtime:0/5.4
Summary: sys-libs/libomp-15.0.7-r1[llvm_targets_AMDGPU,offload,ompt] hard blocking dev...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-07 17:47 UTC by Stefan Springer
Modified: 2023-03-10 19:23 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Springer 2023-03-07 17:47:06 UTC
The libomp ebuild states that it explicitly needs dev-libs/rocr-runtime:0/5.3 in its RDEPEND section. This hard blocks updating rocr-runtime and rocm-opencl-runtime and rocminfo to v5.4.x

Setting the rdepend to llvm_targets_AMDGPU? ( >=dev-libs/rocr-runtime-5.3.0 ) fixes this. The aforementioned packages update and install just fine and result in a working rocm stack (6800XT, tested with rocminfo, clinfo and luxmark 3.1).

Please update the ebuild to accomodate for the rocm new version. Thank you very much!

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-03-10 14:59:14 UTC
@Yiyang Wu, why did you add the subslot there?  Shouldn't it be := perhaps?
Comment 2 Yiyang Wu 2023-03-10 16:05:42 UTC
(In reply to Michał Górny from comment #1)
> @Yiyang Wu, why did you add the subslot there?  Shouldn't it be := perhaps?

Yes, at that time I fixed the subslot to the newest version of rocr-runtime, 0/5.3, whose dependency chain is rocm-device-libs:0/5.3 -> sys-devel/clang:15. It's not a good choice once there's an upgrade.

As I understand rocr-runtime mainly provides libhsa-runtime64.so. It's OK to have :=, and I guess DEPEND="dev-libs/rocr-runtime" without any SLOT operators works just fine -- I tried mixing 5.* ROCm components with different versions and they worked together.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-03-10 16:12:54 UTC
Ok, thanks, I'll push := dep later today (once I'm done building new kernel set).
Comment 4 Larry the Git Cow gentoo-dev 2023-03-10 19:23:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae6d2a7a1e1ce6efa1c2199c864ad1ebb8edcd7f

commit ae6d2a7a1e1ce6efa1c2199c864ad1ebb8edcd7f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-03-10 16:12:22 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-03-10 19:20:22 +0000

    sys-libs/libomp: Unpin rocr-runtime dep
    
    Closes: https://bugs.gentoo.org/900208
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-libs/libomp/{libomp-15.0.7-r1.ebuild => libomp-15.0.7-r2.ebuild} | 2 +-
 sys-libs/libomp/libomp-16.0.0.9999.ebuild                            | 2 +-
 sys-libs/libomp/libomp-16.0.0_rc3.ebuild                             | 2 +-
 sys-libs/libomp/libomp-17.0.0.9999.ebuild                            | 2 +-
 sys-libs/libomp/libomp-17.0.0_pre20230225.ebuild                     | 2 +-
 sys-libs/libomp/libomp-17.0.0_pre20230304.ebuild                     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)