Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/rsh-0.17-80.el7-20201002182857-19286/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/rsh.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64 Building for target ppc64 Wrote: /builddir/build/SRPMS/rsh-0.17-80.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/rsh.spec'], chrootPath='/var/lib/mock/rsh-0.17-80.el7-20201002182857-19286/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/rsh.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64 Building for target ppc64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pOkW3S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-rsh-0.17 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/netkit-rsh-0.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-rsh-0.17 + /usr/bin/tar -xf - + /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 . Patch #1 (netkit-rsh-0.17-sectty.patch): + echo 'Patch #1 (netkit-rsh-0.17-sectty.patch):' + /usr/bin/patch -p1 -b --suffix .sectty --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-sectty.patch patching file rexecd/rexecd.c patching file rlogind/auth.c Hunk #1 succeeded at 122 (offset -1 lines). patching file rshd/rshd.c Patch #2 (netkit-rsh-0.17-rexec.patch): + echo 'Patch #2 (netkit-rsh-0.17-rexec.patch):' + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-rexec.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.10-stdarg.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.16-jbj.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.16-jbj4.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.16-prompt.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.16-rlogin=rsh.patch + /usr/bin/patch -p1 -b --suffix .rsh --fuzz=0 patching file rlogin/rlogin.c Patch #11 (netkit-rsh-0.16-nokrb.patch): + echo 'Patch #11 (netkit-rsh-0.16-nokrb.patch):' + /usr/bin/patch -p1 -b --suffix .rsh.nokrb --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.16-nokrb.patch patching file rcp/rcp.1 patching file rlogin/rlogin.1 patching file rsh/rsh.1 Patch #12 (netkit-rsh-0.17-pre20000412-jbj5.patch): + echo 'Patch #12 (netkit-rsh-0.17-pre20000412-jbj5.patch):' + /usr/bin/patch -p1 -b --suffix .jbj5 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-pre20000412-jbj5.patch 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 -p1 -b --suffix .userandhost --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-userandhost.patch 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 -p1 -b --suffix .strip --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-strip.patch patching file rcp/Makefile patching file rexecd/Makefile patching file rlogin/Makefile patching file rlogind/Makefile patching file rsh/Makefile patching file rshd/Makefile Patch #15 (netkit-rsh-0.17-lfs.patch): + echo 'Patch #15 (netkit-rsh-0.17-lfs.patch):' + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-lfs.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-chdir.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-pam-nologin.patch + /usr/bin/patch -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 -p1 -b --suffix .rexec-netrc --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-rexec-netrc.patch patching file rexec/ruserpass.c patching file rexec/rexec.c patching file rexec/Makefile Patch #20 (netkit-rsh-0.17-pam-sess.patch): + echo 'Patch #20 (netkit-rsh-0.17-pam-sess.patch):' + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-pam-sess.patch + /usr/bin/patch -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 -p1 -b --suffix .errno --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-errno.patch 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/cat /builddir/build/SOURCES/netkit-rsh-0.17-rexec-sig.patch + /usr/bin/patch -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 -p1 -b --suffix .nohost --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-nohost.patch 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 -p1 -b --suffix .ignchld --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-ignchld.patch patching file rlogind/rlogind.c Hunk #1 succeeded at 439 (offset -1 lines). patching file rlogin/rlogin.c Patch #25 (netkit-rsh-0.17-checkdir.patch): + echo 'Patch #25 (netkit-rsh-0.17-checkdir.patch):' + /usr/bin/patch -p1 -b --suffix .checkdir --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-checkdir.patch 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 -p1 -b --suffix .pam-conv --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-pam-conv.patch 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 -p1 -b --suffix .largefile --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-rcp-largefile.patch 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 -p1 -b --suffix .pam-rhost --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-pam-rhost.patch 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 -p1 -b --suffix .linefeed --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-rlogin-linefeed.patch patching file rlogind/sockconv.c Patch #30 (netkit-rsh-0.17-ipv6.patch): + echo 'Patch #30 (netkit-rsh-0.17-ipv6.patch):' + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-ipv6.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-pam_env.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-dns.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-nohostcheck-compat.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-audit.patch + /usr/bin/patch -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 -p1 -b --suffix .longname --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-longname.patch 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 -p1 -b --suffix .arg_max --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-arg_max.patch patching file rexecd/rexecd.c patching file rshd/rshd.c Hunk #1 succeeded at 405 (offset 3 lines). Hunk #2 succeeded at 418 (offset 2 lines). Hunk #3 succeeded at 475 (offset 2 lines). Patch #38 (netkit-rsh-0.17-rh448904.patch): + echo 'Patch #38 (netkit-rsh-0.17-rh448904.patch):' + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-rh448904.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-rh461903.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-rh473492.patch + /usr/bin/patch -p1 -b --suffix .rh473492 --fuzz=0 patching file rexec/rexec.c patching file rshd/rshd.c Patch #41 (netkit-rsh-0.17-rh650119.patch): + echo 'Patch #41 (netkit-rsh-0.17-rh650119.patch):' + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-rh650119.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-rh710987.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-rh784467.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-rh896583.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-rh947213.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/0001-rshd-use-sockaddr_in-for-non-native-IPv6-clients.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/0002-rlogind-use-sockaddr_in-for-non-native-IPv6-client.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/netkit-rsh-0.17-ipv6-rexec.patch + /usr/bin/patch -p1 -b --suffix .ipv6-rexec --fuzz=0 patching file rexecd/rexecd.c patching file rexec/rexec.c Patch #49 (0001-rshd-use-upper-bound-for-cmdbuflen.patch): + echo 'Patch #49 (0001-rshd-use-upper-bound-for-cmdbuflen.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-rshd-use-upper-bound-for-cmdbuflen.patch + /usr/bin/patch -p1 -b --suffix .cmdbuflen --fuzz=0 patching file rshd/rshd.c Patch #50 (0001-rcp-don-t-advance-pointer-returned-from-rcp_basename.patch): + echo 'Patch #50 (0001-rcp-don-t-advance-pointer-returned-from-rcp_basename.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-rcp-don-t-advance-pointer-returned-from-rcp_basename.patch + /usr/bin/patch -p1 -b --suffix .basename --fuzz=0 patching file rcp/rcp.c Patch #51 (netkit-rsh-0.17-pam-warning.patch): + echo 'Patch #51 (netkit-rsh-0.17-pam-warning.patch):' + /usr/bin/patch -p1 -b --suffix .pam-warning --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-pam-warning.patch patching file rcp/rcp.c Patch #52 (netkit-rsh-0.17-rexec-cmdbuflen.patch): + echo 'Patch #52 (netkit-rsh-0.17-rexec-cmdbuflen.patch):' + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-rexec-cmdbuflen.patch + /usr/bin/patch -p1 -b --suffix .rexec-cmdbuflen --fuzz=0 patching file rexecd/rexecd.c Hunk #1 succeeded at 307 (offset 46 lines). patching file rshd/rshd.c Hunk #1 succeeded at 432 (offset -1 lines). Patch #53 (netkit-rsh-0.17-remote-close.patch): + echo 'Patch #53 (netkit-rsh-0.17-remote-close.patch):' + /usr/bin/patch -p1 -b --suffix .remote-close --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/netkit-rsh-0.17-remote-close.patch patching file rshd/rshd.c + rm -f rexec/rexec + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jHYeTm + 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -fno-strict-aliasing' + RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 -j32 (cd rcp && make) (cd rexec && make) (cd rexecd && make) make[1]: Entering directory `/builddir/build/BUILD/netkit-rsh-0.17/rcp' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 (cd rlogin && make) (cd rlogind && make) make[1]: Entering directory `/builddir/build/BUILD/netkit-rsh-0.17/rexec' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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/rlogin' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rlogin.c -c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -fno-strict-aliasing -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline ruserpass.c -c (cd rsh && make) make[1]: Entering directory `/builddir/build/BUILD/netkit-rsh-0.17/rexecd' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 (cd rshd && make) make[1]: Entering directory `/builddir/build/BUILD/netkit-rsh-0.17/rlogind' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 make[1]: Entering directory `/builddir/build/BUILD/netkit-rsh-0.17/rsh' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 make[1]: Entering directory `/builddir/build/BUILD/netkit-rsh-0.17/rshd' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 rexec.c: In function 'main': rexec.c:221:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (sig = 0; sig < sizeof(bsd_signals)/sizeof(int); ++sig) ^ rexec.c: In function 'safe_write_error': rexec.c:530:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(STDERR_FILENO, message, msg_len); ^ rlogin.c: In function 'main': rlogin.c:281:2: warning: 'sigblock' is deprecated (declared at /usr/include/signal.h:197) [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1)); ^ rlogin.c: In function 'doit': rlogin.c:367:2: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:200) [-Wdeprecated-declarations] sigsetmask(omask); ^ rlogin.c: In function 'setsignal': rlogin.c:380:2: warning: 'sigblock' is deprecated (declared at /usr/include/signal.h:197) [-Wdeprecated-declarations] int omask = sigblock(sigmask(sig)); ^ rlogin.c:384:2: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:200) [-Wdeprecated-declarations] sigsetmask(omask); ^ rlogin.c: In function 'reader': rlogin.c:694:2: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:200) [-Wdeprecated-declarations] sigsetmask(omask); ^ rcp.c: In function 'response': rcp.c:620:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, rbuf, cp - rbuf); ^ rlogin.c: In function 'sendwindow': rlogin.c:568:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rem, obuf, sizeof(obuf)); ^ rcp.c: In function 'source': rcp.c:480:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, buf, (int)strlen(buf)); ^ rcp.c:488:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, buf, (int)strlen(buf)); ^ rcp.c:504:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, bp->buf, amt); ^ rcp.c:508:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^ rlogin.c: In function 'writer': rlogin.c:487:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rem, &escapechar, 1); ^ rcp.c: In function 'rsource': rcp.c:564:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, path, (int)strlen(path)); ^ rlogin.c: In function 'echo': rcp.c:572:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, path, (int)strlen(path)); ^ rlogin.c:519:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, buf, p - buf); ^ rcp.c:591:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "E\n", 2); ^ rcp.c: In function 'sink': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 rcp.c:672:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^ rcp.c:690:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(2, buf + 1, (int)strlen(buf + 1)); ^ rcp.c:697:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^ rcp.c:721:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^ rcp.c:806:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^ rcp.c:870:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^ rcp.c: In function 'tolocal': rcp.c:336:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void)seteuid(userid); ^ rcp.c:344:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void)seteuid(0); ^ ruserpass.c:80:1: warning: no previous prototype for 'xruserpass' [-Wmissing-prototypes] xruserpass(const char *host, char **aname, char **apass) ^ rexecd.c: In function 'main': rexecd.c:143:10: warning: missing initializer for field 'ai_flags' of 'struct addrinfo' [-Wmissing-field-initializers] struct addrinfo *res, hints = {}; ^ In file included from rexecd.c:74:0: /usr/include/netdb.h:569:7: note: 'ai_flags' declared here int ai_flags; /* Input flags. */ ^ rexecd.c:195:60: warning: passing argument 6 of 'getnameinfo' makes integer from pointer without a cast [enabled by default] r = getnameinfo((struct sockaddr *) &from, sizeof(struct sockaddr_storage), remote_hostname, NI_MAXHOST, NULL, NULL, 0); ^ In file included from rexecd.c:74:0: /usr/include/netdb.h:677:12: note: expected 'socklen_t' but argument is of type 'void *' extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ rexecd.c: In function 'PAM_conv': rexecd.c:229:41: warning: unused parameter 'appdata_ptr' [-Wunused-parameter] struct pam_response **response, void *appdata_ptr) ^ rexecd.c: In function 'doit': rexecd.c:520:2: warning: missing sentinel in function call [-Wformat=] execle(theshell, cp2, "-c", cmdbuf, 0, myenviron); ^ rexecd.c:470:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "\0", 1); ^ rexecd.c: In function 'fatal': rexecd.c:529:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, &x, 1); ^ rexecd.c:530:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, msg, strlen(msg)); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power7 -mtune=power7 -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 rsh.c: In function 'main': rsh.c:193:2: warning: 'sigblock' is deprecated (declared at /usr/include/signal.h:197) [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM)); ^ rsh.c: In function 'talk': rsh.c:270:2: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:200) [-Wdeprecated-declarations] sigsetmask(omask); ^ rsh.c: In function 'sendsig': rsh.c:309:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rfd2, &x, 1); ^ rsh.c: In function 'talk': rsh.c:290:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, buf, cc); ^ rsh.c:298:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, buf, cc); ^ rlogind.c: In function 'fatal': rlogind.c:109:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(f, buf, strlen(buf)); ^ rlogind.c: In function 'doit': rlogind.c:422:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(netfd, "rlogind: Host address mismatch.\r\n", 33); ^ rlogind.c: In function 'cleanup': rlogind.c:295:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(line, 0, 0); ^ rlogind.c:300:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(line, 0, 0); ^ network.c: In function 'network_init': auth.c: In function 'auth_checkauth': network.c:210:10: warning: missing initializer for field 'ai_flags' of 'struct addrinfo' [-Wmissing-field-initializers] struct addrinfo *res, hints = {}; ^ In file included from network.c:38:0: /usr/include/netdb.h:569:7: note: 'ai_flags' declared here int ai_flags; /* Input flags. */ ^ auth.c:150:5: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [enabled by default] pam_get_item(pamh, PAM_USER, &ln); ^ In file included from /usr/include/security/pam_appl.h:18:0, from auth.c:55: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'char **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^ network.c:230:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(f, &c, 1); ^ network.c: In function 'network_confirm': network.c:291:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(netf, "", 1); ^ network.c: In function 'network_anticonfirm': network.c:302:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(netf, &x, 1); ^ rshd.c: In function 'findhostname': rshd.c:319:3: warning: pointer type mismatch in conditional expression [enabled by default] : ( &((struct sockaddr_in *)fromp)->sin_addr )), ^ rshd.c:368:3: warning: pointer type mismatch in conditional expression [enabled by default] : ( &((struct sockaddr_in *)sa)->sin_addr )), ^ cc -z now -pie rexec.o ruserpass.o -o rexec cc -z now -pie rexecd.o -lcrypt -lutil -lutil -ldl -lpam -o rexecd rshd.c: In function 'doit': sockconv.c: In function 'sock_conv': rshd.c:549:4: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration] waitpid(pid, NULL, 0); ^ rshd.c:549:4: warning: nested extern declaration of 'waitpid' [-Wnested-externs] rshd.c:634:2: warning: missing sentinel in function call [-Wformat=] execl(theshell, shellname, "-c", cmdbuf, 0); ^ rshd.c: In function 'network_init': rshd.c:659:10: warning: missing initializer for field 'ai_flags' of 'struct addrinfo' [-Wmissing-field-initializers] struct addrinfo *res, hints = {}; ^ In file included from rshd.c:67:0: /usr/include/netdb.h:569:7: note: 'ai_flags' declared here int ai_flags; /* Input flags. */ ^ rshd.c: In function 'doit': rshd.c:516:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, "\0", 1); ^ rshd.c: In function 'stderr_parent': rshd.c:218:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] else write(sock, buf, cc); ^ rshd.c: In function 'error': rshd.c:139:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, buf, strlen(buf)); ^ sockconv.c:158:7: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [enabled by default] my_fputs(msgm[replies]->msg, stderr); ^ sockconv.c:90:13: note: expected 'char *' but argument is of type 'const char * const' static void my_fputs(char *str, FILE *out) ^ sockconv.c:162:7: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [enabled by default] my_fputs(msgm[replies]->msg, stderr); ^ sockconv.c:90:13: note: expected 'char *' but argument is of type 'const char * const' static void my_fputs(char *str, FILE *out) ^ sockconv.c:131:46: warning: parameter 'appdata_ptr' set but not used [-Wunused-but-set-parameter] struct pam_response **response, void *appdata_ptr) ^ sockconv.c: In function 'read_string': sockconv.c:68:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(0, &buffer[charsRead], 1); ^ sockconv.c:71:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, nl, 2); ^ sockconv.c:77:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, &buffer[charsRead], 1); ^ cc -z now -pie rsh.o -lcrypt -lutil -lutil -o rsh cc -z now -pie rlogin.o -lcrypt -lutil -lutil -o rlogin make[1]: Leaving directory `/builddir/build/BUILD/netkit-rsh-0.17/rexec' make[1]: Leaving directory `/builddir/build/BUILD/netkit-rsh-0.17/rexecd' 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/rlogin' make[1]: Leaving directory `/builddir/build/BUILD/netkit-rsh-0.17/rsh' 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 cc -z now -pie rcp.o -lcrypt -lutil -lutil -o rcp make[1]: Leaving directory `/builddir/build/BUILD/netkit-rsh-0.17/rcp' make[1]: Leaving directory `/builddir/build/BUILD/netkit-rsh-0.17/rshd' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZC6JkR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64 ++ dirname /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64 + cd netkit-rsh-0.17 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/man/man1 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/man/man5 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/etc/pam.d + make INSTALLROOT=/builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64 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-80.el7.ppc64/usr/bin install -m644 rcp.1 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/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-80.el7.ppc64//usr/bin/rexec install -m 0644 rexec.1 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64//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-80.el7.ppc64/usr/sbin/in.rexecd install -m644 rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/man/man8/in.rexecd.8 ln -sf in.rexecd.8 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/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-80.el7.ppc64/usr/bin install -m 644 rlogin.1 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/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-80.el7.ppc64/usr/sbin/in.rlogind install -m644 rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/man/man8/in.rlogind.8 ln -sf in.rlogind.8 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/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-80.el7.ppc64/usr/bin install -m644 rsh.1 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/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-80.el7.ppc64/usr/sbin/in.rshd install -m644 rshd.8 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/man/man8/in.rshd.8 ln -sf in.rshd.8 /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/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-80.el7.ppc64/etc/pam.d/rexec + install -m 644 /builddir/build/SOURCES/rlogin.pam /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/etc/pam.d/rlogin + install -m 644 /builddir/build/SOURCES/rsh.pam /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/etc/pam.d/rsh + mkdir -p /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/rsh@.service /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/lib/systemd/system/rsh@.service + install -m644 /builddir/build/SOURCES/rsh.socket /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/lib/systemd/system/rsh.socket + install -m644 /builddir/build/SOURCES/rlogin@.service /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/lib/systemd/system/rlogin@.service + install -m644 /builddir/build/SOURCES/rlogin.socket /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/lib/systemd/system/rlogin.socket + install -m644 /builddir/build/SOURCES/rexec@.service /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/lib/systemd/system/rexec@.service + install -m644 /builddir/build/SOURCES/rexec.socket /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/lib/systemd/system/rexec.socket + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/netkit-rsh-0.17 extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/sbin/in.rlogind extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/sbin/in.rexecd extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/sbin/in.rshd extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/bin/rlogin extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/bin/rexec extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/bin/rsh extracting debug info from /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/bin/rcp /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. 274 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: rsh-0.17-80.el7.ppc64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9HxRmm + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + DOCDIR=/builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/doc/rsh-0.17 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/doc/rsh-0.17 + cp -pr README /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/doc/rsh-0.17 + cp -pr BUGS /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64/usr/share/doc/rsh-0.17 + exit 0 Provides: rsh = 0.17-80.el7 rsh(ppc-64) = 0.17-80.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileCaps) <= 4.6.1-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: rsh-server-0.17-80.el7.ppc64 Provides: config(rsh-server) = 0.17-80.el7 rsh-server = 0.17-80.el7 rsh-server(ppc-64) = 0.17-80.el7 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libaudit.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(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.3)(64bit) rtld(GNU_HASH) Processing files: rsh-debuginfo-0.17-80.el7.ppc64 Provides: rsh-debuginfo = 0.17-80.el7 rsh-debuginfo(ppc-64) = 0.17-80.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64 Wrote: /builddir/build/RPMS/rsh-0.17-80.el7.ppc64.rpm Wrote: /builddir/build/RPMS/rsh-server-0.17-80.el7.ppc64.rpm Wrote: /builddir/build/RPMS/rsh-debuginfo-0.17-80.el7.ppc64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JWp02m + umask 022 + cd /builddir/build/BUILD + cd netkit-rsh-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rsh-0.17-80.el7.ppc64 + exit 0 Child return code was: 0