Bug#1090119: pycuda: FTBFS: ERROR: Invalid value `None` in intersphinx_mapping['https://numpy.org/doc/stable/']. Expected a two-element tuple or list.

Santiago Vila sanvila at debian.org
Mon Dec 16 13:46:49 GMT 2024


Package: src:pycuda
Version: 2024.1.2~dfsg-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./configure.py \
	--no-use-shipped-boost \
	--boost-python-libname=boost_python \
	--boost-thread-libname=boost_thread \
	--cuda-root=/usr --cuda-enable-gl
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=pybuild
	pybuild --build -i python{version} -p "3.13 3.12"

[... snipped ...]

      |                                    ^~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::launch_grid(int, int)’:
src/cpp/cuda.hpp:1406:25: warning: ‘CUresult cuLaunchGrid(CUfunction, int, int)’ is deprecated [-Wdeprecated-declarations]
 1406 |           cuLaunchGrid, (m_function, grid_width, grid_height), m_symbol);
      |           ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:111:29: note: in definition of macro ‘CUDAPP_CALL_GUARDED_THREADED_WITH_TRACE_INFO’
  111 |       cu_status_code = NAME ARGLIST; \
      |                             ^~~~~~~
/usr/include/cuda.h:16609:36: note: declared here
16609 | __CUDA_DEPRECATED CUresult CUDAAPI cuLaunchGrid(CUfunction f, int grid_width, int grid_height);
      |                                    ^~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::launch_grid_async(int, int, const pycuda::stream&)’:
src/cpp/cuda.hpp:1411:32: warning: ‘CUresult cuLaunchGridAsync(CUfunction, int, int, CUstream)’ is deprecated [-Wdeprecated-declarations]
 1411 |             cuLaunchGridAsync, (m_function, grid_width, grid_height, s.handle()),
      |             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:111:29: note: in definition of macro ‘CUDAPP_CALL_GUARDED_THREADED_WITH_TRACE_INFO’
  111 |       cu_status_code = NAME ARGLIST; \
      |                             ^~~~~~~
/usr/include/cuda.h:16671:36: note: declared here
16671 | __CUDA_DEPRECATED CUresult CUDAAPI cuLaunchGridAsync(CUfunction f, int grid_width, int grid_height, CUstream hStream);
      |                                    ^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In function ‘void pycuda::initialize_profiler(const char*, const char*, CUoutput_mode)’:
src/cpp/cuda.hpp:2234:47: warning: ‘CUresult cuProfilerInitialize(const char*, const char*, CUoutput_mode)’ is deprecated [-Wdeprecated-declarations]
 2234 |     CUDAPP_CALL_GUARDED(cuProfilerInitialize, (config_file, output_file, output_mode));
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
In file included from src/cpp/cuda.hpp:23:
/usr/include/cudaProfiler.h:143:36: note: declared here
  143 | __CUDA_DEPRECATED CUresult CUDAAPI cuProfilerInitialize(const char *configFile, const char *outputFile, CUoutput_mode outputMode);
      |                                    ^~~~~~~~~~~~~~~~~~~~
src/cpp/cuda_gl.hpp: In function ‘void pycuda::gl::gl_init()’:
src/cpp/cuda_gl.hpp:23:35: warning: ‘CUresult cuGLInit()’ is deprecated [-Wdeprecated-declarations]
   23 |     CUDAPP_CALL_GUARDED(cuGLInit, ());
      |                         ~~~~~~~~~~^~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
In file included from src/cpp/cuda_gl.hpp:13,
                 from src/wrapper/wrap_cudagl.cpp:5:
/usr/include/cudaGL.h:357:36: note: declared here
  357 | __CUDA_DEPRECATED CUresult CUDAAPI cuGLInit(void);
      |                                    ^~~~~~~~
src/cpp/cuda_gl.hpp: In function ‘boost::shared_ptr<pycuda::context> pycuda::gl::make_gl_context(const pycuda::device&, unsigned int)’:
src/cpp/cuda_gl.hpp:37:40: warning: ‘CUresult cuGLCtxCreate_v2(CUctx_st**, unsigned int, CUdevice)’ is deprecated [-Wdeprecated-declarations]
   37 |     CUDAPP_CALL_GUARDED(cuGLCtxCreate, (&ctx, flags, dev.handle()));
      |                                        ^
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cudaGL.h:332:36: note: declared here
  332 | __CUDA_DEPRECATED CUresult CUDAAPI cuGLCtxCreate(CUcontext *pCtx, unsigned int Flags, CUdevice device );
      |                                    ^~~~~~~~~~~~~
src/cpp/cuda_gl.hpp: In constructor ‘pycuda::gl::buffer_object::buffer_object(GLuint)’:
src/cpp/cuda_gl.hpp:56:55: warning: ‘CUresult cuGLRegisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
   56 |         CUDAPP_CALL_GUARDED(cuGLRegisterBufferObject, (handle));
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cudaGL.h:382:36: note: declared here
  382 | __CUDA_DEPRECATED CUresult CUDAAPI cuGLRegisterBufferObject(GLuint buffer);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda_gl.hpp: In member function ‘void pycuda::gl::buffer_object::unregister()’:
src/cpp/cuda_gl.hpp:79:69: warning: ‘CUresult cuGLUnregisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
   79 |             CUDAPP_CALL_GUARDED_CLEANUP(cuGLUnregisterBufferObject, (m_handle));
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/cpp/cuda.hpp:152:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_CLEANUP’
  152 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cudaGL.h:474:36: note: declared here
  474 | __CUDA_DEPRECATED CUresult CUDAAPI cuGLUnregisterBufferObject(GLuint buffer);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda_gl.hpp: In member function ‘void pycuda::gl::buffer_object_mapping::unmap()’:
src/cpp/cuda_gl.hpp:125:64: warning: ‘CUresult cuGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  125 |             CUDAPP_CALL_GUARDED_CLEANUP(cuGLUnmapBufferObject, (m_buffer_object->handle()));
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:152:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_CLEANUP’
  152 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cudaGL.h:445:36: note: declared here
  445 | __CUDA_DEPRECATED CUresult CUDAAPI cuGLUnmapBufferObject(GLuint buffer);
      |                                    ^~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda_gl.hpp: In function ‘pycuda::gl::buffer_object_mapping* pycuda::gl::map_buffer_object(boost::shared_ptr<buffer_object>)’:
src/cpp/cuda_gl.hpp:149:46: warning: ‘CUresult cuGLMapBufferObject_v2(CUdeviceptr*, size_t*, GLuint)’ is deprecated [-Wdeprecated-declarations]
  149 |     CUDAPP_CALL_GUARDED(cuGLMapBufferObject, (&devptr, &size, bobj->handle()));
      |                                              ^
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cudaGL.h:416:36: note: declared here
  416 | __CUDA_DEPRECATED CUresult CUDAAPI cuGLMapBufferObject(CUdeviceptr *dptr, size_t *size,  GLuint buffer);
      |                                    ^~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYGPU_PACKAGE=pycuda -DPYGPU_PYCUDA=1 -DHAVE_GL=1 -DHAVE_CURAND=1 -Isrc/cpp -I/usr/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.12 -c src/wrapper/wrap_curand.cpp -o build/temp.linux-x86_64-cpython-312/src/wrapper/wrap_curand.o
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from src/wrapper/tools.hpp:10,
                 from src/wrapper/wrap_curand.cpp:4:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
In file included from src/wrapper/wrap_curand.cpp:1:
src/cpp/cuda.hpp: In member function ‘boost::python::tuple pycuda::device::compute_capability()’:
src/cpp/cuda.hpp:451:56: warning: ‘CUresult cuDeviceComputeCapability(int*, int*, CUdevice)’ is deprecated [-Wdeprecated-declarations]
  451 |         CUDAPP_CALL_GUARDED(cuDeviceComputeCapability, (&major, &minor, m_device));
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
In file included from src/cpp/cuda.hpp:14:
/usr/include/cuda.h:5071:36: note: declared here
 5071 | __CUDA_DEPRECATED CUresult CUDAAPI cuDeviceComputeCapability(int *major, int *minor, CUdevice dev);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In static member function ‘static boost::shared_ptr<pycuda::context> pycuda::context::attach(unsigned int)’:
src/cpp/cuda.hpp:648:42: warning: ‘CUresult cuCtxAttach(CUctx_st**, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  648 |         CUDAPP_CALL_GUARDED(cuCtxAttach, (&current, flags));
      |                             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:6432:36: note: declared here
 6432 | __CUDA_DEPRECATED CUresult CUDAAPI cuCtxAttach(CUcontext *pctx, unsigned int flags);
      |                                    ^~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘virtual void pycuda::context::detach_internal()’:
src/cpp/cuda.hpp:657:50: warning: ‘CUresult cuCtxDetach(CUcontext)’ is deprecated [-Wdeprecated-declarations]
  657 |         CUDAPP_CALL_GUARDED_CLEANUP(cuCtxDetach, (m_context));
      |                                     ~~~~~~~~~~~~~^~~~~~~~~~~
src/cpp/cuda.hpp:152:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_CLEANUP’
  152 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:6468:36: note: declared here
 6468 | __CUDA_DEPRECATED CUresult CUDAAPI cuCtxDetach(CUcontext ctx);
      |                                    ^~~~~~~~~~~
src/cpp/cuda.hpp: In constructor ‘pycuda::texture_reference::texture_reference()’:
src/cpp/cuda.hpp:1130:45: warning: ‘CUresult cuTexRefCreate(CUtexref_st**)’ is deprecated [-Wdeprecated-declarations]
 1130 |       { CUDAPP_CALL_GUARDED(cuTexRefCreate, (&m_texref)); }
      |                             ~~~~~~~~~~~~~~~~^~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20701:36: note: declared here
20701 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefCreate(CUtexref *pTexRef);
      |                                    ^~~~~~~~~~~~~~
src/cpp/cuda.hpp: In destructor ‘pycuda::texture_reference::~texture_reference()’:
src/cpp/cuda.hpp:1140:56: warning: ‘CUresult cuTexRefDestroy(CUtexref)’ is deprecated [-Wdeprecated-declarations]
 1140 |           CUDAPP_CALL_GUARDED_CLEANUP(cuTexRefDestroy, (m_texref));
      |                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/cpp/cuda.hpp:152:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_CLEANUP’
  152 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20721:36: note: declared here
20721 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefDestroy(CUtexref hTexRef);
      |                                    ^~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::texture_reference::set_array(boost::shared_ptr<pycuda::array>)’:
src/cpp/cuda.hpp:1152:47: warning: ‘CUresult cuTexRefSetArray(CUtexref, CUarray, unsigned int)’ is deprecated [-Wdeprecated-declarations]
 1152 |         CUDAPP_CALL_GUARDED(cuTexRefSetArray, (m_texref,
      |                             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
 1153 |             ary->handle(), CU_TRSA_OVERRIDE_FORMAT));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:19912:36: note: declared here
19912 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefSetArray(CUtexref hTexRef, CUarray hArray, unsigned int Flags);
      |                                    ^~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘pycuda::pycuda_size_t pycuda::texture_reference::set_address(CUdeviceptr, unsigned int, bool)’:
src/cpp/cuda.hpp:1160:49: warning: ‘CUresult cuTexRefSetAddress_v2(size_t*, CUtexref, CUdeviceptr, size_t)’ is deprecated [-Wdeprecated-declarations]
 1160 |         CUDAPP_CALL_GUARDED(cuTexRefSetAddress, (&byte_offset,
      |                                                 ^
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:19988:36: note: declared here
19988 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefSetAddress(size_t *ByteOffset, CUtexref hTexRef, CUdeviceptr dptr, size_t bytes);
      |                                    ^~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::texture_reference::set_address_2d(CUdeviceptr, const CUDA_ARRAY_DESCRIPTOR&, unsigned int)’:
src/cpp/cuda.hpp:1175:51: warning: ‘CUresult cuTexRefSetAddress2D_v3(CUtexref, const CUDA_ARRAY_DESCRIPTOR*, CUdeviceptr, size_t)’ is deprecated [-Wdeprecated-declarations]
 1175 |         CUDAPP_CALL_GUARDED(cuTexRefSetAddress2D, (m_texref, &descr, dptr, pitch));
      |                                                   ^
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20043:36: note: declared here
20043 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefSetAddress2D(CUtexref hTexRef, const CUDA_ARRAY_DESCRIPTOR *desc, CUdeviceptr dptr, size_t Pitch);
      |                                    ^~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::texture_reference::set_format(CUarray_format, int)’:
src/cpp/cuda.hpp:1180:48: warning: ‘CUresult cuTexRefSetFormat(CUtexref, CUarray_format, int)’ is deprecated [-Wdeprecated-declarations]
 1180 |       { CUDAPP_CALL_GUARDED(cuTexRefSetFormat, (m_texref, fmt, num_packed_components)); }
      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20075:36: note: declared here
20075 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefSetFormat(CUtexref hTexRef, CUarray_format fmt, int NumPackedComponents);
      |                                    ^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::texture_reference::set_address_mode(int, CUaddress_mode)’:
src/cpp/cuda.hpp:1183:53: warning: ‘CUresult cuTexRefSetAddressMode(CUtexref, int, CUaddress_mode)’ is deprecated [-Wdeprecated-declarations]
 1183 |       { CUDAPP_CALL_GUARDED(cuTexRefSetAddressMode, (m_texref, dim, am)); }
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20118:36: note: declared here
20118 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefSetAddressMode(CUtexref hTexRef, int dim, CUaddress_mode am);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::texture_reference::set_filter_mode(CUfilter_mode)’:
src/cpp/cuda.hpp:1185:52: warning: ‘CUresult cuTexRefSetFilterMode(CUtexref, CUfilter_mode)’ is deprecated [-Wdeprecated-declarations]
 1185 |       { CUDAPP_CALL_GUARDED(cuTexRefSetFilterMode, (m_texref, fm)); }
      |                             ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20154:36: note: declared here
20154 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefSetFilterMode(CUtexref hTexRef, CUfilter_mode fm);
      |                                    ^~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::texture_reference::set_flags(unsigned int)’:
src/cpp/cuda.hpp:1188:47: warning: ‘CUresult cuTexRefSetFlags(CUtexref, unsigned int)’ is deprecated [-Wdeprecated-declarations]
 1188 |       { CUDAPP_CALL_GUARDED(cuTexRefSetFlags, (m_texref, flags)); }
      |                             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20354:36: note: declared here
20354 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefSetFlags(CUtexref hTexRef, unsigned int Flags);
      |                                    ^~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘CUdeviceptr pycuda::texture_reference::get_address()’:
src/cpp/cuda.hpp:1193:49: warning: ‘CUresult cuTexRefGetAddress_v2(CUdeviceptr*, CUtexref)’ is deprecated [-Wdeprecated-declarations]
 1193 |         CUDAPP_CALL_GUARDED(cuTexRefGetAddress, (&result, m_texref));
      |                                                 ^
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20381:36: note: declared here
20381 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetAddress(CUdeviceptr *pdptr, CUtexref hTexRef);
      |                                    ^~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘pycuda::array* pycuda::texture_reference::get_array()’:
src/cpp/cuda.hpp:1199:47: warning: ‘CUresult cuTexRefGetArray(CUarray_st**, CUtexref)’ is deprecated [-Wdeprecated-declarations]
 1199 |         CUDAPP_CALL_GUARDED(cuTexRefGetArray, (&result, m_texref));
      |                             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20408:36: note: declared here
20408 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetArray(CUarray *phArray, CUtexref hTexRef);
      |                                    ^~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘CUaddress_mode pycuda::texture_reference::get_address_mode(int)’:
src/cpp/cuda.hpp:1205:53: warning: ‘CUresult cuTexRefGetAddressMode(CUaddress_mode*, CUtexref, int)’ is deprecated [-Wdeprecated-declarations]
 1205 |         CUDAPP_CALL_GUARDED(cuTexRefGetAddressMode, (&result, m_texref, dim));
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20463:36: note: declared here
20463 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetAddressMode(CUaddress_mode *pam, CUtexref hTexRef, int dim);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘CUfilter_mode pycuda::texture_reference::get_filter_mode()’:
src/cpp/cuda.hpp:1211:52: warning: ‘CUresult cuTexRefGetFilterMode(CUfilter_mode*, CUtexref)’ is deprecated [-Wdeprecated-declarations]
 1211 |         CUDAPP_CALL_GUARDED(cuTexRefGetFilterMode, (&result, m_texref));
      |                             ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20489:36: note: declared here
20489 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetFilterMode(CUfilter_mode *pfm, CUtexref hTexRef);
      |                                    ^~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘boost::python::tuple pycuda::texture_reference::get_format()’:
src/cpp/cuda.hpp:1220:48: warning: ‘CUresult cuTexRefGetFormat(CUarray_format*, int*, CUtexref)’ is deprecated [-Wdeprecated-declarations]
 1220 |         CUDAPP_CALL_GUARDED(cuTexRefGetFormat, (&fmt, &num_channels, m_texref));
      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20517:36: note: declared here
20517 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat, int *pNumChannels, CUtexref hTexRef);
      |                                    ^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘unsigned int pycuda::texture_reference::get_flags()’:
src/cpp/cuda.hpp:1228:47: warning: ‘CUresult cuTexRefGetFlags(unsigned int*, CUtexref)’ is deprecated [-Wdeprecated-declarations]
 1228 |         CUDAPP_CALL_GUARDED(cuTexRefGetFlags, (&result, m_texref));
      |                             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20676:36: note: declared here
20676 | __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetFlags(unsigned int *pFlags, CUtexref hTexRef);
      |                                    ^~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::surface_reference::set_array(boost::shared_ptr<pycuda::array>, unsigned int)’:
src/cpp/cuda.hpp:1261:48: warning: ‘CUresult cuSurfRefSetArray(CUsurfref, CUarray, unsigned int)’ is deprecated [-Wdeprecated-declarations]
 1261 |         CUDAPP_CALL_GUARDED(cuSurfRefSetArray, (m_surfref, ary->handle(), flags));
      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20764:36: note: declared here
20764 | __CUDA_DEPRECATED CUresult CUDAAPI cuSurfRefSetArray(CUsurfref hSurfRef, CUarray hArray, unsigned int Flags);
      |                                    ^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘pycuda::array* pycuda::surface_reference::get_array()’:
src/cpp/cuda.hpp:1268:48: warning: ‘CUresult cuSurfRefGetArray(CUarray_st**, CUsurfref)’ is deprecated [-Wdeprecated-declarations]
 1268 |         CUDAPP_CALL_GUARDED(cuSurfRefGetArray, (&result, m_surfref));
      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:20787:36: note: declared here
20787 | __CUDA_DEPRECATED CUresult CUDAAPI cuSurfRefGetArray(CUarray *phArray, CUsurfref hSurfRef);
      |                                    ^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In function ‘pycuda::texture_reference* pycuda::module_get_texref(boost::shared_ptr<module>, const char*)’:
src/cpp/cuda.hpp:1325:44: warning: ‘CUresult cuModuleGetTexRef(CUtexref_st**, CUmodule, const char*)’ is deprecated [-Wdeprecated-declarations]
 1325 |     CUDAPP_CALL_GUARDED(cuModuleGetTexRef, (&tr, mod->handle(), name));
      |                         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:6982:36: note: declared here
 6982 | __CUDA_DEPRECATED CUresult CUDAAPI cuModuleGetTexRef(CUtexref *pTexRef, CUmodule hmod, const char *name);
      |                                    ^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In function ‘pycuda::surface_reference* pycuda::module_get_surfref(boost::shared_ptr<module>, const char*)’:
src/cpp/cuda.hpp:1338:45: warning: ‘CUresult cuModuleGetSurfRef(CUsurfref_st**, CUmodule, const char*)’ is deprecated [-Wdeprecated-declarations]
 1338 |     CUDAPP_CALL_GUARDED(cuModuleGetSurfRef, (&sr, mod->handle(), name));
      |                         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:7016:36: note: declared here
 7016 | __CUDA_DEPRECATED CUresult CUDAAPI cuModuleGetSurfRef(CUsurfref *pSurfRef, CUmodule hmod, const char *name);
      |                                    ^~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::set_block_shape(int, int, int)’:
src/cpp/cuda.hpp:1363:34: warning: ‘CUresult cuFuncSetBlockShape(CUfunction, int, int, int)’ is deprecated [-Wdeprecated-declarations]
 1363 |             cuFuncSetBlockShape, (m_function, x, y, z), m_symbol);
      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:121:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_WITH_TRACE_INFO’
  121 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:16336:36: note: declared here
16336 | __CUDA_DEPRECATED CUresult CUDAAPI cuFuncSetBlockShape(CUfunction hfunc, int x, int y, int z);
      |                                    ^~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::set_shared_size(unsigned int)’:
src/cpp/cuda.hpp:1368:34: warning: ‘CUresult cuFuncSetSharedSize(CUfunction, unsigned int)’ is deprecated [-Wdeprecated-declarations]
 1368 |             cuFuncSetSharedSize, (m_function, bytes), m_symbol);
      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:121:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_WITH_TRACE_INFO’
  121 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:16370:36: note: declared here
16370 | __CUDA_DEPRECATED CUresult CUDAAPI cuFuncSetSharedSize(CUfunction hfunc, unsigned int bytes);
      |                                    ^~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::param_set_size(unsigned int)’:
src/cpp/cuda.hpp:1374:29: warning: ‘CUresult cuParamSetSize(CUfunction, unsigned int)’ is deprecated [-Wdeprecated-declarations]
 1374 |             cuParamSetSize, (m_function, bytes), m_symbol);
      |             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:121:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_WITH_TRACE_INFO’
  121 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:16402:36: note: declared here
16402 | __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetSize(CUfunction hfunc, unsigned int numbytes);
      |                                    ^~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::param_set(int, unsigned int)’:
src/cpp/cuda.hpp:1379:26: warning: ‘CUresult cuParamSeti(CUfunction, int, unsigned int)’ is deprecated [-Wdeprecated-declarations]
 1379 |             cuParamSeti, (m_function, offset, value), m_symbol);
      |             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:121:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_WITH_TRACE_INFO’
  121 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:16435:36: note: declared here
16435 | __CUDA_DEPRECATED CUresult CUDAAPI cuParamSeti(CUfunction hfunc, int offset, unsigned int value);
      |                                    ^~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::param_set(int, float)’:
src/cpp/cuda.hpp:1384:24: warning: ‘CUresult cuParamSetf(CUfunction, int, float)’ is deprecated [-Wdeprecated-declarations]
 1384 |           cuParamSetf, (m_function, offset, value), m_symbol);
      |           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:121:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_WITH_TRACE_INFO’
  121 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:16468:36: note: declared here
16468 | __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetf(CUfunction hfunc, int offset, float value);
      |                                    ^~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::param_setv(int, void*, size_t)’:
src/cpp/cuda.hpp:1390:24: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
 1390 |           cuParamSetv, (m_function, offset, buf, (unsigned int) len), m_symbol);
      |           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:121:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_WITH_TRACE_INFO’
  121 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:16503:36: note: declared here
16503 | __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
      |                                    ^~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::param_set_texref(const pycuda::texture_reference&)’:
src/cpp/cuda.hpp:1394:63: warning: ‘CUresult cuParamSetTexRef(CUfunction, int, CUtexref)’ is deprecated [-Wdeprecated-declarations]
 1394 |         CUDAPP_CALL_GUARDED_WITH_TRACE_INFO(cuParamSetTexRef, (m_function,
      |                                             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
 1395 |             CU_PARAM_TR_DEFAULT, tr.handle()), m_symbol);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  
src/cpp/cuda.hpp:121:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED_WITH_TRACE_INFO’
  121 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
/usr/include/cuda.h:16696:36: note: declared here
16696 | __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetTexRef(CUfunction hfunc, int texunit, CUtexref hTexRef);
      |                                    ^~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::launch()’:
src/cpp/cuda.hpp:1401:23: warning: ‘CUresult cuLaunch(CUfunction)’ is deprecated [-Wdeprecated-declarations]
 1401 |             cuLaunch, (m_function), m_symbol);
      |             ~~~~~~~~~~^~~~~~~~~~~~
src/cpp/cuda.hpp:111:29: note: in definition of macro ‘CUDAPP_CALL_GUARDED_THREADED_WITH_TRACE_INFO’
  111 |       cu_status_code = NAME ARGLIST; \
      |                             ^~~~~~~
/usr/include/cuda.h:16555:36: note: declared here
16555 | __CUDA_DEPRECATED CUresult CUDAAPI cuLaunch(CUfunction f);
      |                                    ^~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::launch_grid(int, int)’:
src/cpp/cuda.hpp:1406:25: warning: ‘CUresult cuLaunchGrid(CUfunction, int, int)’ is deprecated [-Wdeprecated-declarations]
 1406 |           cuLaunchGrid, (m_function, grid_width, grid_height), m_symbol);
      |           ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:111:29: note: in definition of macro ‘CUDAPP_CALL_GUARDED_THREADED_WITH_TRACE_INFO’
  111 |       cu_status_code = NAME ARGLIST; \
      |                             ^~~~~~~
/usr/include/cuda.h:16609:36: note: declared here
16609 | __CUDA_DEPRECATED CUresult CUDAAPI cuLaunchGrid(CUfunction f, int grid_width, int grid_height);
      |                                    ^~~~~~~~~~~~
src/cpp/cuda.hpp: In member function ‘void pycuda::function::launch_grid_async(int, int, const pycuda::stream&)’:
src/cpp/cuda.hpp:1411:32: warning: ‘CUresult cuLaunchGridAsync(CUfunction, int, int, CUstream)’ is deprecated [-Wdeprecated-declarations]
 1411 |             cuLaunchGridAsync, (m_function, grid_width, grid_height, s.handle()),
      |             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:111:29: note: in definition of macro ‘CUDAPP_CALL_GUARDED_THREADED_WITH_TRACE_INFO’
  111 |       cu_status_code = NAME ARGLIST; \
      |                             ^~~~~~~
/usr/include/cuda.h:16671:36: note: declared here
16671 | __CUDA_DEPRECATED CUresult CUDAAPI cuLaunchGridAsync(CUfunction f, int grid_width, int grid_height, CUstream hStream);
      |                                    ^~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp: In function ‘void pycuda::initialize_profiler(const char*, const char*, CUoutput_mode)’:
src/cpp/cuda.hpp:2234:47: warning: ‘CUresult cuProfilerInitialize(const char*, const char*, CUoutput_mode)’ is deprecated [-Wdeprecated-declarations]
 2234 |     CUDAPP_CALL_GUARDED(cuProfilerInitialize, (config_file, output_file, output_mode));
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
  143 |     cu_status_code = NAME ARGLIST; \
      |                           ^~~~~~~
In file included from src/cpp/cuda.hpp:23:
/usr/include/cudaProfiler.h:143:36: note: declared here
  143 | __CUDA_DEPRECATED CUresult CUDAAPI cuProfilerInitialize(const char *configFile, const char *outputFile, CUoutput_mode outputMode);
      |                                    ^~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-312/src/cpp/bitlog.o build/temp.linux-x86_64-cpython-312/src/cpp/cuda.o build/temp.linux-x86_64-cpython-312/src/wrapper/mempool.o build/temp.linux-x86_64-cpython-312/src/wrapper/wrap_cudadrv.o build/temp.linux-x86_64-cpython-312/src/wrapper/wrap_cudagl.o build/temp.linux-x86_64-cpython-312/src/wrapper/wrap_curand.o -L/usr/lib -L/usr/lib64 -L/usr/lib/stubs -L/usr/lib64/stubs -L/usr/lib -L/usr/lib64 -L/usr/lib/stubs -L/usr/lib64/stubs -L/usr/lib/x86_64-linux-gnu -lboost_python312 -lboost_thread -lcuda -lcurand -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pycuda/_driver.cpython-312-x86_64-linux-gnu.so
building '_pvt_struct' extension
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.12 -c src/wrapper/_pvt_struct_v3.cpp -o build/temp.linux-x86_64-cpython-312/src/wrapper/_pvt_struct_v3.o
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from src/wrapper/_pvt_struct_v3.cpp:11:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
src/wrapper/_pvt_struct_v3.cpp: In function ‘int s_init(PyObject*, PyObject*, PyObject*)’:
src/wrapper/_pvt_struct_v3.cpp:1049:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 1049 |     static char *kwlist[] = {"format", 0};
      |                              ^~~~~~~~
src/wrapper/_pvt_struct_v3.cpp: In function ‘PyObject* s_unpack_from(PyObject*, PyObject*, PyObject*)’:
src/wrapper/_pvt_struct_v3.cpp:1168:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 1168 |     static char *kwlist[] = {"buffer", "offset", 0};
      |                              ^~~~~~~~
src/wrapper/_pvt_struct_v3.cpp:1168:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 1168 |     static char *kwlist[] = {"buffer", "offset", 0};
      |                                        ^~~~~~~~
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-312/src/wrapper/_pvt_struct_v3.o -L/usr/lib/x86_64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pycuda/_pvt_struct.cpython-312-x86_64-linux-gnu.so
   debian/rules execute_after_dh_auto_build-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C doc html SPHINXOPTS="-D today=\"November 27, 2024\" -D html_last_updated_fmt=\"November 27, 2024\""
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
Running Sphinx v8.1.3
loading translations [en]... done
making output directory... done
ERROR: Invalid value `'/usr/share/doc/python3-doc/html/objects.inv'` in intersphinx_mapping['file:///usr/share/doc/python3-doc/html/']. Expected a two-element tuple or list.
ERROR: Invalid value `None` in intersphinx_mapping['https://numpy.org/doc/stable/']. Expected a two-element tuple or list.
ERROR: Invalid value `'/usr/share/doc/python-mako-doc/html/objects.inv'` in intersphinx_mapping['file:///usr/share/doc/python-mako-doc/html/']. Expected a two-element tuple or list.

Configuration error:
Invalid `intersphinx_mapping` configuration (3 errors).
make[2]: *** [Makefile:20: html] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[1]: *** [debian/rules:38: execute_after_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202412/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the pkg-nvidia-devel mailing list