Source: pyopencl
Version: 2022.1.6-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220728 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -fwrapv -Wall
> -DNDEBUG -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -Wall -pedantic -Wdate-time
> -D_FORTIFY_SOURCE=2 -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1
> -DHAVE_GL=1 -Ipybind11/include
> -I/usr/lib/python3/dist-packages/pybind11/include
> -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.10
> -c -std=gnu++14 src/wrap_constants.cpp -o
> build/temp.linux-x86_64-3.10/src/wrap_constants.o -fvisibility=hidden
> -DVERSION_INFO="2022.1.6" -fvisibility=hidden
> In file included from
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
> 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:4,
> from src/wrap_cl.hpp:101,
> from src/wrap_constants.cpp:30:
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
> warning: #warning is a GCC extension
> 17 | #warning "Using deprecated NumPy API, disable it with " \
> | ^~~~~~~
> /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]
> src/wrap_cl.hpp: In constructor ‘pyopencl::command_queue::command_queue(const
> pyopencl::context&, const pyopencl::device*, pybind11::object)’:
> src/wrap_cl.hpp:1500:57: warning: ISO C++ forbids variable length array
> ‘props’ [-Wvla]
> 1500 | PYOPENCL_STACK_CONTAINER(cl_queue_properties, props,
> py::len(py_props) + 1);
> | ^~~~~
> src/wrap_cl.hpp:133:58: note: in definition of macro
> ‘PYOPENCL_STACK_CONTAINER’
> 133 | #define PYOPENCL_STACK_CONTAINER(TYPE, NAME, COUNT) TYPE NAME[COUNT]
> | ^~~~
> src/wrap_cl.hpp: In constructor ‘pyopencl::sampler::sampler(const
> pyopencl::context&, pybind11::sequence)’:
> src/wrap_cl.hpp:3744:57: warning: ISO C++ forbids variable length array
> ‘props’ [-Wvla]
> 3744 | PYOPENCL_STACK_CONTAINER(cl_sampler_properties, props,
> py::len(py_props) + 1);
> | ^~~~~
> src/wrap_cl.hpp:133:58: note: in definition of macro
> ‘PYOPENCL_STACK_CONTAINER’
> 133 | #define PYOPENCL_STACK_CONTAINER(TYPE, NAME, COUNT) TYPE NAME[COUNT]
> | ^~~~
> src/wrap_cl.hpp: In function ‘pyopencl::program*
> pyopencl::create_program_with_binary(context&, pybind11::sequence,
> pybind11::sequence)’:
> src/wrap_cl.hpp:4168:38: warning: ISO C++ forbids variable length array
> ‘binary_statuses’ [-Wvla]
> 4168 | PYOPENCL_STACK_CONTAINER(cl_int, binary_statuses, num_devices);
> | ^~~~~~~~~~~~~~~
> src/wrap_cl.hpp:133:58: note: in definition of macro
> ‘PYOPENCL_STACK_CONTAINER’
> 133 | #define PYOPENCL_STACK_CONTAINER(TYPE, NAME, COUNT) TYPE NAME[COUNT]
> | ^~~~
> src/wrap_constants.cpp: In function ‘void
> pyopencl_expose_constants(pybind11::module&)’:
> src/wrap_constants.cpp:107:64: error: no matching function for call to
> ‘pybind11::exception<pyopencl::error>::exception(pybind11::module&, const
> char [6], NULL)’
> 107 | static py::exception<pyopencl::error> CL##NAME(m, #NAME, BASE);
> | ^
> src/wrap_constants.cpp:109:5: note: in expansion of macro ‘DECLARE_EXC’
> 109 | DECLARE_EXC(Error, NULL);
> | ^~~~~~~~~~~
> In file included from src/wrap_helpers.hpp:31,
> from src/wrap_cl.hpp:100:
> /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:2509:5:
> note: candidate: ‘pybind11::exception<type>::exception(pybind11::handle,
> const char*, pybind11::handle) [with type = pyopencl::error]’
> 2509 | exception(handle scope, const char *name, handle base =
> PyExc_Exception) {
> | ^~~~~~~~~
> /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:2509:54:
> note: no known conversion for argument 3 from ‘long int’ to
> ‘pybind11::handle’
> 2509 | exception(handle scope, const char *name, handle base =
> PyExc_Exception) {
> |
> ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:2508:5:
> note: candidate: ‘constexpr pybind11::exception<type>::exception() [with type
> = pyopencl::error]’
> 2508 | exception() = default;
> | ^~~~~~~~~
> /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:2508:5:
> note: candidate expects 0 arguments, 3 provided
> /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:2506:7:
> note: candidate: ‘pybind11::exception<pyopencl::error>::exception(const
> pybind11::exception<pyopencl::error>&)’
> 2506 | class exception : public object {
> | ^~~~~~~~~
> /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:2506:7:
> note: candidate expects 1 argument, 3 provided
> /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:2506:7:
> note: candidate:
> ‘pybind11::exception<pyopencl::error>::exception(pybind11::exception<pyopencl::error>&&)’
> /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:2506:7:
> note: candidate expects 1 argument, 3 provided
> error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
> * Building wheel...
>
> ERROR Backend subproccess exited when trying to invoke build_wheel
> E: pybuild pybuild:369: build: plugin pyproject failed with: exit code=1:
> python3.10 -m build --skip-dependency-check --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10
> Traceback (most recent call last):
> File "/usr/bin/pybuild", line 367, in main
> run(func, i, version, c)
> File "/usr/bin/pybuild", line 317, in run
> result = func(context, args)
> File "/usr/share/dh-python/dhpython/build/plugin_pyproject.py", line 101,
> in build
> self.build_step1(context, args)
> File "/usr/share/dh-python/dhpython/build/base.py", line 289, in
> wrapped_func
> raise Exception(msg)
> Exception: exit code=1: python3.10 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10
> dh_auto_build: error: pybuild --build -i python{version} -p 3.10 returned
> exit code 13
> make: *** [debian/rules:28: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/07/28/pyopencl_2022.1.6-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.