D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rdist-6.1.5-37.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kls1yW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + test -d /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ey8zQP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + rm -rf rdist-6.1.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rdist-6.1.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd rdist-6.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + cd rdist-6.1.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rdist-v1.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/pterjan/rpmbuild/SOURCES/rdist-eu-license.txt . + cp /home/pterjan/rpmbuild/SOURCES/rdist-licensing-email.txt . + echo 'Patch #15 (rdist-6.1.5-license-fix.patch):' Patch #15 (rdist-6.1.5-license-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 + echo 'Patch #8 (rdist-6.1.5-cleanup.patch):' Patch #8 (rdist-6.1.5-cleanup.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -p1 -b --suffix .pic --fuzz=0 patching file Makefile.local patching file rdist/Makefile + echo 'Patch #17 (rdist-c99.patch):' Patch #17 (rdist-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file rdist/defs.h + echo 'Patch #18 (rdist-wait-union.patch):' Patch #18 (rdist-wait-union.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .union --fuzz=0 patching file rdist/rcmd.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XT4WXL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + cd rdist-6.1.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make Making "all" in "src" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-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 gcc -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 gcc -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 gcc -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); | ^ client.c: In function 'install': client.c:1228:29: warning: the comparison will always evaluate as 'false' for the pointer operand in 'rname + 1' must not be NULL [-Waddress] 1228 | rname+1 == NULL || | ^~ gcc -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 gcc -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:511, from /usr/include/unistd.h:25, from ../include/defs.h:40, from docmd.c:51: /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ gcc -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 gcc -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 expand.c: In function 'expand': expand.c:142:19: warning: storing the address of local variable 'pathbuf' in 'lastpathp' [-Wdangling-pointer=] 142 | lastpathp = &path[sizeof pathbuf - 2]; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:130:14: note: 'pathbuf' declared here 130 | char pathbuf[BUFSIZ]; | ^~~~~~~ expand.c:60:17: note: 'lastpathp' declared here 60 | char *lastpathp; | ^~~~~~~~~ expand.c:140:14: warning: storing the address of local variable 'pathbuf' in 'path' [-Wdangling-pointer=] 140 | path = tpathp = pathp = pathbuf; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:130:14: note: 'pathbuf' declared here 130 | char pathbuf[BUFSIZ]; | ^~~~~~~ expand.c:58:17: note: 'path' declared here 58 | char *path; | ^~~~ expand.c:140:23: warning: storing the address of local variable 'pathbuf' in 'tpathp' [-Wdangling-pointer=] 140 | path = tpathp = pathp = pathbuf; | ~~~~~~~^~~~~~~~~~~~~~~~~ expand.c:130:14: note: 'pathbuf' declared here 130 | char pathbuf[BUFSIZ]; | ^~~~~~~ expand.c:62:17: note: 'tpathp' declared here 62 | char *tpathp; | ^~~~~~ expand.c:140:31: warning: storing the address of local variable 'pathbuf' in 'pathp' [-Wdangling-pointer=] 140 | path = tpathp = pathp = pathbuf; | ~~~~~~^~~~~~~~~ expand.c:130:14: note: 'pathbuf' declared here 130 | char pathbuf[BUFSIZ]; | ^~~~~~~ expand.c:59:17: note: 'pathp' declared here 59 | char *pathp; | ^~~~~ gcc -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 gcc -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 gcc -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 gcc -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 gcc -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); | ^ gcc -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 In function '_fatalerr', inlined from 'fatalerr' at message.c:841:2: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 gcc -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 gcc -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 gcc -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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); | ^~~~ gcc -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 gcc -o rdistd rdistd.o server.o filesys.o filesys-os.o common.o message.o setargs.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' Making "all" in "config" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' Making "all" in "doc" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' Making "all" in "support" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' Making "all" in "mf" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/mf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/mf' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zRd869 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + mkdir /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT + cd rdist-6.1.5 + '[' 1 -eq 1 ']' + install -d /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/bin + install -d /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/sbin + install -d /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/man/man1 /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/man/man8 + install -m 0755 src/rdist /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/bin + install -m 0755 src/rdistd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/sbin + ln -sf ../sbin/rdistd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/bin/rdistd + install -m0644 doc/rdist.man /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/man/man1/rdist.1 + install -m0644 doc/rdistd.man /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/man/man8/rdist.8 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 6.1.5-37.mga10 --unique-debug-suffix -6.1.5-37.mga10.x86_64 --unique-debug-src-base rdist-6.1.5-37.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rdist-6.1.5-37.mga10.x86_64 cpio: src/y.tab.c: Cannot stat: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/SPECPARTS/rpm-debuginfo.specpart Processing files: rdist-6.1.5-37.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QHwlTT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + cd rdist-6.1.5 + DOCDIR=/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/doc/rdist + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/doc/rdist + cp -pr /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/README /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/doc/rdist + RPM_EC=0 ++ jobs -p + exit 0 Provides: rdist = 6.1.5-37.mga10 rdist(x86-64) = 6.1.5-37.mga10 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) Processing files: rdist-debugsource-6.1.5-37.mga10.x86_64 Provides: rdist-debugsource = 6.1.5-37.mga10 rdist-debugsource(x86-64) = 6.1.5-37.mga10 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-37.mga10.x86_64 Provides: debuginfo(build-id) = 41c77f751465ce0b2a883c6a9b063b9267db96c9 debuginfo(build-id) = f0a89a80c806ff41c644a2ffb26b1aff54bc721e rdist-debuginfo = 6.1.5-37.mga10 rdist-debuginfo(x86-64) = 6.1.5-37.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rdist-debugsource(x86-64) = 6.1.5-37.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/rdist-6.1.5-37.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/rdist-debuginfo-6.1.5-37.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/rdist-debugsource-6.1.5-37.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Nor4r1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + test -d /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + rm -rf /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!