[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1114188: marked as done (lmbench: FTBFS: lat_rpc.c:24:10: error: conflicting types for 'client_rpc_xact_1'; have 'char *(char *, CLIENT *)' {aka 'char *(char *, struct __rpc_client *)'})



Your message dated Thu, 11 Sep 2025 00:50:48 +0000
with message-id <E1uwVWS-008K9K-39@fasolo.debian.org>
and subject line Bug#1114188: fixed in lmbench 3.0-a9+debian.1-10
has caused the Debian Bug report #1114188,
regarding lmbench: FTBFS: lat_rpc.c:24:10: error: conflicting types for 'client_rpc_xact_1'; have 'char *(char *, CLIENT *)' {aka 'char *(char *, struct __rpc_client *)'}
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1114188: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114188
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:lmbench
Version: 3.0-a9+debian.1-9
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:lmbench, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
	make -j2 clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
for i in doc src results scripts; do \
	echo ===== $i =====; \
	(cd $i && make clean); \
done
===== doc =====
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
bk clean 
make[3]: bk: No such file or directory
make[3]: [Makefile:105: clean] Error 127 (ignored)
/bin/rm -f *.PS XXX bw.pic memrd_bcopy_comp.pic references.i
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
===== src =====
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/rm -f ../bin/*/CONFIG ../bin/*/*.[oas]
/bin/rm -f *.[oas]
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
===== results =====
make[3]: Entering directory '/<<PKGBUILDDIR>>/results'
/bin/rm -f PS/* GIF/* HTML/* tmp/* summary.roff
bk clean
make[3]: bk: No such file or directory
make[3]: [Makefile:325: clean] Error 127 (ignored)
make[3]: Leaving directory '/<<PKGBUILDDIR>>/results'
===== scripts =====
make[3]: Entering directory '/<<PKGBUILDDIR>>/scripts'
make[3]: Nothing to be done for 'clean'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
/bin/rm -rf bin/*
bk clean 
make[2]: bk: No such file or directory
make[2]: [Makefile:41: clean] Error 127 (ignored)
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f debian/lmbench-run.1
rm -rf debian/doc debian/manpages debian/scripts
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
	make -j2 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cd src && make
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
gmake[4]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c lib_tcp.c -o ../bin/x86_64-linux-gnu/lib_tcp.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c lib_udp.c -o ../bin/x86_64-linux-gnu/lib_udp.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c lib_unix.c -o ../bin/x86_64-linux-gnu/lib_unix.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c lib_timing.c -o ../bin/x86_64-linux-gnu/lib_timing.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c lib_mem.c -o ../bin/x86_64-linux-gnu/lib_mem.o
lib_timing.c: In function â??benchmp_parentâ??:
lib_timing.c:401:9: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  401 |         write(start_signal, signals, parallel * sizeof(char));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib_timing.c:446:17: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  446 |                 write(result_signal, buf, sizeof(char));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib_timing.c:487:9: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  487 |         write(exit_signal, results, parallel * sizeof(char));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib_timing.c: In function â??benchmp_intervalâ??:
lib_timing.c:693:25: warning: ignoring return value of â??readâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  693 |                         read(state->start_signal, &c, sizeof(char));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib_timing.c:699:25: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  699 |                         write(state->response, &c, sizeof(char));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib_timing.c:729:25: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  729 |                         write(state->response, (void*)&c, sizeof(char));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib_timing.c:744:25: warning: ignoring return value of â??readâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  744 |                         read(state->result_signal, (void*)&c, sizeof(char));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib_timing.c:745:25: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  745 |                         write(state->response, (void*)get_results(), state->r_size);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib_timing.c:753:25: warning: ignoring return value of â??readâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  753 |                         read(state->exit_signal, (void*)&c, sizeof(char));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c lib_stats.c -o ../bin/x86_64-linux-gnu/lib_stats.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c lib_debug.c -o ../bin/x86_64-linux-gnu/lib_debug.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c getopt.c -o ../bin/x86_64-linux-gnu/getopt.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -c lib_sched.c -o ../bin/x86_64-linux-gnu/lib_sched.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/msleep msleep.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -DMAIN -o ../bin/x86_64-linux-gnu/flushdisk flushdisk.c
rm -f ../bin/x86_64-linux-gnu/lmbench
VERSION=`../scripts/version`; \
sed -e "s/<version>/${VERSION}/g" < ../scripts/lmbench > ../bin/x86_64-linux-gnu/lmbench
chmod +x ../bin/x86_64-linux-gnu/lmbench
/bin/rm -f ../bin/x86_64-linux-gnu/lmbench.a
ar cr ../bin/x86_64-linux-gnu/lmbench.a ../bin/x86_64-linux-gnu/lib_tcp.o ../bin/x86_64-linux-gnu/lib_udp.o ../bin/x86_64-linux-gnu/lib_unix.o ../bin/x86_64-linux-gnu/lib_timing.o ../bin/x86_64-linux-gnu/lib_mem.o ../bin/x86_64-linux-gnu/lib_stats.o ../bin/x86_64-linux-gnu/lib_debug.o ../bin/x86_64-linux-gnu/getopt.o ../bin/x86_64-linux-gnu/lib_sched.o
ranlib ../bin/x86_64-linux-gnu/lmbench.a
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/bw_file_rd bw_file_rd.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/bw_mem bw_mem.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/bw_mmap_rd bw_mmap_rd.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/bw_pipe bw_pipe.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/bw_tcp bw_tcp.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
bw_tcp.c: In function â??mainâ??:
bw_tcp.c:63:25: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
   63 |                         write(conn, "0", 1);
      |                         ^~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/bw_unix bw_unix.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
bw_unix.c: In function â??readerâ??:
bw_unix.c:100:17: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  100 |                 write(state->control[1], &todo, sizeof(todo));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bw_unix.c: In function â??writerâ??:
bw_unix.c:118:17: warning: ignoring return value of â??readâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  118 |                 read(controlfd, &todo, sizeof(todo));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/hello hello.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
hello.c: In function â??mainâ??:
hello.c:6:9: warning: ignoring return value of â??writeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
    6 |         write(1, "Hello world\n", 12);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/lat_select lat_select.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/lat_pipe lat_pipe.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
lat_select.c: In function â??serverâ??:
lat_select.c:134:25: warning: ignoring return value of â??readâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
  134 |                         read(newsock, &state->fid, 1);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/lat_rpc lat_rpc.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc -DHAVE_socklen_t -Wl,-z,relro -Wl,-z,now -o ../bin/x86_64-linux-gnu/lat_syscall lat_syscall.c ../bin/x86_64-linux-gnu/lmbench.a -ltirpc -lm
lat_rpc.c:24:10: error: conflicting types for â??client_rpc_xact_1â??; have â??char *(char *, CLIENT *)â?? {aka â??char *(char *, struct __rpc_client *)â??}
   24 | char    *client_rpc_xact_1(char *argp, CLIENT *clnt);
      |          ^~~~~~~~~~~~~~~~~
In file included from lat_rpc.c:19:
bench.h:349:14: note: previous declaration of â??client_rpc_xact_1â?? with type â??char *(void)â??
  349 | extern char *client_rpc_xact_1();
      |              ^~~~~~~~~~~~~~~~~
lat_rpc.c:172:1: error: conflicting types for â??client_rpc_xact_1â??; have â??char *(char *, CLIENT *)â?? {aka â??char *(char *, struct __rpc_client *)â??}
  172 | client_rpc_xact_1(char *argp, CLIENT *clnt)
      | ^~~~~~~~~~~~~~~~~
bench.h:349:14: note: previous declaration of â??client_rpc_xact_1â?? with type â??char *(void)â??
  349 | extern char *client_rpc_xact_1();
      |              ^~~~~~~~~~~~~~~~~
lat_rpc.c: In function â??rpc_xact_1â??:
lat_rpc.c:189:1: warning: old-style function definition [-Wold-style-definition]
  189 | rpc_xact_1(msg, transp)
      | ^~~~~~~~~~
lat_rpc.c:192:1: error: number of arguments doesnâ??t match prototype
  192 | {
      | ^
bench.h:348:14: error: prototype declaration
  348 | extern char *rpc_xact_1();
      |              ^~~~~~~~~~
lat_rpc.c: In function â??server_mainâ??:
lat_rpc.c:214:57: error: passing argument 4 of â??svc_registerâ?? from incompatible pointer type [-Wincompatible-pointer-types]
  214 |         if (!svc_register(transp, XACT_PROG, XACT_VERS, xact_prog_1, IPPROTO_UDP)) {
      |                                                         ^~~~~~~~~~~
      |                                                         |
      |                                                         void (*)(void)
In file included from /usr/include/tirpc/rpc/svc.h:463,
                 from /usr/include/tirpc/rpc/rpc.h:63,
                 from bench.h:39:
/usr/include/tirpc/rpc/svc_soc.h:70:21: note: expected â??void (*)(struct svc_req *, SVCXPRT *)â?? {aka â??void (*)(struct svc_req *, struct __rpc_svcxprt *)â??} but argument is of type â??void (*)(void)â??
   70 |                     void (*)(struct svc_req *, SVCXPRT *), int);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_rpc.c:198:13: note: â??xact_prog_1â?? declared here
  198 | static void xact_prog_1();
      |             ^~~~~~~~~~~
lat_rpc.c:224:57: error: passing argument 4 of â??svc_registerâ?? from incompatible pointer type [-Wincompatible-pointer-types]
  224 |         if (!svc_register(transp, XACT_PROG, XACT_VERS, xact_prog_1, IPPROTO_TCP)) {
      |                                                         ^~~~~~~~~~~
      |                                                         |
      |                                                         void (*)(void)
/usr/include/tirpc/rpc/svc_soc.h:70:21: note: expected â??void (*)(struct svc_req *, SVCXPRT *)â?? {aka â??void (*)(struct svc_req *, struct __rpc_svcxprt *)â??} but argument is of type â??void (*)(void)â??
   70 |                     void (*)(struct svc_req *, SVCXPRT *), int);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_rpc.c:198:13: note: â??xact_prog_1â?? declared here
  198 | static void xact_prog_1();
      |             ^~~~~~~~~~~
lat_rpc.c: In function â??xact_prog_1â??:
lat_rpc.c:236:1: warning: old-style function definition [-Wold-style-definition]
  236 | xact_prog_1(rqstp, transp)
      | ^~~~~~~~~~~
lat_rpc.c:253:30: error: assignment to â??bool_t (*)(void)â?? {aka â??int (*)(void)â??} from incompatible pointer type â??bool_t (*)(XDR *, char *)â?? {aka â??int (*)(struct __rpc_xdr *, char *)â??} [-Wincompatible-pointer-types]
  253 |                 xdr_argument = xdr_char;
      |                              ^
In file included from /usr/include/tirpc/rpc/rpc.h:43:
/usr/include/tirpc/rpc/xdr.h:316:17: note: â??xdr_charâ?? declared here
  316 | extern bool_t   xdr_char(XDR *, char *);
      |                 ^~~~~~~~
lat_rpc.c:254:28: error: assignment to â??bool_t (*)(void)â?? {aka â??int (*)(void)â??} from incompatible pointer type â??bool_t (*)(XDR *, char *)â?? {aka â??int (*)(struct __rpc_xdr *, char *)â??} [-Wincompatible-pointer-types]
  254 |                 xdr_result = xdr_char;
      |                            ^
/usr/include/tirpc/rpc/xdr.h:316:17: note: â??xdr_charâ?? declared here
  316 | extern bool_t   xdr_char(XDR *, char *);
      |                 ^~~~~~~~
lat_rpc.c:272:19: error: too many arguments to function â??localâ??; expected 0, have 2
  272 |         result = (*local)(&argument, rqstp);
      |                  ~^~~~~~~ ~~~~~~~~~
gmake[4]: *** [Makefile:380: ../bin/x86_64-linux-gnu/lat_rpc] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:114: lmbench] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:20: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: lmbench
Source-Version: 3.0-a9+debian.1-10
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
lmbench, 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 1114188@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated lmbench 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 11 Sep 2025 02:17:43 +0200
Source: lmbench
Architecture: source
Version: 3.0-a9+debian.1-10
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1114188
Changes:
 lmbench (3.0-a9+debian.1-10) unstable; urgency=medium
 .
   * QA upload.
   * Build with -std=gnu17 to fix FTBFS with GCC 15.  (Closes: #1114188)
Checksums-Sha1:
 e93368bf16c45a07954e33dbceed33ed2777a002 2037 lmbench_3.0-a9+debian.1-10.dsc
 be045815a74e5bf8005d7b74a42eb26d55b8cd8f 16376 lmbench_3.0-a9+debian.1-10.debian.tar.xz
 f0e8db520838a1e5e01f541288866c6c46995132 5823 lmbench_3.0-a9+debian.1-10_source.buildinfo
Checksums-Sha256:
 3ad2dc59f081032bd9eac056c4d4a9689fb18f1495f3b932566719e6a060bab2 2037 lmbench_3.0-a9+debian.1-10.dsc
 832c69b7f4e67e7327e331043717ec31745e5f0f1dc23e6a3f5781c0cbb2628a 16376 lmbench_3.0-a9+debian.1-10.debian.tar.xz
 4b8dfad703f991ddcfcec0a2e1f0c3d70305866e6c5fb110e3eb8a6d25fc5cb6 5823 lmbench_3.0-a9+debian.1-10_source.buildinfo
Files:
 a6e1b837a590d79f86ae5827dd111b12 2037 non-free/admin optional lmbench_3.0-a9+debian.1-10.dsc
 19c40b3a20b10d34bdf0229fbd5ba65f 16376 non-free/admin optional lmbench_3.0-a9+debian.1-10.debian.tar.xz
 f2a04cbc82246c897c800283b0082c63 5823 non-free/admin optional lmbench_3.0-a9+debian.1-10_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmjCFxIQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCFEuD/49n+XKEJMhwsin52RQY/dkaos6P3pQWd2e
qV+OH6doV+nlTeJnEUBoRzwZXrJh4YrwQybA55QGCkzEjyrqzrR8nj/dVSoYQkZ9
NM6m6O+b23Uo64TdRHsSa83+mPw1kyDeX47A3TkEymE17gRwmssOZxOarV/7ZjzX
WRx30m1uk9AKZUpFzizvT70VsMwG3mIcOQfRuVHvDHUpAa4FA4m6JvmiHAZ7NrUQ
RrPMxaibVK6x3O3r8QkDsAxKXf94TSu0/DrsGG/eHgJ7k6rdrjwi8wFOFr2tem0H
qlFpbX9OVnzXokFbxxBsgwGFwtKDBqanM+CnzDyOf1Bpzr1bdzDn2YB0ncXwv1AZ
tnMY2XQAe2nyb46oo5919o9+EKZl1C96Oa4dt9mF9v1a1TCThKGjI2aHZNgLbtZT
PGPDLBITgL8ypvRBPhVdk10ZAv3Z2ZLZiSoSM3a3Pu3wSc+QHfqmif4JFcHDPhOd
s6z1zdPDX0o9MCAY2SJ4jc7g+FRx/EWANxMClnp9BREvNytA/fp/7UAOqe0Mwmit
KbOVP8bVvOnVVG0KZ2upmQhNysjYGl0ij0MC39fOT/Y63t2g5r064uK7WIoW1BXh
3zTPpP3isPhQZX/27185ywvlByLRIA2rEwr6XWeyxXhppbNdd03QSCjdV/y0MnW7
QfK5N6EF4g==
=W6BU
-----END PGP SIGNATURE-----

Attachment: pgpsj_biaIWUI.pgp
Description: PGP signature


--- End Message ---

Reply to: