Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rdist.spec'], chrootPath='/var/lib/mock/infra9-infra-common-el9-build-169573-1028487/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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rdist.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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1643673600 Wrote: /builddir/build/SRPMS/rdist-6.1.5-76.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rdist.spec'], chrootPath='/var/lib/mock/infra9-infra-common-el9-build-169573-1028487/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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rdist.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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1643673600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qqkhtJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rdist-6.1.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/rdist-6.1.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rdist-6.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd rdist-6.1.5 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/rdist-v1.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/rdist-eu-license.txt . + cp /builddir/build/SOURCES/rdist-licensing-email.txt . Patch #15 (rdist-6.1.5-license-fix.patch): + echo 'Patch #15 (rdist-6.1.5-license-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .license-fix --fuzz=0 patching file build/buildinfo patching file build/os-type patching file build/runmake patching file config/config-data.h patching file config/config-def.h patching file config/config.h patching file config/Makefile patching file config/Makefile.real patching file config/mf.aix3 patching file config/mf.aix4 patching file config/mf.bsdi2 patching file config/mf.bsdi patching file config/mf.concen patching file config/mf.cxux patching file config/mf.dcosx patching file config/mf.dgux patching file config/mf.dynix patching file config/mf.dynixptx patching file config/mf.fpx4 patching file config/mf.freebsd2 patching file config/mf.ftx patching file config/mf.hpux10 patching file config/mf.hpux9 patching file config/mf.irix4 patching file config/mf.irix5 patching file config/mf.irix6 patching file config/mf.isc patching file config/mf.mipsos4 patching file config/mf.mipsos5 patching file config/mf.ncr patching file config/mf.nextstep2 patching file config/mf.nextstep3 patching file config/mf.osf1 patching file config/mf.pyrosx patching file config/mf.sppux patching file config/mf.stellix patching file config/mf.sunos4 patching file config/mf.sunos5 patching file config/mf.svr4 patching file config/mf.TEMPLATE patching file config/mf.tracebsd patching file config/mf.ultrix4 patching file config/mf.unicos patching file config/mf.xinu43 patching file config/os-aix3.h patching file config/os-aix4.h patching file config/os-bsdi2.h patching file config/os-bsdi.h patching file config/os-concen.h patching file config/os-cxux.h patching file config/os-dcosx.h patching file config/os-dgux.h patching file config/os-dynix.h patching file config/os-dynixptx.h patching file config/os-fpx4.h patching file config/os-freebsd2.h patching file config/os-ftx.h patching file config/os-hpux10.h patching file config/os-hpux9.h patching file config/os-irix4.h patching file config/os-irix5.h patching file config/os-irix6.h patching file config/os-isc.h patching file config/os-linux.h patching file config/os-mipsos4.h patching file config/os-mipsos5.h patching file config/os-ncr.h patching file config/os-nextstep2.h patching file config/os-nextstep3.h patching file config/os-osf1.h patching file config/os-pyrosx.h patching file config/os-sppux.h patching file config/os-stellix.h patching file config/os-sunos4.h patching file config/os-sunos5.h patching file config/os-svr4.h patching file config/os-TEMPLATE.h patching file config/os-tracebsd.h patching file config/os-ultrix4.h patching file config/os-unicos.h patching file config/os-xinu43.h patching file Copyright patching file dist/Makefile patching file dist/Makefile.real patching file dist/Makefile.var patching file doc/Makefile patching file doc/Makefile.real patching file doc/rdistd.man patching file doc/rdist.man patching file include/defs.h patching file include/filesys.h patching file include/Makefile patching file include/Makefile.real patching file include/pathnames.h patching file include/rdistpaths.h patching file include/version.h patching file Makefile patching file Makefile.local patching file mf/Makefile.base patching file mf/Makefile patching file mf/Makefile.var patching file src/child.c patching file src/client.c patching file src/common.c patching file src/distopt.c patching file src/docmd.c patching file src/expand.c patching file src/filesys.c patching file src/filesys-os.c patching file src/gram.y patching file src/hasmntopt.c patching file src/isexec.c patching file src/lookup.c patching file src/Makefile patching file src/Makefile.real patching file src/message.c patching file src/rdist.c patching file src/rdistd.c patching file src/regex.c patching file src/rshrcmd.c patching file src/server.c patching file src/setargs.c patching file src/signal.c patching file src/strcasecmp.c patching file support/Makefile + echo 'Patch #0 (rdist-6.1.5-linux.patch):' Patch #0 (rdist-6.1.5-linux.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .linux --fuzz=0 patching file config/os-linux.h patching file mf/Makefile.var + echo 'Patch #1 (rdist-6.1.5-links.patch):' Patch #1 (rdist-6.1.5-links.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .links --fuzz=0 patching file src/client.c patching file src/docmd.c patching file include/defs.h Patch #2 (rdist-6.1.5-oldpath.patch): + echo 'Patch #2 (rdist-6.1.5-oldpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .oldpath --fuzz=0 patching file config/config.h patching file doc/rdist.man patching file README + echo 'Patch #3 (rdist-6.1.5-hardlink.patch):' Patch #3 (rdist-6.1.5-hardlink.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hardlink --fuzz=0 patching file src/client.c + echo 'Patch #4 (rdist-6.1.5-bison.patch):' Patch #4 (rdist-6.1.5-bison.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bison --fuzz=0 patching file src/gram.y + echo 'Patch #5 (rdist-6.1.5-varargs.patch):' Patch #5 (rdist-6.1.5-varargs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .varargs --fuzz=0 patching file config/os-linux.h + echo 'Patch #6 (rdist-6.1.5-maxargs.patch):' Patch #6 (rdist-6.1.5-maxargs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .maxargs --fuzz=0 patching file src/setargs.c + echo 'Patch #7 (rdist-6.1.5-lfs.patch):' Patch #7 (rdist-6.1.5-lfs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lfs --fuzz=0 patching file src/client.c patching file src/server.c patching file include/defs.h patching file Makefile.local Patch #8 (rdist-6.1.5-cleanup.patch): + echo 'Patch #8 (rdist-6.1.5-cleanup.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cleanup --fuzz=0 patching file src/gram.y patching file src/rdist.c patching file src/client.c patching file src/child.c patching file src/docmd.c patching file src/distopt.c patching file src/expand.c patching file src/lookup.c patching file src/isexec.c patching file src/signal.c patching file src/rshrcmd.c patching file src/common.c patching file src/message.c patching file src/setargs.c patching file src/rdistd.c patching file src/server.c patching file src/filesys.c patching file src/filesys-os.c patching file src/strcasecmp.c patching file src/strtol.c patching file src/regex.c patching file include/defs.h + echo 'Patch #9 (rdist-6.1.5-svr4.patch):' Patch #9 (rdist-6.1.5-svr4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .svr4 --fuzz=0 patching file build/os-type + echo 'Patch #10 (rdist-6.1.5-ssh.patch):' Patch #10 (rdist-6.1.5-ssh.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ssh --fuzz=0 patching file src/rshrcmd.c + echo 'Patch #11 (rdist-6.1.5-mkstemp.patch):' Patch #11 (rdist-6.1.5-mkstemp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mkstemp --fuzz=0 patching file src/server.c + echo 'Patch #12 (rdist-6.1.5-stat64.patch):' Patch #12 (rdist-6.1.5-stat64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .stat64 --fuzz=0 patching file src/filesys.c patching file src/server.c + echo 'Patch #13 (rdist-6.1.5-re_args.patch):' Patch #13 (rdist-6.1.5-re_args.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .re_args --fuzz=0 patching file rdist/defs.h + echo 'Patch #14 (rdist-6.1.5-fix-msgsndnotify-loop.patch):' Patch #14 (rdist-6.1.5-fix-msgsndnotify-loop.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-msgsndnotify-loop --fuzz=0 patching file src/message.c + echo 'Patch #16 (rdist-6.1.5-fpic.patch):' Patch #16 (rdist-6.1.5-fpic.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pic --fuzz=0 patching file Makefile.local patching file rdist/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vvohbw + umask 022 + cd /builddir/build/BUILD + cd rdist-6.1.5 + make Making "all" in "src" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/src' make[2]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/src' bison -y -d gram.y gram.y:66.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 66 | %term ARROW 1 | ^~~~~ gram.y:67.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 67 | %term COLON 2 | ^~~~~ gram.y:68.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 68 | %term DCOLON 3 | ^~~~~ gram.y:69.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 69 | %term NAME 4 | ^~~~~ gram.y:70.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 70 | %term STRING 5 | ^~~~~ gram.y:71.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 71 | %term INSTALL 6 | ^~~~~ gram.y:72.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 72 | %term NOTIFY 7 | ^~~~~ gram.y:73.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 73 | %term EXCEPT 8 | ^~~~~ gram.y:74.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 74 | %term PATTERN 9 | ^~~~~ gram.y:75.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 75 | %term SPECIAL 10 | ^~~~~ gram.y:76.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 76 | %term CMDSPECIAL 11 | ^~~~~ gram.y:77.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 77 | %term OPTION 12 | ^~~~~ gram.y:86.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 86 | %type OPTION options | ^~~~~~ gram.y:87.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 87 | %type NAME STRING | ^~~~ gram.y:87.21-26: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 87 | %type NAME STRING | ^~~~~~ gram.y:88.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.24-29: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~ gram.y:88.31-36: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~ gram.y:88.38-44: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.46-52: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.54-63: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~~~~ mv -f y.tab.c gram.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o gram.o gram.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o rdist.o rdist.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o client.o client.c client.c: In function 'update': client.c:787:32: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 787 | n = remline(cp = respbuff, sizeof(respbuff), TRUE); | ^ cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o child.o child.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o docmd.o docmd.c docmd.c: In function 'makeconn': docmd.c:350:29: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 350 | (void) sprintf(buf, "%.*s -S", sizeof(buf)-5, path_rdistd); | ^~~~~~~~~ ~~~~~~~~~~~~~ | | | long unsigned int docmd.c:382:38: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 382 | proto_version = atoi(&respbuff[1]); | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:490, from /usr/include/unistd.h:25, from ../include/defs.h:40, from docmd.c:51: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o distopt.o distopt.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o expand.o expand.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o lookup.o lookup.c lookup.c: In function 'lookup': lookup.c:152:54: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 152 | (void) sprintf(ebuf, "%.*s redefined", | ^~~~~~~~~~~~~~~~ 153 | sizeof(ebuf) - | ~~~~~~~~~~~~~~ | | | long unsigned int 154 | sizeof(" redefined"), name); | ~~~~~~~~~~~~~~~~~~~~ lookup.c:162:38: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 162 | (void) sprintf(ebuf, "%.*s undefined", | ^~~~~~~~~~~~~~~~ 163 | sizeof(ebuf) - sizeof(" undefined"), name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o isexec.o isexec.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o signal.o signal.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o rshrcmd.o rshrcmd.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o common.o common.c common.c: In function 'runcommand': common.c:829:17: warning: missing sentinel in function call [-Wformat=] 829 | (void) execl(_PATH_BSHELL, "sh", "-c", cmd, 0); | ^ cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o message.o message.c message.c: In function 'msgprconfig': message.c:122:37: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 122 | (void) sprintf(buf, " %.*s=", | ^~~~~~~~~~~ 123 | sizeof(buf) - 7, msgfacility[i].mf_name); | ~~~~~~~~~~~~~~~ | | | long unsigned int message.c: In function 'fatalerr': message.c:801:45: warning: '%s' directive writing up to 32767 bytes into a region of size 32755 [-Wformat-overflow=] 801 | (void) sprintf(buf, "LOCAL ERROR: %s", msg); | ^~~~~~~~~~~~~~~~~ message.c:801:32: note: 'sprintf' output between 14 and 32781 bytes into a destination of size 32768 801 | (void) sprintf(buf, "LOCAL ERROR: %s", msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ message.c:799:45: warning: '%s' directive writing up to 32767 bytes into a region of size 32754 [-Wformat-overflow=] 799 | (void) sprintf(buf, "REMOTE ERROR: %s", msg); | ^~~~~~~~~~~~~~~~~~ message.c:799:32: note: 'sprintf' output between 15 and 32782 bytes into a destination of size 32768 799 | (void) sprintf(buf, "REMOTE ERROR: %s", msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o setargs.o setargs.c cc -o rdist gram.o rdist.o client.o child.o docmd.o distopt.o expand.o lookup.o isexec.o signal.o rshrcmd.o common.o message.o setargs.o cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o rdistd.o rdistd.c cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o server.o server.c server.c: In function 'recvit.constprop': server.c:1473:45: warning: '%s' directive writing up to 12 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 1473 | (void) sprintf(new, "%s/%s", target, tempname); | ^~~~~~~ ~~~~~~~~ server.c:1473:32: note: 'sprintf' output between 2 and 4109 bytes into a destination of size 4096 1473 | (void) sprintf(new, "%s/%s", target, tempname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o filesys.o filesys.c filesys.c: In function 'find_file': filesys.c:168:17: warning: the address of 'file' will always evaluate as 'true' [-Waddress] 168 | return((file && *file) ? file : (char *)NULL); | ^~~~ cc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o filesys-os.o filesys-os.c cc -o rdistd rdistd.o server.o filesys.o filesys-os.o common.o message.o setargs.o make[2]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/src' make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/src' Making "all" in "config" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/config' make[2]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/config' make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/config' Making "all" in "doc" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/doc' make[2]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/doc' make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/doc' Making "all" in "support" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/support' make[2]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/support' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/support' make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/support' Making "all" in "mf" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5/mf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/mf' + make -C rdist make: Entering directory '/builddir/build/BUILD/rdist-6.1.5/rdist' cc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -c -o docmd.o docmd.c docmd.c: In function 'doarrow': docmd.c:107:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 107 | printf("doarrow(%x, %s, %x)\n", (int)files, rhost, (int)cmds); | ^ docmd.c:107:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 107 | printf("doarrow(%x, %s, %x)\n", (int)files, rhost, (int)cmds); | ^ docmd.c:125:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 125 | fatal("cannot open %s\n", (int)tempfile, 0, 0); | ^ docmd.c:167:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 167 | (int)ihead->pathname, 0, 0); | ^ docmd.c: In function 'okname': docmd.c:301:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 301 | error("invalid user name %s\n", (int)name, 0, 0); | ^ docmd.c: In function 'dodcolon': docmd.c:329:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 329 | error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); | ^ docmd.c:329:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 329 | error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); | ^ docmd.c:341:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 341 | error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); | ^ docmd.c:341:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 341 | error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); | ^ docmd.c: In function 'cmptime': docmd.c:399:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 399 | error("%s: %s\n", (int)name, (int)strerror(errno), 0); | ^ docmd.c:399:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 399 | error("%s: %s\n", (int)name, (int)strerror(errno), 0); | ^ docmd.c:412:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 412 | error("%s: not a plain file\n", (int)name, 0, 0); | ^ docmd.c:417:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 417 | logmsg(tfp, "new: %s\n", (int)name, 0, 0); | ^ docmd.c: In function 'rcmptime': docmd.c:429:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 429 | printf("rcmptime(%x)\n", (int)st); | ^ docmd.c:432:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 432 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ docmd.c:432:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 432 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ docmd.c:441:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 441 | error("%s/%s: Name too long\n", (int)target, (int)dp->d_name, 0); | ^ docmd.c:441:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 441 | error("%s/%s: Name too long\n", (int)target, (int)dp->d_name, 0); | ^ docmd.c: In function 'notify': docmd.c:480:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 480 | error("%s: %s\n", (int)file, (int)strerror(errno), 0); | ^ docmd.c:480:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 480 | error("%s: %s\n", (int)file, (int)strerror(errno), 0); | ^ docmd.c:484:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 484 | error("%s: %s\n", (int)file, (int)strerror(errno), 0); | ^ docmd.c:484:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 484 | error("%s: %s\n", (int)file, (int)strerror(errno), 0); | ^ docmd.c:498:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 498 | error("notify: \"%s\" failed\n", (int)_PATH_SENDMAIL, 0, 0); | ^ docmd.c: In function 'except': docmd.c:566:25: warning: implicit declaration of function 're_comp'; did you mean 'regcomp'? [-Wimplicit-function-declaration] 566 | re_comp(nl->n_name); | ^~~~~~~ | regcomp docmd.c:567:29: warning: implicit declaration of function 're_exec'; did you mean 'regexec'? [-Wimplicit-function-declaration] 567 | if (re_exec(file) > 0) | ^~~~~~~ | regexec cc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -c -o expand.o expand.c expand.c: In function 'expand': expand.c:79:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 79 | printf("expand(%x, %d)\nlist = ", (int)list, wh); | ^ expand.c: In function 'exptilde': expand.c:613:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 613 | error("%s: unknown user name\n", (int)file, 0, 0); | ^ cc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -c -o lookup.o lookup.c lookup.c: In function 'lookup': lookup.c:124:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 124 | printf("lookup(%s, %d, %x)\n", name, action, (int)value); | ^ cc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -c -o main.o main.c cc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -c -o server.o server.c server.c: In function 'server': server.c:193:65: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 193 | error("server: unknown command '%s'\n", (int)cp, 0, 0); | ^ server.c: In function 'sendf': server.c:291:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 291 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ server.c:291:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 291 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ server.c:303:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | (int)target, stb.st_uid, 0); | ^ server.c:310:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 310 | (int)target, stb.st_gid, 0); | ^ server.c:316:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 316 | logmsg(lfp, "need to install: %s\n", (int)target, 0, 0); | ^ server.c:319:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 319 | logmsg(lfp, "installing: %s\n", (int)target, 0, 0); | ^ server.c:326:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 326 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ server.c:326:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 326 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ server.c:349:65: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 349 | error("%s/%s: Name too long\n", (int)target, | ^ server.c:350:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 350 | (int)dp->d_name, 0); | ^ server.c:389:48: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__off64_t' {aka 'long int'} [-Wformat=] 389 | (void) sprintf(buf, "K%o %o %lld %ld %s %s %s\n", opts, | ~~~^ | | | long long int | %ld 390 | stb.st_mode & 07777, stb.st_size, stb.st_mtime, | ~~~~~~~~~~~ | | | __off64_t {aka long int} server.c:407:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 407 | error("%s: not a file or directory\n", (int)target, 0, 0); | ^ server.c:413:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 413 | logmsg(lfp, "need to update: %s\n", (int)target, 0, 0); | ^ server.c:416:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 416 | logmsg(lfp, "updating: %s\n", (int)target, 0, 0); | ^ server.c:439:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 439 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ server.c:439:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 439 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ server.c:442:40: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__off64_t' {aka 'long int'} [-Wformat=] 442 | (void) sprintf(buf, "R%o %o %lld %ld %s %s %s\n", opts, | ~~~^ | | | long long int | %ld 443 | stb.st_mode & 07777, stb.st_size, stb.st_mtime, | ~~~~~~~~~~~ | | | __off64_t {aka long int} server.c:464:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 464 | error("%s: file changed size\n", (int)target, 0, 0); | ^ server.c:477:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 477 | logmsg(lfp, "special \"%s\"\n", (int)sc->sc_name, 0, 0); | ^ server.c: In function 'update': server.c:528:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 528 | printf("update(%s, %x, %x)\n", rname, opts, (int)stp); | ^ server.c:566:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 566 | logmsg(lfp, "update: note: %s\n", (int)s, 0, 0); | ^ server.c:571:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 571 | error("update: unexpected response '%s'\n", (int)s, 0, 0); | ^ server.c:602:76: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 602 | logmsg(lfp, "Warning: %s: remote copy is newer\n", (int)target, 0, 0); | ^ server.c: In function 'query': server.c:628:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 628 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:628:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 628 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:628:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 628 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:635:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__off64_t' {aka 'long int'} [-Wformat=] 635 | (void) sprintf(buf, "Y%lld %ld\n", stb.st_size, stb.st_mtime); | ~~~^ ~~~~~~~~~~~ | | | | | __off64_t {aka long int} | long long int | %ld server.c:645:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 645 | error("%s: not a file or directory\n", (int)name, 0, 0); | ^ server.c: In function 'recvf': server.c:712:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 712 | (int)host, (int)target, 0); | ^ server.c:712:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 712 | (int)host, (int)target, 0); | ^ server.c:746:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 746 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:746:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 746 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:746:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 746 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:841:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 841 | error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:841:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 841 | error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:841:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 841 | error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:853:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 853 | error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:853:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 853 | error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:853:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 853 | error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:885:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 885 | note("%s:utimes failed %s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:885:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 885 | note("%s:utimes failed %s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:885:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 885 | note("%s:utimes failed %s: %s\n", (int)host, (int)new, (int)strerror(errno)); | ^ server.c:894:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 894 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:894:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 894 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:894:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 894 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:654:35: warning: variable 'olderrno' set but not used [-Wunused-but-set-variable] 654 | int f, mode, opts, wrerr, olderrno; | ^~~~~~~~ server.c: In function 'hardlink': server.c:939:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 939 | error("%s:%s: not a regular file\n", (int)host, (int)target, 0); | ^ server.c:939:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 939 | error("%s:%s: not a regular file\n", (int)host, (int)target, 0); | ^ server.c:946:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 946 | (int)host, (int)target, (int)strerror(errno)); | ^ server.c:946:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 946 | (int)host, (int)target, (int)strerror(errno)); | ^ server.c:946:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 946 | (int)host, (int)target, (int)strerror(errno)); | ^ server.c:951:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 951 | (int)host, (int)target, (int)strerror(errno)); | ^ server.c:951:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 951 | (int)host, (int)target, (int)strerror(errno)); | ^ server.c:951:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 951 | (int)host, (int)target, (int)strerror(errno)); | ^ server.c:956:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 956 | (int)host, (int)target, (int)oldname); | ^ server.c:956:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 956 | (int)host, (int)target, (int)oldname); | ^ server.c:956:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 956 | (int)host, (int)target, (int)oldname); | ^ server.c: In function 'chog': server.c:1006:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1006 | (int)host, (int)owner, 0); | ^ server.c:1006:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1006 | (int)host, (int)owner, 0); | ^ server.c:1025:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1025 | note("%s:%s: unknown group", (int)host, (int)group, 0); | ^ server.c:1025:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1025 | note("%s:%s: unknown group", (int)host, (int)group, 0); | ^ server.c:1045:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1045 | (int)host, (int)file, (int)strerror(errno)); | ^ server.c:1045:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1045 | (int)host, (int)file, (int)strerror(errno)); | ^ server.c:1045:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1045 | (int)host, (int)file, (int)strerror(errno)); | ^ server.c: In function 'rmchk': server.c:1102:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1102 | logmsg(lfp, "%s\n", (int)s, 0, 0); | ^ server.c:1126:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1126 | error("rmchk: unexpected response '%s'\n", (int)buf, 0, 0); | ^ server.c: In function 'clean': server.c:1152:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1152 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1152:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1152 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1152:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1152 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1164:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1164 | (int)host, (int)target, (int)dp->d_name); | ^ server.c:1164:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1164 | (int)host, (int)target, (int)dp->d_name); | ^ server.c:1164:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1164 | (int)host, (int)target, (int)dp->d_name); | ^ server.c:1174:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1174 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1174:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1174 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1174:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1174 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c: In function 'removeit': server.c:1227:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1227 | error("%s:%s: not a plain file\n", (int)host, (int)target, 0); | ^ server.c:1227:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1227 | error("%s:%s: not a plain file\n", (int)host, (int)target, 0); | ^ server.c:1241:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1241 | (int)host, (int)target, (int)dp->d_name); | ^ server.c:1241:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1241 | (int)host, (int)target, (int)dp->d_name); | ^ server.c:1241:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1241 | (int)host, (int)target, (int)dp->d_name); | ^ server.c:1251:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1251 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1251:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1251 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1251:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1251 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1261:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1261 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1261:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1261 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c:1261:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1261 | error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); | ^ server.c: In function 'dospecial': server.c:1282:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1282 | error("%s\n", (int)strerror(errno), 0, 0); | ^ server.c:1299:17: warning: missing sentinel in function call [-Wformat=] 1299 | execl(_PATH_BSHELL, "sh", "-c", cmd, 0); | ^~~~~ server.c: In function 'response': server.c:1423:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1423 | logmsg(lfp, "%s\n", (int)s, 0, 0); | ^ server.c:1429:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1429 | logmsg(lfp, "Note: %s\n", (int)s, 0, 0); | ^ server.c: In function 'removeit': server.c:1267:37: warning: '%s' directive writing up to 8191 bytes into a region of size 8183 [-Wformat-overflow=] 1267 | (void) sprintf(cp, "removed %s\n", target); | ^~ ~~~~~~ server.c:1267:16: note: 'sprintf' output between 10 and 8201 bytes into a destination of size 8191 1267 | (void) sprintf(cp, "removed %s\n", target); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c: In function 'sendf': server.c:428:50: warning: '%s' directive writing up to 8191 bytes into a region of size between 8179 and 8189 [-Wformat-overflow=] 428 | (void) sprintf(buf, "k%o %s/%s %s\n", opts, | ^~ server.c:428:32: note: 'sprintf' output 7 or more bytes (assuming 16389) into a destination of size 8192 428 | (void) sprintf(buf, "k%o %s/%s %s\n", opts, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 429 | lp->target, lp->pathname, rname); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:425:50: warning: '%s' directive writing up to 8191 bytes into a region of size between 8179 and 8189 [-Wformat-overflow=] 425 | (void) sprintf(buf, "k%o %s %s\n", opts, | ^~ server.c:425:32: note: 'sprintf' output 6 or more bytes (assuming 8197) into a destination of size 8192 425 | (void) sprintf(buf, "k%o %s %s\n", opts, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 426 | lp->pathname, rname); | ~~~~~~~~~~~~~~~~~~~~ server.c:380:58: warning: '%s' directive writing up to 8191 bytes into a region of size between 8179 and 8189 [-Wformat-overflow=] 380 | (void) sprintf(buf, "k%o %s/%s %s\n", opts, | ^~ server.c:380:40: note: 'sprintf' output 7 or more bytes (assuming 16389) into a destination of size 8192 380 | (void) sprintf(buf, "k%o %s/%s %s\n", opts, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 381 | lp->target, lp->pathname, rname); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:377:58: warning: '%s' directive writing up to 8191 bytes into a region of size between 8179 and 8189 [-Wformat-overflow=] 377 | (void) sprintf(buf, "k%o %s %s\n", opts, | ^~ server.c:377:40: note: 'sprintf' output 6 or more bytes (assuming 8197) into a destination of size 8192 377 | (void) sprintf(buf, "k%o %s %s\n", opts, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 378 | lp->pathname, rname); | ~~~~~~~~~~~~~~~~~~~~ server.c:480:44: warning: '%s' directive writing up to 8191 bytes into a region of size 8186 [-Wformat-overflow=] 480 | (void) sprintf(buf, "SFILE=%s;%s\n", target, sc->sc_name); | ^~ ~~~~~~ server.c:480:24: note: 'sprintf' output 9 or more bytes (assuming 8200) into a destination of size 8192 480 | (void) sprintf(buf, "SFILE=%s;%s\n", target, sc->sc_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c: In function 'clean': server.c:1191:61: warning: '%s' directive writing up to 8191 bytes into a region of size 8175 [-Wformat-overflow=] 1191 | (void) sprintf(cp, "need to remove: %s\n", target); | ^~ ~~~~~~ server.c:1191:32: note: 'sprintf' output between 18 and 8209 bytes into a destination of size 8191 1191 | (void) sprintf(cp, "need to remove: %s\n", target); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c: In function 'recvf': server.c:761:43: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 761 | (void) sprintf(new, "%s/%s", target, tempname); | ^ server.c:761:24: note: 'sprintf' output 2 or more bytes (assuming 8193) into a destination of size 8192 761 | (void) sprintf(new, "%s/%s", target, tempname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:900:50: warning: '%s' directive writing up to 8191 bytes into a region of size 8183 [-Wformat-overflow=] 900 | (void) sprintf(buf + 1, "updated %s\n", target); | ^~ ~~~~~~ server.c:900:24: note: 'sprintf' output between 10 and 8201 bytes into a destination of size 8191 900 | (void) sprintf(buf + 1, "updated %s\n", target); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:871:66: warning: '%s' directive writing up to 8191 bytes into a region of size 8175 [-Wformat-overflow=] 871 | (void) sprintf(buf + 1, "need to update: %s\n",target); | ^~ ~~~~~~ server.c:871:32: note: 'sprintf' output between 18 and 8209 bytes into a destination of size 8191 871 | (void) sprintf(buf + 1, "need to update: %s\n",target); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:734:44: warning: ': Warning: remote mode ' directive writing 23 bytes into a region of size between 0 and 8191 [-Wformat-overflow=] 734 | "%s: Warning: remote mode %o != local mode %o\n", | ^~~~~~~~~~~~~~~~~~~~~~~ server.c:734:41: note: directive argument in the range [0, 4095] 734 | "%s: Warning: remote mode %o != local mode %o\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:734:41: note: using the range [0, 4294967295] for directive argument server.c:733:40: note: 'sprintf' output between 42 and 8246 bytes into a destination of size 8191 733 | (void) sprintf(buf + 1, | ^~~~~~~~~~~~~~~~ 734 | "%s: Warning: remote mode %o != local mode %o\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 735 | target, stb.st_mode & 07777, mode); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yacc gram.y mv -f y.tab.c gram.c cc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -c -o gram.o gram.c cc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -c -o rcmd.o rcmd.c rcmd.c: In function 'rcmd': rcmd.c:59:29: warning: passing argument 1 of 'wait' from incompatible pointer type [-Wincompatible-pointer-types] 59 | (void) wait((union wait *) 0); | ^~~~~~~~~~~~~~~~ | | | union wait * In file included from rcmd.c:6: /usr/include/sys/wait.h:88:27: note: expected 'int *' but argument is of type 'union wait *' 88 | extern __pid_t wait (int *__stat_loc); | ~~~~~^~~~~~~~~~ cc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -o rdist docmd.o expand.o lookup.o main.o server.o gram.o rcmd.o rm gram.c make: Leaving directory '/builddir/build/BUILD/rdist-6.1.5/rdist' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9cg37Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le + cd rdist-6.1.5 + mkdir -p /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/bin + mkdir -p /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/man/man1 /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/man/man8 + install -m755 src/rdist /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/bin + install -m755 rdist/rdist /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/bin/oldrdist + install -m755 src/rdistd /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/sbin + ln -sf ../sbin/rdistd /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/bin/rdistd + install -m644 doc/rdist.man /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/man/man1/rdist.1 + install -m644 doc/rdistd.man /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/man/man8/rdistd.8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 6.1.5-76.el9 --unique-debug-suffix -6.1.5-76.el9.ppc64le --unique-debug-src-base rdist-6.1.5-76.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/rdist-6.1.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/bin/oldrdist explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/sbin/rdistd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/bin/rdist extracting debug info from /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/bin/oldrdist extracting debug info from /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/sbin/rdistd extracting debug info from /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/bin/rdist original debug info size: 500kB, size after compression: 448kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. cpio: rdist/y.tab.c: Cannot stat: No such file or directory cpio: src/y.tab.c: Cannot stat: No such file or directory 669 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: rdist-6.1.5-76.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xkVGpC + umask 022 + cd /builddir/build/BUILD + cd rdist-6.1.5 + DOCDIR=/builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/doc/rdist + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/doc/rdist + cp -pr README /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/doc/rdist + cp -pr rdist-eu-license.txt /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/doc/rdist + cp -pr rdist-licensing-email.txt /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le/usr/share/doc/rdist + RPM_EC=0 ++ jobs -p + exit 0 Provides: rdist = 1:6.1.5-76.el9 rdist(ppc-64) = 1:6.1.5-76.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: rdist-debugsource-6.1.5-76.el9.ppc64le Provides: rdist-debugsource = 1:6.1.5-76.el9 rdist-debugsource(ppc-64) = 1:6.1.5-76.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rdist-debuginfo-6.1.5-76.el9.ppc64le Provides: debuginfo(build-id) = 92b6e951d6e38355d16e68086ec818d295e1f64a debuginfo(build-id) = b698f54f95f0acaff57df27422ae745cbd361dab debuginfo(build-id) = dd534abfb8c80d373adfeb521627987ef3319b5f rdist-debuginfo = 1:6.1.5-76.el9 rdist-debuginfo(ppc-64) = 1:6.1.5-76.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rdist-debugsource(ppc-64) = 1:6.1.5-76.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le Wrote: /builddir/build/RPMS/rdist-6.1.5-76.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/rdist-debugsource-6.1.5-76.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/rdist-debuginfo-6.1.5-76.el9.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GTyzf0 + umask 022 + cd /builddir/build/BUILD + cd rdist-6.1.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rdist-6.1.5-76.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0