Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836136 - dev-util/hip-5.0.2 fails to compile: rocglinterop.hpp:26:10: fatal error: glx.h: No such file or directory
Summary: dev-util/hip-5.0.2 fails to compile: rocglinterop.hpp:26:10: fatal error: glx...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-03-26 07:17 UTC by Agostino Sarubbo
Modified: 2022-03-27 03:18 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,187.76 KB, text/plain)
2022-03-26 07:17 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-03-26 07:17:26 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-26 07:17:28 UTC
CC'ing also the author of the commit (478d29974b0b6af3fea603ea2eccc6c44401c237)
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-26 07:17:29 UTC
Created attachment 767822 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2022-03-26 07:17:30 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.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
Comment 4 Benda Xu gentoo-dev 2022-03-26 08:12:54 UTC
Yiyang, dev-libs/rocclr depends on virtual/opengl. So does dev-util/hip that bundles rocclr in 5.0.2.
Comment 5 Larry the Git Cow gentoo-dev 2022-03-27 03:18:56 UTC
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(+)