Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/f31-build-62669-29116/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rsh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/rsh-0.17-92.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/f31-build-62669-29116/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rsh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FHWJ4D + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-rsh-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/netkit-rsh-0.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-rsh-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/rexec-1.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (netkit-rsh-0.17-sectty.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sectty --fuzz=0 + echo 'Patch #2 (netkit-rsh-0.17-rexec.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rexec --fuzz=0 + echo 'Patch #3 (netkit-rsh-0.10-stdarg.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .stdarg --fuzz=0 + echo 'Patch #4 (netkit-rsh-0.16-jbj.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jbj --fuzz=0 + echo 'Patch #8 (netkit-rsh-0.16-jbj4.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jbj4 --fuzz=0 + echo 'Patch #9 (netkit-rsh-0.16-prompt.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .prompt --fuzz=0 + echo 'Patch #10 (netkit-rsh-0.16-rlogin=rsh.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rsh --fuzz=0 + echo 'Patch #11 (netkit-rsh-0.16-nokrb.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rsh.nokrb --fuzz=0 + echo 'Patch #12 (netkit-rsh-0.17-pre20000412-jbj5.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jbj5 --fuzz=0 + echo 'Patch #13 (netkit-rsh-0.17-userandhost.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .userandhost --fuzz=0 + echo 'Patch #14 (netkit-rsh-0.17-strip.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strip --fuzz=0 + echo 'Patch #15 (netkit-rsh-0.17-lfs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lfs --fuzz=0 + echo 'Patch #16 (netkit-rsh-0.17-chdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .chdir --fuzz=0 + echo 'Patch #17 (netkit-rsh-0.17-pam-nologin.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pam-nologin --fuzz=0 + echo 'Patch #19 (netkit-rsh-0.17-rexec-netrc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rexec-netrc --fuzz=0 + echo 'Patch #20 (netkit-rsh-0.17-pam-sess.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pam-sess --fuzz=0 + echo 'Patch #21 (netkit-rsh-0.17-errno.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .errno --fuzz=0 + echo 'Patch #22 (netkit-rsh-0.17-rexec-sig.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rexec-sig --fuzz=0 + echo 'Patch #23 (netkit-rsh-0.17-nohost.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nohost --fuzz=0 + echo 'Patch #24 (netkit-rsh-0.17-ignchld.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ignchld --fuzz=0 + echo 'Patch #25 (netkit-rsh-0.17-checkdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .checkdir --fuzz=0 + echo 'Patch #26 (netkit-rsh-0.17-pam-conv.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pam-conv --fuzz=0 + echo 'Patch #27 (netkit-rsh-0.17-rcp-largefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .largefile --fuzz=0 + echo 'Patch #28 (netkit-rsh-0.17-pam-rhost.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pam-rhost --fuzz=0 + echo 'Patch #29 (netkit-rsh-0.17-rlogin-linefeed.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .linefeed --fuzz=0 + echo 'Patch #30 (netkit-rsh-0.17-ipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ipv6 --fuzz=0 + echo 'Patch #31 (netkit-rsh-0.17-pam_env.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pam_env --fuzz=0 + echo 'Patch #33 (netkit-rsh-0.17-dns.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dns --fuzz=0 + echo 'Patch #34 (netkit-rsh-0.17-nohostcheck-compat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .compat --fuzz=0 + echo 'Patch #35 (netkit-rsh-0.17-audit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .audit --fuzz=0 + echo 'Patch #36 (netkit-rsh-0.17-longname.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .longname --fuzz=0 + echo 'Patch #37 (netkit-rsh-0.17-arg_max.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .arg_max --fuzz=0 + echo 'Patch #38 (netkit-rsh-0.17-rh448904.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh448904 --fuzz=0 + echo 'Patch #39 (netkit-rsh-0.17-rh461903.patch):' Patch #1 (netkit-rsh-0.17-sectty.patch): patching file rexecd/rexecd.c patching file rlogind/auth.c Hunk #1 succeeded at 122 (offset -1 lines). patching file rshd/rshd.c Patch #2 (netkit-rsh-0.17-rexec.patch): patching file rexecd/rexecd.8 patching file rexec/Makefile Patch #3 (netkit-rsh-0.10-stdarg.patch): patching file rcp/rcp.c Hunk #1 succeeded at 854 (offset 18 lines). Patch #4 (netkit-rsh-0.16-jbj.patch): patching file rcp/Makefile patching file rlogin/Makefile patching file rsh/Makefile Patch #8 (netkit-rsh-0.16-jbj4.patch): patching file rshd/Makefile Patch #9 (netkit-rsh-0.16-prompt.patch): patching file rexec/rexec.c Patch #10 (netkit-rsh-0.16-rlogin=rsh.patch): patching file rlogin/rlogin.c Patch #11 (netkit-rsh-0.16-nokrb.patch): patching file rcp/rcp.1 patching file rlogin/rlogin.1 patching file rsh/rsh.1 Patch #12 (netkit-rsh-0.17-pre20000412-jbj5.patch): patching file rlogind/auth.c Patch #13 (netkit-rsh-0.17-userandhost.patch): patching file rlogind/rlogind.c patching file rshd/rshd.c Patch #14 (netkit-rsh-0.17-strip.patch): patching file rcp/Makefile patching file rexecd/Makefile patching file rlogin/Makefile patching file rlogind/Makefile patching file rsh/Makefile patching file rshd/Makefile Patch #15 (netkit-rsh-0.17-lfs.patch): patching file rcp/rcp.c Patch #16 (netkit-rsh-0.17-chdir.patch): patching file rshd/rshd.c Hunk #1 succeeded at 390 (offset 2 lines). Hunk #2 succeeded at 449 (offset 2 lines). patching file rexecd/rexecd.c Hunk #1 succeeded at 376 (offset 1 line). Hunk #2 succeeded at 405 (offset 1 line). Patch #17 (netkit-rsh-0.17-pam-nologin.patch): patching file rlogind/auth.c Patch #19 (netkit-rsh-0.17-rexec-netrc.patch): patching file rexec/ruserpass.c patching file rexec/rexec.c patching file rexec/Makefile Patch #20 (netkit-rsh-0.17-pam-sess.patch): patching file rexecd/rexecd.c Patch #21 (netkit-rsh-0.17-errno.patch): patching file rcp/rcp.c Patch #22 (netkit-rsh-0.17-rexec-sig.patch): patching file rexec/rexec.c Patch #23 (netkit-rsh-0.17-nohost.patch): patching file rexecd/rexecd.8 patching file rexecd/rexecd.c Patch #24 (netkit-rsh-0.17-ignchld.patch): patching file rlogind/rlogind.c Hunk #1 succeeded at 439 (offset -1 lines). patching file rlogin/rlogin.c Patch #25 (netkit-rsh-0.17-checkdir.patch): patching file rcp/rcp.c Patch #26 (netkit-rsh-0.17-pam-conv.patch): patching file rexecd/rexecd.c Patch #27 (netkit-rsh-0.17-rcp-largefile.patch): patching file rcp/rcp.c Patch #28 (netkit-rsh-0.17-pam-rhost.patch): patching file rexecd/rexecd.c Patch #29 (netkit-rsh-0.17-rlogin-linefeed.patch): patching file rlogind/sockconv.c Patch #30 (netkit-rsh-0.17-ipv6.patch): patching file rcp/rcp.c patching file rlogind/network.c patching file rlogin/rlogin.c patching file rshd/rshd.c patching file rsh/rsh.c Patch #31 (netkit-rsh-0.17-pam_env.patch): patching file rshd/rshd.c Patch #33 (netkit-rsh-0.17-dns.patch): patching file rshd/rshd.c Hunk #1 succeeded at 297 (offset 3 lines). Hunk #2 succeeded at 309 (offset 3 lines). Hunk #3 succeeded at 589 (offset -2 lines). patching file rlogind/network.c Patch #34 (netkit-rsh-0.17-nohostcheck-compat.patch): patching file rshd/rshd.c Hunk #2 succeeded at 670 (offset 12 lines). patching file rlogind/rlogind.c Patch #35 (netkit-rsh-0.17-audit.patch): patching file rshd/Makefile patching file rshd/rshd.c Hunk #2 succeeded at 231 (offset 3 lines). Hunk #3 succeeded at 258 (offset 3 lines). Hunk #4 succeeded at 381 (offset 3 lines). Hunk #5 succeeded at 471 (offset 2 lines). patching file rexecd/rexecd.c patching file rlogind/auth.c patching file rlogind/rlogind.c patching file configure Patch #36 (netkit-rsh-0.17-longname.patch): patching file rexecd/rexecd.c Patch #37 (netkit-rsh-0.17-arg_max.patch): patching file rexecd/rexecd.c patching file rshd/rshd.c Hunk #1 succeeded at 405 (offset 3 lines). Hunk #2 succeeded at 418 (offset 2 lines). Hunk #3 succeeded at 475 (offset 2 lines). Patch #38 (netkit-rsh-0.17-rh448904.patch): patching file rshd/rshd.c Hunk #1 succeeded at 385 (offset 3 lines). Hunk #2 succeeded at 395 (offset 3 lines). BUILDSTDERR: Patch #39 (netkit-+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh461903 --fuzz=0 + echo 'Patch #40 (netkit-rsh-0.17-rh473492.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh473492 --fuzz=0 + echo 'Patch #41 (netkit-rsh-0.17-rh650119.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh650119 --fuzz=0 + echo 'Patch #42 (netkit-rsh-0.17-rh710987.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh710987 --fuzz=0 + echo 'Patch #43 (netkit-rsh-0.17-rh784467.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh784467 --fuzz=0 + echo 'Patch #44 (netkit-rsh-0.17-rh896583.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh896583 --fuzz=0 + echo 'Patch #45 (netkit-rsh-0.17-rh947213.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh947213 --fuzz=0 + echo 'Patch #46 (0001-rshd-use-sockaddr_in-for-non-native-IPv6-clients.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #47 (0002-rlogind-use-sockaddr_in-for-non-native-IPv6-client.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #48 (netkit-rsh-0.17-ipv6-rexec.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ipv6-rexec --fuzz=0 + echo 'Patch #49 (0001-rshd-include-missing-header-file.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .waitpid --fuzz=0 + echo 'Patch #50 (0001-rshd-use-upper-bound-for-cmdbuflen.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #51 (0001-rcp-don-t-advance-pointer-returned-from-rcp_basename.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #52 (netkit-rsh-0.17-union-wait.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .union-wait --fuzz=0 + echo 'Patch #53 (netkit-rsh-0.17-cmdbuflen.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cmdbuflen --fuzz=0 + rm -f rexec/rexec + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 rsh-0.17-rh461903.patch): patching file rcp/rcp.c Hunk #1 succeeded at 811 (offset 1 line). Patch #40 (netkit-rsh-0.17-rh473492.patch): patching file rexec/rexec.c patching file rshd/rshd.c Patch #41 (netkit-rsh-0.17-rh650119.patch): patching file rexec/rexec.c Patch #42 (netkit-rsh-0.17-rh710987.patch): patching file rshd/rshd.c Patch #43 (netkit-rsh-0.17-rh784467.patch): patching file rcp/rcp.c Patch #44 (netkit-rsh-0.17-rh896583.patch): patching file rshd/rshd.c Patch #45 (netkit-rsh-0.17-rh947213.patch): patching file rlogind/rlogind.c Patch #46 (0001-rshd-use-sockaddr_in-for-non-native-IPv6-clients.patch): patching file rshd/rshd.c Patch #47 (0002-rlogind-use-sockaddr_in-for-non-native-IPv6-client.patch): patching file rlogind/network.c Patch #48 (netkit-rsh-0.17-ipv6-rexec.patch): patching file rexecd/rexecd.c patching file rexec/rexec.c Patch #49 (0001-rshd-include-missing-header-file.patch): patching file rshd/rshd.c Patch #50 (0001-rshd-use-upper-bound-for-cmdbuflen.patch): patching file rshd/rshd.c Hunk #1 succeeded at 431 (offset 1 line). Patch #51 (0001-rcp-don-t-advance-pointer-returned-from-rcp_basename.patch): patching file rcp/rcp.c Patch #52 (netkit-rsh-0.17-union-wait.patch): patching file rlogin/rlogin.c Patch #53 (netkit-rsh-0.17-cmdbuflen.patch): patching file rexecd/rexecd.c Hunk #1 succeeded at 307 (offset 46 lines). patching file rshd/rshd.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7APkRC + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + sh configure --with-c-compiler=gcc + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + /usr/bin/perl -pi -e ' BUILDSTDERR: s,^CC=.*$,CC=cc,; BUILDSTDERR: s,-O2,\$(RPM_OPT_FLAGS) -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE,; BUILDSTDERR: s,^LDFLAGS=,LDFLAGS=-z now -pie,; BUILDSTDERR: s,^BINDIR=.*$,BINDIR=/usr/bin,; BUILDSTDERR: s,^MANDIR=.*$,MANDIR=/usr/share/man,; BUILDSTDERR: s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; BUILDSTDERR: ' MCONFIG + make -j4 BUILDSTDERR: rexec.c: In function 'main': BUILDSTDERR: rexec.c:221:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 221 | for (sig = 0; sig < sizeof(bsd_signals)/sizeof(int); ++sig) BUILDSTDERR: | ^ BUILDSTDERR: rlogin.c: In function 'main': BUILDSTDERR: rlogin.c:281:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 281 | omask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:170:12: note: declared here BUILDSTDERR: 170 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: rlogin.c: In function 'doit': BUILDSTDERR: rlogin.c:367:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 367 | sigsetmask(omask); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: 173 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'setsignal': BUILDSTDERR: rlogin.c:380:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 380 | int omask = sigblock(sigmask(sig)); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:170:12: note: declared here BUILDSTDERR: 170 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: rlogin.c:384:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 384 | sigsetmask(omask); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: 173 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'reader': BUILDSTDERR: rexecd.c: In function 'main': BUILDSTDERR: rlogin.c:694:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 694 | sigsetmask(omask); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: 173 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: rexecd.c:195:114: warning: passing argument 6 of 'getnameinfo' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 195 | r = getnameinfo((struct sockaddr *) &from, sizeof(struct sockaddr_storage), remote_hostname, NI_MAXHOST, NULL, NULL, 0); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: In file included from rexecd.c:74: BUILDSTDERR: /usr/include/netdb.h:678:14: note: expected 'socklen_t' {aka 'unsigned int'} but argument is of type 'void *' BUILDSTDERR: 678 | socklen_t __servlen, int __flags); BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: rexecd.c: In function 'PAM_conv': BUILDSTDERR: rexecd.c:229:41: warning: unused parameter 'appdata_ptr' [-Wunused-parameter] BUILDSTDERR: 229 | struct pam_response **response, void *appdata_ptr) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~ BUILDSTDERR: rexecd.c: In function 'doit': BUILDSTDERR: rexecd.c:520:2: warning: missing sentinel in function call [-Wformat=] BUILDSTDERR: 520 | execle(theshell, cp2, "-c", cmdbuf, 0, myenviron); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: rexec.c: In function 'safe_write_error': BUILDSTDERR: rexec.c:530:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 530 | (void) write(STDERR_FILENO, message, msg_len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'sendwindow': BUILDSTDERR: rlogin.c:568:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 568 | write(rem, obuf, sizeof(obuf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rexecd.c:470:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 470 | write(2, "\0", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'writer': BUILDSTDERR: rlogin.c:487:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 487 | write(rem, &escapechar, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'echo': BUILDSTDERR: rlogin.c:519:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 519 | write(STDOUT_FILENO, buf, p - buf); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rexecd.c: In function 'fatal': BUILDSTDERR: rexecd.c:529:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 529 | write(2, &x, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: rexecd.c:530:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 530 | write(2, msg, strlen(msg)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'response': BUILDSTDERR: rcp.c:620:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 620 | write(2, rbuf, cp - rbuf); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'source': BUILDSTDERR: rcp.c:480:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 480 | (void)write(rem, buf, (int)strlen(buf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:488:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 488 | (void)write(rem, buf, (int)strlen(buf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:504:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 504 | (void)write(rem, bp->buf, amt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:508:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 508 | (void)write(rem, "", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'rsource': BUILDSTDERR: rcp.c:564:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 564 | (void)write(rem, path, (int)strlen(path)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:572:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 572 | (void)write(rem, path, (int)strlen(path)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:591:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 591 | (void)write(rem, "E\n", 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'sink': BUILDSTDERR: rcp.c:672:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 672 | (void)write(rem, "", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:690:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 690 | (void)write(2, buf + 1, (int)strlen(buf + 1)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:697:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 697 | (void)write(rem, "", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:721:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 721 | (void)write(rem, "", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:800:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 800 | (void)write(rem, "", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:864:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 864 | (void)write(rem, "", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'tolocal': BUILDSTDERR: rcp.c:336:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 336 | (void)seteuid(userid); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:344:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 344 | (void)seteuid(0); BUILDSTDERR: | ^~~~~~~~~~ Directories: /usr/bin /usr/sbin /usr/man Checking if C compiler works... yes Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking for BSD signal semantics... yes Checking for ncurses... yes Checking for GNU libc... yes Checking for PAM... yes Checking for AUDIT... yes Checking for crypt... -lcrypt Checking for forkpty... -lutil Checking for logwtmp... -lutil Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... (cd rcp && make) (cd rexec && make) (cd rexecd && make) (cd rlogin && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rexec.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rcp.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM -DRESTRICT_FTP=1 rexecd.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rlogin.c -c cc -z now -pie rexecd.o -lcrypt -lutil -lutil -ldl -lpam -o rexecd make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline ruserpass.c -c (cd rlogind && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_Gruserpass.c:80:1: warning: no previous prototype for 'xruserpass' [-Wmissing-prototypes] BUILDSTDERR: 80 | xruserpass(const char *host, char **aname, char **apass) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: rlogind.c: In function 'fatal': BUILDSTDERR: rlogind.c:109:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 109 | write(f, buf, strlen(buf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogind.c: In function 'doit': BUILDSTDERR: rlogind.c:422:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 422 | write(netfd, "rlogind: Host address mismatch.\r\n", 33); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogind.c: In function 'cleanup': BUILDSTDERR: rlogind.c:295:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 295 | chown(line, 0, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogind.c:300:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 300 | chown(line, 0, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rsh.c: In function 'main': BUILDSTDERR: rsh.c:193:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 193 | omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from rsh.c:45: BUILDSTDERR: /usr/include/signal.h:170:12: note: declared here BUILDSTDERR: 170 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: rsh.c: In function 'talk': BUILDSTDERR: rsh.c:251:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 251 | if (! FD_ISSET(rem, &rembits)) BUILDSTDERR: | ^~ BUILDSTDERR: rsh.c:253:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 253 | wc = write(rem, bp, cc); BUILDSTDERR: | ^~ BUILDSTDERR: rsh.c:270:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 270 | sigsetmask(omask); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from rsh.c:45: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: 173 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: rsh.c: In function 'sendsig': BUILDSTDERR: rsh.c:309:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 309 | write(rfd2, &x, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: rsh.c: In function 'talk': BUILDSTDERR: rsh.c:290:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 290 | write(2, buf, cc); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rsh.c:298:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 298 | write(1, buf, cc); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rshd.c: In function 'findhostname': BUILDSTDERR: rshd.c:319:3: warning: pointer type mismatch in conditional expression BUILDSTDERR: 319 | : ( &((struct sockaddr_in *)fromp)->sin_addr )), BUILDSTDERR: | ^ BUILDSTDERR: rshd.c:368:3: warning: pointer type mismatch in conditional expression BUILDSTDERR: 368 | : ( &((struct sockaddr_in *)sa)->sin_addr )), BUILDSTDERR: | ^ BUILDSTDERR: rshd.c: In function 'doit': BUILDSTDERR: rshd.c:634:2: warning: missing sentinel in function call [-Wformat=] BUILDSTDERR: 634 | execl(theshell, shellname, "-c", cmdbuf, 0); BUILDSTDERR: | ^~~~~ BUILDSTDERR: rshd.c:516:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 516 | (void) write(2, "\0", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rshd.c: In function 'stderr_parent': BUILDSTDERR: rshd.c:218:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 218 | else write(sock, buf, cc); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rshd.c: In function 'error': BUILDSTDERR: rshd.c:140:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 140 | write(2, buf, strlen(buf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: network.c: In function 'network_init': BUILDSTDERR: network.c:230:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 230 | read(f, &c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: network.c: In function 'network_confirm': BUILDSTDERR: network.c:291:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 291 | write(netf, "", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: network.c: In function 'network_anticonfirm': BUILDSTDERR: network.c:302:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 302 | write(netf, &x, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: sockconv.c: In function 'sock_conv': BUILDSTDERR: sockconv.c:158:29: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 158 | my_fputs(msgm[replies]->msg, stderr); BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: sockconv.c:90:28: note: expected 'char *' but argument is of type 'const char * const' BUILDSTDERR: 90 | static void my_fputs(char *str, FILE *out) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: sockconv.c:162:29: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 162 | my_fputs(msgm[replies]->msg, stderr); BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: sockconv.c:90:28: note: expected 'char *' but argument is of type 'const char * const' BUILDSTDERR: 90 | static void my_fputs(char *str, FILE *out) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: sockconv.c:131:46: warning: parameter 'appdata_ptr' set but not used [-Wunused-but-set-parameter] BUILDSTDERR: 131 | struct pam_response **response, void *appdata_ptr) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~ BUILDSTDERR: sockconv.c: In function 'read_string': BUILDSTDERR: sockconv.c:68:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 68 | read(0, &buffer[charsRead], 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sockconv.c:71:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 71 | write(1, nl, 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: sockconv.c:77:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 77 | write(1, &buffer[charsRead], 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: auth.c: In function 'auth_checkauth': BUILDSTDERR: auth.c:150:34: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 150 | pam_get_item(pamh, PAM_USER, &ln); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char ** BUILDSTDERR: In file included from /usr/include/security/pam_appl.h:18, BUILDSTDERR: from auth.c:55: BUILDSTDERR: /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'char **' BUILDSTDERR: 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); BUILDSTDERR: | ~~~~~~~~~~~~~^~~~ LIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM rlogind.c -c cc -z now -pie rlogin.o -lcrypt -lutil -lutil -o rlogin make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' (cd rsh && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rsh.c -c cc -z now -pie rexec.o ruserpass.o -o rexec make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' (cd rshd && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM -DUSE_AUDIT rshd.c -c cc -z now -pie rcp.o -lcrypt -lutil -lutil -o rcp make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM network.c -c cc -z now -pie rsh.o -lcrypt -lutil -lutil -o rsh make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM auth.c -c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM sockconv.c -c BUILDSTDERR: cc -z now -pie rlogind.o ne+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 twork.o auth.o sockconv.o -lcrypt -lutil -lutil -ldl -lpam -lpam_misc -o rlogind make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' cc -z now -pie rshd.o -lcrypt -lutil -lutil -ldl -lpam -lpam_misc -ldl -laudit -o rshd make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1Gs3PD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64 + cd netkit-rsh-0.17 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man5 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/etc/pam.d + make INSTALLROOT=/builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64 BINDIR=/usr/bin MANDIR=/usr/share/man install + install -m 644 /builddir/build/SOURCES/rexec.pam /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/etc/pam.d/rexec + install -m 644 /builddir/build/SOURCES/rlogin.pam /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/etc/pam.d/rlogin + install -m 644 /builddir/build/SOURCES/rsh.pam /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/etc/pam.d/rsh + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/rsh@.service /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/lib/systemd/system/rsh@.service + install -m644 /builddir/build/SOURCES/rsh.socket /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/lib/systemd/system/rsh.socket + install -m644 /builddir/build/SOURCES/rlogin@.service /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/lib/systemd/system/rlogin@.service + install -m644 /builddir/build/SOURCES/rlogin.socket /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/lib/systemd/system/rlogin.socket + install -m644 /builddir/build/SOURCES/rexec@.service /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/lib/systemd/system/rexec@.service + install -m644 /builddir/build/SOURCES/rexec.socket /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/lib/systemd/system/rexec.socket + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.17-92.fc31 --unique-debug-suffix -0.17-92.fc31.riscv64 --unique-debug-src-base rsh-0.17-92.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-rsh-0.17 (cd rcp && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' install rcp /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin install -m644 rcp.1 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' (cd rexec && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' install -m 0755 rexec /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64//usr/bin/rexec install -m 0644 rexec.1 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64//usr/share/man/man1/rexec.1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' (cd rexecd && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' install -m755 rexecd /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rexecd install -m644 rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man8/in.rexecd.8 ln -sf in.rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man8/rexecd.8 You have chosen to use PAM as the authentication method You should copy the rexec.pam file provided to /etc/pam.d or if you know what you are doing, tailor it to your needs make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' (cd rlogin && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' install rlogin /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin install -m 644 rlogin.1 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' (cd rlogind && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' install -m755 rlogind /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rlogind install -m644 rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man8/in.rlogind.8 ln -sf in.rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man8/rlogind.8 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' (cd rsh && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' install rsh /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin install -m644 rsh.1 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' (cd rshd && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' install -m755 rshd /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rshd install -m644 rshd.8 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man8/in.rshd.8 ln -sf in.rshd.8 /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/man/man8/rshd.8 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin/rcp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin/rexec explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin/rlogin explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin/rsh extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin/rcp extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin/rexec extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin/rlogin extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/bin/rsh explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rlogind explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rexecd BUILDSTDERR: extracting debug info fro273 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs m /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rlogind extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rexecd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rshd extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/sbin/in.rshd original debug info size: 460kB, size after compression: 436kB /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. Processing files: rsh-0.17-92.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0wMgRz + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + DOCDIR=/builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/doc/rsh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/doc/rsh + cp -pr README /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/doc/rsh + cp -pr BUGS /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64/usr/share/doc/rsh + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: rsh = 0.17-92.fc31 rsh(riscv-64) = 0.17-92.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileCaps) <= 4.6.1-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: rsh-server-0.17-92.fc31.riscv64 Provides: config(rsh-server) = 0.17-92.fc31 rsh-server = 0.17-92.fc31 rsh-server(riscv-64) = 0.17-92.fc31 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libaudit.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libdl.so.2()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam_misc.so.0()(64bit) libpam_misc.so.0(LIBPAM_MISC_1.0)(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: rsh-debugsource-0.17-92.fc31.riscv64 Provides: rsh-debugsource = 0.17-92.fc31 rsh-debugsource(riscv-64) = 0.17-92.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rsh-debuginfo-0.17-92.fc31.riscv64 Provides: debuginfo(build-id) = 1d33d96d44905ee90a7f290783fd433cae10970a debuginfo(build-id) = 33a3a369aa33905439931ec16befda8667540ea8 debuginfo(build-id) = 596305d27c266774fa9a90776b7d3981df3bd2ff debuginfo(build-id) = dc5dc2251fc88ec76566ae13299a55a7c10035a3 rsh-debuginfo = 0.17-92.fc31 rsh-debuginfo(riscv-64) = 0.17-92.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rsh-debugsource(riscv-64) = 0.17-92.fc31 Processing files: rsh-server-debuginfo-0.17-92.fc31.riscv64 Provides: debuginfo(build-id) = 070f92ad2c3bb55728ccbc9aeb8527cf230f314b debuginfo(build-id) = 38614a60d2626bdc4f1630be8bc1eca2d5e5400e debuginfo(build-id) = 472c097711dcbca51e59129f416cc27e817f3780 rsh-server-debuginfo = 0.17-92.fc31 rsh-server-debuginfo(riscv-64) = 0.17-92.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rsh-debugsource(riscv-64) = 0.17-92.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64 Wrote: /builddir/build/RPMS/rsh-server-0.17-92.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-0.17-92.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-debugsource-0.17-92.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-debuginfo-0.17-92.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-server-debuginfo-0.17-92.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.z5mGIz + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rsh-0.17-92.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0