Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 894040

Summary: dev-util/hip-5.1.3-r4 fails to compile (LIBARCHIVE-SYSTEM): rocvirtual.hpp:27:10: fatal error: hsa.h: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: candrews, gentoo, xgreenlandforwyy
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/29657
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-12 12:35:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/hip-5.1.3-r4 fails to compile (LIBARCHIVE-SYSTEM).
Discovered on: amd64 (internal ref: libarchive_tinderbox)

NOTE:
(LIBARCHIVE-SYSTEM) in the summary means that the bug was found on a machine that runs app-alternatives/tar and app-alternatives/cpio with [-gnu,+libarchive] but this bug MAY or MAY NOT BE related to the tar/cpio implementation.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-12 12:35:41 UTC
Created attachment 850442 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-12 12:35:42 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.1.3-r4/work/ROCclr-rocm-5.1.3/device/device.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/dev-util/hip-5.1.3-r4/work/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocvirtual.hpp:27:10: fatal error: hsa.h: No such file or directory
/var/tmp/portage/dev-util/hip-5.1.3-r4/work/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocvirtual.hpp:27:10: fatal error: hsa.h: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2023-02-22 16:16:48 UTC
The bug has been closed via the following commit(s):

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

commit 7194f27eeb36d01d5e91bea55711d9cad668c09c
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2023-02-19 03:29:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-22 16:13:56 +0000

    dev-util/hip: Fix rocclr hsa.h include bug for 5.1.3
    
    Same as f98177a3fe2ea8cf1818daec64268f9377176902, apply the patch to fix
    for rocclr include bug
    
    Closes: https://bugs.gentoo.org/894040
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/29657
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/hip/hip-5.1.3-r4.ebuild | 3 +++
 1 file changed, 3 insertions(+)