This package fails to build on an unstable system. Attached relevant logs and emerge --info
Created attachment 787391 [details] emerge_info emerge --info
Created attachment 787394 [details] roctracer-5.0.2:20220624-133710.log.xz build log (compressed because it exceeds attachment limit, use 'xzless' to read it)
I think the first error is /usr/include/hip/amd_detail/hip_prof_str.h:5532:30: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const dim3’) which may be the root cause