Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rusers.spec'], chrootPath='/var/lib/mock/f33-build-299491-56352/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rusers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/rusers-0.17-96.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rusers.spec'], chrootPath='/var/lib/mock/f33-build-299491-56352/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rusers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bmkmWX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-rusers-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/netkit-rusers-0.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-rusers-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/rstatd.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rstatd-jbj.patch):' Patch #0 (rstatd-jbj.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jbj --fuzz=0 patching file rpc.rstatd/rstat_proc.c + echo 'Patch #1 (netkit-rusers-0.15-numusers.patch):' Patch #1 (netkit-rusers-0.15-numusers.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .numusers --fuzz=0 patching file rpc.rusersd/rusers_proc.c Hunk #1 succeeded at 213 (offset 9 lines). + echo 'Patch #2 (rusers-0.17-2.4.patch):' Patch #2 (rusers-0.17-2.4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .2.4 --fuzz=0 patching file rpc.rstatd/rstat_proc.c + echo 'Patch #3 (rusers-0.17-includes.patch):' Patch #3 (rusers-0.17-includes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .includes --fuzz=0 patching file rup/err.c patching file rpc.rusersd/rusers_proc.c patching file rusers/rusers.c patching file rpc.rstatd/rstatd.c Patch #4 (rusers-0.17-truncate.patch): + echo 'Patch #4 (rusers-0.17-truncate.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .truncate --fuzz=0 patching file rpc.rusersd/rusers_proc.c Patch #5 (rusers-0.17-stats.patch): + echo 'Patch #5 (rusers-0.17-stats.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .stats --fuzz=0 patching file rpc.rstatd/rstat_proc.c Patch #6 (rusers-0.17-rstatd-no-static-buffer.patch): + echo 'Patch #6 (rusers-0.17-rstatd-no-static-buffer.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rstatd-no-static-buffer --fuzz=0 patching file rpc.rstatd/rstat_proc.c Hunk #2 succeeded at 467 (offset 18 lines). Patch #7 (rusers-0.17-strip.patch): + echo 'Patch #7 (rusers-0.17-strip.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strip --fuzz=0 patching file rup/Makefile patching file rpc.rusersd/Makefile patching file rusers/Makefile patching file rpc.rstatd/GNUmakefile + echo 'Patch #8 (rusers-0.17-rup.patch):' Patch #8 (rusers-0.17-rup.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rup --fuzz=0 patching file rup/rup.c Patch #9 (rusers-0.17-rup-timeout.patch): + echo 'Patch #9 (rusers-0.17-rup-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rup-timeout --fuzz=0 patching file rup/rup.c + echo 'Patch #10 (rusers-0.17-procps.patch):' Patch #10 (rusers-0.17-procps.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .procps --fuzz=0 patching file rpc.rstatd/GNUmakefile patching file rpc.rstatd/rstat_proc.c + echo 'Patch #11 (rusers-0.17-rup-stack.patch):' Patch #11 (rusers-0.17-rup-stack.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rup-stack --fuzz=0 patching file rup/rup.c Patch #12 (rusers-0.17-bigendian.patch): + echo 'Patch #12 (rusers-0.17-bigendian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bigendian --fuzz=0 patching file rpc.rstatd/rstat_proc.c Patch #13 (rusers-0.17-return.patch): + echo 'Patch #13 (rusers-0.17-return.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .return --fuzz=0 patching file rup/rup.c Patch #14 (rusers-0.17-procdiskstats.patch): + echo 'Patch #14 (rusers-0.17-procdiskstats.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .procdiskstats --fuzz=0 patching file rpc.rstatd/rstat_proc.c Patch #15 (rusers-0.17-rusersd-droppriv.patch): + echo 'Patch #15 (rusers-0.17-rusersd-droppriv.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dropprivs --fuzz=0 patching file rpc.rusersd/rusersd.c + echo 'Patch #16 (rusers-0.17-new-rpc-license.patch):' Patch #16 (rusers-0.17-new-rpc-license.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .licensefix --fuzz=0 patching file rpc.rstatd/rstat_proc.c + echo 'Patch #17 (rusers-0.17-manhelp.patch):' Patch #17 (rusers-0.17-manhelp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manhelp --fuzz=0 patching file rup/rup.c + echo 'Patch #18 (rusers-0.17-freerpc.patch):' Patch #18 (rusers-0.17-freerpc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .freerpc --fuzz=0 patching file rpc.rstatd/rstat_proc.c + echo 'Patch #19 (rstatd-man.patch):' Patch #19 (rstatd-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rstatd-man --fuzz=0 patching file rpc.rstatd/rpc.rstatd.8 + echo 'Patch #20 (rusers-0.17-license.patch):' Patch #20 (rusers-0.17-license.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .license --fuzz=0 patching file COPYING + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.geSnjX + umask 022 + cd /builddir/build/BUILD + cd netkit-rusers-0.17 + cat + make (cd rpc.rusersd && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rusers-0.17/rpc.rusersd' ln -s /usr/include/rpcsvc/rusers.x rusers.x rpcgen -h -o rusers.h rusers.x cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME rusersd.c -c rusersd.c: In function 'main': rusersd.c:81:47: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 81 | if (getsockname(0, (struct sockaddr *)&from, &fromlen) < 0) { | ^~~~~~~~ | | | int * In file included from rusersd.c:34: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ rusersd.c:88:3: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | daemon(0, 0); | ^~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME rusers_proc.c -c rusers_proc.c: In function 'rusers_service': rusers_proc.c:396:31: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 396 | (void)svc_sendreply(transp, (xdrproc_t) xdr_void, NULL); | ^ rusers_proc.c:423:33: warning: cast between incompatible function types from 'char * (*)(void)' to 'char * (*)(void *, struct svc_req *)' [-Wcast-function-type] 423 | local = (localproc_t) rusersproc_names_2; | ^ rusers_proc.c:443:33: warning: cast between incompatible function types from 'char * (*)(void)' to 'char * (*)(void *, struct svc_req *)' [-Wcast-function-type] 443 | local = (localproc_t) rusersproc_allnames_2; | ^ In file included from /usr/include/tirpc/rpc/rpc.h:63, from rusers_proc.c:39: rusers_proc.c:458:27: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 458 | if (!svc_getargs(transp, (xdrproc_t)xdr_argument, (char *)&argument)) { | ^ /usr/include/tirpc/rpc/svc.h:171:41: note: in definition of macro 'svc_getargs' 171 | (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) | ^~~~~ rusers_proc.c:467:28: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 467 | if (!svc_freeargs(transp, (xdrproc_t)xdr_argument, (char *)&argument)) { | ^ /usr/include/tirpc/rpc/svc.h:181:42: note: in definition of macro 'svc_freeargs' 181 | (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp)) | ^~~~~ rusers_proc.c: In function 'do_names_3.constprop.0': rusers_proc.c:161:6: warning: 'strstr' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] 161 | if (strstr(tty, "../")) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmp.h:29, from rusers_proc.c:35: /usr/include/bits/utmp.h:62:8: note: argument 'ut_line' declared here 62 | char ut_line[UT_LINESIZE] | ^~~~~~~ rusers_proc.c: In function 'do_names_2.constprop.0': rusers_proc.c:161:6: warning: 'strstr' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] 161 | if (strstr(tty, "../")) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmp.h:29, from rusers_proc.c:35: /usr/include/bits/utmp.h:62:8: note: argument 'ut_line' declared here 62 | char ut_line[UT_LINESIZE] | ^~~~~~~ rpcgen -c -C -o rusers_xdr.c rusers.x cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME rusers_xdr.c -c rusers_xdr.c: In function 'xdr_rusers_utmp': rusers_xdr.c:14:20: warning: unused variable 'buf' [-Wunused-variable] 14 | register int32_t *buf; | ^~~ rusers_xdr.c: In function 'xdr_utmp_array': rusers_xdr.c:34:20: warning: unused variable 'buf' [-Wunused-variable] 34 | register int32_t *buf; | ^~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME daemon.c -c /usr/include/unistd.h: In function 'daemon': daemon.c:60:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | if (!nochdir) chdir("/"); | ^~~~~~~~~~ cc -pie -Wl,-z,relro,-z,now -ltirpc rusersd.o rusers_proc.o rusers_xdr.o daemon.o -lsystemd -o rusersd make[1]: Leaving directory '/builddir/build/BUILD/netkit-rusers-0.17/rpc.rusersd' (cd rusers && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rusers-0.17/rusers' ln -s /usr/include/rpcsvc/rusers.x rusers.x rpcgen -h -o rusers.h rusers.x cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME rusers.c -c In file included from /usr/include/tirpc/rpc/rpc.h:49, from rusers.c:41: rusers.c: In function 'onehost': rusers.c:240:47: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 240 | if (clnt_call(rusers_clnt, RUSERSPROC_NAMES, (xdrproc_t)xdr_void, NULL, | ^ /usr/include/tirpc/rpc/clnt.h:166:38: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ rusers.c: In function 'allhosts': rusers.c:262:8: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 262 | (xdrproc_t) xdr_void, NULL, | ^ rpcgen -c -C -o rusers_xdr.c rusers.x cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME rusers_xdr.c -c rusers_xdr.c: In function 'xdr_rusers_utmp': rusers_xdr.c:14:20: warning: unused variable 'buf' [-Wunused-variable] 14 | register int32_t *buf; | ^~~ rusers_xdr.c: In function 'xdr_utmp_array': rusers_xdr.c:34:20: warning: unused variable 'buf' [-Wunused-variable] 34 | register int32_t *buf; | ^~~ cc -pie -Wl,-z,relro,-z,now -ltirpc rusers.o rusers_xdr.o -lsystemd -o rusers make[1]: Leaving directory '/builddir/build/BUILD/netkit-rusers-0.17/rusers' (cd rup && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rusers-0.17/rup' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -I. rup.c -c In file included from /usr/include/tirpc/rpc/rpc.h:49, from rup.c:43: rup.c: In function 'onehost': rup.c:259:9: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 259 | (xdrproc_t) xdr_void, NULL, | ^ /usr/include/tirpc/rpc/clnt.h:166:38: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ rup.c: In function 'allhosts': rup.c:317:8: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 317 | (xdrproc_t) xdr_void, NULL, | ^ ln -s /usr/include/rpcsvc/rstat.x rstat.x rpcgen -c -C -o rstat_xdr.c rstat.x rpcgen -h -o rstat.h rstat.x cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -I. rstat_xdr.c -c rstat_xdr.c: In function 'xdr_rstat_timeval': rstat_xdr.c:11:20: warning: unused variable 'buf' [-Wunused-variable] 11 | register int32_t *buf; | ^~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE -I. err.c -c cc -pie -Wl,-z,relro,-z,now -ltirpc rup.o rstat_xdr.o err.o -lsystemd -o rup make[1]: Leaving directory '/builddir/build/BUILD/netkit-rusers-0.17/rup' + make 'LIBS=-lselinux -lsystemd' -C rpc.rstatd make: Entering directory '/builddir/build/BUILD/netkit-rusers-0.17/rpc.rstatd' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE rstatd.c -c rstatd.c:46:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 46 | extern void rstat_service(); | ^~~~~~ rstatd.c:52:1: warning: no previous prototype for 'cleanup' [-Wmissing-prototypes] 52 | cleanup(int signo) | ^~~~~~~ rstatd.c: In function 'main': rstatd.c:80:47: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] 80 | if (getsockname(0, (struct sockaddr *)&from, &fromlen) < 0) { | ^~~~~~~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/tirpc/rpc/rpc.h:39, from rstatd.c:39: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ rstatd.c:87:3: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | daemon(0, 0); | ^~~~~~~~~~~~ At top level: rstatd.c:35:13: warning: 'rcsid' defined but not used [-Wunused-variable] 35 | static char rcsid[] = "$Id: rstatd.c,v 1.2 1999/02/10 19:27:53 jbj Exp $"; | ^~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE rstat_proc.c -c rstat_proc.c:313:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 313 | extern int errno; | ^~~~~~ rstat_proc.c: In function 'getdiskstat': rstat_proc.c:463:33: warning: right-hand operand of comma expression has no effect [-Wunused-value] 463 | active = xfer + rd_sectors, wr_sectors; | ^ rstat_proc.c: In function 'getstat': rstat_proc.c:489:7: warning: unused variable 'ndisks' [-Wunused-variable] 489 | int ndisks; | ^~~~~~ rstat_proc.c: In function 'rstat_service': rstat_proc.c:1085:31: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] 1085 | (void)svc_sendreply(transp, xdr_void, (char *)NULL); | ^~~~~~~~ | | | bool_t (*)(void) {aka int (*)(void)} In file included from /usr/include/tirpc/rpc/rpc.h:63, from rstat_proc.c:53: /usr/include/tirpc/rpc/svc.h:286:40: note: expected 'xdrproc_t' {aka 'int (*)(struct __rpc_xdr *, ...)'} but argument is of type 'bool_t (*)(void)' {aka 'int (*)(void)'} 286 | extern bool_t svc_sendreply(SVCXPRT *, xdrproc_t, void *); | ^~~~~~~~~ rstat_proc.c:1090:18: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 1090 | xdr_argument = (xdrproc_t)xdr_void; | ^ rstat_proc.c:1110:18: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 1110 | xdr_argument = (xdrproc_t)xdr_void; | ^ rstat_proc.c: At top level: rstat_proc.c:307:13: warning: 'setup' declared 'static' but never defined [-Wunused-function] 307 | static void setup(void); | ^~~~~ rstat_proc.c: In function 'updatestat': rstat_proc.c:832:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 832 | fgets(buf, sizeof buf, fh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rstat_proc.c:833:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 833 | fgets(buf, sizeof buf, fh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rstat_proc.c: In function 'getdiskstat': rstat_proc.c:424:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 424 | fgets(line, 2560, statfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ rstat_proc.c:425:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | fgets(line, 2560, statfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ At top level: rstat_proc.c:37:13: warning: 'rcsid' defined but not used [-Wunused-variable] 37 | static char rcsid[] = "$OpenBSD: rstat_proc.c,v 1.10 1998/07/10 08:06:10 deraadt Exp $"; | ^~~~~ ln -s /usr/include/rpcsvc/rstat.x rstat.x rpcgen -c -C -o rstat_xdr.c rstat.x rpcgen -h -o rstat.h rstat.x cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DGNU_LIBC -D_GNU_SOURCE rstat_xdr.c -c rstat_xdr.c: In function 'xdr_rstat_timeval': rstat_xdr.c:11:20: warning: unused variable 'buf' [-Wunused-variable] 11 | register int32_t *buf; | ^~~ cc -pie -Wl,-z,relro,-z,now -ltirpc rstatd.o rstat_proc.o rstat_xdr.o -lselinux -lsystemd -o rstatd make: Leaving directory '/builddir/build/BUILD/netkit-rusers-0.17/rpc.rstatd' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kbAdxW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64 + cd netkit-rusers-0.17 + mkdir -p /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/lib/systemd/system + make INSTALLROOT=/builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64 install (cd rpc.rusersd && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rusers-0.17/rpc.rusersd' install -m755 rusersd /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/sbin/rpc.rusersd install -m644 rpc.rusersd.8 /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/man/man8 ln -sf rpc.rusersd.8 /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/man/man8/rusersd.8 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rusers-0.17/rpc.rusersd' (cd rusers && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rusers-0.17/rusers' install -m755 rusers /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/bin install -m644 rusers.1 /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rusers-0.17/rusers' (cd rup && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rusers-0.17/rup' install -m755 rup /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/bin install -m644 rup.1 /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rusers-0.17/rup' + make INSTALLROOT=/builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64 install -C rpc.rstatd make: Entering directory '/builddir/build/BUILD/netkit-rusers-0.17/rpc.rstatd' install -m755 rstatd /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/sbin/rpc.rstatd install -m644 rpc.rstatd.8 /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/man/man8 ln -sf rpc.rstatd.8 /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/man/man8/rstatd.8 make: Leaving directory '/builddir/build/BUILD/netkit-rusers-0.17/rpc.rstatd' + install -m 0644 /builddir/build/SOURCES/rusersd.service /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/lib/systemd/system/rusersd.service + install -m 0644 /builddir/build/SOURCES/rstatd.service /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/lib/systemd/system/rstatd.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.17-96.fc33 --unique-debug-suffix -0.17-96.fc33.riscv64 --unique-debug-src-base rusers-0.17-96.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-rusers-0.17 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/bin/rup explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/bin/rusers explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/sbin/rpc.rstatd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/sbin/rpc.rusersd extracting debug info from /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/sbin/rpc.rusersd extracting debug info from /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/sbin/rpc.rstatd extracting debug info from /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/bin/rusers extracting debug info from /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/bin/rup original debug info size: 572kB, size after compression: 536kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 245 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rusers-0.17-96.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GFhm3V + umask 022 + cd /builddir/build/BUILD + cd netkit-rusers-0.17 + DOCDIR=/builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/doc/rusers + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/doc/rusers + cp -pr README /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/doc/rusers + cp -pr COPYING /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/doc/rusers + RPM_EC=0 ++ jobs -p + exit 0 Provides: rusers = 0.17-96.fc33 rusers(riscv-64) = 0.17-96.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libsystemd.so.0()(64bit) libtirpc.so.3()(64bit) libtirpc.so.3(TIRPC_0.3.0)(64bit) rtld(GNU_HASH) Processing files: rusers-server-0.17-96.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NN8nvW + umask 022 + cd /builddir/build/BUILD + cd netkit-rusers-0.17 + DOCDIR=/builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/doc/rusers-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/doc/rusers-server + cp -pr COPYING /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64/usr/share/doc/rusers-server + RPM_EC=0 ++ jobs -p + exit 0 Provides: rusers-server = 0.17-96.fc33 rusers-server(riscv-64) = 0.17-96.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd systemd-sysv Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libselinux.so.1()(64bit) libsystemd.so.0()(64bit) libtirpc.so.3()(64bit) libtirpc.so.3(TIRPC_0.3.0)(64bit) rtld(GNU_HASH) Processing files: rusers-debugsource-0.17-96.fc33.riscv64 Provides: rusers-debugsource = 0.17-96.fc33 rusers-debugsource(riscv-64) = 0.17-96.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rusers-debuginfo-0.17-96.fc33.riscv64 Provides: debuginfo(build-id) = 046677616db45aa012dc09240389692a62de785d debuginfo(build-id) = ded961d76761d732caa00c53be89ecc96f98d78f rusers-debuginfo = 0.17-96.fc33 rusers-debuginfo(riscv-64) = 0.17-96.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rusers-debugsource(riscv-64) = 0.17-96.fc33 Processing files: rusers-server-debuginfo-0.17-96.fc33.riscv64 Provides: debuginfo(build-id) = e7f5c4fff08597b8b0fdad6fb2217075a6f77958 debuginfo(build-id) = f5e6c287e89654e0cbdc37d0e04b4b3c9fd634c8 rusers-server-debuginfo = 0.17-96.fc33 rusers-server-debuginfo(riscv-64) = 0.17-96.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rusers-debugsource(riscv-64) = 0.17-96.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64 Wrote: /builddir/build/RPMS/rusers-server-0.17-96.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rusers-debuginfo-0.17-96.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rusers-server-debuginfo-0.17-96.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rusers-debugsource-0.17-96.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rusers-0.17-96.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UiOqFX + umask 022 + cd /builddir/build/BUILD + cd netkit-rusers-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rusers-0.17-96.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0