Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932639 - dev-python/pyopencl-2024.1 - [meson-9999] [gcc-15] src/wrap_cl.hpp: fatal error: numpy/arrayobject.h: No such file or directory
Summary: dev-python/pyopencl-2024.1 - [meson-9999] [gcc-15] src/wrap_cl.hpp: fatal err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 930951
  Show dependency tree
 
Reported: 2024-05-24 15:24 UTC by Toralf Förster
Modified: 2024-07-08 13:59 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.35 KB, text/plain)
2024-05-24 15:24 UTC, Toralf Förster
Details
dev-python:pyopencl-2024.1:20240524-073542.log (dev-python:pyopencl-2024.1:20240524-073542.log,19.30 KB, text/plain)
2024-05-24 15:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,149.61 KB, text/plain)
2024-05-24 15:24 UTC, Toralf Förster
Details
environment (environment,163.16 KB, text/plain)
2024-05-24 15:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-05-24 15:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.49 KB, application/x-xz)
2024-05-24 15:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,42.78 KB, application/x-xz)
2024-05-24 15:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.80 KB, application/x-xz)
2024-05-24 15:24 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 2024-05-24 15:24:03 UTC
too long lines were shrinked:

2024-05-24 07:35:48,765 root INFO building 'pyopencl._cl' extension
2024-05-24 07:35:48,765 root INFO creating /var/tmp/portage/dev-python/pyopencl-2024.1/work/pyopencl-2024.1-python3_11/build/temp.linux-x86_64-cpython-311
2024-05-24 07:35:48,765 root INFO creating /var/tmp/portage/dev-python/pyopencl-2024.1/work/pyopencl-2024.1-python3_11/build/temp.linux-x86_64-cpython-311/src
2024-05-24 07:35:48,766 root INFO x86_64-pc-linux-gnu-gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -O3 -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/usr/lib/python3.11/site-packages/pybind11/include -I/u
2024-05-24 07:35:48,799 root INFO x86_64-pc-linux-gnu-gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -O3 -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/usr/lib/python3.11/site-packages/pybind11/include -I/u
In file included from src/wrap_cl.cpp:29:
src/wrap_cl.hpp:101:10: fatal error: numpy/arrayobject.h: No such file or directory
  101 | #include <numpy/arrayobject.h>
      |          ^~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20240521-083502

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <dev-build/meson-9999
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems) *
  [3]   ruby33 (with Rubygems)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 1c3fb919917331b8f5e8f7091f294ee792afc09c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 24 06:33:47 2024 +0000

    2024-05-24 06:33:46 UTC

emerge -qpvO dev-python/pyopencl
[ebuild  N    ] dev-python/pyopencl-2024.1  USE="-debug -examples -opengl -test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2024-05-24 15:24:04 UTC
Created attachment 894214 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-24 15:24:05 UTC
Created attachment 894215 [details]
dev-python:pyopencl-2024.1:20240524-073542.log
Comment 3 Toralf Förster gentoo-dev 2024-05-24 15:24:06 UTC
Created attachment 894216 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-24 15:24:07 UTC
Created attachment 894217 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-24 15:24:08 UTC
Created attachment 894218 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-24 15:24:09 UTC
Created attachment 894219 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-24 15:24:11 UTC
Created attachment 894220 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-24 15:24:12 UTC
Created attachment 894221 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-07-08 13:59:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c11d572e5d07168344bbb30e4353a2974396b1

commit 75c11d572e5d07168344bbb30e4353a2974396b1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-08 13:47:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-08 13:59:19 +0000

    dev-python/pyopencl: add 2024.2.7
    
    Closes: https://bugs.gentoo.org/932639
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pyopencl/Manifest                       |  1 +
 .../files/pyopencl-2024.2.7-nanobind-flags.patch   | 13 ++++
 dev-python/pyopencl/pyopencl-2024.2.7.ebuild       | 78 ++++++++++++++++++++++
 3 files changed, 92 insertions(+)