Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/f29-build-10734-4852/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Tue Jun 26 2013 Michal Sekletar - 0.17-72 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/rsh-0.17-86.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/f29-build-10734-4852/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Tue Jun 26 2013 Michal Sekletar - 0.17-72 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.u0UYhE + 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/tar -xof - + /usr/bin/gzip -dc /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 . + 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 + echo 'Patch #2 (netkit-rsh-0.17-rexec.patch):' 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 + echo 'Patch #3 (netkit-rsh-0.10-stdarg.patch):' 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). + echo 'Patch #4 (netkit-rsh-0.16-jbj.patch):' 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 + echo 'Patch #8 (netkit-rsh-0.16-jbj4.patch):' 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 + echo 'Patch #9 (netkit-rsh-0.16-prompt.patch):' 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 + echo 'Patch #10 (netkit-rsh-0.16-rlogin=rsh.patch):' 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 + echo 'Patch #12 (netkit-rsh-0.17-pre20000412-jbj5.patch):' 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 + echo 'Patch #13 (netkit-rsh-0.17-userandhost.patch):' 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 + echo 'Patch #14 (netkit-rsh-0.17-strip.patch):' 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 + echo 'Patch #15 (netkit-rsh-0.17-lfs.patch):' 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 + echo 'Patch #16 (netkit-rsh-0.17-chdir.patch):' 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 + echo 'Patch #19 (netkit-rsh-0.17-rexec-netrc.patch):' 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 + echo 'Patch #20 (netkit-rsh-0.17-pam-sess.patch):' 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 + echo 'Patch #21 (netkit-rsh-0.17-errno.patch):' 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 + echo 'Patch #22 (netkit-rsh-0.17-rexec-sig.patch):' 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 + echo 'Patch #23 (netkit-rsh-0.17-nohost.patch):' 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 + echo 'Patch #24 (netkit-rsh-0.17-ignchld.patch):' 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 + echo 'Patch #25 (netkit-rsh-0.17-checkdir.patch):' 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 + echo 'Patch #26 (netkit-rsh-0.17-pam-conv.patch):' 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 + echo 'Patch #27 (netkit-rsh-0.17-rcp-largefile.patch):' 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 + echo 'Patch #28 (netkit-rsh-0.17-pam-rhost.patch):' 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 + echo 'Patch #29 (netkit-rsh-0.17-rlogin-linefeed.patch):' 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 + echo 'Patch #30 (netkit-rsh-0.17-ipv6.patch):' 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 + echo 'Patch #31 (netkit-rsh-0.17-pam_env.patch):' 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 + echo 'Patch #33 (netkit-rsh-0.17-dns.patch):' 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 + echo 'Patch #35 (netkit-rsh-0.17-audit.patch):' 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 + echo 'Patch #36 (netkit-rsh-0.17-longname.patch):' 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 + echo 'Patch #37 (netkit-rsh-0.17-arg_max.patch):' 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). Patch #38 (netkit-rsh-0.17-rh448904.patch): + echo '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). + echo 'Patch #40 (netkit-rsh-0.17-rh473492.patch):' 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 + echo 'Patch #42 (netkit-rsh-0.17-rh710987.patch):' 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 + echo 'Patch #43 (netkit-rsh-0.17-rh784467.patch):' 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 + echo 'Patch #44 (netkit-rsh-0.17-rh896583.patch):' 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 + echo 'Patch #45 (netkit-rsh-0.17-rh947213.patch):' 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 + echo 'Patch #46 (0001-rshd-use-sockaddr_in-for-non-native-IPv6-clients.patch):' 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 + echo 'Patch #47 (0002-rlogind-use-sockaddr_in-for-non-native-IPv6-client.patch):' 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 + echo 'Patch #48 (netkit-rsh-0.17-ipv6-rexec.patch):' 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 + echo 'Patch #49 (0001-rshd-include-missing-header-file.patch):' 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 + echo 'Patch #50 (0001-rshd-use-upper-bound-for-cmdbuflen.patch):' 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). + echo 'Patch #51 (0001-rcp-don-t-advance-pointer-returned-from-rcp_basename.patch):' 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 + echo 'Patch #52 (netkit-rsh-0.17-union-wait.patch):' 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 + rm -f rexec/rexec + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4iwnhw + 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 ' BUILDSTDERR: s,^CC=.*$,CC=cc,; BUILDSTDERR: s,-O2,\$(RPM_OPT_FLAGS) -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE,; BUILDSTDERR: s,^LDFLAGS=,LDFLAGS=-z now -pie,; BUILDSTDERR: s,^BINDIR=.*$,BINDIR=/usr/bin,; BUILDSTDERR: s,^MANDIR=.*$,MANDIR=/usr/share/man,; BUILDSTDERR: s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; BUILDSTDERR: ' MCONFIG + make -j4 (cd rcp && make) (cd rexec && make) (cd rexecd && make) (cd rlogin && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rexec.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rcp' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rcp.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM -DRESTRICT_FTP=1 rexecd.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rlogin.c -c BUILDSTDERR: rexec.c: In function 'main': BUILDSTDERR: rexec.c:221:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (sig = 0; sig < sizeof(bsd_signals)/sizeof(int); ++sig) BUILDSTDERR: ^ BUILDSTDERR: rexec.c: In function 'safe_write_error': BUILDSTDERR: rexecd.c: In function 'main': BUILDSTDERR: rexecd.c:195:114: warning: passing argument 6 of 'getnameinfo' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: r = getnameinfo((struct sockaddr *) &from, sizeof(struct sockaddr_storage), remote_hostname, NI_MAXHOST, NULL, NULL, 0); BUILDSTDERR: ^~~~ BUILDSTDERR: rexec.c:530:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) write(STDERR_FILENO, message, msg_len); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from rexecd.c:74: BUILDSTDERR: /usr/include/netdb.h:678:14: note: expected 'socklen_t' {aka 'unsigned int'} but argument is of type 'void *' BUILDSTDERR: socklen_t __servlen, int __flags); BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: rexecd.c: In function 'PAM_conv': BUILDSTDERR: rexecd.c:229:41: warning: unused parameter 'appdata_ptr' [-Wunused-parameter] BUILDSTDERR: struct pam_response **response, void *appdata_ptr) BUILDSTDERR: ~~~~~~^~~~~~~~~~~ BUILDSTDERR: rexecd.c: In function 'doit': BUILDSTDERR: rexecd.c:513:2: warning: missing sentinel in function call [-Wformat=] BUILDSTDERR: execle(theshell, cp2, "-c", cmdbuf, 0, myenviron); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rcp.c: In function 'response': BUILDSTDERR: rcp.c:620:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, rbuf, cp - rbuf); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'source': BUILDSTDERR: rcp.c:480:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, buf, (int)strlen(buf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rexecd.c:463:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, "\0", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:488:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, buf, (int)strlen(buf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:504:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, bp->buf, amt); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:508:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'main': BUILDSTDERR: rlogin.c:281:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: omask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1)); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:170:12: note: declared here BUILDSTDERR: extern int sigblock (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rexecd.c: In function 'fatal': BUILDSTDERR: rexecd.c:522:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, &x, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: rexecd.c:523:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, msg, strlen(msg)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'rsource': BUILDSTDERR: rcp.c:564:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, path, (int)strlen(path)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:572:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, path, (int)strlen(path)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:591:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, "E\n", 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'doit': BUILDSTDERR: rlogin.c:367:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: sigsetmask(omask); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'setsignal': BUILDSTDERR: rlogin.c:380:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: int omask = sigblock(sigmask(sig)); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:170:12: note: declared here BUILDSTDERR: extern int sigblock (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rlogin.c:384:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: sigsetmask(omask); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'reader': BUILDSTDERR: rlogin.c:694:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: sigsetmask(omask); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/param.h:28, BUILDSTDERR: from rlogin.c:51: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'sink': BUILDSTDERR: rcp.c:672:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:690:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(2, buf + 1, (int)strlen(buf + 1)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:697:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:721:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:800:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:864:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)write(rem, "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'sendwindow': BUILDSTDERR: rlogin.c:568:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(rem, obuf, sizeof(obuf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'writer': BUILDSTDERR: rlogin.c:487:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(rem, &escapechar, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogin.c: In function 'echo': BUILDSTDERR: rlogin.c:519:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDOUT_FILENO, buf, p - buf); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c: In function 'tolocal': BUILDSTDERR: rcp.c:336:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)seteuid(userid); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: rcp.c:344:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)seteuid(0); BUILDSTDERR: ^~~~~~~~~~ cc -z now -pie rexecd.o -lcrypt -lutil -lutil -ldl -lpam -o rexecd make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexecd' (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 -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 BUILDSTDERR: ruserpass.c:80:1: warning: no previous prototype for 'xruserpass' [-Wmissing-prototypes] BUILDSTDERR: xruserpass(const char *host, char **aname, char **apass) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: rlogind.c: In function 'fatal': BUILDSTDERR: rlogind.c:109:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(f, buf, strlen(buf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogind.c: In function 'doit': BUILDSTDERR: rlogind.c:422:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(netfd, "rlogind: Host address mismatch.\r\n", 33); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogind.c: In function 'cleanup': BUILDSTDERR: rlogind.c:295:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chown(line, 0, 0); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rlogind.c:300:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chown(line, 0, 0); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ cc -z now -pie rlogin.o -lcrypt -lutil -lutil -o rlogin make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rlogin' (cd rsh && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rsh' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rsh.c -c cc -z now -pie rexec.o ruserpass.o -o rexec make[1]: Leaving directory '/builddir/build/BUILD/netkit-rsh-0.17/rexec' (cd rshd && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-rsh-0.17/rshd' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM -DUSE_AUDIT rshd.c -c BUILDSTDERR: rsh.c: In function 'main': BUILDSTDERR: rsh.c:193:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM)); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from rsh.c:45: BUILDSTDERR: /usr/include/signal.h:170:12: note: declared here BUILDSTDERR: extern int sigblock (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rsh.c: In function 'talk': BUILDSTDERR: rsh.c:251:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (! FD_ISSET(rem, &rembits)) BUILDSTDERR: ^~ BUILDSTDERR: rsh.c:253:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: wc = write(rem, bp, cc); BUILDSTDERR: ^~ BUILDSTDERR: rsh.c:270:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: sigsetmask(omask); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from rsh.c:45: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: rsh.c: In function 'sendsig': BUILDSTDERR: rsh.c:309:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(rfd2, &x, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: rsh.c: In function 'talk': BUILDSTDERR: rsh.c:290:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, buf, cc); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rsh.c:298:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(1, buf, cc); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rshd.c: In function 'findhostname': BUILDSTDERR: rshd.c:319:3: warning: pointer type mismatch in conditional expression BUILDSTDERR: : ( &((struct sockaddr_in *)fromp)->sin_addr )), BUILDSTDERR: ^ BUILDSTDERR: rshd.c:368:3: warning: pointer type mismatch in conditional expression BUILDSTDERR: : ( &((struct sockaddr_in *)sa)->sin_addr )), BUILDSTDERR: ^ BUILDSTDERR: rshd.c: In function 'doit': BUILDSTDERR: rshd.c:632:2: warning: missing sentinel in function call [-Wformat=] BUILDSTDERR: execl(theshell, shellname, "-c", cmdbuf, 0); BUILDSTDERR: ^~~~~ BUILDSTDERR: rshd.c:514:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) write(2, "\0", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rshd.c: In function 'stderr_parent': BUILDSTDERR: rshd.c:218:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: else write(sock, buf, cc); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rshd.c: In function 'error': BUILDSTDERR: rshd.c:140:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, buf, strlen(buf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM network.c -c cc -z now -pie rcp.o -lcrypt -lutil -lutil -o rcp cc -z now -pie rsh.o -lcrypt -lutil -lutil -o rsh 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 auth.c -c BUILDSTDERR: network.c: In function 'network_init': BUILDSTDERR: network.c:230:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read(f, &c, 1); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: network.c: In function 'network_confirm': BUILDSTDERR: network.c:291:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(netf, "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: network.c: In function 'network_anticonfirm': BUILDSTDERR: network.c:302:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(netf, &x, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ 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 BUILDSTDERR: auth.c: In function 'auth_checkauth': BUILDSTDERR: auth.c:150:34: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: pam_get_item(pamh, PAM_USER, &ln); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/security/pam_appl.h:18, BUILDSTDERR: from auth.c:55: BUILDSTDERR: /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'char **' BUILDSTDERR: pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); BUILDSTDERR: ~~~~~~~~~~~~~^~~~ BUILDSTDERR: sockconv.c: In function 'sock_conv': BUILDSTDERR: sockconv.c:158:29: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: my_fputs(msgm[replies]->msg, stderr); BUILDSTDERR: ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: sockconv.c:90:28: note: expected 'char *' but argument is of type 'const char * const' BUILDSTDERR: static void my_fputs(char *str, FILE *out) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: sockconv.c:162:29: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: my_fputs(msgm[replies]->msg, stderr); BUILDSTDERR: ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: sockconv.c:90:28: note: expected 'char *' but argument is of type 'const char * const' BUILDSTDERR: static void my_fputs(char *str, FILE *out) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: sockconv.c:131:46: warning: parameter 'appdata_ptr' set but not used [-Wunused-but-set-parameter] BUILDSTDERR: struct pam_response **response, void *appdata_ptr) BUILDSTDERR: ~~~~~~^~~~~~~~~~~ BUILDSTDERR: sockconv.c: In function 'read_string': BUILDSTDERR: sockconv.c:68:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read(0, &buffer[charsRead], 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sockconv.c:71:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(1, nl, 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: sockconv.c:77:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(1, &buffer[charsRead], 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ylAn8X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64 + cd netkit-rsh-0.17 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/man/man5 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/etc/pam.d + make INSTALLROOT=/builddir/build/BUILDROOT/rsh-0.17-86.fc29.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-86.fc29.riscv64/usr/bin install -m644 rcp.1 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.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-86.fc29.riscv64//usr/bin/rexec install -m 0644 rexec.1 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.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-86.fc29.riscv64/usr/sbin/in.rexecd install -m644 rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/man/man8/in.rexecd.8 ln -sf in.rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.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-86.fc29.riscv64/usr/bin install -m 644 rlogin.1 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.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-86.fc29.riscv64/usr/sbin/in.rlogind install -m644 rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/man/man8/in.rlogind.8 ln -sf in.rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.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-86.fc29.riscv64/usr/bin install -m644 rsh.1 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.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-86.fc29.riscv64/usr/sbin/in.rshd install -m644 rshd.8 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/man/man8/in.rshd.8 ln -sf in.rshd.8 /builddir/build/BUILDROOT/rsh-0.17-86.fc29.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-86.fc29.riscv64/etc/pam.d/rexec + install -m 644 /builddir/build/SOURCES/rlogin.pam /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/etc/pam.d/rlogin + install -m 644 /builddir/build/SOURCES/rsh.pam /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/etc/pam.d/rsh + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/rsh@.service /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/lib/systemd/system/rsh@.service + install -m644 /builddir/build/SOURCES/rsh.socket /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/lib/systemd/system/rsh.socket + install -m644 /builddir/build/SOURCES/rlogin@.service /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/lib/systemd/system/rlogin@.service + install -m644 /builddir/build/SOURCES/rlogin.socket /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/lib/systemd/system/rlogin.socket + install -m644 /builddir/build/SOURCES/rexec@.service /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/lib/systemd/system/rexec@.service + install -m644 /builddir/build/SOURCES/rexec.socket /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/lib/systemd/system/rexec.socket + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.17-86.fc29 --unique-debug-suffix -0.17-86.fc29.riscv64 --unique-debug-src-base rsh-0.17-86.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-rsh-0.17 extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/bin/rcp extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/bin/rexec extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/bin/rsh extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/bin/rlogin extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/sbin/in.rlogind extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/sbin/in.rexecd extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/sbin/in.rshd /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. BUILDSTDERR: 273 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rsh-0.17-86.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hFkzDa + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + DOCDIR=/builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/doc/rsh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/doc/rsh + cp -pr README /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/doc/rsh + cp -pr BUGS /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64/usr/share/doc/rsh + exit 0 Provides: rsh = 0.17-86.fc29 rsh(riscv-64) = 0.17-86.fc29 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.1()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: rsh-server-0.17-86.fc29.riscv64 Provides: config(rsh-server) = 0.17-86.fc29 rsh-server = 0.17-86.fc29 rsh-server(riscv-64) = 0.17-86.fc29 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.1()(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-86.fc29.riscv64 Provides: rsh-debugsource = 0.17-86.fc29 rsh-debugsource(riscv-64) = 0.17-86.fc29 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-86.fc29.riscv64 Provides: debuginfo(build-id) = 47efb41cb68dc92aaf14b56a28315e7c98aedff8 debuginfo(build-id) = 5a5013c72f80ec0614647564d1ace4853b7d8a13 debuginfo(build-id) = 96cb7fa9afe3c0e72a6d445d510d8fba469006be debuginfo(build-id) = fd072a17c0d0d35bdb6fa8d28d5e96b84a1d27f9 rsh-debuginfo = 0.17-86.fc29 rsh-debuginfo(riscv-64) = 0.17-86.fc29 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-86.fc29 Processing files: rsh-server-debuginfo-0.17-86.fc29.riscv64 Provides: debuginfo(build-id) = 17dd7dc855c4b21c3e5c3b538f3c34fb02cd0673 debuginfo(build-id) = 4749072e830e64f91a9fa4357d82d3906151b760 debuginfo(build-id) = 714f931aa55c903f8e489e35ab448345a7640e1c rsh-server-debuginfo = 0.17-86.fc29 rsh-server-debuginfo(riscv-64) = 0.17-86.fc29 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-86.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64 Wrote: /builddir/build/RPMS/rsh-0.17-86.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-server-0.17-86.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-debugsource-0.17-86.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-debuginfo-0.17-86.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rsh-server-debuginfo-0.17-86.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.y5gcY2 + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rsh-0.17-86.fc29.riscv64 + exit 0 Child return code was: 0