Bug#1028874: mlpy: FTBFS: ImportError: cannot import name 'bool' from 'numpy' (/usr/lib/python3/dist-packages/numpy/__init__.py)

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:41:32 GMT 2023


Source: mlpy
Version: 3.5.0+ds-1.3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py config 
> /<<PKGBUILDDIR>>/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>   from distutils.core import setup, Extension
> /<<PKGBUILDDIR>>/setup.py:2: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
>   from distutils.sysconfig import *
> running config
> I: pybuild base:240: python3.11 setup.py config 
> /<<PKGBUILDDIR>>/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>   from distutils.core import setup, Extension
> /<<PKGBUILDDIR>>/setup.py:2: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
>   from distutils.sysconfig import *
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.10 setup.py build 
> /<<PKGBUILDDIR>>/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>   from distutils.core import setup, Extension
> /<<PKGBUILDDIR>>/setup.py:2: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
>   from distutils.sysconfig import *
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/ols.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/kernel_class.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/elasticnet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/ridge.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/metrics.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/crossval.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/perceptron.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/dimred.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/parzen.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/pls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/lars.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/irelief.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/stats.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/rfe.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/golub.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> copying mlpy/da.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/wavelet
> copying mlpy/wavelet/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/wavelet
> copying mlpy/wavelet/continuous.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/wavelet
> copying mlpy/wavelet/padding.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/wavelet
> copying mlpy/wavelet/uwt_align.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/wavelet
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/hcluster
> copying mlpy/hcluster/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/hcluster
> copying mlpy/hcluster/hc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/hcluster
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/bordacount
> copying mlpy/bordacount/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/bordacount
> copying mlpy/bordacount/borda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/bordacount
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/fastcluster
> copying mlpy/fastcluster/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/fastcluster
> copying mlpy/fastcluster/fasthc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/fastcluster
> copying mlpy/fastcluster/fastcluster.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/fastcluster
> Skipping optional fixer: buffer
> Skipping optional fixer: idioms
> Skipping optional fixer: set_literal
> Skipping optional fixer: ws_comma
> running build_ext
> cythoning mlpy/gsl/gsl.pyx to mlpy/gsl/gsl.c
> /usr/lib/python3/dist-packages/pythran/tables.py:4530: FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.  (This may have returned Python scalars in past versions.
>   if not hasattr(numpy, method):
> /usr/lib/python3/dist-packages/pythran/tables.py:4563: FutureWarning: In the future `np.bytes` will be defined as the corresponding NumPy scalar.  (This may have returned Python scalars in past versions.
>   obj = getattr(themodule, elem)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/gsl/gsl.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/liblinear/liblinear.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/libsvm/libsvm.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/libml/libml.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/kmeans/kmeans.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/kernel/kernel.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/canberra/canberra.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/adatron/adatron.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/findpeaks/findpeaks.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> warning: mlpy/findpeaks/findpeaks.pyx:24:0: 'stdlib' is deprecated, use 'libc.stdlib'
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/dtw/dtw.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/mlpy/lcs/lcs.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /<<PKGBUILDDIR>>/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>   from distutils.core import setup, Extension
> /<<PKGBUILDDIR>>/setup.py:2: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
>   from distutils.sysconfig import *
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/ols.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/kernel_class.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/elasticnet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/ridge.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/metrics.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/crossval.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/perceptron.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/dimred.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/parzen.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/pls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/lars.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/irelief.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/stats.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/rfe.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/golub.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> copying mlpy/da.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/wavelet
> copying mlpy/wavelet/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/wavelet
> copying mlpy/wavelet/continuous.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/wavelet
> copying mlpy/wavelet/padding.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/wavelet
> copying mlpy/wavelet/uwt_align.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/wavelet
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/hcluster
> copying mlpy/hcluster/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/hcluster
> copying mlpy/hcluster/hc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/hcluster
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/bordacount
> copying mlpy/bordacount/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/bordacount
> copying mlpy/bordacount/borda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/bordacount
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster
> copying mlpy/fastcluster/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster
> copying mlpy/fastcluster/fasthc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster
> copying mlpy/fastcluster/fastcluster.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster
> Skipping optional fixer: buffer
> Skipping optional fixer: idioms
> Skipping optional fixer: set_literal
> Skipping optional fixer: ws_comma
> running build_ext
> skipping 'mlpy/gsl/gsl.c' Cython extension (up-to-date)
> skipping 'mlpy/liblinear/liblinear.c' Cython extension (up-to-date)
> skipping 'mlpy/libsvm/libsvm.c' Cython extension (up-to-date)
> skipping 'mlpy/libml/libml.c' Cython extension (up-to-date)
> skipping 'mlpy/kmeans/kmeans.c' Cython extension (up-to-date)
> skipping 'mlpy/kernel/kernel.c' Cython extension (up-to-date)
> skipping 'mlpy/canberra/canberra.c' Cython extension (up-to-date)
> skipping 'mlpy/adatron/adatron.c' Cython extension (up-to-date)
> skipping 'mlpy/findpeaks/findpeaks.c' Cython extension (up-to-date)
> skipping 'mlpy/dtw/dtw.c' Cython extension (up-to-date)
> skipping 'mlpy/lcs/lcs.c' Cython extension (up-to-date)
> building 'mlpy.gsl' extension
> creating build/temp.linux-x86_64-3.11
> creating build/temp.linux-x86_64-3.11/mlpy
> creating build/temp.linux-x86_64-3.11/mlpy/gsl
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/gsl/gsl.c -o build/temp.linux-x86_64-3.11/mlpy/gsl/gsl.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/gsl/gsl.c:748:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/gsl/gsl.o -lgsl -lgslcblas -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/gsl.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.liblinear' extension
> creating build/temp.linux-x86_64-3.11/mlpy/liblinear
> creating build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear
> creating build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/liblinear/liblinear.c -o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/liblinear/liblinear.c:746:
> /usr/include/python3.11/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 " \
>       |  ^~~~~~~
> mlpy/liblinear/liblinear.c: In function ‘__pyx_pf_4mlpy_9liblinear_9LibLinear___cinit__’:
> mlpy/liblinear/liblinear.c:2878:30: warning: passing argument 1 of ‘set_print_string_function’ from incompatible pointer type [-Wincompatible-pointer-types]
>  2878 |   set_print_string_function((&__pyx_f_4mlpy_9liblinear_print_null));
>       |                             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                              |
>       |                              void (*)(char *)
> In file included from mlpy/liblinear/liblinear.c:755:
> mlpy/liblinear/liblinear/linear.h:66:39: note: expected ‘void (*)(const char *)’ but argument is of type ‘void (*)(char *)’
>    66 | void set_print_string_function(void (*print_func) (const char*));
>       |                                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/liblinear/liblinear.c: In function ‘__pyx_pf_4mlpy_9liblinear_9LibLinear_6learn’:
> mlpy/liblinear/liblinear.c:3910:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  3910 |   __pyx_v_ret = check_parameter((&__pyx_v_self->problem), (&__pyx_v_self->parameter));
>       |               ^
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/liblinear/liblinear/blas/daxpy.c -o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas/daxpy.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/liblinear/liblinear/blas/ddot.c -o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas/ddot.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/liblinear/liblinear/blas/dnrm2.c -o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas/dnrm2.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/liblinear/liblinear/blas/dscal.c -o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas/dscal.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/liblinear/liblinear/linear.cpp -o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/linear.o
> mlpy/liblinear/liblinear/linear.cpp: In function ‘model* load_model(const char*)’:
> mlpy/liblinear/liblinear/linear.cpp:2140:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2140 |                 fscanf(fp,"%80s",cmd);
>       |                 ~~~~~~^~~~~~~~~~~~~~~
> mlpy/liblinear/liblinear/linear.cpp:2143:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2143 |                         fscanf(fp,"%80s",cmd);
>       |                         ~~~~~~^~~~~~~~~~~~~~~
> mlpy/liblinear/liblinear/linear.cpp:2163:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2163 |                         fscanf(fp,"%d",&nr_class);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~
> mlpy/liblinear/liblinear/linear.cpp:2168:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2168 |                         fscanf(fp,"%d",&nr_feature);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~
> mlpy/liblinear/liblinear/linear.cpp:2173:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2173 |                         fscanf(fp,"%lf",&bias);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~
> mlpy/liblinear/liblinear/linear.cpp:2185:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2185 |                                 fscanf(fp,"%d",&model_->label[i]);
>       |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/liblinear/liblinear/linear.cpp:2212:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2212 |                         fscanf(fp, "%lf ", &model_->w[i*nr_w+j]);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/liblinear/liblinear/linear.cpp:2213:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2213 |                 fscanf(fp, "\n");
>       |                 ~~~~~~^~~~~~~~~~
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/liblinear/liblinear/tron.cpp -o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/tron.o
> x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear.o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas/daxpy.o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas/ddot.o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas/dnrm2.o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/blas/dscal.o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/linear.o build/temp.linux-x86_64-3.11/mlpy/liblinear/liblinear/tron.o -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/liblinear.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.libsvm' extension
> creating build/temp.linux-x86_64-3.11/mlpy/libsvm
> creating build/temp.linux-x86_64-3.11/mlpy/libsvm/libsvm
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libsvm/libsvm.c -o build/temp.linux-x86_64-3.11/mlpy/libsvm/libsvm.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/libsvm/libsvm.c:746:
> /usr/include/python3.11/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 " \
>       |  ^~~~~~~
> mlpy/libsvm/libsvm.c: In function ‘__pyx_pf_4mlpy_6libsvm_6LibSvm___cinit__’:
> mlpy/libsvm/libsvm.c:2965:34: warning: passing argument 1 of ‘svm_set_print_string_function’ from incompatible pointer type [-Wincompatible-pointer-types]
>  2965 |   svm_set_print_string_function((&__pyx_f_4mlpy_6libsvm_print_null));
>       |                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                  |
>       |                                  void (*)(char *)
> In file included from mlpy/libsvm/libsvm.c:755:
> mlpy/libsvm/libsvm/svm.h:95:43: note: expected ‘void (*)(const char *)’ but argument is of type ‘void (*)(char *)’
>    95 | void svm_set_print_string_function(void (*print_func)(const char *));
>       |                                    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm.c: In function ‘__pyx_pf_4mlpy_6libsvm_6LibSvm_6learn’:
> mlpy/libsvm/libsvm.c:4166:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  4166 |   __pyx_v_ret = svm_check_parameter((&__pyx_v_self->problem), (&__pyx_v_self->parameter));
>       |               ^
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libsvm/libsvm/svm.cpp -o build/temp.linux-x86_64-3.11/mlpy/libsvm/libsvm/svm.o
> mlpy/libsvm/libsvm/svm.cpp: In function ‘svm_model* svm_load_model(const char*)’:
> mlpy/libsvm/libsvm/svm.cpp:2706:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2706 |                 fscanf(fp,"%80s",cmd);
>       |                 ~~~~~~^~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2710:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2710 |                         fscanf(fp,"%80s",cmd);
>       |                         ~~~~~~^~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2732:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2732 |                         fscanf(fp,"%80s",cmd);
>       |                         ~~~~~~^~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2753:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2753 |                         fscanf(fp,"%d",&param.degree);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2755:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2755 |                         fscanf(fp,"%lf",&param.gamma);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2757:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2757 |                         fscanf(fp,"%lf",&param.coef0);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2759:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2759 |                         fscanf(fp,"%d",&model->nr_class);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2761:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2761 |                         fscanf(fp,"%d",&model->l);
>       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2767:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2767 |                                 fscanf(fp,"%lf",&model->rho[i]);
>       |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2774:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2774 |                                 fscanf(fp,"%d",&model->label[i]);
>       |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2781:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2781 |                                 fscanf(fp,"%lf",&model->probA[i]);
>       |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2788:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2788 |                                 fscanf(fp,"%lf",&model->probB[i]);
>       |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
> mlpy/libsvm/libsvm/svm.cpp:2795:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  2795 |                                 fscanf(fp,"%d",&model->nSV[i]);
>       |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
> x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/libsvm/libsvm.o build/temp.linux-x86_64-3.11/mlpy/libsvm/libsvm/svm.o -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/libsvm.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.libml' extension
> creating build/temp.linux-x86_64-3.11/mlpy/libml
> creating build/temp.linux-x86_64-3.11/mlpy/libml/src
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/libml.c -o build/temp.linux-x86_64-3.11/mlpy/libml/libml.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/libml/libml.c:746:
> /usr/include/python3.11/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-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/alloc.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/alloc.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/dist.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/dist.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/get_line.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/get_line.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/matrix.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/matrix.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/mlg.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/mlg.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/nn.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/nn.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/parser.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/parser.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/read_data.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/read_data.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/rn.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/rn.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/rsfn.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/rsfn.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/sampling.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/sampling.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/sort.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/sort.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/svm.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/svm.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/tree.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/tree.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/trrn.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/trrn.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/ttest.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/ttest.o
> mlpy/libml/src/ttest.c: In function ‘betacf’:
> mlpy/libml/src/ttest.c:113:1: warning: control reaches end of non-void function [-Wreturn-type]
>   113 | }
>       | ^
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/libml/src/unique.c -o build/temp.linux-x86_64-3.11/mlpy/libml/src/unique.o
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/libml/libml.o build/temp.linux-x86_64-3.11/mlpy/libml/src/alloc.o build/temp.linux-x86_64-3.11/mlpy/libml/src/dist.o build/temp.linux-x86_64-3.11/mlpy/libml/src/get_line.o build/temp.linux-x86_64-3.11/mlpy/libml/src/matrix.o build/temp.linux-x86_64-3.11/mlpy/libml/src/mlg.o build/temp.linux-x86_64-3.11/mlpy/libml/src/nn.o build/temp.linux-x86_64-3.11/mlpy/libml/src/parser.o build/temp.linux-x86_64-3.11/mlpy/libml/src/read_data.o build/temp.linux-x86_64-3.11/mlpy/libml/src/rn.o build/temp.linux-x86_64-3.11/mlpy/libml/src/rsfn.o build/temp.linux-x86_64-3.11/mlpy/libml/src/sampling.o build/temp.linux-x86_64-3.11/mlpy/libml/src/sort.o build/temp.linux-x86_64-3.11/mlpy/libml/src/svm.o build/temp.linux-x86_64-3.11/mlpy/libml/src/tree.o build/temp.linux-x86_64-3.11/mlpy/libml/src/trrn.o build/temp.linux-x86_64-3.11/mlpy/libml/src/ttest.o build/temp.linux-x86_64-3.11/mlpy/libml/src/unique.o -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/libml.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.kmeans' extension
> creating build/temp.linux-x86_64-3.11/mlpy/kmeans
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/kmeans/c_kmeans.c -o build/temp.linux-x86_64-3.11/mlpy/kmeans/c_kmeans.o
> mlpy/kmeans/c_kmeans.c: In function ‘km’:
> mlpy/kmeans/c_kmeans.c:243:7: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
>   243 |   int ret, steps = 0;
>       |       ^~~
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/kmeans/kmeans.c -o build/temp.linux-x86_64-3.11/mlpy/kmeans/kmeans.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/kmeans/kmeans.c:746:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/kmeans/c_kmeans.o build/temp.linux-x86_64-3.11/mlpy/kmeans/kmeans.o -lgsl -lgslcblas -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/kmeans.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.kernel' extension
> creating build/temp.linux-x86_64-3.11/mlpy/kernel
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/kernel/c_kernel.c -o build/temp.linux-x86_64-3.11/mlpy/kernel/c_kernel.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/kernel/kernel.c -o build/temp.linux-x86_64-3.11/mlpy/kernel/kernel.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/kernel/kernel.c:746:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/kernel/c_kernel.o build/temp.linux-x86_64-3.11/mlpy/kernel/kernel.o -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/kernel.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.canberra' extension
> creating build/temp.linux-x86_64-3.11/mlpy/canberra
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/canberra/c_canberra.c -o build/temp.linux-x86_64-3.11/mlpy/canberra/c_canberra.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/canberra/canberra.c -o build/temp.linux-x86_64-3.11/mlpy/canberra/canberra.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/canberra/canberra.c:746:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/canberra/c_canberra.o build/temp.linux-x86_64-3.11/mlpy/canberra/canberra.o -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/canberra.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.adatron' extension
> creating build/temp.linux-x86_64-3.11/mlpy/adatron
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/adatron/adatron.c -o build/temp.linux-x86_64-3.11/mlpy/adatron/adatron.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/adatron/adatron.c:746:
> /usr/include/python3.11/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-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/adatron/c_adatron.c -o build/temp.linux-x86_64-3.11/mlpy/adatron/c_adatron.o
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/adatron/adatron.o build/temp.linux-x86_64-3.11/mlpy/adatron/c_adatron.o -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/adatron.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.findpeaks' extension
> creating build/temp.linux-x86_64-3.11/mlpy/findpeaks
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/findpeaks/c_findpeaks.c -o build/temp.linux-x86_64-3.11/mlpy/findpeaks/c_findpeaks.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/findpeaks/findpeaks.c -o build/temp.linux-x86_64-3.11/mlpy/findpeaks/findpeaks.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/findpeaks/findpeaks.c:746:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/findpeaks/c_findpeaks.o build/temp.linux-x86_64-3.11/mlpy/findpeaks/findpeaks.o -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/findpeaks.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.dtw' extension
> creating build/temp.linux-x86_64-3.11/mlpy/dtw
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/dtw/cdtw.c -o build/temp.linux-x86_64-3.11/mlpy/dtw/cdtw.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/dtw/dtw.c -o build/temp.linux-x86_64-3.11/mlpy/dtw/dtw.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/dtw/dtw.c:746:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/dtw/cdtw.o build/temp.linux-x86_64-3.11/mlpy/dtw/dtw.o -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/dtw.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.lcs' extension
> creating build/temp.linux-x86_64-3.11/mlpy/lcs
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/lcs/clcs.c -o build/temp.linux-x86_64-3.11/mlpy/lcs/clcs.o
> mlpy/lcs/clcs.c: In function ‘std’:
> mlpy/lcs/clcs.c:65:10: warning: ‘*c_86 + _151’ may be used uninitialized [-Wmaybe-uninitialized]
>    65 |   ret = c[n][m];
>       |         ~^~~
> mlpy/lcs/clcs.c: In function ‘real’:
> mlpy/lcs/clcs.c:110:10: warning: ‘*c_92 + _173’ may be used uninitialized [-Wmaybe-uninitialized]
>   110 |   ret = c[n][m];
>       |         ~^~~
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/lcs/lcs.c -o build/temp.linux-x86_64-3.11/mlpy/lcs/lcs.o
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/lcs/lcs.c:746:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/lcs/clcs.o build/temp.linux-x86_64-3.11/mlpy/lcs/lcs.o -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/lcs.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.wavelet._dwt' extension
> creating build/temp.linux-x86_64-3.11/mlpy/wavelet
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/wavelet/dwt.c -o build/temp.linux-x86_64-3.11/mlpy/wavelet/dwt.o -Wno-strict-prototypes
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/wavelet/dwt.c:23:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/wavelet/dwt.o -lgsl -lgslcblas -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/wavelet/_dwt.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.wavelet._uwt' extension
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/wavelet/uwt.c -o build/temp.linux-x86_64-3.11/mlpy/wavelet/uwt.o -Wno-strict-prototypes
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/wavelet/uwt.c:24:
> /usr/include/python3.11/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 " \
>       |  ^~~~~~~
> mlpy/wavelet/uwt.c: In function ‘uwt_uwt’:
> mlpy/wavelet/uwt.c:148:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
>   148 |   for(i=0; i<wave->nc; i++)
>       |             ^
> mlpy/wavelet/uwt.c: In function ‘uwt_iuwt’:
> mlpy/wavelet/uwt.c:235:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
>   235 |   for(i=0; i<wave->nc; i++)
>       |             ^
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/wavelet/uwt.o -lgsl -lgslcblas -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/wavelet/_uwt.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.hcluster.chc' extension
> creating build/temp.linux-x86_64-3.11/mlpy/hcluster
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/hcluster/hc.c -o build/temp.linux-x86_64-3.11/mlpy/hcluster/hc.o -Wno-strict-prototypes
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/hcluster/hc.c:23:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/hcluster/hc.o -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/hcluster/chc.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.bordacount.cborda' extension
> creating build/temp.linux-x86_64-3.11/mlpy/bordacount
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/bordacount/borda.c -o build/temp.linux-x86_64-3.11/mlpy/bordacount/borda.o -Wno-strict-prototypes
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/bordacount/borda.c:20:
> /usr/include/python3.11/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-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/bordacount/borda.o -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/bordacount/cborda.cpython-311-x86_64-linux-gnu.so
> building 'mlpy.fastcluster._fastcluster' extension
> creating build/temp.linux-x86_64-3.11/mlpy/fastcluster
> creating build/temp.linux-x86_64-3.11/mlpy/fastcluster/fastcluster
> creating build/temp.linux-x86_64-3.11/mlpy/fastcluster/fastcluster/src
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 -c mlpy/fastcluster/fastcluster/src/fastcluster_python.cpp -o build/temp.linux-x86_64-3.11/mlpy/fastcluster/fastcluster/src/fastcluster_python.o -Wno-strict-prototypes
> cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++
> In file included from /usr/include/python3.11/numpy/ndarraytypes.h:1940,
>                  from /usr/include/python3.11/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.11/numpy/arrayobject.h:5,
>                  from mlpy/fastcluster/fastcluster/src/fastcluster_python.cpp:15:
> /usr/include/python3.11/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 " \
>       |  ^~~~~~~
> mlpy/fastcluster/fastcluster/src/fastcluster_python.cpp: In member function ‘void python_dissimilarity::nbool_correspond_tfft(t_index, t_index) const’:
> mlpy/fastcluster/fastcluster/src/fastcluster_python.cpp:709:28: warning: ‘~’ on an expression of type ‘bool’ [-Wbool-operation]
>   709 |       NTF += (Xb(i,k) & ~Xb(j,k)) ;
>       |                          ~~^~~~~
> mlpy/fastcluster/fastcluster/src/fastcluster_python.cpp:709:28: note: did you mean to use logical not (‘!’)?
> x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/mlpy/fastcluster/fastcluster/src/fastcluster_python.o -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster/_fastcluster.cpython-311-x86_64-linux-gnu.so
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build; python3.10 -m unittest discover -v 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/fastcluster/fastcluster.py:25: FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.  (This may have returned Python scalars in past versions.
>   from numpy import double, empty, array, ndarray, var, cov, dot, bool, expand_dims, ceil, sqrt
> mlpy (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: mlpy (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: mlpy
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/__init__.py", line 45, in <module>
>     from .fastcluster import *
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/fastcluster/__init__.py", line 1, in <module>
>     from . import fasthc
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/fastcluster/fasthc.py", line 22, in <module>
>     from . import fastcluster
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build/mlpy/fastcluster/fastcluster.py", line 25, in <module>
>     from numpy import double, empty, array, ndarray, var, cov, dot, bool, expand_dims, ceil, sqrt
> ImportError: cannot import name 'bool' from 'numpy' (/usr/lib/python3/dist-packages/numpy/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mlpy/build; python3.10 -m unittest discover -v 
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build; python3.11 -m unittest discover -v 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster/fastcluster.py:25: FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.  (This may have returned Python scalars in past versions.
>   from numpy import double, empty, array, ndarray, var, cov, dot, bool, expand_dims, ceil, sqrt
> mlpy (unittest.loader._FailedTest.mlpy) ... ERROR
> 
> ======================================================================
> ERROR: mlpy (unittest.loader._FailedTest.mlpy)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: mlpy
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 440, in _find_test_path
>     package = self._get_module_from_name(name)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/loader.py", line 350, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/__init__.py", line 45, in <module>
>     from .fastcluster import *
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster/__init__.py", line 1, in <module>
>     from . import fasthc
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster/fasthc.py", line 22, in <module>
>     from . import fastcluster
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/fastcluster/fastcluster.py", line 25, in <module>
>     from numpy import double, empty, array, ndarray, var, cov, dot, bool, expand_dims, ceil, sqrt
> ImportError: cannot import name 'bool' from 'numpy' (/usr/lib/python3/dist-packages/numpy/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build; python3.11 -m unittest discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/mlpy_3.5.0+ds-1.3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@debian.org&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 mark 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.



More information about the debian-science-maintainers mailing list