Bug#812995: yorick-ynfft: FTBFS with libnfft version 3.3

Ghislain Antony Vaillant ghisvail at gmail.com
Thu Jan 28 12:37:48 UTC 2016


Package: yorick-ynfft
Version: 1.0.2-2
Severity: important

Dear Maintainer,

This source package fails to build with the latest release of libnfft
available in experimental. The relevant portion of the build log is
available below.

Version 3.3 introduced some API breaking changes in the signature of the
public structures.

```
cc -I. -DVERSION=\"1.0.2\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC -DPLUG_IN -I. -I/usr/lib/yorick/include -o yor_nfft.o -c yor_nfft.c
yor_nfft.c: In function 'op_eval':
yor_nfft.c:380:12: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   inp_dims = GET_INP_DIMS(op);
            ^
yor_nfft.c: In function 'op_extract':
yor_nfft.c:313:33: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
 #define GET_OVR_DIMS(op)        ((op)->plan.n)
                                 ^
yor_nfft.c:448:22: note: in expansion of macro 'GET_OVR_DIMS'
     const int *src = GET_OVR_DIMS(op);
                      ^
yor_nfft.c:312:33: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
 #define GET_INP_DIMS(op)        ((op)->plan.N)
                                 ^
yor_nfft.c:459:22: note: in expansion of macro 'GET_INP_DIMS'
     const int *src = GET_INP_DIMS(op);
                      ^
yor_nfft.c:315:44: error: 'nfft_plan {aka struct <anonymous>}' has no member named 'nfft_flags'
 #define GET_NFFT_FLAGS(op)      ((op)->plan.nfft_flags)
                                            ^
yor_nfft.c:500:27: note: in expansion of macro 'GET_NFFT_FLAGS'
     int value = get_flags(GET_NFFT_FLAGS(op), GET_FFTW_FLAGS(op));
                           ^
yor_nfft.c:315:44: error: 'nfft_plan {aka struct <anonymous>}' has no member named 'nfft_flags'
 #define GET_NFFT_FLAGS(op)      ((op)->plan.nfft_flags)
                                            ^
yor_nfft.c:503:17: note: in expansion of macro 'GET_NFFT_FLAGS'
     int value = GET_NFFT_FLAGS(op);
                 ^
yor_nfft.c: In function 'make_nfft_plan':
yor_nfft.c:1016:12: error: 'nfft_plan {aka struct <anonymous>}' has no member named 'nfft_flags'
   if ((plan->nfft_flags & PRE_ONE_PSI) != 0) {
```   

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the debian-science-maintainers mailing list