[Debian-astro-maintainers] Bug#964655: healpy: FTBFS: healpy/src/_healpy_pixel_lib.cc:401:1: error: no matches converting function ‘ufunc_ang2pix’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*) ’}

Lucas Nussbaum lucas at debian.org
Thu Jul 9 11:45:10 BST 2020


Source: healpy
Version: 1.13.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/healpix_cxx -I/usr/include/python3.8 -I/usr/lib/python3/dist-packages/numpy/core/include -c healpy/src/_healpy_pixel_lib.cc -o build/temp.linux-x86_64-3.8/healpy/src/_healpy_pixel_lib.o -std=c++11 -fopenmp
> In file included from /usr/include/python3.8/numpy/ndarraytypes.h:1822,
>                  from /usr/include/python3.8/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.8/numpy/arrayobject.h:4,
>                  from healpy/src/_healpy_pixel_lib.cc:34:
> /usr/include/python3.8/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 " \
>       |  ^~~~~~~
> healpy/src/_healpy_pixel_lib.cc:401:1: error: no matches converting function ‘ufunc_ang2pix’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   401 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:42:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_ang2pix(char**, npy_intp*, npy_intp*, void*)’
>    42 |   ufunc_ang2pix(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:404:1: error: no matches converting function ‘ufunc_ang2pix’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   404 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:42:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_ang2pix(char**, npy_intp*, npy_intp*, void*)’
>    42 |   ufunc_ang2pix(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:407:1: error: no matches converting function ‘ufunc_pix2ang’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   407 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:71:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_pix2ang(char**, npy_intp*, npy_intp*, void*)’
>    71 |   ufunc_pix2ang(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:410:1: error: no matches converting function ‘ufunc_pix2ang’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   410 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:71:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_pix2ang(char**, npy_intp*, npy_intp*, void*)’
>    71 |   ufunc_pix2ang(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:413:1: error: no matches converting function ‘ufunc_xyf2pix’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   413 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:100:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_xyf2pix(char**, npy_intp*, npy_intp*, void*)’
>   100 |   ufunc_xyf2pix(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:416:1: error: no matches converting function ‘ufunc_xyf2pix’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   416 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:100:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_xyf2pix(char**, npy_intp*, npy_intp*, void*)’
>   100 |   ufunc_xyf2pix(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:419:1: error: no matches converting function ‘ufunc_pix2xyf’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   419 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:127:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_pix2xyf(char**, npy_intp*, npy_intp*, void*)’
>   127 |   ufunc_pix2xyf(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:422:1: error: no matches converting function ‘ufunc_pix2xyf’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   422 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:127:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_pix2xyf(char**, npy_intp*, npy_intp*, void*)’
>   127 |   ufunc_pix2xyf(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:425:1: error: no matches converting function ‘ufunc_vec2pix’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   425 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:243:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_vec2pix(char**, npy_intp*, npy_intp*, void*)’
>   243 |   ufunc_vec2pix(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:428:1: error: no matches converting function ‘ufunc_vec2pix’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   428 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:243:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_vec2pix(char**, npy_intp*, npy_intp*, void*)’
>   243 |   ufunc_vec2pix(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:431:1: error: no matches converting function ‘ufunc_pix2vec’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   431 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:212:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_pix2vec(char**, npy_intp*, npy_intp*, void*)’
>   212 |   ufunc_pix2vec(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:434:1: error: no matches converting function ‘ufunc_pix2vec’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   434 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:212:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_pix2vec(char**, npy_intp*, npy_intp*, void*)’
>   212 |   ufunc_pix2vec(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:436:3: error: invalid conversion from ‘void (*)(char**, npy_intp*, npy_intp*, void*)’ {aka ‘void (*)(char**, long int*, long int*, void*)’} to ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’} [-fpermissive]
>   436 |   ufunc_ring2nest
>       |   ^~~~~~~~~~~~~~~
>       |   |
>       |   void (*)(char**, npy_intp*, npy_intp*, void*) {aka void (*)(char**, long int*, long int*, void*)}
> healpy/src/_healpy_pixel_lib.cc:439:3: error: invalid conversion from ‘void (*)(char**, npy_intp*, npy_intp*, void*)’ {aka ‘void (*)(char**, long int*, long int*, void*)’} to ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’} [-fpermissive]
>   439 |   ufunc_nest2ring
>       |   ^~~~~~~~~~~~~~~
>       |   |
>       |   void (*)(char**, npy_intp*, npy_intp*, void*) {aka void (*)(char**, long int*, long int*, void*)}
> healpy/src/_healpy_pixel_lib.cc:443:1: error: no matches converting function ‘ufunc_get_interpol’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   443 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:272:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_get_interpol(char**, npy_intp*, npy_intp*, void*)’
>   272 |   ufunc_get_interpol(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:446:1: error: no matches converting function ‘ufunc_get_interpol’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   446 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:272:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_get_interpol(char**, npy_intp*, npy_intp*, void*)’
>   272 |   ufunc_get_interpol(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:449:1: error: no matches converting function ‘ufunc_get_neighbors’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   449 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:324:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_get_neighbors(char**, npy_intp*, npy_intp*, void*)’
>   324 |   ufunc_get_neighbors(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:452:1: error: no matches converting function ‘ufunc_get_neighbors’ to type ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’}
>   452 | };
>       | ^
> healpy/src/_healpy_pixel_lib.cc:324:3: note: candidate is: ‘template<Healpix_Ordering_Scheme scheme> void ufunc_get_neighbors(char**, npy_intp*, npy_intp*, void*)’
>   324 |   ufunc_get_neighbors(char **args, npy_intp *dimensions, npy_intp *steps, void *func)
>       |   ^~~~~~~~~~~~~~~~~~~
> healpy/src/_healpy_pixel_lib.cc:454:3: error: invalid conversion from ‘void (*)(char**, npy_intp*, npy_intp*, void*)’ {aka ‘void (*)(char**, long int*, long int*, void*)’} to ‘PyUFuncGenericFunction’ {aka ‘void (*)(char**, const long int*, const long int*, void*)’} [-fpermissive]
>   454 |   ufunc_max_pixrad
>       |   ^~~~~~~~~~~~~~~~
>       |   |
>       |   void (*)(char**, npy_intp*, npy_intp*, void*) {aka void (*)(char**, long int*, long int*, void*)}
> healpy/src/_healpy_pixel_lib.cc:390:14: warning: ‘docstring’ defined but not used [-Wunused-variable]
>   390 | static char *docstring = CP_(
>       |              ^~~~~~~~~
> /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>>/healpy/src/_query_disc.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> warning: healpy/src/_common.pxd:129:45: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:129:45: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:140:47: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:140:47: Buffer unpacking not optimized away.
> /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>>/healpy/src/_sphtools.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> warning: healpy/src/_common.pxd:129:45: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:129:45: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:140:47: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:140:47: Buffer unpacking not optimized away.
> /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>>/healpy/src/_pixelfunc.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> warning: healpy/src/_common.pxd:129:45: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:129:45: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:140:47: Buffer unpacking not optimized away.
> warning: healpy/src/_common.pxd:140:47: Buffer unpacking not optimized away.
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> E: pybuild pybuild:352: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build 
> dh_auto_build: error: pybuild --build --test-pytest -i python{version} -p 3.8 returned exit code 13
> make: *** [debian/rules:12: build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/healpy_1.13.0-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-astro-maintainers mailing list