Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667634587.416973/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.737vtyif:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.737vtyif:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fff4359f63064239aa27c47352345ec5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667634587.416973/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.737vtyif:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rsh-0.17-102.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667634587.416973/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.737vtyif:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.737vtyif:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5ec0fae2772a4c71bc620814db82067a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667634587.416973/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.737vtyif:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P7CYdH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-rsh-0.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/netkit-rsh-0.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-rsh-0.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rexec-1.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (netkit-rsh-0.17-sectty.patch): + echo 'Patch #1 (netkit-rsh-0.17-sectty.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sectty --fuzz=0 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): + echo 'Patch #2 (netkit-rsh-0.17-rexec.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rexec --fuzz=0 patching file rexecd/rexecd.8 patching file rexec/Makefile Patch #3 (netkit-rsh-0.10-stdarg.patch): + echo 'Patch #3 (netkit-rsh-0.10-stdarg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stdarg --fuzz=0 patching file rcp/rcp.c Hunk #1 succeeded at 854 (offset 18 lines). Patch #4 (netkit-rsh-0.16-jbj.patch): + echo 'Patch #4 (netkit-rsh-0.16-jbj.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .jbj --fuzz=0 patching file rcp/Makefile patching file rlogin/Makefile patching file rsh/Makefile Patch #8 (netkit-rsh-0.16-jbj4.patch): + echo 'Patch #8 (netkit-rsh-0.16-jbj4.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .jbj4 --fuzz=0 patching file rshd/Makefile Patch #9 (netkit-rsh-0.16-prompt.patch): + echo 'Patch #9 (netkit-rsh-0.16-prompt.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .prompt --fuzz=0 patching file rexec/rexec.c Patch #10 (netkit-rsh-0.16-rlogin=rsh.patch): + echo 'Patch #10 (netkit-rsh-0.16-rlogin=rsh.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rsh --fuzz=0 patching file rlogin/rlogin.c Patch #11 (netkit-rsh-0.16-nokrb.patch): + echo 'Patch #11 (netkit-rsh-0.16-nokrb.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rsh.nokrb --fuzz=0 patching file rcp/rcp.1 patching file rlogin/rlogin.1 patching file rsh/rsh.1 Patch #12 (netkit-rsh-0.17-pre20000412-jbj5.patch): + echo 'Patch #12 (netkit-rsh-0.17-pre20000412-jbj5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .jbj5 --fuzz=0 patching file rlogind/auth.c Patch #13 (netkit-rsh-0.17-userandhost.patch): + echo 'Patch #13 (netkit-rsh-0.17-userandhost.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .userandhost --fuzz=0 patching file rlogind/rlogind.c patching file rshd/rshd.c Patch #14 (netkit-rsh-0.17-strip.patch): + echo 'Patch #14 (netkit-rsh-0.17-strip.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .strip --fuzz=0 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): + echo 'Patch #15 (netkit-rsh-0.17-lfs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lfs --fuzz=0 patching file rcp/rcp.c Patch #16 (netkit-rsh-0.17-chdir.patch): + echo 'Patch #16 (netkit-rsh-0.17-chdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chdir --fuzz=0 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): + echo 'Patch #17 (netkit-rsh-0.17-pam-nologin.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pam-nologin --fuzz=0 patching file rlogind/auth.c Patch #19 (netkit-rsh-0.17-rexec-netrc.patch): + echo 'Patch #19 (netkit-rsh-0.17-rexec-netrc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rexec-netrc --fuzz=0 patching file rexec/ruserpass.c patching file rexec/rexec.c patching file rexec/Makefile Patch #20 (netkit-rsh-0.17-pam-sess.patch): + echo 'Patch #20 (netkit-rsh-0.17-pam-sess.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pam-sess --fuzz=0 patching file rexecd/rexecd.c Patch #21 (netkit-rsh-0.17-errno.patch): + echo 'Patch #21 (netkit-rsh-0.17-errno.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .errno --fuzz=0 patching file rcp/rcp.c Patch #22 (netkit-rsh-0.17-rexec-sig.patch): + echo 'Patch #22 (netkit-rsh-0.17-rexec-sig.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rexec-sig --fuzz=0 patching file rexec/rexec.c Patch #23 (netkit-rsh-0.17-nohost.patch): + echo 'Patch #23 (netkit-rsh-0.17-nohost.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nohost --fuzz=0 patching file rexecd/rexecd.8 patching file rexecd/rexecd.c Patch #24 (netkit-rsh-0.17-ignchld.patch): + echo 'Patch #24 (netkit-rsh-0.17-ignchld.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ignchld --fuzz=0 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): + echo 'Patch #25 (netkit-rsh-0.17-checkdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .checkdir --fuzz=0 patching file rcp/rcp.c Patch #26 (netkit-rsh-0.17-pam-conv.patch): + echo 'Patch #26 (netkit-rsh-0.17-pam-conv.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pam-conv --fuzz=0 patching file rexecd/rexecd.c Patch #27 (netkit-rsh-0.17-rcp-largefile.patch): + echo 'Patch #27 (netkit-rsh-0.17-rcp-largefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .largefile --fuzz=0 patching file rcp/rcp.c Patch #28 (netkit-rsh-0.17-pam-rhost.patch): + echo 'Patch #28 (netkit-rsh-0.17-pam-rhost.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pam-rhost --fuzz=0 patching file rexecd/rexecd.c Patch #29 (netkit-rsh-0.17-rlogin-linefeed.patch): + echo 'Patch #29 (netkit-rsh-0.17-rlogin-linefeed.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linefeed --fuzz=0 patching file rlogind/sockconv.c Patch #30 (netkit-rsh-0.17-ipv6.patch): + echo 'Patch #30 (netkit-rsh-0.17-ipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6 --fuzz=0 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): + echo 'Patch #31 (netkit-rsh-0.17-pam_env.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pam_env --fuzz=0 patching file rshd/rshd.c Patch #33 (netkit-rsh-0.17-dns.patch): + echo 'Patch #33 (netkit-rsh-0.17-dns.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dns --fuzz=0 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): + echo 'Patch #34 (netkit-rsh-0.17-nohostcheck-compat.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .compat --fuzz=0 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): + echo 'Patch #35 (netkit-rsh-0.17-audit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .audit --fuzz=0 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): + echo 'Patch #36 (netkit-rsh-0.17-longname.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .longname --fuzz=0 patching file rexecd/rexecd.c Patch #37 (netkit-rsh-0.17-arg_max.patch): + echo 'Patch #37 (netkit-rsh-0.17-arg_max.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arg_max --fuzz=0 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): + echo 'Patch #38 (netkit-rsh-0.17-rh448904.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh448904 --fuzz=0 patching file rshd/rshd.c Hunk #1 succeeded at 385 (offset 3 lines). Hunk #2 succeeded at 395 (offset 3 lines). Patch #39 (netkit-rsh-0.17-rh461903.patch): + echo 'Patch #39 (netkit-rsh-0.17-rh461903.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh461903 --fuzz=0 patching file rcp/rcp.c Hunk #1 succeeded at 811 (offset 1 line). Patch #40 (netkit-rsh-0.17-rh473492.patch): + echo 'Patch #40 (netkit-rsh-0.17-rh473492.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh473492 --fuzz=0 patching file rexec/rexec.c patching file rshd/rshd.c Patch #41 (netkit-rsh-0.17-rh650119.patch): + echo 'Patch #41 (netkit-rsh-0.17-rh650119.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh650119 --fuzz=0 patching file rexec/rexec.c Patch #42 (netkit-rsh-0.17-rh710987.patch): + echo 'Patch #42 (netkit-rsh-0.17-rh710987.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh710987 --fuzz=0 patching file rshd/rshd.c Patch #43 (netkit-rsh-0.17-rh784467.patch): + echo 'Patch #43 (netkit-rsh-0.17-rh784467.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh784467 --fuzz=0 patching file rcp/rcp.c Patch #44 (netkit-rsh-0.17-rh896583.patch): + echo 'Patch #44 (netkit-rsh-0.17-rh896583.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .rh896583 --fuzz=0 patching file rshd/rshd.c Patch #45 (netkit-rsh-0.17-rh947213.patch): + echo 'Patch #45 (netkit-rsh-0.17-rh947213.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh947213 --fuzz=0 patching file rlogind/rlogind.c Patch #46 (0001-rshd-use-sockaddr_in-for-non-native-IPv6-clients.patch): + echo 'Patch #46 (0001-rshd-use-sockaddr_in-for-non-native-IPv6-clients.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file rshd/rshd.c Patch #47 (0002-rlogind-use-sockaddr_in-for-non-native-IPv6-client.patch): + echo 'Patch #47 (0002-rlogind-use-sockaddr_in-for-non-native-IPv6-client.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file rlogind/network.c Patch #48 (netkit-rsh-0.17-ipv6-rexec.patch): + echo 'Patch #48 (netkit-rsh-0.17-ipv6-rexec.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6-rexec --fuzz=0 patching file rexecd/rexecd.c patching file rexec/rexec.c Patch #49 (0001-rshd-include-missing-header-file.patch): + echo 'Patch #49 (0001-rshd-include-missing-header-file.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .waitpid --fuzz=0 patching file rshd/rshd.c Patch #50 (0001-rshd-use-upper-bound-for-cmdbuflen.patch): + echo 'Patch #50 (0001-rshd-use-upper-bound-for-cmdbuflen.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 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): + echo 'Patch #51 (0001-rcp-don-t-advance-pointer-returned-from-rcp_basename.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file rcp/rcp.c Patch #52 (netkit-rsh-0.17-union-wait.patch): + echo 'Patch #52 (netkit-rsh-0.17-union-wait.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .union-wait --fuzz=0 patching file rlogin/rlogin.c Patch #53 (netkit-rsh-0.17-cmdbuflen.patch): + echo 'Patch #53 (netkit-rsh-0.17-cmdbuflen.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cmdbuflen --fuzz=0 patching file rexecd/rexecd.c Hunk #1 succeeded at 307 (offset 46 lines). patching file rshd/rshd.c Patch #54 (netkit-rsh-0.17-CVE-2019-7282.patch): + echo 'Patch #54 (netkit-rsh-0.17-CVE-2019-7282.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cve-2019-7282 --fuzz=0 patching file rcp/rcp.c + rm -f rexec/rexec + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0Ne5Ik + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netkit-rsh-0.17 + sh configure --with-c-compiler=gcc 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... yes Checking for logwtmp... yes Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + export 'RPM_OPT_FLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing' + RPM_OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing' + /usr/bin/perl -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS) -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE,; s,^LDFLAGS=,LDFLAGS=\$(RPM_LD_FLAGS),; s,^BINDIR=.*$,BINDIR=/usr/bin,; s,^MANDIR=.*$,MANDIR=/usr/share/man,; s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; ' MCONFIG + /usr/bin/make -O -j2 V=1 VERBOSE=1 (cd rcp && /usr/bin/make) (cd rexec && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rexec.c -c rexec.c: In function 'main': rexec.c:221:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 221 | for (sig = 0; sig < sizeof(bsd_signals)/sizeof(int); ++sig) | ^ rexec.c: In function 'safe_write_error': rexec.c:530:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 530 | (void) write(STDERR_FILENO, message, msg_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline ruserpass.c -c ruserpass.c:80:1: warning: no previous prototype for 'xruserpass' [-Wmissing-prototypes] 80 | xruserpass(const char *host, char **aname, char **apass) | ^~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rcp.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' rcp.c: In function 'response': rcp.c:620:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 620 | write(2, rbuf, cp - rbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c: In function 'source': rcp.c:480:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 480 | (void)write(rem, buf, (int)strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:488:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 488 | (void)write(rem, buf, (int)strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:504:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 504 | (void)write(rem, bp->buf, amt); | ^~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:508:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 508 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c: In function 'rsource': rcp.c:564:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 564 | (void)write(rem, path, (int)strlen(path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:572:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 572 | (void)write(rem, path, (int)strlen(path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:591:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 591 | (void)write(rem, "E\n", 2); | ^~~~~~~~~~~~~~~~~~~~ rcp.c: In function 'sink': rcp.c:672:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 672 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c:690:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 690 | (void)write(2, buf + 1, (int)strlen(buf + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:697:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 697 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c:721:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c:801:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 801 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c:865:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 865 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c: In function 'tolocal': rcp.c:336:23: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 336 | (void)seteuid(userid); | ^~~~~~~~~~~~~~~ rcp.c:344:23: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 344 | (void)seteuid(0); | ^~~~~~~~~~ rcp.c: In function 'source': rcp.c:586:56: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 2 and 4095 [-Wformat-truncation=] 586 | (void)snprintf(path, sizeof(path), "%s/%s", name, dp->d_name); | ^~ In file included from /usr/include/stdio.h:906, from rcp.c:62: In function 'snprintf', inlined from 'rsource' at rcp.c:586:9, inlined from 'source' at rcp.c:459:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 4350 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rexec.o ruserpass.o -o rexec make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' (cd rexecd && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -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 rexecd.c: In function 'main': rexecd.c:195:128: warning: passing argument 6 of 'getnameinfo' makes integer from pointer without a cast [-Wint-conversion] 195 | r = getnameinfo((struct sockaddr *) &from, sizeof(struct sockaddr_storage), remote_hostname, NI_MAXHOST, NULL, NULL, 0); | ^~~~ | | | void * In file included from rexecd.c:74: /usr/include/netdb.h:678:35: note: expected 'socklen_t' {aka 'unsigned int'} but argument is of type 'void *' 678 | socklen_t __servlen, int __flags); | ~~~~~~~~~~^~~~~~~~~ rexecd.c: In function 'PAM_conv': rexecd.c:229:55: warning: unused parameter 'appdata_ptr' [-Wunused-parameter] 229 | struct pam_response **response, void *appdata_ptr) | ~~~~~~^~~~~~~~~~~ rexecd.c: In function 'doit': rexecd.c:520:9: warning: missing sentinel in function call [-Wformat=] 520 | execle(theshell, cp2, "-c", cmdbuf, 0, myenviron); | ^~~~~~ rexecd.c:470:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 470 | write(2, "\0", 1); | ^~~~~~~~~~~~~~~~~ rexecd.c: In function 'fatal': rexecd.c:529:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | write(2, &x, 1); | ^~~~~~~~~~~~~~~ rexecd.c:530:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 530 | write(2, msg, strlen(msg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rcp.o -lcrypt -o rcp make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' (cd rlogin && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rexecd.o -lcrypt -ldl -lpam -o rexecd make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' (cd rlogind && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rlogin.c -c rlogin.c: In function 'main': rlogin.c:281:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] 281 | omask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1)); | ^~~~~ In file included from /usr/include/sys/param.h:28, from rlogin.c:51: /usr/include/signal.h:173:12: note: declared here 173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ rlogin.c:281:20: warning: sigmask is deprecated 281 | omask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1)); | ^~~~~~~~~~~~~~~~~~~~~~~ rlogin.c:281:20: warning: sigmask is deprecated rlogin.c: In function 'doit': rlogin.c:367:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 367 | sigsetmask(omask); | ^~~~~~~~~~ /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ rlogin.c: In function 'setsignal': rlogin.c:380:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] 380 | int omask = sigblock(sigmask(sig)); | ^~~ /usr/include/signal.h:173:12: note: declared here 173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ rlogin.c:380:20: warning: sigmask is deprecated 380 | int omask = sigblock(sigmask(sig)); | ^~~~~~~~~~~~~~~~~~~~~~~ rlogin.c:384:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 384 | sigsetmask(omask); | ^~~~~~~~~~ /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ rlogin.c: In function 'reader': rlogin.c:694:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 694 | sigsetmask(omask); | ^~~~~~~~~~ /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ rlogin.c: In function 'sendwindow': rlogin.c:568:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 568 | write(rem, obuf, sizeof(obuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'writer': rlogin.c:487:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | write(rem, &escapechar, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'echo': rlogin.c:519:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 519 | write(STDOUT_FILENO, buf, p - buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM rlogind.c -c rlogind.c: In function 'fatal': rlogind.c:109:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | write(f, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rlogind.c: In function 'doit': rlogind.c:422:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 422 | write(netfd, "rlogind: Host address mismatch.\r\n", 33); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogind.c: In function 'cleanup': rlogind.c:295:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 295 | chown(line, 0, 0); | ^~~~~~~~~~~~~~~~~ rlogind.c:300:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 300 | chown(line, 0, 0); | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rlogin.o -lcrypt -o rlogin make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' (cd rsh && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM network.c -c network.c: In function 'network_init': network.c:230:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | read(f, &c, 1); | ^~~~~~~~~~~~~~ network.c: In function 'network_confirm': network.c:291:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 291 | write(netf, "", 1); | ^~~~~~~~~~~~~~~~~~ network.c: In function 'network_anticonfirm': network.c:302:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | write(netf, &x, 1); | ^~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM auth.c -c auth.c: In function 'auth_checkauth': auth.c:150:34: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 150 | pam_get_item(pamh, PAM_USER, &ln); | ^~~ | | | char ** In file included from /usr/include/security/pam_appl.h:18, from auth.c:55: /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'char **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rsh.c -c rsh.c: In function 'main': rsh.c:193:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] 193 | omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM)); | ^~~~~ In file included from rsh.c:45: /usr/include/signal.h:173:12: note: declared here 173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ rsh.c:193:20: warning: sigmask is deprecated 193 | omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM)); | ^~~~~~~~~~~~~~~~~~~~~~~ rsh.c:193:20: warning: sigmask is deprecated rsh.c:193:20: warning: sigmask is deprecated rsh.c: In function 'talk': rsh.c:251:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 251 | if (! FD_ISSET(rem, &rembits)) | ^~ rsh.c:253:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 253 | wc = write(rem, bp, cc); | ^~ rsh.c:270:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 270 | sigsetmask(omask); | ^~~~~~~~~~ /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ rsh.c: In function 'sendsig': rsh.c:309:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 309 | write(rfd2, &x, 1); | ^~~~~~~~~~~~~~~~~~ rsh.c: In function 'talk': rsh.c:290:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 290 | write(2, buf, cc); | ^~~~~~~~~~~~~~~~~ rsh.c:298:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 298 | write(1, buf, cc); | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM sockconv.c -c sockconv.c: In function 'sock_conv': sockconv.c:158:29: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | my_fputs(msgm[replies]->msg, stderr); | ~~~~~~~~~~~~~^~~~~ sockconv.c:90:28: note: expected 'char *' but argument is of type 'const char *' 90 | static void my_fputs(char *str, FILE *out) | ~~~~~~^~~ sockconv.c:162:29: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | my_fputs(msgm[replies]->msg, stderr); | ~~~~~~~~~~~~~^~~~~ sockconv.c:90:28: note: expected 'char *' but argument is of type 'const char *' 90 | static void my_fputs(char *str, FILE *out) | ~~~~~~^~~ sockconv.c:131:53: warning: parameter 'appdata_ptr' set but not used [-Wunused-but-set-parameter] 131 | struct pam_response **response, void *appdata_ptr) | ~~~~~~^~~~~~~~~~~ sockconv.c: In function 'read_string': sockconv.c:68:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | read(0, &buffer[charsRead], 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sockconv.c:71:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | write(1, nl, 2); | ^~~~~~~~~~~~~~~ sockconv.c:77:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | write(1, &buffer[charsRead], 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rsh.o -lcrypt -o rsh make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' (cd rshd && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rlogind.o network.o auth.o sockconv.o -lcrypt -ldl -lpam -lpam_misc -o rlogind make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -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 rshd.c: In function 'findhostname': rshd.c:319:17: warning: pointer type mismatch in conditional expression 319 | : ( &((struct sockaddr_in *)fromp)->sin_addr )), | ^ rshd.c:368:17: warning: pointer type mismatch in conditional expression 368 | : ( &((struct sockaddr_in *)sa)->sin_addr )), | ^ rshd.c: In function 'doit': rshd.c:634:9: warning: missing sentinel in function call [-Wformat=] 634 | execl(theshell, shellname, "-c", cmdbuf, 0); | ^~~~~ rshd.c:516:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | (void) write(2, "\0", 1); | ^~~~~~~~~~~~~~~~~ rshd.c: In function 'stderr_parent': rshd.c:218:18: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 218 | else write(sock, buf, cc); | ^~~~~~~~~~~~~~~~~~~~ rshd.c: In function 'error': rshd.c:140:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | write(2, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rshd.o -lcrypt -ldl -lpam -lpam_misc -ldl -laudit -o rshd make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NAnner + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netkit-rsh-0.17 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man5 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/etc/pam.d + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64 'INSTALL=/usr/bin/install -p' INSTALLROOT=/builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64 BINDIR=/usr/bin MANDIR=/usr/share/man (cd rcp && /usr/bin/make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' install rcp /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/bin install -m644 rcp.1 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' (cd rexec && /usr/bin/make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' install -m 0755 rexec /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64//usr/bin/rexec install -m 0644 rexec.1 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64//usr/share/man/man1/rexec.1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' (cd rexecd && /usr/bin/make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' install -m755 rexecd /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/sbin/in.rexecd install -m644 rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man8/in.rexecd.8 ln -sf in.rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/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 && /usr/bin/make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' install rlogin /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/bin install -m 644 rlogin.1 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' (cd rlogind && /usr/bin/make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' install -m755 rlogind /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/sbin/in.rlogind install -m644 rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man8/in.rlogind.8 ln -sf in.rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man8/rlogind.8 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' (cd rsh && /usr/bin/make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' install rsh /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/bin install -m644 rsh.1 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' (cd rshd && /usr/bin/make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' install -m755 rshd /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/sbin/in.rshd install -m644 rshd.8 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man8/in.rshd.8 ln -sf in.rshd.8 /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/man/man8/rshd.8 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' + install -m 644 /builddir/build/SOURCES/rexec.pam /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/etc/pam.d/rexec + install -m 644 /builddir/build/SOURCES/rlogin.pam /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/etc/pam.d/rlogin + install -m 644 /builddir/build/SOURCES/rsh.pam /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/etc/pam.d/rsh + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/rsh@.service /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/lib/systemd/system/rsh@.service + install -m644 /builddir/build/SOURCES/rsh.socket /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/lib/systemd/system/rsh.socket + install -m644 /builddir/build/SOURCES/rlogin@.service /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/lib/systemd/system/rlogin@.service + install -m644 /builddir/build/SOURCES/rlogin.socket /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/lib/systemd/system/rlogin.socket + install -m644 /builddir/build/SOURCES/rexec@.service /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/lib/systemd/system/rexec@.service + install -m644 /builddir/build/SOURCES/rexec.socket /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/lib/systemd/system/rexec.socket + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.17-102.fc38 --unique-debug-suffix -0.17-102.fc38.x86_64 --unique-debug-src-base rsh-0.17-102.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-rsh-0.17 extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/bin/rexec extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/bin/rcp extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/bin/rlogin extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/bin/rsh extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/sbin/in.rexecd extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/sbin/in.rlogind extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/sbin/in.rshd original debug info size: 400kB, size after compression: 360kB /usr/bin/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. 274 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rsh-0.17-102.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cmRejK + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + DOCDIR=/builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/doc/rsh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/doc/rsh + cp -pr README /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/doc/rsh + cp -pr BUGS /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64/usr/share/doc/rsh + RPM_EC=0 ++ jobs -p + exit 0 Provides: rsh = 0.17-102.fc38 rsh(x86-64) = 0.17-102.fc38 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: 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.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: rsh-server-0.17-102.fc38.x86_64 Provides: config(rsh-server) = 0.17-102.fc38 rsh-server = 0.17-102.fc38 rsh-server(x86-64) = 0.17-102.fc38 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: libaudit.so.1()(64bit) libc.so.6()(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.34)(64bit) libc.so.6(GLIBC_2.4)(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) rtld(GNU_HASH) Processing files: rsh-debugsource-0.17-102.fc38.x86_64 Provides: rsh-debugsource = 0.17-102.fc38 rsh-debugsource(x86-64) = 0.17-102.fc38 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-102.fc38.x86_64 Provides: debuginfo(build-id) = 1cfc0e181e54a3d12688fc841b8e237d723ff3d5 debuginfo(build-id) = 6e763568e22004b3e8fed40ce64fe69a0638248d debuginfo(build-id) = f2615b496a97f54952473327ed5aeb7906fdcdef debuginfo(build-id) = f9c4adbcd4175a2c37bd4ae432e3f4d2b47972e3 rsh-debuginfo = 0.17-102.fc38 rsh-debuginfo(x86-64) = 0.17-102.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rsh-debugsource(x86-64) = 0.17-102.fc38 Processing files: rsh-server-debuginfo-0.17-102.fc38.x86_64 Provides: debuginfo(build-id) = 11c7f6d22e7aa92d2ebb53ceb60f775e21588113 debuginfo(build-id) = af2439eacc8d619d0c0f2eb27f3cbcfc83f82728 debuginfo(build-id) = de93d9b7c2ac09ef159281a9e62a24d37ee01528 rsh-server-debuginfo = 0.17-102.fc38 rsh-server-debuginfo(x86-64) = 0.17-102.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rsh-debugsource(x86-64) = 0.17-102.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64 Wrote: /builddir/build/RPMS/rsh-server-debuginfo-0.17-102.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/rsh-debuginfo-0.17-102.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/rsh-0.17-102.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/rsh-debugsource-0.17-102.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/rsh-server-0.17-102.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OpCSuq + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rsh-0.17-102.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.LvvsbB + umask 022 + cd /builddir/build/BUILD + rm -rf netkit-rsh-0.17 netkit-rsh-0.17.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0