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: [email protected]

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
-- 
Sebastian Ramacher

Reply via email to