Bug#1054748: mlpy: FTBFS: ModuleNotFoundError: No module named 'version'
Lucas Nussbaum
lucas at debian.org
Fri Oct 27 20:22:20 BST 2023
Source: mlpy
Version: 3.5.0+ds-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --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:310: python3.11 setup.py config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3 setup.py build
> INFO: Disabling color, you really want to install colorlog.
> /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)
> 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:754:
> /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 " \
> | ^~~~~~~
> 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:752:
> /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:2888:30: warning: passing argument 1 of ‘set_print_string_function’ from incompatible pointer type [-Wincompatible-pointer-types]
> 2888 | set_print_string_function((&__pyx_f_4mlpy_9liblinear_print_null));
> | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | void (*)(char *)
> In file included from mlpy/liblinear/liblinear.c:761:
> 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:3920:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 3920 | __pyx_v_ret = check_parameter((&__pyx_v_self->problem), (&__pyx_v_self->parameter));
> | ^
> 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");
> | ~~~~~~^~~~~~~~~~
> 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:752:
> /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:2977:34: warning: passing argument 1 of ‘svm_set_print_string_function’ from incompatible pointer type [-Wincompatible-pointer-types]
> 2977 | svm_set_print_string_function((&__pyx_f_4mlpy_6libsvm_print_null));
> | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | void (*)(char *)
> In file included from mlpy/libsvm/libsvm.c:761:
> 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:4178:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 4178 | __pyx_v_ret = svm_check_parameter((&__pyx_v_self->problem), (&__pyx_v_self->parameter));
> | ^
> 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",¶m.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",¶m.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",¶m.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]);
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
> 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:752:
> /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/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 | }
> | ^
> 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;
> | ^~~
> 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:752:
> /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 " \
> | ^~~~~~~
> 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:752:
> /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 " \
> | ^~~~~~~
> 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:752:
> /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 " \
> | ^~~~~~~
> 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:752:
> /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 " \
> | ^~~~~~~
> 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:752:
> /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 " \
> | ^~~~~~~
> 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:752:
> /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/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];
> | ~^~~
> 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:752:
> /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 " \
> | ^~~~~~~
> 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 " \
> | ^~~~~~~
> 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++)
> | ^
> 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 " \
> | ^~~~~~~
> 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 " \
> | ^~~~~~~
> 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 (‘!’)?
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build; python3.11 -m unittest discover -v
> 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 452, in _find_test_path
> package = self._get_module_from_name(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/loader.py", line 362, in _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mlpy/build/mlpy/__init__.py", line 1, in <module>
> from version import v as __version__
> ModuleNotFoundError: No module named 'version'
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:395: 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.11 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/10/27/mlpy_3.5.0+ds-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&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