Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 932134 Details for
Bug 957615
dev-python/pyopencl-2025.1 - [gcc-16] wrap_helpers.hpp: error: NPY_FARRAY was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:pyopencl-2025.1:20250608-192422.log
dev-python:pyopencl-2025.1:20250608-192422.log (text/plain), 33.01 KB, created by
Toralf Förster
on 2025-06-08 21:27:47 UTC
(
hide
)
Description:
dev-python:pyopencl-2025.1:20250608-192422.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2025-06-08 21:27:47 UTC
Size:
33.01 KB
patch
obsolete
> * Package: dev-python/pyopencl-2025.1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux opengl python_targets_python3_13 > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pyopencl-2025.1.tar.gz to /var/tmp/portage/dev-python/pyopencl-2025.1/work >>>> Source unpacked in /var/tmp/portage/dev-python/pyopencl-2025.1/work >>>> Preparing source in /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1 ... > * Applying pyopencl-2025.1-nanobind-flags.patch ... > [ ok ] > * Build system packages: > * dev-python/gpep517 : 19 > * dev-python/installer : 0.7.0 > * dev-python/cython : 3.1.1 > * dev-python/scikit-build-core : 0.11.4 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1 ... > * Using python3.13 in global scope > * python3_13: running distutils-r1_run_phase python_configure_all >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1 ... > * python3_13: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for pyopencl-2025.1 via scikit_build_core.build >python3.13 -m gpep517 build-wheel --prefix=/usr --backend scikit_build_core.build --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1-python3_13/wheel --config-json {"build.tool-args": ["-j4", "-l0"], "cmake.args": "-C/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1-python3_13/config.cmake;-DPYOPENCL_ENABLE_GL=yes", "cmake.build-type": "RelWithDebInfo", "cmake.verbose": true, "install.strip": false} >2025-06-08 19:24:26,723 gpep517 INFO Building wheel via backend scikit_build_core.build >WARNING: Use build.verbose instead of cmake.verbose for scikit-build-core >= 0.10 >*** scikit-build-core 0.11.4 using CMake 4.0.2 (wheel) >*** Configuring CMake... >loading initial cache file /var/tmp/portage/dev-python/pyopencl-2025.1/temp/tmpii0ecx7i/build/CMakeInit.txt >loading initial cache file /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1-python3_13/config.cmake >-- The CXX compiler identification is GNU 16.0.0 >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - done >-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped >-- Detecting CXX compile features >-- Detecting CXX compile features - done >-- CL_INC_DIR not set, trying to guess it from environment variables. >-- CL_INC_DIR not set, trying to guess it from conda environment. >-- CL_INC_DIR >-- CL_LIB_DIR >-- CL_LIBNAME >-- Found Python: /usr/bin/python3.13 (found version "3.13.4") found components: Interpreter Development.Module NumPy >'/usr/bin/python3.13' '-c' 'import nanobind; print(nanobind.__version__)' >'/usr/bin/python3.13' '-c' 'import nanobind; print(nanobind.cmake_dir())' >-- Looking for CL_VERSION_3_0 >-- Looking for CL_VERSION_3_0 - found >-- Found OpenCL: /usr/lib64/libOpenCL.so (found version "3.0") >============================== >PyOpenCL v2025.1 (non-git) configuration: > PyOpenCL options: PYOPENCL_TRACE=OFF PYOPENCL_ENABLE_GL=yes PYOPENCL_USE_SHIPPED_EXT=OFF PYOPENCL_PRETEND_CL_VERSION= > OpenCL: /usr/lib64/libOpenCL.so [3.0] > Python: /usr/bin/python3.13 [3.13.4] > Build type: RelWithDebInfo > C++ compiler: /usr/bin/x86_64-pc-linux-gnu-g++ [GNU 16.0.0] > CMake: /usr/bin/cmake [4.0.2] > Nanobind: /usr/lib/python3.13/site-packages/nanobind/cmake [2.7.0] > Build tool: /usr/bin/ninja >============================== >-- Configuring done (2.2s) >-- Generating done (0.0s) >-- Build files have been written to: /var/tmp/portage/dev-python/pyopencl-2025.1/temp/tmpii0ecx7i/build >*** Building project with Ninja... >Change Dir: '/var/tmp/portage/dev-python/pyopencl-2025.1/temp/tmpii0ecx7i/build' > >Run Build Command(s): /usr/bin/ninja -v -j4 -l0 >[1/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_internals.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_internals.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_internals.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/nb_internals.cpp >[2/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_enum.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_enum.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_enum.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/nb_enum.cpp >[3/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_func.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_func.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_func.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/nb_func.cpp >[4/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_type.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_type.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_type.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/nb_type.cpp >[5/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_ndarray.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_ndarray.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_ndarray.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/nb_ndarray.cpp >[6/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_ft.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_ft.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_ft.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/nb_ft.cpp >[7/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_static_property.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_static_property.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/nb_static_property.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/nb_static_property.cpp >[8/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/error.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/error.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/error.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/error.cpp >[9/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/trampoline.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/trampoline.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/trampoline.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/trampoline.cpp >[10/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/implicit.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/implicit.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/implicit.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/implicit.cpp >[11/19] /usr/bin/x86_64-pc-linux-gnu-g++ -DNB_COMPACT_ASSERTIONS -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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -fno-strict-aliasing -MD -MT CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/common.cpp.o -MF CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/common.cpp.o.d -o CMakeFiles/nanobind-static.dir/usr/lib/python3.13/site-packages/nanobind/src/common.cpp.o -c /usr/lib/python3.13/site-packages/nanobind/src/common.cpp >[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 -fPIC -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -MD -MT CMakeFiles/_cl.dir/src/wrap_cl.cpp.o -MF CMakeFiles/_cl.dir/src/wrap_cl.cpp.o.d -o CMakeFiles/_cl.dir/src/wrap_cl.cpp.o -c /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.cpp >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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -MD -MT CMakeFiles/_cl.dir/src/wrap_cl.cpp.o -MF CMakeFiles/_cl.dir/src/wrap_cl.cpp.o.d -o CMakeFiles/_cl.dir/src/wrap_cl.cpp.o -c /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.cpp >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::object, bool)â: >/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; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3494:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3494 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:147:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 147 | ary_flags |= NPY_CARRAY; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3494:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3494 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function ânanobind::object pyopencl::enqueue_map_image(nanobind::ref<command_queue>, memory_object_holder&, cl_map_flags, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, bool)â: >/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; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3579:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3579 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:147:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 147 | ary_flags |= NPY_CARRAY; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3579:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3579 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function ânanobind::object pyopencl::get_mem_obj_host_array(nanobind::object, nanobind::object, nanobind::object, nanobind::object)â: >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:5896:20: error: âNPY_FARRAYâ was not declared in this scope; did you mean âNPY_FR_Yâ? > 5896 | ary_flags |= NPY_FARRAY; > | ^~~~~~~~~~ > | NPY_FR_Y >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:5898:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 5898 | ary_flags |= NPY_CARRAY; > | ^~~~~~~~~~ > | NPY_WRAP >[13/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 -fPIC -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -MD -MT CMakeFiles/_cl.dir/src/wrap_constants.cpp.o -MF CMakeFiles/_cl.dir/src/wrap_constants.cpp.o.d -o CMakeFiles/_cl.dir/src/wrap_constants.cpp.o -c /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_constants.cpp >FAILED: CMakeFiles/_cl.dir/src/wrap_constants.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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -MD -MT CMakeFiles/_cl.dir/src/wrap_constants.cpp.o -MF CMakeFiles/_cl.dir/src/wrap_constants.cpp.o.d -o CMakeFiles/_cl.dir/src/wrap_constants.cpp.o -c /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_constants.cpp >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_constants.cpp:30: >/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::object, bool)â: >/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; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3494:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3494 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:147:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 147 | ary_flags |= NPY_CARRAY; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3494:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3494 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function ânanobind::object pyopencl::enqueue_map_image(nanobind::ref<command_queue>, memory_object_holder&, cl_map_flags, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, bool)â: >/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; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3579:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3579 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:147:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 147 | ary_flags |= NPY_CARRAY; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3579:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3579 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function ânanobind::object pyopencl::get_mem_obj_host_array(nanobind::object, nanobind::object, nanobind::object, nanobind::object)â: >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:5896:20: error: âNPY_FARRAYâ was not declared in this scope; did you mean âNPY_FR_Yâ? > 5896 | ary_flags |= NPY_FARRAY; > | ^~~~~~~~~~ > | NPY_FR_Y >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:5898:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 5898 | ary_flags |= NPY_CARRAY; > | ^~~~~~~~~~ > | NPY_WRAP >[14/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 -fPIC -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -MD -MT CMakeFiles/_cl.dir/src/wrap_cl_part_1.cpp.o -MF CMakeFiles/_cl.dir/src/wrap_cl_part_1.cpp.o.d -o CMakeFiles/_cl.dir/src/wrap_cl_part_1.cpp.o -c /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl_part_1.cpp >FAILED: CMakeFiles/_cl.dir/src/wrap_cl_part_1.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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -MD -MT CMakeFiles/_cl.dir/src/wrap_cl_part_1.cpp.o -MF CMakeFiles/_cl.dir/src/wrap_cl_part_1.cpp.o.d -o CMakeFiles/_cl.dir/src/wrap_cl_part_1.cpp.o -c /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl_part_1.cpp >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_part_1.cpp:30: >/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::object, bool)â: >/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; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3494:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3494 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:147:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 147 | ary_flags |= NPY_CARRAY; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3494:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3494 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function ânanobind::object pyopencl::enqueue_map_image(nanobind::ref<command_queue>, memory_object_holder&, cl_map_flags, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, bool)â: >/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; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3579:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3579 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:147:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 147 | ary_flags |= NPY_CARRAY; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3579:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3579 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function ânanobind::object pyopencl::get_mem_obj_host_array(nanobind::object, nanobind::object, nanobind::object, nanobind::object)â: >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:5896:20: error: âNPY_FARRAYâ was not declared in this scope; did you mean âNPY_FR_Yâ? > 5896 | ary_flags |= NPY_FARRAY; > | ^~~~~~~~~~ > | NPY_FR_Y >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:5898:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 5898 | ary_flags |= NPY_CARRAY; > | ^~~~~~~~~~ > | NPY_WRAP >[15/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 -fPIC -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -MD -MT CMakeFiles/_cl.dir/src/wrap_cl_part_2.cpp.o -MF CMakeFiles/_cl.dir/src/wrap_cl_part_2.cpp.o.d -o CMakeFiles/_cl.dir/src/wrap_cl_part_2.cpp.o -c /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl_part_2.cpp >FAILED: CMakeFiles/_cl.dir/src/wrap_cl_part_2.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 -fvisibility=hidden -fno-diagnostics-color -ffunction-sections -fdata-sections -MD -MT CMakeFiles/_cl.dir/src/wrap_cl_part_2.cpp.o -MF CMakeFiles/_cl.dir/src/wrap_cl_part_2.cpp.o.d -o CMakeFiles/_cl.dir/src/wrap_cl_part_2.cpp.o -c /var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl_part_2.cpp >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_part_2.cpp:31: >/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::object, bool)â: >/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; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3494:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3494 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:147:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 147 | ary_flags |= NPY_CARRAY; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3494:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3494 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function ânanobind::object pyopencl::enqueue_map_image(nanobind::ref<command_queue>, memory_object_holder&, cl_map_flags, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, nanobind::object, bool)â: >/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; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3579:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3579 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_helpers.hpp:147:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 147 | ary_flags |= NPY_CARRAY; \ > | ^~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:3579:5: note: in expansion of macro âPYOPENCL_PARSE_NUMPY_ARRAY_SPECâ > 3579 | PYOPENCL_PARSE_NUMPY_ARRAY_SPEC; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp: In function ânanobind::object pyopencl::get_mem_obj_host_array(nanobind::object, nanobind::object, nanobind::object, nanobind::object)â: >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:5896:20: error: âNPY_FARRAYâ was not declared in this scope; did you mean âNPY_FR_Yâ? > 5896 | ary_flags |= NPY_FARRAY; > | ^~~~~~~~~~ > | NPY_FR_Y >/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1/src/wrap_cl.hpp:5898:20: error: âNPY_CARRAYâ was not declared in this scope; did you mean âNPY_WRAPâ? > 5898 | ary_flags |= NPY_CARRAY; > | ^~~~~~~~~~ > | NPY_WRAP >ninja: build stopped: subcommand failed. > > >*** CMake build failed > * ERROR: dev-python/pyopencl-2025.1::gentoo failed (compile phase): > * Wheel build failed > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 3535: Called distutils-r1_src_compile > * environment, line 1728: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' > * environment, line 575: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3159: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2614: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2612: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 1070: Called distutils-r1_run_phase 'distutils-r1_python_compile' > * environment, line 1710: Called distutils-r1_python_compile > * environment, line 1605: Called distutils_pep517_install '/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1-python3_13/install' > * environment, line 2051: Called die > * The specific snippet of code: > * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); > * > * If you need support, post the output of `emerge --info '=dev-python/pyopencl-2025.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pyopencl-2025.1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:pyopencl-2025.1:20250608-192422.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pyopencl-2025.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyopencl-2025.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1' > * S: '/var/tmp/portage/dev-python/pyopencl-2025.1/work/pyopencl-2025.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 957615
:
932133
| 932134 |
932135
|
932136
|
932137
|
932138
|
932139
|
932140
|
932141