Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794247 - dev-python/pyopencl-2021.2.2 - src/wrap_cl.hpp: fatal error: GL/gl.h: No such file or directory
Summary: dev-python/pyopencl-2021.2.2 - src/wrap_cl.hpp: fatal error: GL/gl.h: No such...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-05 08:57 UTC by Toralf Förster
Modified: 2021-06-05 13:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.51 KB, text/plain)
2021-06-05 08:57 UTC, Toralf Förster
Details
dev-python:pyopencl-2021.2.2:20210605-081951.log (dev-python:pyopencl-2021.2.2:20210605-081951.log,11.87 KB, text/plain)
2021-06-05 08:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,100.25 KB, text/plain)
2021-06-05 08:57 UTC, Toralf Förster
Details
environment (environment,112.13 KB, text/plain)
2021-06-05 08:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.80 KB, application/x-bzip)
2021-06-05 08:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.19 KB, application/x-bzip)
2021-06-05 08:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-06-05 08:57:00 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-06-05 08:57:02 UTC
Created attachment 713775 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-05 08:57:03 UTC
Created attachment 713778 [details]
dev-python:pyopencl-2021.2.2:20210605-081951.log
Comment 3 Toralf Förster gentoo-dev 2021-06-05 08:57:05 UTC
Created attachment 713781 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-06-05 08:57:06 UTC
Created attachment 713784 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-06-05 08:57:08 UTC
Created attachment 713787 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-05 08:57:09 UTC
Created attachment 713790 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-06-05 13:23:39 UTC
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(-)