Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894996 - sys-libs/libomp-15.0.7-r1[llvm_targets_AMDGPU,offload,ompt] fails to compile. "hsa.h" not found
Summary: sys-libs/libomp-15.0.7-r1[llvm_targets_AMDGPU,offload,ompt] fails to compile....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-17 00:58 UTC by stefanspr94
Modified: 2023-02-17 13:06 UTC (History)
3 users (show)

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


Attachments
compiler output snippet (file_894996.txt,2.43 KB, text/plain)
2023-02-17 00:59 UTC, stefanspr94
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefanspr94 2023-02-17 00:58:11 UTC
The issue seems to have the same cause as 894064 and 894040.
USE Flags: llvm_target_AMDGPU, offload, ompt, abi_x86_32
It was introduced with 

bbff88f734f62381b0a0624b4b2d182a8d4b8589 (dev-libs/rocr-runtime: disable non-FHS install), which changed the header location.

Reverting the change in that commit allows the package to build and work again.

Reproducible: Always

Actual Results:  
Package does not compile.

Expected Results:  
Package compiles.
Comment 1 stefanspr94 2023-02-17 00:59:30 UTC
Created attachment 851912 [details]
compiler output snippet
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-17 13:06:59 UTC
commit c107d9dcbaf1a3e350917c672971e3e932984923
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-02-17 13:16:11 +0100
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-02-17 13:21:35 +0100

    sys-libs/libomp: Fix compilation against newer dev-libs/rocr-runtime
    
    Bug: https://bugs.gentoo.org/835095
    Signed-off-by: Michał Górny <mgorny@gentoo.org>