Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/f33-build-137088-41965/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=432000uid=987gid=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=1580688000 Wrote: /builddir/build/SRPMS/rsh-0.17-94.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/f33-build-137088-41965/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=432000uid=987gid=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=1580688000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.omwBJO + 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):' Patch #1 (netkit-rsh-0.17-sectty.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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 -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 -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 -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 -p1 -b --suffix .rsh --fuzz=0 patching file rlogin/rlogin.c + echo 'Patch #11 (netkit-rsh-0.16-nokrb.patch):' Patch #11 (netkit-rsh-0.16-nokrb.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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). + echo 'Patch #38 (netkit-rsh-0.17-rh448904.patch):' Patch #38 (netkit-rsh-0.17-rh448904.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 -p1 -b --suffix .rh473492 --fuzz=0 patching file rexec/rexec.c patching file rshd/rshd.c + echo 'Patch #41 (netkit-rsh-0.17-rh650119.patch):' Patch #41 (netkit-rsh-0.17-rh650119.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -p1 -b --suffix .cmdbuflen --fuzz=0 patching file rexecd/rexecd.c Hunk #1 succeeded at 307 (offset 46 lines). patching file rshd/rshd.c + rm -f rexec/rexec + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hGkTSO + umask 022 + cd /builddir/build/BUILD + 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... -lutil Checking for logwtmp... -lutil Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + 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 ' 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=-z now -pie,; s,^BINDIR=.*$,BINDIR=/usr/bin,; s,^MANDIR=.*$,MANDIR=/usr/share/man,; s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; ' MCONFIG + make -j4 (cd rcp && make) (cd rexec && make) (cd rexecd && make) (cd rlogin && make) 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/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 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/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 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) | ^ rexecd.c: In function 'main': rexecd.c:195:114: 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:14: 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:41: warning: unused parameter 'appdata_ptr' [-Wunused-parameter] 229 | struct pam_response **response, void *appdata_ptr) | ~~~~~~^~~~~~~~~~~ rexecd.c: In function 'doit': rexecd.c:520:2: warning: missing sentinel in function call [-Wformat=] 520 | execle(theshell, cp2, "-c", cmdbuf, 0, myenviron); | ^~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'main': rlogin.c:281:2: 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:170:12: note: declared here 170 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ rexecd.c:470:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 470 | write(2, "\0", 1); | ^~~~~~~~~~~~~~~~~ rlogin.c: In function 'doit': rlogin.c:367:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 367 | sigsetmask(omask); | ^~~~~~~~~~ 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 sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ rlogin.c: In function 'setsignal': rlogin.c:380:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] 380 | int omask = sigblock(sigmask(sig)); | ^~~ In file included from /usr/include/sys/param.h:28, from rlogin.c:51: /usr/include/signal.h:170:12: note: declared here 170 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ rlogin.c:384:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 384 | sigsetmask(omask); | ^~~~~~~~~~ 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 sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ rexecd.c: In function 'fatal': rexecd.c:529:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | write(2, &x, 1); | ^~~~~~~~~~~~~~~ rexecd.c:530:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 530 | write(2, msg, strlen(msg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'reader': rlogin.c:694:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 694 | sigsetmask(omask); | ^~~~~~~~~~ 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 sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ rlogin.c: In function 'sendwindow': rlogin.c:568:3: 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:6: 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:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 519 | write(STDOUT_FILENO, buf, p - buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c: In function 'response': rcp.c:620:4: 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:10: 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:9: 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:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 504 | (void)write(rem, bp->buf, amt); | ^~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:508:10: 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:9: 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:8: 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:8: 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:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 672 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c:690:11: 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:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 697 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c:721:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c:800:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 800 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c:864:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 864 | (void)write(rem, "", 1); | ^~~~~~~~~~~~~~~~~ rcp.c: In function 'tolocal': rcp.c:336:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 336 | (void)seteuid(userid); | ^~~~~~~~~~~~~~~ rcp.c:344:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 344 | (void)seteuid(0); | ^~~~~~~~~~ cc -z now -pie rexecd.o -lcrypt -lutil -lutil -ldl -lpam -o 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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' (cd rlogind && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogind' 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 rlogind.c -c cc -z now -pie rlogin.o -lcrypt -lutil -lutil -o rlogin 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/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 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:2: 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); | ^~~~~~~~~~~~~~~~~ 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) rsh.c: In function 'main': rsh.c:193:2: 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:170:12: note: declared here 170 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ rsh.c: In function 'talk': rsh.c:251:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 251 | if (! FD_ISSET(rem, &rembits)) | ^~ rsh.c:253:4: 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:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 270 | sigsetmask(omask); | ^~~~~~~~~~ In file included from rsh.c:45: /usr/include/signal.h:173:12: note: declared here 173 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ rsh.c: In function 'sendsig': rsh.c:309:3: 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:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 290 | write(2, buf, cc); | ^~~~~~~~~~~~~~~~~ rsh.c:298:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 298 | write(1, buf, cc); | ^~~~~~~~~~~~~~~~~ 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 -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 rshd.c: In function 'findhostname': rshd.c:319:3: warning: pointer type mismatch in conditional expression 319 | : ( &((struct sockaddr_in *)fromp)->sin_addr )), | ^ rshd.c:368:3: warning: pointer type mismatch in conditional expression 368 | : ( &((struct sockaddr_in *)sa)->sin_addr )), | ^ rshd.c: In function 'doit': rshd.c:634:2: warning: missing sentinel in function call [-Wformat=] 634 | execl(theshell, shellname, "-c", cmdbuf, 0); | ^~~~~ rshd.c:516:9: 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:11: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -z now -pie rsh.o -lcrypt -lutil -lutil -o rsh network.c: In function 'network_init': network.c:230:2: 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:2: 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:2: 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/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 sockconv.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); | ~~~~~~~~~~~~~^~~~ 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 * const' 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 * const' 90 | static void my_fputs(char *str, FILE *out) | ~~~~~~^~~ sockconv.c:131:46: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -z now -pie rlogind.o network.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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Gv5HrM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64 + cd netkit-rsh-0.17 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/man/man5 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/etc/pam.d + make INSTALLROOT=/builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64 BINDIR=/usr/bin MANDIR=/usr/share/man install (cd rcp && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' install rcp /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin install -m644 rcp.1 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.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-94.fc33.riscv64//usr/bin/rexec install -m 0644 rexec.1 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.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-94.fc33.riscv64/usr/sbin/in.rexecd install -m644 rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/man/man8/in.rexecd.8 ln -sf in.rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.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-94.fc33.riscv64/usr/bin install -m 644 rlogin.1 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.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-94.fc33.riscv64/usr/sbin/in.rlogind install -m644 rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/man/man8/in.rlogind.8 ln -sf in.rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.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-94.fc33.riscv64/usr/bin install -m644 rsh.1 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.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-94.fc33.riscv64/usr/sbin/in.rshd install -m644 rshd.8 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/man/man8/in.rshd.8 ln -sf in.rshd.8 /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/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-94.fc33.riscv64/etc/pam.d/rexec + install -m 644 /builddir/build/SOURCES/rlogin.pam /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/etc/pam.d/rlogin + install -m 644 /builddir/build/SOURCES/rsh.pam /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/etc/pam.d/rsh + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/rsh@.service /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/lib/systemd/system/rsh@.service + install -m644 /builddir/build/SOURCES/rsh.socket /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/lib/systemd/system/rsh.socket + install -m644 /builddir/build/SOURCES/rlogin@.service /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/lib/systemd/system/rlogin@.service + install -m644 /builddir/build/SOURCES/rlogin.socket /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/lib/systemd/system/rlogin.socket + install -m644 /builddir/build/SOURCES/rexec@.service /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/lib/systemd/system/rexec@.service + install -m644 /builddir/build/SOURCES/rexec.socket /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/lib/systemd/system/rexec.socket + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.17-94.fc33 --unique-debug-suffix -0.17-94.fc33.riscv64 --unique-debug-src-base rsh-0.17-94.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-rsh-0.17 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin/rexec explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin/rlogin explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin/rcp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin/rsh extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin/rlogin extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin/rexec extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin/rcp extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/bin/rsh explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/sbin/in.rexecd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/sbin/in.rlogind extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/sbin/in.rexecd extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/sbin/in.rlogind explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/sbin/in.rshd extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/sbin/in.rshd original debug info size: 452kB, size after compression: 416kB /usr/lib/rpm/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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rsh-0.17-94.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KcoKvO + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + DOCDIR=/builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/doc/rsh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/doc/rsh + cp -pr README /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/doc/rsh + cp -pr BUGS /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64/usr/share/doc/rsh + RPM_EC=0 ++ jobs -p + exit 0 Provides: rsh = 0.17-94.fc33 rsh(riscv-64) = 0.17-94.fc33 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-94.fc33.riscv64 Provides: config(rsh-server) = 0.17-94.fc33 rsh-server = 0.17-94.fc33 rsh-server(riscv-64) = 0.17-94.fc33 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-94.fc33.riscv64 Provides: rsh-debugsource = 0.17-94.fc33 rsh-debugsource(riscv-64) = 0.17-94.fc33 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-94.fc33.riscv64 Provides: debuginfo(build-id) = 23c2fb2e393a38f4b6ea4a6ddc68766d8a8551dd debuginfo(build-id) = 3f14a94ee41f5e35e25529eb1989062933a7cf9d debuginfo(build-id) = 4136bb65b45932fba178fea6eeacf101ad72d4d3 debuginfo(build-id) = ab8bfb3015d558269c1e547d263ec2d8ea1f7d40 rsh-debuginfo = 0.17-94.fc33 rsh-debuginfo(riscv-64) = 0.17-94.fc33 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-94.fc33 Processing files: rsh-server-debuginfo-0.17-94.fc33.riscv64 Provides: debuginfo(build-id) = 278f4b8503eed8884573a31f1b2e78a565272374 debuginfo(build-id) = 77cd20e095f43bcab156465d4edaa7dd98ba66b0 debuginfo(build-id) = cb7ae87d704ee321f3589aa8173658f77c410db9 rsh-server-debuginfo = 0.17-94.fc33 rsh-server-debuginfo(riscv-64) = 0.17-94.fc33 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-94.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64 Wrote: /builddir/build/RPMS/rsh-server-0.17-94.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-0.17-94.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-debugsource-0.17-94.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-debuginfo-0.17-94.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-server-debuginfo-0.17-94.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.048vbO + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rsh-0.17-94.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0