Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957615 - dev-python/pyopencl-2025.1 - [gcc-16] wrap_helpers.hpp: error: NPY_FARRAY was not declared in this scope
Summary: dev-python/pyopencl-2025.1 - [gcc-16] wrap_helpers.hpp: error: NPY_FARRAY was...
Status: CONFIRMED
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:
Depends on:
Blocks: gcc-16
  Show dependency tree
 
Reported: 2025-06-08 21:27 UTC by Toralf Förster
Modified: 2025-06-17 03:14 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.09 KB, text/plain)
2025-06-08 21:27 UTC, Toralf Förster
Details
dev-python:pyopencl-2025.1:20250608-192422.log (dev-python:pyopencl-2025.1:20250608-192422.log,33.01 KB, text/plain)
2025-06-08 21:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,142.99 KB, text/plain)
2025-06-08 21:27 UTC, Toralf Förster
Details
environment (environment,144.73 KB, text/plain)
2025-06-08 21:27 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.59 KB, application/x-xz)
2025-06-08 21:27 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.12 KB, application/x-xz)
2025-06-08 21:27 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,2.60 KB, application/x-xz)
2025-06-08 21:27 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,44.64 KB, application/x-xz)
2025-06-08 21:27 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.97 KB, application/x-xz)
2025-06-08 21:27 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 2025-06-08 21:27:45 UTC
too long lines were shrinked:

[12/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_GL=1 -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL -D_cl_EXPORTS -I/usr/lib/python3.13/site-packages/numpy/_core/include -I/usr/include/python3.13 -I/usr/lib/python3.13/site-packages/nanobind/include -O2 -pipe -march=native -fno-diagnostics-color  -DNDEBUG
FAILED: CMakeFiles/_cl.dir/src/wrap_cl.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_GL=1 -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL -D_cl_EXPORTS -I/usr/lib/python3.13/site-packages/numpy/_core/include -I/usr/include/python3.13 -I/usr/lib/python3.13/site-packages/nanobind/include -O2 -pipe -march=native -fno-diagnostics-color  -DNDEBUG -fPIC -
In file included from /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:101,
                 from /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.cpp:29:
/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function nanobind::object pyopencl::enqueue_map_buffer(nanobind::ref<command_queue>, memory_object_holder&, cl_map_flags, size_t, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::obj
/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:145:20: error: NPY_FARRAY was not declared in this scope; did you mean NPY_FR_Y?
  145 |       ary_flags |= NPY_FARRAY; \
      |                    ^~~~~~~~~~

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20250606-080502

  KEYWORDED/UNMASKED

  
  <sys-devel/gcc-16.0.9999:16

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-16 *
clang version 20.1.6
llvm-config: 20.1.6
Python 3.13.4
go version go1.24.3 linux/amd64
  [1]   php8.2 *
  [2]   php8.4
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems)
  [3]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.86.0
  [2]   rust-bin-1.87.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.7_p6 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

  HEAD of ::gentoo
commit d91ba35c6b5fca682375a69ef9abf8f2fa16299c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 8 16:53:47 2025 +0000

    2025-06-08 16:53:46 UTC

The tinderbox task was: dev-python/pyopencl

emerge -qpvO =dev-python/pyopencl-2025.1
[ebuild  N    ] dev-python/pyopencl-2025.1  USE="opengl -debug -examples -test" PYTHON_TARGETS="python3_13 -python3_11 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2025-06-08 21:27:46 UTC
Created attachment 932133 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-06-08 21:27:47 UTC
Created attachment 932134 [details]
dev-python:pyopencl-2025.1:20250608-192422.log
Comment 3 Toralf Förster gentoo-dev 2025-06-08 21:27:49 UTC
Created attachment 932135 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-06-08 21:27:50 UTC
Created attachment 932136 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-06-08 21:27:51 UTC
Created attachment 932137 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-06-08 21:27:52 UTC
Created attachment 932138 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-06-08 21:27:52 UTC
Created attachment 932139 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-06-08 21:27:53 UTC
Created attachment 932140 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-06-08 21:27:55 UTC
Created attachment 932141 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-17 03:14:51 UTC
Needs to be checked.