https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/hip-5.0.2 fails to compile. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit (478d29974b0b6af3fea603ea2eccc6c44401c237)
Created attachment 767822 [details] build.log build log and emerge --info
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.0.2/work/ROCclr-rocm-5.0.2/device/device.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rocblit.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/roccounters.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rocdevice.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rocglinterop.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rockernel.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rocmemory.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rocprintf.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rocprogram.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rocsettings.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/device/rocm/rocvirtual.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/platform/context.cpp.o FAILED: src/CMakeFiles/rocclr.dir/var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/platform/runtime.cpp.o fatal: not a git repository (or any parent up to mount point /var/tmp) /var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/cmake/../device/rocm/rocglinterop.hpp:26:10: fatal error: GL/glx.h: No such file or directory /var/tmp/portage/dev-util/hip-5.0.2/work/ROCm-OpenCL-Runtime-rocm-5.0.2/khronos/headers/opencl2.2/CL/../../../../amdocl/cl_gl_amd.hpp:30:10: fatal error: GL/gl.h: No such file or directory /var/tmp/portage/dev-util/hip-5.0.2/work/ROCclr-rocm-5.0.2/cmake/../device/rocm/rocglinterop.hpp:26:10: fatal error: GL/glx.h: No such file or directory
Yiyang, dev-libs/rocclr depends on virtual/opengl. So does dev-util/hip that bundles rocclr in 5.0.2.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a154b03bb0af6f83df39f3d4fe5724a7ebcf59b commit 2a154b03bb0af6f83df39f3d4fe5724a7ebcf59b Author: YiyangWu <xgreenlandforwyy@gmail.com> AuthorDate: 2022-03-26 08:11:34 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2022-03-27 03:16:41 +0000 dev-util/hip: add missing BDEPEND providing GL/glx.h Previously this is the (build-time) dependency of rocclr, which has DEPEND="virtual/opengl" to make sure GL/glx.h is present. Now hip-5 bundles rocclr and this BDEPEND shuold be added. Closes: https://github.com/gentoo/gentoo/pull/24755 Closes: https://bugs.gentoo.org/836136 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-util/hip/hip-5.0.2.ebuild | 1 + 1 file changed, 1 insertion(+)