-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Thanks,
I forwarded this bug report to upstream. Kind regards, Thibaut. Le 08/02/2016 20:19, Gianfranco Costamagna a écrit : > Hi Thibaut and Debian Science maintainers, > > I did a little patch to fix the build failure, but now there is a > testsuite failure: > > here the patch > > --- yorick-ynfft-1.0.2.orig/yor_nfft.c +++ > yorick-ynfft-1.0.2/yor_nfft.c @@ -312,7 +312,7 @@ struct _op { > #define GET_INP_DIMS(op) ((op)->plan.N) #define > GET_OVR_DIMS(op) ((op)->plan.n) #define GET_OVR_FACT(op) > ((op)->plan.sigma) -#define GET_NFFT_FLAGS(op) > ((op)->plan.nfft_flags) +#define GET_NFFT_FLAGS(op) > ((op)->plan.flags) #define GET_FFTW_FLAGS(op) > ((op)->plan.fftw_flags) #define GET_CUTOFF(op) > ((op)->plan.m) #define GET_NEVALS(op) ((op)->nevals) @@ > -1013,7 +1013,7 @@ static void make_nfft_plan(nfft_plan *pl } > > /* Precompute interpolation weights. */ - if ((plan->nfft_flags & > PRE_ONE_PSI) != 0) { + if ((plan->flags & PRE_ONE_PSI) != 0) { > nfft_precompute_one_psi(plan); } return; > > basically nfft_flags has been renamed in flags. > > the testsuite failure is: make[1]: Entering directory > '/build/yorick-ynfft-1.0.2' /usr/bin/make tests make[2]: Entering > directory '/build/yorick-ynfft-1.0.2' /usr/lib/yorick/bin/yorick > -batch nfft-tests.i 1-D transform (A0 vs. A1): SUCCESS - absolute > error: max. = 1.9e-14, RMS = 3.9e-15 1-D transform (A1 vs. A2): > SUCCESS - absolute error: max. = 1.2e-15, RMS = 2.8e-16 > > ERROR (nfft_full_matrix) length must be a strictly positive even > number LINE: 272 FILE: /build/yorick-ynfft-1.0.2/nfft.i yorick: > quitting on error in batch mode Makefile:97: recipe for target > 'tests' failed make[2]: *** [tests] Error 1 make[2]: Leaving > directory '/build/yorick-ynfft-1.0.2' debian/rules:27: recipe for > target 'override_dh_auto_test' failed > > > and I'm not sure what does it mean. > > do you have any clue? > > cheers, > > Gianfranco > > On Thu, 28 Jan 2016 12:37:48 +0000 Ghislain Antony Vaillant > <ghisv...@gmail.com> wrote: >> 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) > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWuQkBAAoJEJOUU0jg3ChAoQoP/2RzU5YE8GDl/p3kpUCgFvXe E1LP031iOT/KAB1MXJgbkjGCP0OTiWf0KhFIgeNsoOVwR5JNcvU0en4vTSCx8uSW /m3ExJ6kC2zKQ2UGKtSqPe8v3ShlgRnibWVLnQ30LS/X608lJBm/YZbq6UpiKXGI hEFViwvuKa2bH0nkoS3ySIt4V0QAgGrFJ11Cs7GA9RQX5ya6dh9tmP9RAQ9WR15v r1SSBvuF6n4Z844KcSwHkVH3mj5gJimxpLUOULKvQvtBFSteWbGrFb+jp7RJZ2on Rr8FW/m3rbU/AdvVmgX/i1Nz9wvj36J9YycWCrvD93AqSGwtABzuzzSgk2dBZviY GOLBvtTWAHE9Zf4YVsQ+6GA8jZoxvMaYWmJlT8+q6u6Hh3cEAEd/03bPYSji6z2a BCwBaDUZYDGiJcdFWpr9qWiuNgS7s86IBG3zUUunHIPlnE94kEKk+RxxMlUdx8ZV 3gGJalb7XNEGsvpREDigZHaDWks1OQ6d3p3BQ7jCy8GG80AQFw7tCQFaw4D6PPJJ PUU9SuWy1KAa0FgCgAVObYAugnBN8yEB1uB1x3dd8SdRQ+U9UQjUuJAv2+lBunrQ FNOfEwSjdQstb6p0pWlT6gGyP1nS1AIbYqZOzl0PDD87fDGeHjaFaAMsaDHPXOC/ I2ft9RI4P+YUp6EtJAE4 =VkLR -----END PGP SIGNATURE-----