x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -DHAVE_GL=1 -Ipybind11/include -I/usr/lib/python3.9/site-packages/pybind11/include -I/usr/lib/python3.9/site-packages/numpy/core/include -I/usr/include/python3.9 -c -std=gnu++14 src/wrap_cl.cpp -o /var/tmp/portage/dev-python/pyopencl-2021.2.2/work/pyopencl-2021.2.2-python3_9/temp.linux-x86_64-3.9/src/wrap_cl.o -fvisibility=hidden -DVERSION_INFO="2021.2.2" -fvisibility=hidden In file included from src/wrap_cl.cpp:29: src/wrap_cl.hpp:79:10: fatal error: GL/gl.h: No such file or directory 79 | #include <GL/gl.h> | ^~~~~~~~~ compilation terminated. error: command '/usr/bin/x86_64-pc-linux-gnu-g++' failed with exit code 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j3-20210604-105437 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.9.5 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.52.1 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 2f2f359465aa72d2698e47ca7841ecf472d08f3b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Jun 5 07:50:23 2021 +0000 2021-06-05 07:50:22 UTC emerge -qpvO dev-python/pyopencl [ebuild N ] dev-python/pyopencl-2021.2.2 USE="opengl -examples" PYTHON_TARGETS="python3_9 -python3_10 -python3_8"
Created attachment 713775 [details] emerge-info.txt
Created attachment 713778 [details] dev-python:pyopencl-2021.2.2:20210605-081951.log
Created attachment 713781 [details] emerge-history.txt
Created attachment 713784 [details] environment
Created attachment 713787 [details] etc.portage.tar.bz2
Created attachment 713790 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f337d99feab3e650497b6c3091448124c2aad1ee commit f337d99feab3e650497b6c3091448124c2aad1ee Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-06-05 13:20:47 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-06-05 13:23:28 +0000 dev-python/pyopencl: add missing dependency on OpenGL headers Only in DEPEND because it seems it's just the headers that are needed, the extension doesn't get linked against any OpenGL libraries. And of course only for USE=opengl. Closes: https://bugs.gentoo.org/794247 Signed-off-by: Marek Szuba <marecki@gentoo.org> dev-python/pyopencl/pyopencl-2021.1.3.ebuild | 3 ++- dev-python/pyopencl/pyopencl-2021.2.2.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)