Debian Patches

Status for nfft/3.5.3-5

Patch Description Author Forwarded Bugs Origin Last update
do_not_break_pynfft.patch I believe there is an disagreement of the size of a structure, specifically the packing of it.
.
I am not sure if the packed structure is expected
or that with the padding.
.
At least a package nfft compiled with the below patch,
die no longer crash in the pynfft test.
If the padded version is expected, pynfft has to be modified.
Bernhard Übelacker <bernhardu@mailbox.org> no debian 2022-07-23
baseline.patch Do not build with -march=native Andreas Tille <tille@debian.org> no debian 2022-11-01
no-incompatible-types-test.patch Fixup gcc-14 build failure by disabling one flag on tests.The same function is called by many different structures, I couldn't find an easy way to make it work,
except for patching all the functions to cast into the same type.
But since this is hiding anyway the issue (and duplicating check_many function over and over looks even worse),
a one-line patch to disable the check looks saner
../../tests/nfft.c:1500:5: error: passing argument 4 of ‘check_many_file’ from incompatible pointer type [-Wincompatible-pointer-types]
1500 | testcases_acc, initializers_acc, &check_trafo, trafos_acc);
| ^~~~~~~~~~~~~
| |
| const testcase_delegate_online_t ** {aka const struct testcase_delegate_online_s **}
../../tests/nfft.c:1411:31: note: expected ‘const testcase_delegate_t **’ {aka ‘const struct testcase_delegate_s **’} but argument is of type ‘const testcase_delegate_online_t **’ {aka ‘const struct testcase_delegate_online_s **’}
1411 | const testcase_delegate_t **testcases, init_delegate_t **initializers,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
../../tests/nfft.c:1500:20: error: passing argument 5 of ‘check_many_file’ from incompatible pointer type [-Wincompatible-pointer-types]
1500 | testcases_acc, initializers_acc, &check_trafo, trafos_acc);
| ^~~~~~~~~~~~~~~~
| |
| const init_delegate_t ** {aka const struct init_delegate_s **}
../../tests/nfft.c:1411:60: note: expected ‘init_delegate_t **’ {aka ‘struct init_delegate_s **’} but argument is of type ‘const init_delegate_t **’ {aka ‘const struct init_delegate_s **’}
1411 | const testcase_delegate_t **testcases, init_delegate_t **initializers,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../../tests/nfft.c:1500:52: error: passing argument 7 of ‘check_many_file’ from incompatible pointer type [-Wincompatible-pointer-types]
1500 | testcases_acc, initializers_acc, &check_trafo, trafos_acc);
| ^~~~~~~~~~
| |
| const trafo_delegate_t ** {aka const struct trafo_delegate_s **}
../../tests/nfft.c:1412:56: note: expected ‘trafo_delegate_t **’ {aka ‘struct trafo_delegate_s **’} but argument is of type ‘const trafo_delegate_t **’ {aka ‘const struct trafo_delegate_s **’}
1412 | check_delegate_t *check_delegate, trafo_delegate_t **trafos)


the init_delegate_t, testcase_delegate_t, trafo_delegate_t have all different signatures
Gianfranco Costamagna <locutusofborg@debian.org> no debian 2024-10-25

All known versions for source package 'nfft'

Links