Your message dated Wed, 03 Aug 2022 06:04:49 +0000
with message-id <[email protected]>
and subject line Bug#1016255: fixed in pyopencl 2022.1.6-2
has caused the Debian Bug report #1016255,
regarding pyopencl: FTBFS: src/wrap_constants.cpp:107:64: error: no matching 
function for call to 
‘pybind11::exception<pyopencl::error>::exception(pybind11::module&, const char 
[6], NULL)’
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1016255: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016255
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: pyopencl
Source-Version: 2022.1.6-2
Done: Andreas Beckmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pyopencl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <[email protected]> (supplier of updated pyopencl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 03 Aug 2022 07:48:14 +0200
Source: pyopencl
Architecture: source
Version: 2022.1.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenCL Maintainers <[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Closes: 1016255
Changes:
 pyopencl (2022.1.6-2) unstable; urgency=medium
 .
   * Fix building with pybind 2.10.  (Closes: #1016255)
   * Discard automatic changes to *.egg-info/* to fix building twice in a row.
Checksums-Sha1:
 f85f35de18473b1474fd6bbaae0c262e9b3d8dbe 2801 pyopencl_2022.1.6-2.dsc
 ddbda1677a0de19a02f71edf85cbd5778e294a02 26716 
pyopencl_2022.1.6-2.debian.tar.xz
 2d6ddca5c6dc6f655f093e96369fc8251630e6d1 9596 
pyopencl_2022.1.6-2_source.buildinfo
Checksums-Sha256:
 52ef5bfd2a7e5d4c9d9363706ec64745ab64e24b508df252fcc4c66a580ad8ac 2801 
pyopencl_2022.1.6-2.dsc
 eea0753ceb3c6744a79aaf8ea575560ddc0cacbf0e5cb3d066ea70d681e199a8 26716 
pyopencl_2022.1.6-2.debian.tar.xz
 d400dbbf77425206022ee50cdb04c6ce68fc57fd8b9884eae7ca0ac4d27a565b 9596 
pyopencl_2022.1.6-2_source.buildinfo
Files:
 45be326177754b895167b90c3a352854 2801 python optional pyopencl_2022.1.6-2.dsc
 7e12ba66088c4de7b952a2cbeb3e75d5 26716 python optional 
pyopencl_2022.1.6-2.debian.tar.xz
 34a6505a64e6ed9585aaf9304504c919 9596 python optional 
pyopencl_2022.1.6-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmLqDU8QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCOoiD/sFIbZKpMXB9tdSR6yVvNBNx9GHOsDhOpNT
HhSyZdtgfID55oWLZ4aWUkPjrp7nr5Lpsb9MnHBBMJuFrsXYe0krRYR+DdPEZC9i
V8i6dr6rbhGweVSCb6gd8xI6RD3p7j9JpLPB1MyLSDdh6W59KfBZvQHCOM2yQuwU
6S9ozwPhx9H7SMvGa8tARJeFgsOoBHmtvlgc0bEgRwrM56p1HZKQXe+dPoEFR3K2
FmA4wOWBAI/vyOrAGm8BdvYUsIKCINAcnt/Lyavl8UAi3YJxJaCBe43Pt7fI73bz
I4lLMR4EZ3wcyJER9AoJiLXabZLlkF/sDMDbkfl9ljcIvcXNkKCNu1MFc+xbd4bE
5/UPF4hnkWrBmN0gq5XbBagykzrUSv/Mh43lGoFclv7niKlo1lCXW9LU/UjUbXHc
/HRk9+Jmc0+mAaQbD9CQMmnUTWBn0/ce6Nced+bAEAb+pmZroC/w/4u3MChhpXRv
ade6TqShGqbXTHJSCMMmwPAynVj9YBDEIIXZHXEdfY4lN66Fo6xGgBhn4x539zi+
IjgLBdwoUzgaA1dDTL2XJpM94H6MrWMxzacd3x+gRpBQJOschmP+3dFYdwmWFhkD
ix+OH3dSJYXMWaUCRfp9Dt3qSmaw8qzQ689T/QMLoaX+XdpqyAY7/DQbyhya38sD
8ndw7lchhw==
=6E2w
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to