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

Bug 843068

Summary: dev-libs/rocm-comgr-4.3.0-r1 fails to compile: comgr-metadata.h:40:10: fatal error: TargetRegistry.h: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: CONFIRMED ---    
Severity: normal CC: xgreenlandforwyy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 893356    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-05-07 05:57:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/rocm-comgr-4.3.0-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-07 05:57:46 UTC
Created attachment 777140 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-05-07 05:57:47 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/dev-libs/rocm-comgr-4.3.0-r1/work/ROCm-CompilerSupport-rocm-4.3.0/lib/comgr/src/comgr-compiler.cpp:77:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory
/var/tmp/portage/dev-libs/rocm-comgr-4.3.0-r1/work/ROCm-CompilerSupport-rocm-4.3.0/lib/comgr/src/comgr-disassembly.cpp:37:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory
/var/tmp/portage/dev-libs/rocm-comgr-4.3.0-r1/work/ROCm-CompilerSupport-rocm-4.3.0/lib/comgr/src/comgr-metadata.h:40:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory
/var/tmp/portage/dev-libs/rocm-comgr-4.3.0-r1/work/ROCm-CompilerSupport-rocm-4.3.0/lib/comgr/src/comgr-objdump.cpp:82:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory
FAILED: CMakeFiles/amd_comgr.dir/src/comgr-compiler.cpp.o 
FAILED: CMakeFiles/amd_comgr.dir/src/comgr-disassembly.cpp.o 
FAILED: CMakeFiles/amd_comgr.dir/src/comgr-elfdump.cpp.o 
FAILED: CMakeFiles/amd_comgr.dir/src/comgr-metadata.cpp.o 
FAILED: CMakeFiles/amd_comgr.dir/src/comgr-objdump.cpp.o 
FAILED: CMakeFiles/amd_comgr.dir/src/comgr.cpp.o 
/var/tmp/portage/dev-libs/rocm-comgr-4.3.0-r1/work/ROCm-CompilerSupport-rocm-4.3.0/lib/comgr/src/comgr-metadata.h:40:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory