Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rdist.spec'], False, '/srv/build/3/workerI/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rdist.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rdist-6.1.5-61.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rdist.spec'], False, '/srv/build/3/workerI/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rdist.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Aj2sPn + 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 -xf - + 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 -xf - + 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/cat /builddir/build/SOURCES/rdist-6.1.5-license-fix.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-linux.patch + /usr/bin/patch -p1 -b --suffix .linux --fuzz=0 patching file config/os-linux.h patching file mf/Makefile.var Patch #1 (rdist-6.1.5-links.patch): + echo 'Patch #1 (rdist-6.1.5-links.patch):' + /usr/bin/cat /builddir/build/SOURCES/rdist-6.1.5-links.patch + /usr/bin/patch -p1 -b --suffix .links --fuzz=0 patching file src/client.c patching file src/docmd.c patching file include/defs.h + echo 'Patch #2 (rdist-6.1.5-oldpath.patch):' Patch #2 (rdist-6.1.5-oldpath.patch): + /usr/bin/cat /builddir/build/SOURCES/rdist-6.1.5-oldpath.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-hardlink.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-bison.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-varargs.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-maxargs.patch + /usr/bin/patch -p1 -b --suffix .maxargs --fuzz=0 patching file src/setargs.c Patch #7 (rdist-6.1.5-lfs.patch): + echo 'Patch #7 (rdist-6.1.5-lfs.patch):' + /usr/bin/cat /builddir/build/SOURCES/rdist-6.1.5-lfs.patch + /usr/bin/patch -p1 -b --suffix .lfs --fuzz=0 patching file src/client.c patching file src/server.c patching file include/defs.h + echo 'Patch #8 (rdist-6.1.5-cleanup.patch):' Patch #8 (rdist-6.1.5-cleanup.patch): + /usr/bin/cat /builddir/build/SOURCES/rdist-6.1.5-cleanup.patch + /usr/bin/patch -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 Patch #9 (rdist-6.1.5-svr4.patch): + echo 'Patch #9 (rdist-6.1.5-svr4.patch):' + /usr/bin/cat /builddir/build/SOURCES/rdist-6.1.5-svr4.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-ssh.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-mkstemp.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-stat64.patch + /usr/bin/patch -p1 -b --suffix .stat64 --fuzz=0 patching file src/filesys.c patching file src/server.c Patch #13 (rdist-6.1.5-re_args.patch): + echo 'Patch #13 (rdist-6.1.5-re_args.patch):' + /usr/bin/cat /builddir/build/SOURCES/rdist-6.1.5-re_args.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/rdist-6.1.5-fix-msgsndnotify-loop.patch + /usr/bin/patch -p1 -b --suffix .fix-msgsndnotify-loop --fuzz=0 patching file src/message.c + sed -i '/CFLAGS[ \t]*=/d' mf/Makefile.base mf/Makefile.base.license-fix mf/Makefile.license-fix mf/Makefile.var mf/Makefile.var.license-fix mf/Makefile.var.linux rdist/Makefile + sed -i '/OPT[ \t]*=/d' mf/Makefile.base mf/Makefile.base.license-fix mf/Makefile.license-fix mf/Makefile.var mf/Makefile.var.license-fix mf/Makefile.var.linux + sed -i 's/CFLAGS[ \t]*=/CFLAGS +=/' src/Makefile.real + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VJnotw + umask 022 + cd /builddir/build/BUILD + cd rdist-6.1.5 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + 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 mv -f y.tab.c gram.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o gram.o gram.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o rdist.o rdist.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o client.o client.c client.c: In function 'update': client.c:787:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] n = remline(cp = respbuff, sizeof(respbuff), TRUE); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o child.o child.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o docmd.o docmd.c docmd.c: In function 'makeconn': docmd.c:350:2: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) sprintf(buf, "%.*s -S", sizeof(buf)-5, path_rdistd); ^ docmd.c:382:3: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] proto_version = atoi(&respbuff[1]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/unistd.h:25, from ../include/defs.h:40, from docmd.c:51: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'u_char *' __NTH (atoi (const char *__nptr)) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o distopt.o distopt.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o expand.o expand.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o lookup.o lookup.c lookup.c: In function 'lookup': lookup.c:154:13: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sizeof(" redefined"), name); ^ lookup.c:163:11: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sizeof(ebuf) - sizeof(" undefined"), name); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o isexec.o isexec.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o signal.o signal.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o rshrcmd.o rshrcmd.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o common.o common.c common.c: In function 'runcommand': common.c:829:3: warning: missing sentinel in function call [-Wformat=] (void) execl(_PATH_BSHELL, "sh", "-c", cmd, 0); ^ common.c:825:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(fd[PIPE_WRITE]); ^ common.c:826:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(fd[PIPE_WRITE]); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o message.o message.c message.c: In function 'msgprconfig': message.c:123:11: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sizeof(buf) - 7, msgfacility[i].mf_name); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -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 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o rdistd.o rdistd.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o server.o server.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -I. -I../include -I../config -c -o filesys.o filesys.c filesys.c: In function 'find_file': filesys.c:168:10: warning: the address of 'file' will always evaluate as 'true' [-Waddress] return((file && *file) ? file : (char *)NULL); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DOS_H=\"os-linux.h\" -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o docmd.o docmd.c docmd.c: In function 'doarrow': docmd.c:107:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("doarrow(%x, %s, %x)\n", (int)files, rhost, (int)cmds); ^ docmd.c:107:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("doarrow(%x, %s, %x)\n", (int)files, rhost, (int)cmds); ^ docmd.c:125:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fatal("cannot open %s\n", (int)tempfile, 0, 0); ^ docmd.c:167:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ihead->pathname, 0, 0); ^ docmd.c: In function 'okname': docmd.c:301:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("invalid user name %s\n", (int)name, 0, 0); ^ docmd.c: In function 'dodcolon': docmd.c:329:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); ^ docmd.c:329:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); ^ docmd.c:341:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); ^ docmd.c:341:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); ^ docmd.c: In function 'cmptime': docmd.c:399:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)name, (int)strerror(errno), 0); ^ docmd.c:399:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)name, (int)strerror(errno), 0); ^ docmd.c:412:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: not a plain file\n", (int)name, 0, 0); ^ docmd.c:417:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(tfp, "new: %s\n", (int)name, 0, 0); ^ docmd.c: In function 'rcmptime': docmd.c:429:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("rcmptime(%x)\n", (int)st); ^ docmd.c:432:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)target, (int)strerror(errno), 0); ^ docmd.c:432:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)target, (int)strerror(errno), 0); ^ docmd.c:441:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s/%s: Name too long\n", (int)target, (int)dp->d_name, 0); ^ docmd.c:441:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s/%s: Name too long\n", (int)target, (int)dp->d_name, 0); ^ docmd.c: In function 'notify': docmd.c:480:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)file, (int)strerror(errno), 0); ^ docmd.c:480:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)file, (int)strerror(errno), 0); ^ docmd.c:484:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)file, (int)strerror(errno), 0); ^ docmd.c:484:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)file, (int)strerror(errno), 0); ^ docmd.c:498:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("notify: \"%s\" failed\n", (int)_PATH_SENDMAIL, 0, 0); ^ docmd.c: In function 'except': docmd.c:566:4: warning: implicit declaration of function 're_comp' [-Wimplicit-function-declaration] re_comp(nl->n_name); ^ docmd.c:567:4: warning: implicit declaration of function 're_exec' [-Wimplicit-function-declaration] if (re_exec(file) > 0) ^ docmd.c: In function 'makeconn': docmd.c:226:10: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(userid, 0); ^ docmd.c:228:10: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(0, userid); ^ docmd.c:249:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, cp, 1); ^ docmd.c:251:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, cp, 1); ^ docmd.c:252:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, "\n", 1); ^ docmd.c: In function 'closeconn': docmd.c:269:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, "\2\n", 2); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o expand.o expand.c expand.c: In function 'expand': expand.c:79:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("expand(%x, %d)\nlist = ", (int)list, wh); ^ expand.c: In function 'exptilde': expand.c:613:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: unknown user name\n", (int)file, 0, 0); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o lookup.o lookup.c lookup.c: In function 'lookup': lookup.c:124:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("lookup(%s, %d, %x)\n", name, action, (int)value); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o main.o main.c main.c: In function 'main': main.c:183:10: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(0, userid); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o server.o server.c server.c: In function 'server': server.c:193:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("server: unknown command '%s'\n", (int)cp, 0, 0); ^ server.c: In function 'sendf': server.c:291:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)target, (int)strerror(errno), 0); ^ server.c:291:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)target, (int)strerror(errno), 0); ^ server.c:303:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)target, stb.st_uid, 0); ^ server.c:310:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)target, stb.st_gid, 0); ^ server.c:316:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "need to install: %s\n", (int)target, 0, 0); ^ server.c:319:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "installing: %s\n", (int)target, 0, 0); ^ server.c:326:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)target, (int)strerror(errno), 0); ^ server.c:326:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)target, (int)strerror(errno), 0); ^ server.c:349:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s/%s: Name too long\n", (int)target, ^ server.c:350:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)dp->d_name, 0); ^ server.c:391:4: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__off_t' [-Wformat=] protoname(), protogroup(), rname); ^ server.c:407:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: not a file or directory\n", (int)target, 0, 0); ^ server.c:413:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "need to update: %s\n", (int)target, 0, 0); ^ server.c:416:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "updating: %s\n", (int)target, 0, 0); ^ server.c:439:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)target, (int)strerror(errno), 0); ^ server.c:439:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: %s\n", (int)target, (int)strerror(errno), 0); ^ server.c:444:3: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__off_t' [-Wformat=] protoname(), protogroup(), rname); ^ server.c:464:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: file changed size\n", (int)target, 0, 0); ^ server.c:477:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "special \"%s\"\n", (int)sc->sc_name, 0, 0); ^ server.c: In function 'update': server.c:528:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("update(%s, %x, %x)\n", rname, opts, (int)stp); ^ server.c:566:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "update: note: %s\n", (int)s, 0, 0); ^ server.c:571:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("update: unexpected response '%s'\n", (int)s, 0, 0); ^ server.c:602:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "Warning: %s: remote copy is newer\n", (int)target, 0, 0); ^ server.c: In function 'query': server.c:628:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:628:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:628:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:635:3: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__off_t' [-Wformat=] (void) sprintf(buf, "Y%lld %ld\n", stb.st_size, stb.st_mtime); ^ server.c:645:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s: not a file or directory\n", (int)name, 0, 0); ^ server.c: In function 'recvf': server.c:712:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, 0); ^ server.c:712:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, 0); ^ server.c:746:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:746:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:746:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:841:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); ^ server.c:841:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); ^ server.c:841:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); ^ server.c:853:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); ^ server.c:853:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] error("%s:%s: %s\n", (int)host, (int)new, (int)strerror(errno)); ^ server.c:885:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] note("%s:utimes failed %s: %s\n", (int)host, (int)new, (int)strerror(errno)); ^ server.c:885:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] note("%s:utimes failed %s: %s\n", (int)host, (int)new, (int)strerror(errno)); ^ server.c:885:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] note("%s:utimes failed %s: %s\n", (int)host, (int)new, (int)strerror(errno)); ^ server.c:894:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:894:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:894:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:654:28: warning: variable 'olderrno' set but not used [-Wunused-but-set-variable] int f, mode, opts, wrerr, olderrno; ^ server.c: In function 'hardlink': server.c:939:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: not a regular file\n", (int)host, (int)target, 0); ^ server.c:939:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: not a regular file\n", (int)host, (int)target, 0); ^ server.c:946:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)strerror(errno)); ^ server.c:946:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)strerror(errno)); ^ server.c:946:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)strerror(errno)); ^ server.c:951:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)strerror(errno)); ^ server.c:951:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)strerror(errno)); ^ server.c:951:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)strerror(errno)); ^ server.c:956:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)oldname); ^ server.c:956:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)oldname); ^ server.c:956:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)oldname); ^ server.c: In function 'chog': server.c:1006:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)owner, 0); ^ server.c:1006:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)owner, 0); ^ server.c:1025:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] note("%s:%s: unknown group", (int)host, (int)group, 0); ^ server.c:1025:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] note("%s:%s: unknown group", (int)host, (int)group, 0); ^ server.c:1045:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)file, (int)strerror(errno)); ^ server.c:1045:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)file, (int)strerror(errno)); ^ server.c:1045:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)file, (int)strerror(errno)); ^ server.c: In function 'rmchk': server.c:1102:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "%s\n", (int)s, 0, 0); ^ server.c:1126:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("rmchk: unexpected response '%s'\n", (int)buf, 0, 0); ^ server.c: In function 'clean': server.c:1152:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1152:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1152:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1164:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)dp->d_name); ^ server.c:1164:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)dp->d_name); ^ server.c:1164:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)dp->d_name); ^ server.c:1174:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1174:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1174:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c: In function 'removeit': server.c:1227:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: not a plain file\n", (int)host, (int)target, 0); ^ server.c:1227:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: not a plain file\n", (int)host, (int)target, 0); ^ server.c:1241:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)dp->d_name); ^ server.c:1241:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)dp->d_name); ^ server.c:1241:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host, (int)target, (int)dp->d_name); ^ server.c:1251:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1251:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1251:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1261:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1261:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c:1261:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s:%s: %s\n", (int)host, (int)target, (int)strerror(errno)); ^ server.c: In function 'dospecial': server.c:1282:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] error("%s\n", (int)strerror(errno), 0, 0); ^ server.c:1299:3: warning: missing sentinel in function call [-Wformat=] execl(_PATH_BSHELL, "sh", "-c", cmd, 0); ^ server.c: In function 'response': server.c:1423:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "%s\n", (int)s, 0, 0); ^ server.c:1429:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] logmsg(lfp, "Note: %s\n", (int)s, 0, 0); ^ server.c: In function 'server': server.c:71:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:100:4: note: in expansion of macro 'ack' ack(); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:127:4: note: in expansion of macro 'ack' ack(); ^ server.c: In function 'install': server.c:255:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c: In function 'sendf': server.c:333:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:362:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, "E\n", 2); ^ server.c:384:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:394:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:398:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, stb.st_size); ^ server.c:432:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:447:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:459:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, amt); ^ server.c:37:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define err() (void) write(rem, "\1\n", 2) ^ server.c:465:3: note: in expansion of macro 'err' err(); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:467:3: note: in expansion of macro 'ack' ack(); ^ server.c:483:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c: In function 'update': server.c:536:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:556:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, s, cp - s); ^ server.c: In function 'query': server.c:626:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, "N\n", 2); ^ server.c:636:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:641:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, "Y\n", 2); ^ server.c: In function 'recvf': server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:723:4: note: in expansion of macro 'ack' ack(); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:729:6: note: in expansion of macro 'ack' ack(); ^ server.c:736:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf + 1) + 1); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:743:5: note: in expansion of macro 'ack' ack(); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:768:3: note: in expansion of macro 'ack' ack(); ^ server.c:37:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define err() (void) write(rem, "\1\n", 2) ^ server.c:777:4: note: in expansion of macro 'err' err(); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:792:5: note: in expansion of macro 'ack' ack(); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:807:2: note: in expansion of macro 'ack' ack(); ^ server.c:37:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define err() (void) write(rem, "\1\n", 2) ^ server.c:836:3: note: in expansion of macro 'err' err(); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:862:5: note: in expansion of macro 'ack' ack(); ^ server.c:872:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf + 1) + 1); ^ server.c:901:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf + 1) + 1); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:903:3: note: in expansion of macro 'ack' ack(); ^ server.c: In function 'hardlink': server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:959:2: note: in expansion of macro 'ack' ack(); ^ server.c: In function 'chog': server.c:1041:11: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(userid, 0); ^ server.c:1048:11: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(0, userid); ^ server.c: In function 'rmchk': server.c:1070:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:1092:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, "N\n", 2); ^ server.c:1094:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, "Y\n", 2); ^ server.c:1096:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, "N\n", 2); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:1107:4: note: in expansion of macro 'ack' ack(); ^ server.c:1116:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, s, cp - s); ^ server.c:37:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define err() (void) write(rem, "\1\n", 2) ^ server.c:1127:4: note: in expansion of macro 'err' err(); ^ server.c: In function 'clean': server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:1155:2: note: in expansion of macro 'ack' ack(); ^ server.c:1178:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(buf)); ^ server.c:1192:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(cp) + 1); ^ server.c:1197:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, "E\n", 2); ^ server.c: In function 'removeit': server.c:1268:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, buf, strlen(cp) + 1); ^ server.c: In function 'dospecial': server.c:1293:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(fd[1]); ^ server.c:1294:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(fd[1]); ^ server.c:1297:9: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(groupid); ^ server.c:1298:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(userid); ^ server.c:1321:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, sbuf, s - sbuf); ^ server.c:1327:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(rem, sbuf, s - sbuf); ^ server.c:36:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define ack() (void) write(rem, "\0\n", 2) ^ server.c:1337:3: note: in expansion of macro 'ack' ack(); ^ server.c: In function 'response': server.c:1441:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, s, cp - s); ^ server.c: In function 'comment': server.c:1471:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rem, &c, 1); ^ server.c:1472:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rem, s, strlen(s)); ^ server.c:1474:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rem, &c, 1); ^ yacc gram.y mv -f y.tab.c gram.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o gram.o gram.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o rcmd.o rcmd.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EDKXGX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64 + cd rdist-6.1.5 + mkdir -p /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/man/man8 + install -m755 src/rdist /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/bin + install -m755 rdist/rdist /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/bin/oldrdist + install -m755 src/rdistd /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/sbin + ln -sf ../sbin/rdistd /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/bin/rdistd + install -m644 doc/rdist.man /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/man/man1/rdist.1 + install -m644 doc/rdistd.man /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/man/man8/rdistd.8 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/rdist-6.1.5 extracting debug info from /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/bin/rdist extracting debug info from /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/bin/oldrdist extracting debug info from /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/sbin/rdistd /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/sbin/rdistd.debug to /usr/lib/debug/usr/bin/rdistd.debug cpio: rdist-6.1.5/rdist/gram.c: Cannot stat: No such file or directory cpio: rdist-6.1.5/rdist/y.tab.c: Cannot stat: No such file or directory cpio: rdist-6.1.5/src/y.tab.c: Cannot stat: No such file or directory 668 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: rdist-6.1.5-61.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DznJyq + umask 022 + cd /builddir/build/BUILD + cd rdist-6.1.5 + DOCDIR=/builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/doc/rdist-6.1.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/doc/rdist-6.1.5 + cp -pr README /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/doc/rdist-6.1.5 + cp -pr rdist-eu-license.txt /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/doc/rdist-6.1.5 + cp -pr rdist-licensing-email.txt /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64/usr/share/doc/rdist-6.1.5 + exit 0 Provides: rdist = 1:6.1.5-61.el7 rdist(x86-64) = 1:6.1.5-61.el7 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.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: rdist-debuginfo-6.1.5-61.el7.x86_64 Provides: rdist-debuginfo = 1:6.1.5-61.el7 rdist-debuginfo(x86-64) = 1:6.1.5-61.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64 warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Wrote: /builddir/build/RPMS/rdist-6.1.5-61.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rdist-debuginfo-6.1.5-61.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4xvhdR + umask 022 + cd /builddir/build/BUILD + cd rdist-6.1.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rdist-6.1.5-61.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->