Package: src:mlpy
Version: 3.5.0+ds-3
Severity: important
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/mlpy_3.5.0+ds-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
/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/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
                 from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from mlpy/gsl/gsl.c:754:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
 warning: #warning "Using deprecated NumPy API, disable it with " "#define 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
In file included from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
                 from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from mlpy/liblinear/liblinear.c:752:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
 warning: #warning "Using deprecated NumPy API, disable it with " "#define 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   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:2870:30: error: passing argument 1 of 
‘set_print_string_function’ from incompatible pointer type 
[-Wincompatible-pointer-types]
 2870 |   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:3902:15: warning: assignment discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
 3902 |   __pyx_v_ret = check_parameter((&__pyx_v_self->problem), 
(&__pyx_v_self->parameter));
      |               ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.11 setup.py build 
I: pybuild base:311: /usr/bin/python3 setup.py build 
/<<PKGBUILDDIR>>/setup.py:27: SyntaxWarning: invalid escape sequence '\s'
  data_files += [("Lib\site-packages\mlpy", dlls)]
In file included from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
                 from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from mlpy/gsl/gsl.c:754:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
 warning: #warning "Using deprecated NumPy API, disable it with " "#define 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
In file included from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
                 from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from 
/usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from mlpy/liblinear/liblinear.c:752:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
 warning: #warning "Using deprecated NumPy API, disable it with " "#define 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   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:2870:30: error: passing argument 1 of 
‘set_print_string_function’ from incompatible pointer type 
[-Wincompatible-pointer-types]
 2870 |   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:3902:15: warning: assignment discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
 3902 |   __pyx_v_ret = check_parameter((&__pyx_v_self->problem), 
(&__pyx_v_self->parameter));
      |               ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3 setup.py build 
dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" 
returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to