🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #878

Bug#1150928: nfs-ganesha: FTBFS with ntirpc 15.2: error: assignment to ‘clnt_req_freer’ {aka ‘void (*)(struct clnt_req *, long u...

#878
From: Sebastian Ramacher
Date: Wed, 14 Oct 2026 19:40
77 lines
6213 bytes
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
-- 
Sebastian Ramacher
Technical Details
Message-ID: <NOcZr-5war-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!news.mb-net.net!open-news-network.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!news.mb-net.net!open-news-network.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sebastian Ramacher <sramacher@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#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)’}
Date: Wed, 14 Oct 2026 21:40:01 +0200
Message-ID: <NOcZr-5war-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 14 19:39:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1150928@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sramacher@debian.org, chrism@debian.org
X-Debian-Pr-Message: report 1150928
X-Debian-Pr-Package: src:nfs-ganesha
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: nfs-ganesha
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: sramacher
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996821
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 77
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 14 Oct 2026 21:37:54 +0200
X-Original-Message-ID: <as_aEguofgNOQnmF@ramacher.at>
X-Received-Bytes: 6003