#1150928 nfs-ganesha: FTBFS with ntirpc 15.2: error: assignment to ‘clnt_req_freer’ {aka ‘void (*)(struct clnt_req *, long unsigned int, const char *, int, const char *)’} from incompatible pointer type ‘void (*)(struct clnt_req *, size_t)’ {aka ‘void (*)(struct clnt_req *, long unsigned int)’} #1150928
- Package:
- src:nfs-ganesha
- Source:
- src:nfs-ganesha
- Submitter:
- Sebastian Ramacher
- Date:
- 2026-10-20 08:23:02 UTC
- Severity:
- normal
- Tags:
Source: nfs-ganesha
Version: 9.14-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
Dear maintainer,
nfs-ganesha FTBFS with ntirpc 15.2:
[ 41%] Building C object MainNFSD/CMakeFiles/MainServices.dir/nfs_rpc_callback.c.o
cd /build/reproducible-path/nfs-ganesha-9.14/src/obj-x86_64-linux-gnu/MainNFSD && /usr/bin/x86_64-linux-gnu-gcc -DHAS_DOFF -D_GNU_SOURCE=1 -D__USE_GNU -I/usr/include/uuid -I/build/reproducible-path/nfs-ganesha-9.14/src/obj-x86_64-linux-gnu/include -I/build/reproducible-path/nfs-ganesha-9.14/src/include -I/build/reproducible-path/nfs-ganesha-9.14/src/obj-x86_64-linux-gnu/libntirpc/src/monitoring/include -I/build/reproducible-path/nfs-ganesha-9.14/src/libntirpc/src/monitoring/include -I/build/reproducible-path/nfs-ganesha-9.14/src/obj-x86_64-linux-gnu/monitoring/include -I/build/reproducible-path/nfs-ganesha-9.14/src/monitoring/include -I/build/reproducible-path/nfs-ganesha-9.14/src/include/os/linux -I/include -I/usr/include/ntirpc -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nfs-ganesha-9.14=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -O2 -g -DNDEBUG -fPIC -fmacro-prefix-map=/build/reproducible-path/nfs-ganesha-9.14/src/=./ -MD -MT MainNFSD/CMakeFiles/MainServices.dir/nfs_rpc_callback.c.o -MF CMakeFiles/MainServices.dir/nfs_rpc_callback.c.o.d -o CMakeFiles/MainServices.dir/nfs_rpc_callback.c.o -c /build/reproducible-path/nfs-ganesha-9.14/src/MainNFSD/nfs_rpc_callback.c
/build/reproducible-path/nfs-ganesha-9.14/src/MainNFSD/nfs_rpc_callback.c: In function ‘nfs_rpc_call’:
/build/reproducible-path/nfs-ganesha-9.14/src/MainNFSD/nfs_rpc_callback.c:1057:24: error: assignment to ‘clnt_req_freer’ {aka ‘void (*)(struct clnt_req *, long unsigned int, const char *, int, const char *)’} from incompatible pointer type ‘void (*)(struct clnt_req *, size_t)’ {aka ‘void (*)(struct clnt_req *, long unsigned int)’} [-Wincompatible-pointer-types]
1057 | cc->cc_free_cb = nfs_rpc_call_free;
| ^
/build/reproducible-path/nfs-ganesha-9.14/src/MainNFSD/nfs_rpc_callback.c:997:13: note: ‘nfs_rpc_call_free’ declared here
997 | static void nfs_rpc_call_free(struct clnt_req *cc, size_t unused)
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/ntirpc/rpc/rpc.h:53,
from /build/reproducible-path/nfs-ganesha-9.14/src/include/gsh_rpc.h:55,
from /build/reproducible-path/nfs-ganesha-9.14/src/include/uid2grp.h:46,
from /build/reproducible-path/nfs-ganesha-9.14/src/include/fsal_types.h:43,
from /build/reproducible-path/nfs-ganesha-9.14/src/include/fsal_api.h:45,
from /build/reproducible-path/nfs-ganesha-9.14/src/include/fsal.h:63,
from /build/reproducible-path/nfs-ganesha-9.14/src/MainNFSD/nfs_rpc_callback.c:52:
/usr/include/ntirpc/rpc/clnt.h:84:16: note: ‘clnt_req_freer’ declared here
84 | typedef void (*clnt_req_freer)(struct clnt_req *, size_t, const char *, int,
| ^~~~~~~~~~~~~~
make[4]: *** [MainNFSD/CMakeFiles/MainServices.dir/build.make:96: MainNFSD/CMakeFiles/MainServices.dir/nfs_rpc_callback.c.o] Error 1
See
https://buildd.debian.org/status/fetch.php?pkg=nfs-ganesha&arch=amd64&ver=9.14-2%2Bb1&stamp=1791988373&raw=0
for details.
Cheers
We believe that the bug you reported is fixed in the latest version of nfs-ganesha, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1150928@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Christoph Martin <chrism@debian.org> (supplier of updated nfs-ganesha package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Tue, 20 Oct 2026 08:06:33 +0200 Source: nfs-ganesha Architecture: source Version: 15.2-1 Distribution: unstable Urgency: medium Maintainer: Christoph Martin <chrism@debian.org> Changed-By: Christoph Martin <chrism@debian.org> Closes: 1150928 Changes: nfs-ganesha (15.2-1) unstable; urgency=medium . * New upstream release. * add new builddeps * enable TLS * builds against libntirpc 15.2 (closes: #1150928) . nfs-ganesha (9.14-3) unstable; urgency=medium . * change to git-only packaging (dgit-maint-merge(7)) Checksums-Sha1: 2ab9eb7d5dcaf55fb7a34375a0322d979b4f3f22 3662 nfs-ganesha_15.2-1.dsc ff103661c5fd2db84d60b76836264a310fe190ce 2579425 nfs-ganesha_15.2-1.tar.gz fd5ec97bad44ff475f7dc50b441efa7f22f595bc 3850176 nfs-ganesha_15.2-1.git.tar.xz 7710f76a5b26cbc0bd60f554301c7d337f826ac0 17736 nfs-ganesha_15.2-1_source.buildinfo Checksums-Sha256: 88b7eab254212b91992995a02dcb7d212c74c07b05a90890df65aa8783002a27 3662 nfs-ganesha_15.2-1.dsc dbcf68019d2aad402588869d391ccbf0aba0e4af39f6c4210153d4f4cbf2872c 2579425 nfs-ganesha_15.2-1.tar.gz e3abbfbf65f38bb0cae26da6e45cd7697f0983fd03f16fc1e9dec2c33fd8766e 3850176 nfs-ganesha_15.2-1.git.tar.xz 94bb6cb6ca10aa253412aa32d055890bc15e4af3f41e6471b96198b1138cca90 17736 nfs-ganesha_15.2-1_source.buildinfo Files: df71098b27c67ba3222d1b2d6eb7ca6d 3662 net optional nfs-ganesha_15.2-1.dsc 32a01966773a4c24c18a4ea1585d432c 2579425 net optional nfs-ganesha_15.2-1.tar.gz 774b0d2fc842dcdf2a91894fb1f5f6ed 3850176 net optional nfs-ganesha_15.2-1.git.tar.xz e749a2cff4140f36033e6fd812ced20f 17736 net optional nfs-ganesha_15.2-1_source.buildinfo Git-Tag-Info: tag=217a7e8b273ba6f319d31f0aba9250988fe76e05 fp=6dd15e6e7b139c2632e32d3691c3146e5d8669b4 Git-Tag-Tagger: Christoph Martin <martin@uni-mainz.de> -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrXH8EACgkQYG0ITkaD wHktSxAAqHxiotPUf1pxZFoK6JixbkvHNCgPcuNgaDyhqZ9ywcImu37NGcFNuTcM k2h5YMYXVzfxjidN6MtNVKbHScafuLQu7elSCEz4GcwFHQj9IGB9GfIchU4JrESt 7IesRkqRuTc1wJX8sVARh2BxcBrggOXPSV1UnOzIdeliJP/BEGWfN2DTukm+/uVH KZscFuZ5Kf2fQahpjm5sZJxZR92LMy0dU5DtzQlQudnVjnF5yqITsyKX/oTHyg9Z BTkw/uAGCPZD1POss9HXYL/dueNZ1JjlWltCWhNbImXh3w6Af5V+onD8z50XOIZ3 JL4HMhL12ZV4esAMVbXShaO4NQjDah0yP1U7CkyiTu6uFxs6Q7L8rGfFneWqIMSu opRjzMkDECY8kkURRRISaBLOHQMPoXUvCs0tRnlJqxbcI+dSzDysx1DvqvWxP65R gHzs7QMU9TJDoDAeYA474PyksPXRYqaldqTlEbrwsB1QJCqGhVmJjA3KE7UeyYt9 pbuw1XGTG4CyJdPSioF9+e0apKCs2ETHs2yZIdWqHOHpZhAhh1UBSFs8qekJzgD5 BSZyBv4VGB63Gzp5e32bQwCi7lTVY1T5Yw5eKOiBWNoPyMR1FxsjOjuHngbwufkh y1t0ylWg7qfxfaSfLyI6L8ZpO7H1HKe409PuprUsl8aj+YaJXZY= =7iOT -----END PGP SIGNATURE-----