Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 791810 Details for
Bug 858473
dev-python/pyopencl-2022.1.6 - src/wrap_constants.cpp: error: no matching function for call to pybind11::exception<pyopencl::error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:pyopencl-2022.1.6:20220716-215225.log
dev-python:pyopencl-2022.1.6:20220716-215225.log (text/plain), 11.45 KB, created by
Toralf Förster
on 2022-07-16 22:22:14 UTC
(
hide
)
Description:
dev-python:pyopencl-2022.1.6:20220716-215225.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-07-16 22:22:14 UTC
Size:
11.45 KB
patch
obsolete
> * Package: dev-python/pyopencl-2022.1.6 > * Repository: gentoo > * Maintainer: marecki@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pyopencl-2022.1.6.tar.gz to /var/tmp/portage/dev-python/pyopencl-2022.1.6/work >>>> Source unpacked in /var/tmp/portage/dev-python/pyopencl-2022.1.6/work >>>> Preparing source in /var/tmp/portage/dev-python/pyopencl-2022.1.6/work/pyopencl-2022.1.6 ... > * Build system packages: > * dev-python/gpep517 : 6-r1 > * dev-python/installer : 0.5.1-r1 > * dev-python/setuptools : 63.2.0 > * dev-python/setuptools_scm : 7.0.5 > * dev-python/wheel : 0.37.1-r1 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pyopencl-2022.1.6/work/pyopencl-2022.1.6 ... > * Using python3.10 in global scope > * python3_10: running distutils-r1_run_phase python_configure_all >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pyopencl-2022.1.6/work/pyopencl-2022.1.6 ... > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile >python3.10 setup.py build_ext -j 4 >running build_ext >creating var >creating var/tmp >creating var/tmp/portage >creating var/tmp/portage/dev-python >creating var/tmp/portage/dev-python/pyopencl-2022.1.6 >creating var/tmp/portage/dev-python/pyopencl-2022.1.6/temp >x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -O3 -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/include/python3.10 -c /var/tmp/portage/dev-python/pyopencl-2022.1.6/temp/tmpwxz92gq1.cpp -o var/tmp/portage/dev-python/pyopencl-2022.1.6/temp/tmpwxz92gq1.o -std=gnu++14 >x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -O3 -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/include/python3.10 -c /var/tmp/portage/dev-python/pyopencl-2022.1.6/temp/tmpzbkp336i.cpp -o var/tmp/portage/dev-python/pyopencl-2022.1.6/temp/tmpzbkp336i.o -fvisibility=hidden >building 'pyopencl._cl' extension >creating build >creating build/temp.linux-x86_64-cpython-310 >creating build/temp.linux-x86_64-cpython-310/src >x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -O3 -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c -std=gnu++14 src/bitlog.cpp -o build/temp.linux-x86_64-cpython-310/src/bitlog.o -fvisibility=hidden -DVERSION_INFO=\"2022.1.6\" -fvisibility=hidden >x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -O3 -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c -std=gnu++14 src/wrap_cl.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_cl.o -fvisibility=hidden -DVERSION_INFO=\"2022.1.6\" -fvisibility=hidden >In file included from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948, > from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, > from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, > from src/wrap_cl.hpp:101, > from src/wrap_cl.cpp:29: >/usr/lib/python3.10/site-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 " \ > | ^~~~~~~ >x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -O3 -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c -std=gnu++14 src/wrap_cl_part_1.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o -fvisibility=hidden -DVERSION_INFO=\"2022.1.6\" -fvisibility=hidden >In file included from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948, > from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, > from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, > from src/wrap_cl.hpp:101, > from src/wrap_cl_part_1.cpp:30: >/usr/lib/python3.10/site-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 " \ > | ^~~~~~~ >x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -O3 -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c -std=gnu++14 src/wrap_cl_part_2.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o -fvisibility=hidden -DVERSION_INFO=\"2022.1.6\" -fvisibility=hidden >In file included from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948, > from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, > from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, > from src/wrap_cl.hpp:101, > from src/wrap_cl_part_2.cpp:30: >/usr/lib/python3.10/site-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 " \ > | ^~~~~~~ >x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -O3 -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c -std=gnu++14 src/wrap_constants.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_constants.o -fvisibility=hidden -DVERSION_INFO=\"2022.1.6\" -fvisibility=hidden >In file included from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948, > from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, > from /usr/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, > from src/wrap_cl.hpp:101, > from src/wrap_constants.cpp:30: >/usr/lib/python3.10/site-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/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.10/site-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.10/site-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.10/site-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.10/site-packages/pybind11/include/pybind11/pybind11.h:2508:5: note: candidate expects 0 arguments, 3 provided >/usr/lib/python3.10/site-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.10/site-packages/pybind11/include/pybind11/pybind11.h:2506:7: note: candidate expects 1 argument, 3 provided >/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2506:7: note: candidate: âpybind11::exception<pyopencl::error>::exception(pybind11::exception<pyopencl::error>&&)â >/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2506:7: note: candidate expects 1 argument, 3 provided >error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1 > * ERROR: dev-python/pyopencl-2022.1.6::gentoo failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 127: Called src_compile > * environment, line 3460: Called distutils-r1_src_compile > * environment, line 1671: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' > * environment, line 783: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3141: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2696: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2694: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 1119: Called distutils-r1_run_phase 'distutils-r1_python_compile' > * environment, line 1653: Called distutils-r1_python_compile > * environment, line 1447: Called esetup.py 'build_ext' '-j' '4' > * environment, line 2235: Called die > * The specific snippet of code: > * "${@}" || die -n; > * > * If you need support, post the output of `emerge --info '=dev-python/pyopencl-2022.1.6::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pyopencl-2022.1.6::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:pyopencl-2022.1.6:20220716-215225.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pyopencl-2022.1.6/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyopencl-2022.1.6/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pyopencl-2022.1.6/work/pyopencl-2022.1.6' > * S: '/var/tmp/portage/dev-python/pyopencl-2022.1.6/work/pyopencl-2022.1.6' >
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 858473
:
791807
| 791810 |
791813
|
791816
|
791819
|
791822