D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
warning: %make is deprecated, use %make_build instead
Installing /home/iurt/rpmbuild/SRPMS/rsh-0.17-36.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.jXycaB
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf netkit-rsh-0.17
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/netkit-rsh-0.17.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd netkit-rsh-0.17
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/rexec-1.5.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (netkit-rsh-0.17-sectty.patch):'
Patch #1 (netkit-rsh-0.17-sectty.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sectty --fuzz=0
patching file rexecd/rexecd.c
patching file rlogind/auth.c
Hunk #1 succeeded at 122 (offset -1 lines).
patching file rshd/rshd.c
+ echo 'Patch #2 (netkit-rsh-0.17-rexec.patch):'
Patch #2 (netkit-rsh-0.17-rexec.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rexec --fuzz=0
patching file rexecd/rexecd.8
patching file rexec/Makefile
+ echo 'Patch #3 (netkit-rsh-0.10-stdarg.patch):'
Patch #3 (netkit-rsh-0.10-stdarg.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stdarg --fuzz=0
patching file rcp/rcp.c
Hunk #1 succeeded at 854 (offset 18 lines).
+ echo 'Patch #4 (netkit-rsh-0.16-jbj.patch):'
Patch #4 (netkit-rsh-0.16-jbj.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .jbj --fuzz=0
patching file rcp/Makefile
patching file rlogin/Makefile
patching file rsh/Makefile
+ echo 'Patch #8 (netkit-rsh-0.16-jbj4.patch):'
Patch #8 (netkit-rsh-0.16-jbj4.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .jbj4 --fuzz=0
patching file rshd/Makefile
+ echo 'Patch #9 (netkit-rsh-0.16-prompt.patch):'
Patch #9 (netkit-rsh-0.16-prompt.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .prompt --fuzz=0
patching file rexec/rexec.c
+ 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 -f -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 -f -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 -f -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 -f -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 -f -p1 -b --suffix .strip --fuzz=0
patching file rcp/Makefile
patching file rexecd/Makefile
patching file rlogin/Makefile
patching file rlogind/Makefile
patching file rsh/Makefile
patching file rshd/Makefile
+ echo 'Patch #15 (netkit-rsh-0.17-lfs.patch):'
Patch #15 (netkit-rsh-0.17-lfs.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lfs --fuzz=0
patching file rcp/rcp.c
+ echo 'Patch #16 (netkit-rsh-0.17-chdir.patch):'
Patch #16 (netkit-rsh-0.17-chdir.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chdir --fuzz=0
patching file rshd/rshd.c
Hunk #1 succeeded at 390 (offset 2 lines).
Hunk #2 succeeded at 449 (offset 2 lines).
patching file rexecd/rexecd.c
Hunk #1 succeeded at 376 (offset 1 line).
Hunk #2 succeeded at 405 (offset 1 line).
+ echo 'Patch #17 (netkit-rsh-0.17-pam-nologin.patch):'
Patch #17 (netkit-rsh-0.17-pam-nologin.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pam-nologin --fuzz=0
patching file rlogind/auth.c
+ 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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -p1 -b --suffix .ignchld --fuzz=0
patching file rlogind/rlogind.c
Hunk #1 succeeded at 439 (offset -1 lines).
patching file rlogin/rlogin.c
+ echo 'Patch #25 (netkit-rsh-0.17-checkdir.patch):'
Patch #25 (netkit-rsh-0.17-checkdir.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .checkdir --fuzz=0
patching file rcp/rcp.c
+ 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 -f -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 -f -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 -f -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 -f -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 -f -p1 -b --suffix .ipv6 --fuzz=0
patching file rcp/rcp.c
patching file rlogin/rlogin.c
patching file rlogind/network.c
patching file rsh/rsh.c
patching file rshd/rshd.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 -f -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 -f -p1 -b --suffix .dns --fuzz=0
patching file rshd/rshd.c
Hunk #1 succeeded at 297 (offset 3 lines).
Hunk #2 succeeded at 309 (offset 3 lines).
Hunk #3 succeeded at 589 (offset -2 lines).
patching file rlogind/network.c
+ echo 'Patch #34 (netkit-rsh-0.17-nohostcheck-compat.patch):'
Patch #34 (netkit-rsh-0.17-nohostcheck-compat.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .compat --fuzz=0
patching file rshd/rshd.c
Hunk #2 succeeded at 670 (offset 12 lines).
patching file rlogind/rlogind.c
+ echo 'Patch #35 (netkit-rsh-0.17-audit.patch):'
Patch #35 (netkit-rsh-0.17-audit.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .audit --fuzz=0
patching file rshd/Makefile
patching file rshd/rshd.c
Hunk #2 succeeded at 231 (offset 3 lines).
Hunk #3 succeeded at 258 (offset 3 lines).
Hunk #4 succeeded at 381 (offset 3 lines).
Hunk #5 succeeded at 471 (offset 2 lines).
patching file rexecd/rexecd.c
patching file rlogind/auth.c
patching file rlogind/rlogind.c
patching file configure
+ echo 'Patch #36 (netkit-rsh-0.17-longname.patch):'
Patch #36 (netkit-rsh-0.17-longname.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .longname --fuzz=0
patching file rexecd/rexecd.c
+ 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 -f -p1 -b --suffix .arg_max --fuzz=0
patching file rexecd/rexecd.c
patching file rshd/rshd.c
Hunk #1 succeeded at 405 (offset 3 lines).
Hunk #2 succeeded at 418 (offset 2 lines).
Hunk #3 succeeded at 475 (offset 2 lines).
+ echo 'Patch #38 (netkit-rsh-0.17-rh461903.patch):'
Patch #38 (netkit-rsh-0.17-rh461903.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh461903 --fuzz=0
patching file rcp/rcp.c
Hunk #1 succeeded at 811 (offset 1 line).
+ echo 'Patch #39 (netkit-rsh-0.17-rh473492.patch):'
Patch #39 (netkit-rsh-0.17-rh473492.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh473492 --fuzz=0
patching file rexec/rexec.c
patching file rshd/rshd.c
Hunk #1 succeeded at 556 (offset -6 lines).
+ echo 'Patch #40 (fixup_wait3_api_change.patch):'
Patch #40 (fixup_wait3_api_change.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .union_wait --fuzz=0
patching file rlogin/rlogin.c
Hunk #1 succeeded at 421 (offset -39 lines).
Hunk #2 succeeded at 432 (offset -39 lines).
+ rm -f rexec/rexec
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.h8libo
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd netkit-rsh-0.17
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ sh configure
Directories: /usr/bin /usr/sbin /usr/man 
Looking for a C compiler... gcc
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...
+ /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= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie#;
    s#^BINDIR=.*$#BINDIR=/usr/bin#;
    s#^MANDIR=.*$#MANDIR=/usr/share/man#;
    s#^SBINDIR=.*$#SBINDIR=/usr/sbin#;
    ' MCONFIG
+ /usr/bin/make -O -j8
(cd  rcp && /usr/bin/make)
(cd  rexec && /usr/bin/make)
(cd  rexecd && /usr/bin/make)
(cd  rlogin && /usr/bin/make)
(cd  rlogind && /usr/bin/make)
(cd  rsh && /usr/bin/make)
(cd  rshd && /usr/bin/make)
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
ruserpass.c:80:1: warning: no previous prototype for 'xruserpass' [-Wmissing-prototypes]
   80 | xruserpass(const char *host, char **aname, char **apass)
      | ^~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexecd'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
rexecd.c: In function 'PAM_conv':
rexecd.c:183:55: warning: unused parameter 'appdata_ptr' [-Wunused-parameter]
  183 |                 struct pam_response **response, void *appdata_ptr)
      |                                                 ~~~~~~^~~~~~~~~~~
rexecd.c: In function 'doit':
rexecd.c:462:9: warning: missing sentinel in function call [-Wformat=]
  462 |         execle(theshell, cp2, "-c", cmdbuf, 0, myenviron);
      |         ^~~~~~
rexecd.c: In function 'main':
rexecd.c:157:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  157 |                         write(0, "\1Where are you?\n", 16);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rexecd.c: In function 'doit':
rexecd.c:412:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  412 |         write(2, "\0", 1);
      |         ^~~~~~~~~~~~~~~~~
rexecd.c: In function 'fatal':
rexecd.c:471:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  471 |         write(2, &x, 1);
      |         ^~~~~~~~~~~~~~~
rexecd.c:472:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  472 |         write(2, msg, strlen(msg));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexecd'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexecd'
cc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie rexecd.o -lcrypt -lutil -lutil -ldl -lpam -o rexecd
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexecd'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rsh'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
rsh.c: In function 'main':
rsh.c:193:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations]
  193 |         omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM));
      |         ^~~~~
In file included from rsh.c:45:
/usr/include/signal.h:173:12: note: declared here
  173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__;
      |            ^~~~~~~~
rsh.c:193:20: warning: sigmask is deprecated
  193 |         omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
rsh.c:193:20: warning: sigmask is deprecated
rsh.c:193:20: warning: sigmask is deprecated
rsh.c: In function 'talk':
rsh.c:251:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  251 |                 if (! FD_ISSET(rem, &rembits))
      |                 ^~
rsh.c:253:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  253 |                         wc = write(rem, bp, cc);
      |                         ^~
rsh.c:270:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations]
  270 |         sigsetmask(omask);
      |         ^~~~~~~~~~
In file included from rsh.c:45:
/usr/include/signal.h:176:12: note: declared here
  176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
      |            ^~~~~~~~~~
rsh.c: In function 'sendsig':
rsh.c:309:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  309 |                 write(rfd2, &x, 1);
      |                 ^~~~~~~~~~~~~~~~~~
rsh.c: In function 'talk':
rsh.c:290:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  290 |                                 write(2, buf, cc);
      |                                 ^~~~~~~~~~~~~~~~~
rsh.c:298:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  298 |                                 write(1, buf, cc);
      |                                 ^~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rsh'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rsh'
cc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie rsh.o -lcrypt -lutil -lutil -o rsh
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rsh'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
rlogind.c: In function 'fatal':
rlogind.c:108:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  108 |     write(f, buf, strlen(buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
rlogind.c: In function 'doit':
rlogind.c:421:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  421 |         write(netfd, "rlogind: Host address mismatch.\r\n", 33);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rlogind.c: In function 'cleanup':
rlogind.c:294:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
  294 |     chown(line, 0, 0);
      |     ^~~~~~~~~~~~~~~~~
rlogind.c:299:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
  299 |     chown(line, 0, 0);
      |     ^~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpic -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline  rexec.c -c
rexec.c: In function 'main':
rexec.c:221:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  221 |       for (sig = 0; sig < sizeof(bsd_signals)/sizeof(int); ++sig)
      |                         ^
rexec.c: In function 'parse_options':
rexec.c:318:26: warning: passing argument 1 of 'malloc' makes integer from pointer without a cast [-Wint-conversion]
  318 |         *passwd = malloc((char *)malloc((passlen+1)*sizeof(char)));
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          char *
In file included from rexec.c:54:
/usr/include/stdlib.h:539:29: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'char *'
  539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
      |                      ~~~~~~~^~~~~~
rexec.c: In function 'safe_write_error':
rexec.c:530:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  530 |   (void) write(STDERR_FILENO, message, msg_len);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
network.c: In function 'network_init':
network.c:208:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  208 |         read(f, &c, 1);
      |         ^~~~~~~~~~~~~~
network.c: In function 'network_confirm':
network.c:269:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  269 |         write(netf, "", 1);
      |         ^~~~~~~~~~~~~~~~~~
network.c: In function 'network_anticonfirm':
network.c:280:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  280 |         write(netf, &x, 1);
      |         ^~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
cc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie  rexec.o ruserpass.o   -o rexec
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogin'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
rlogin.c: In function 'main':
rlogin.c:281:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations]
  281 |         omask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1));
      |         ^~~~~
In file included from /usr/include/sys/param.h:28,
                 from rlogin.c:51:
/usr/include/signal.h:173:12: note: declared here
  173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__;
      |            ^~~~~~~~
rlogin.c:281:20: warning: sigmask is deprecated
  281 |         omask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
rlogin.c:281:20: warning: sigmask is deprecated
rlogin.c: In function 'doit':
rlogin.c:367:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations]
  367 |         sigsetmask(omask);
      |         ^~~~~~~~~~
In file included from /usr/include/sys/param.h:28,
                 from rlogin.c:51:
/usr/include/signal.h:176:12: note: declared here
  176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
      |            ^~~~~~~~~~
rlogin.c: In function 'setsignal':
rlogin.c:380:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations]
  380 |         int omask = sigblock(sigmask(sig));
      |         ^~~
In file included from /usr/include/sys/param.h:28,
                 from rlogin.c:51:
/usr/include/signal.h:173:12: note: declared here
  173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__;
      |            ^~~~~~~~
rlogin.c:380:20: warning: sigmask is deprecated
  380 |         int omask = sigblock(sigmask(sig));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
rlogin.c:384:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations]
  384 |         sigsetmask(omask);
      |         ^~~~~~~~~~
In file included from /usr/include/sys/param.h:28,
                 from rlogin.c:51:
/usr/include/signal.h:176:12: note: declared here
  176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
      |            ^~~~~~~~~~
rlogin.c: In function 'reader':
rlogin.c:694:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations]
  694 |         sigsetmask(omask);
      |         ^~~~~~~~~~
In file included from /usr/include/sys/param.h:28,
                 from rlogin.c:51:
/usr/include/signal.h:176:12: note: declared here
  176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
      |            ^~~~~~~~~~
rlogin.c: In function 'sendwindow':
rlogin.c:568:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  568 |                 write(rem, obuf, sizeof(obuf));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rlogin.c: In function 'writer':
rlogin.c:487:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  487 |                                         write(rem, &escapechar, 1);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
rlogin.c: In function 'echo':
rlogin.c:519:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  519 |         write(STDOUT_FILENO, buf, p - buf);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogin'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
auth.c: In function 'auth_checkauth':
auth.c:150:34: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types]
  150 |     pam_get_item(pamh, PAM_USER, &ln);
      |                                  ^~~
      |                                  |
      |                                  char **
In file included from /usr/include/security/pam_appl.h:18,
                 from auth.c:55:
/usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'char **'
  175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item);
      |                                                       ~~~~~~~~~~~~~^~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogin'
cc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie rlogin.o -lcrypt -lutil -lutil -o rlogin
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogin'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rshd'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
rshd.c: In function 'findhostname':
rshd.c:318:17: warning: pointer type mismatch in conditional expression
  318 |                 : ( &((struct sockaddr_in *)fromp)->sin_addr )),
      |                 ^
rshd.c:367:17: warning: pointer type mismatch in conditional expression
  367 |                 : ( &((struct sockaddr_in *)sa)->sin_addr )),
      |                 ^
rshd.c: In function 'doit':
rshd.c:609:9: warning: missing sentinel in function call [-Wformat=]
  609 |         execl(theshell, shellname, "-c", cmdbuf, 0);
      |         ^~~~~
rshd.c:503:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  503 |         (void) write(2, "\0", 1);
      |                ^~~~~~~~~~~~~~~~~
rshd.c: In function 'stderr_parent':
rshd.c:217:18: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  217 |             else write(sock, buf, cc);
      |                  ^~~~~~~~~~~~~~~~~~~~
rshd.c: In function 'error':
rshd.c:139:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  139 |     write(2, buf, strlen(buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rshd'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
sockconv.c: In function 'sock_conv':
sockconv.c:158:29: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  158 |       my_fputs(msgm[replies]->msg, stderr);
      |                ~~~~~~~~~~~~~^~~~~
sockconv.c:90:28: note: expected 'char *' but argument is of type 'const char *'
   90 | static void my_fputs(char *str, FILE *out)
      |                      ~~~~~~^~~
sockconv.c:162:29: warning: passing argument 1 of 'my_fputs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  162 |       my_fputs(msgm[replies]->msg, stderr);
      |                ~~~~~~~~~~~~~^~~~~
sockconv.c:90:28: note: expected 'char *' but argument is of type 'const char *'
   90 | static void my_fputs(char *str, FILE *out)
      |                      ~~~~~~^~~
sockconv.c:131:53: warning: parameter 'appdata_ptr' set but not used [-Wunused-but-set-parameter]
  131 |               struct pam_response **response, void *appdata_ptr)
      |                                               ~~~~~~^~~~~~~~~~~
sockconv.c: In function 'read_string':
sockconv.c:68:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
   68 |     read(0, &buffer[charsRead], 1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockconv.c:71:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   71 |       write(1, nl, 2);
      |       ^~~~~~~~~~~~~~~
sockconv.c:77:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   77 |       write(1, &buffer[charsRead], 1);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rshd'
cc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie rshd.o -lcrypt -lutil -lutil -ldl -lpam -lpam_misc -ldl -laudit -o rshd
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rshd'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
cc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie rlogind.o network.o auth.o sockconv.o -lcrypt -lutil -lutil -ldl -lpam -lpam_misc -o rlogind
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rcp'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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
rcp.c: In function 'response':
rcp.c:589:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  589 |                         write(2, rbuf, cp - rbuf);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
rcp.c: In function 'source':
rcp.c:479:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  479 |                         (void)write(rem, buf, (int)strlen(buf));
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rcp.c:487:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  487 |                 (void)write(rem, buf, (int)strlen(buf));
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rcp.c:503:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  503 |                         (void)write(rem, bp->buf, amt);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
rcp.c:507:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  507 |                         (void)write(rem, "", 1);
      |                               ^~~~~~~~~~~~~~~~~
rcp.c: In function 'rsource':
rcp.c:533:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  533 |                 (void)write(rem, path, (int)strlen(path));
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rcp.c:541:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  541 |         (void)write(rem, path, (int)strlen(path));
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rcp.c:560:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  560 |         (void)write(rem, "E\n", 2);
      |               ^~~~~~~~~~~~~~~~~~~~
rcp.c: In function 'sink':
rcp.c:641:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  641 |         (void)write(rem, "", 1);
      |               ^~~~~~~~~~~~~~~~~
rcp.c:659:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  659 |                                 (void)write(2, buf + 1, (int)strlen(buf + 1));
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rcp.c:666:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  666 |                         (void)write(rem, "", 1);
      |                               ^~~~~~~~~~~~~~~~~
rcp.c:690:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  690 |                         (void)write(rem, "", 1);
      |                               ^~~~~~~~~~~~~~~~~
rcp.c:769:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  769 |                 (void)write(rem, "", 1);
      |                       ^~~~~~~~~~~~~~~~~
rcp.c:833:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  833 |                         (void)write(rem, "", 1);
      |                               ^~~~~~~~~~~~~~~~~
rcp.c: In function 'tolocal':
rcp.c:335:23: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  335 |                 (void)seteuid(userid);
      |                       ^~~~~~~~~~~~~~~
rcp.c:343:23: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  343 |                 (void)seteuid(0);
      |                       ^~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rcp'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rcp'
cc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie rcp.o -lcrypt -lutil -lutil -o rcp
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rcp'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XkWK6j
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64
+ cd netkit-rsh-0.17
+ '[' 1 -eq 1 ']'
+ install -d /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/etc/xinetd.d
+ install -d /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/etc/pam.d
+ install -d /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/bin
+ install -d /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/sbin
+ install -d /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man1 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man5 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man8
+ make INSTALLROOT=/home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64 MANDIR=/usr/share/man install
(cd  rcp && make install)
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rcp'
install rcp /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/bin
install -m644 rcp.1 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rcp'
(cd  rexec && make install)
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
install -m 0755 rexec /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64//usr/bin/rexec
install -m 0644 rexec.1 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64//usr/share/man/man1/rexec.1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
(cd  rexecd && make install)
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexecd'
install -m755 rexecd /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/sbin/in.rexecd
install -m644 rexecd.8 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man8/in.rexecd.8
ln -sf in.rexecd.8 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/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 '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexecd'
(cd  rlogin && make install)
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogin'
install rlogin /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/bin
install -m 644 rlogin.1 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogin'
(cd  rlogind && make install)
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
install -m755 rlogind /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/sbin/in.rlogind
install -m644 rlogind.8 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man8/in.rlogind.8
ln -sf in.rlogind.8 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man8/rlogind.8
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rlogind'
(cd  rsh && make install)
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rsh'
install rsh /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/bin
install -m644 rsh.1 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rsh'
(cd  rshd && make install)
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rshd'
install -m755 rshd /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/sbin/in.rshd
install -m644 rshd.8 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man8/in.rshd.8
ln -sf in.rshd.8 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/share/man/man8/rshd.8
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rshd'
+ install -m0644 /home/iurt/rpmbuild/SOURCES/rexec.pam /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/etc/pam.d/rexec
+ install -m0644 /home/iurt/rpmbuild/SOURCES/rlogin.pam /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/etc/pam.d/rlogin
+ install -m0644 /home/iurt/rpmbuild/SOURCES/rsh.pam /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/etc/pam.d/rsh
+ make INSTALLROOT=/home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64 MANDIR=/usr/share/man install -C rexec
make: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
install -m 0755 rexec /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64//usr/bin/rexec
install -m 0644 rexec.1 /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64//usr/share/man/man1/rexec.1
make: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-rsh-0.17/rexec'
+ install -m0644 /home/iurt/rpmbuild/SOURCES/rsh-xinetd /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/etc/xinetd.d/rsh
+ install -m0644 /home/iurt/rpmbuild/SOURCES/rlogin-xinetd /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/etc/xinetd.d/rlogin
+ install -m0644 /home/iurt/rpmbuild/SOURCES/rexec-xinetd /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/etc/xinetd.d/rexec
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.17-36.mga9 --unique-debug-suffix -0.17-36.mga9.aarch64 --unique-debug-src-base rsh-0.17-36.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/netkit-rsh-0.17

extracting debug info from /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/bin/rcp
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/bin/rexec
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/bin/rlogin
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/bin/rsh
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/sbin/in.rlogind
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/sbin/in.rexecd
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64/usr/sbin/in.rshd
dwz: ./usr/bin/rcp-0.17-36.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/bin/rexec-0.17-36.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/bin/rlogin-0.17-36.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/bin/rsh-0.17-36.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/sbin/in.rexecd-0.17-36.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/sbin/in.rlogind-0.17-36.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/sbin/in.rshd-0.17-36.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: Too few files for multifile optimization
original debug info size: 364kB, size after compression: 364kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 7 CRC32s did match.
264 blocks
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
Fixing pam.d config files...done
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: rsh-0.17-36.mga9.aarch64
Provides: rsh = 0.17-36.mga9 rsh(aarch-64) = 0.17-36.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit)
Conflicts: krb5-appl-clients
Processing files: rsh-server-0.17-36.mga9.aarch64
Provides: config(rsh-server) = 0.17-36.mga9 rsh-server = 0.17-36.mga9 rsh-server(aarch-64) = 0.17-36.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libaudit.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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.17)(64bit)
Processing files: rsh-debugsource-0.17-36.mga9.aarch64
Provides: rsh-debugsource = 0.17-36.mga9 rsh-debugsource(aarch-64) = 0.17-36.mga9
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-36.mga9.aarch64
Provides: debuginfo(build-id) = 0ec759a5fe8458fbb48d1672ab09edaae07ebd7d debuginfo(build-id) = 3b958db2098a4dbd3904203be6a99760bb869477 debuginfo(build-id) = 5e799bf9b9ac7e0725f1f6ef11e18ad42dba2faf debuginfo(build-id) = d6ed646b11cc801877f4b674f75613926928a4e2 rsh-debuginfo = 0.17-36.mga9 rsh-debuginfo(aarch-64) = 0.17-36.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: rsh-debugsource(aarch-64) = 0.17-36.mga9
Processing files: rsh-server-debuginfo-0.17-36.mga9.aarch64
Provides: debuginfo(build-id) = 0d2c06ab6118e444b21e44cd27293a7a8861127b debuginfo(build-id) = 4ed2af6e011fbeb9fb9907a63e04d7c737e8d78e debuginfo(build-id) = fb353b9af9a459687d0b4abb8d22932d61c6c780 rsh-server-debuginfo = 0.17-36.mga9 rsh-server-debuginfo(aarch-64) = 0.17-36.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: rsh-debugsource(aarch-64) = 0.17-36.mga9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/rsh-server-0.17-36.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/rsh-0.17-36.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/rsh-debugsource-0.17-36.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/rsh-server-debuginfo-0.17-36.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/rsh-debuginfo-0.17-36.mga9.aarch64.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.K3oVy2
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd netkit-rsh-0.17
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/rsh-0.17-36.mga9.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.o4lNrT
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf netkit-rsh-0.17
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!