+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/rssh.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
warning: bogus date in %changelog: Wed Aug 11 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.3.2-4
warning: bogus date in %changelog: Wed Aug 07 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.3.2-3
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4Z5G0z
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf rssh-2.3.4
+ /usr/bin/gzip -dc /builddir/build/SOURCES/rssh-2.3.4.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd rssh-2.3.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (rssh-2.3.4-makefile.patch):'
Patch #0 (rssh-2.3.4-makefile.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makefile --fuzz=0
patching file Makefile.in
+ echo 'Patch #1 (rssh-2.3.4-rsync-protocol.patch):'
Patch #1 (rssh-2.3.4-rsync-protocol.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rsync3 --fuzz=0
patching file util.c
+ echo 'Patch #2 (rssh-2.3.4-command-line-error.patch):'
Patch #2 (rssh-2.3.4-command-line-error.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cmdline-error --fuzz=0
patching file util.c
Hunk #1 succeeded at 153 (offset 1 line).
+ chmod 644 conf_convert.sh
+ chmod 644 mkchroot.sh
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JHz324
+ umask 022
+ cd /builddir/build/BUILD
+ cd rssh-2.3.4
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ find . -name ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for riscv64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for riscv64-redhat-linux-gnu-strip... no
checking for strip... strip
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking wordexp.h usability... yes
checking wordexp.h presence... yes
checking for wordexp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for memset... yes
checking for strdup... yes
checking for strtol... yes
checking for strerror... yes
checking for wordexp... yes
checking for basename... yes
checking for OpenSSH >= v3.5... yes - v7.6
checking for scp... /usr/bin/scp
checking for sftp-server... /usr/libexec/openssh/sftp-server
checking for cvs... /usr/bin/cvs
checking for rdist... /usr/bin/rdist
checking for rsync... /usr/bin/rsync
checking static compilation... secure SSH found - not compiling rssh statically
configure: creating ./config.status
config.status: creating Makefile
config.status: creating main.c
config.status: creating pathnames.h
config.status: creating rssh.conf.5
config.status: creating rssh.spec
config.status: creating config.h
config.status: executing depfiles commands
+ make -j4
make  all-am
make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4'
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld rsshconf.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld log.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld util.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld argvec.c
rsshconf.c:81:5: warning: built-in function 'log' declared as non-function
 int log=0;
     ^~~
rsshconf.c: In function 'process_user':
rsshconf.c:851:6: warning: variable 'optlen' set but not used [-Wunused-but-set-variable]
  int optlen;   /* string length of user options */
      ^~~~~~
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld main.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld rssh_chroot_helper.c
rssh_chroot_helper.c: In function 'ch_fatal_error':
rssh_chroot_helper.c:103:20: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
  if ( !geteuid() ) setuid(getuid());
                    ^~~~~~~~~~~~~~~~
rssh_chroot_helper.c: In function 'main':
rssh_chroot_helper.c:195:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
  setuid(getuid());
  ^~~~~~~~~~~~~~~~
rssh_chroot_helper.c:201:5: warning: 'uinfo.pw_dir' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if ( !(homedir = extract_root(opts.chroot_path, uinfo.pw_dir)) ){
     ^
gcc -O2 -Wall -Wshadow   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rssh  rsshconf.o log.o util.o argvec.o main.o  
gcc -O2 -Wall -Wshadow   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rssh_chroot_helper  rssh_chroot_helper.o log.o argvec.o util.o rsshconf.o  
make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PPFnFx
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64
+ cd rssh-2.3.4
+ rm -rf /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64
+ make install 'INSTALL=/usr/bin/install -p' DESTDIR=/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64
make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4'
test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/bin"
  /usr/bin/install -p 'rssh' '/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/bin/rssh'
test -z "/etc" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/etc"
 /usr/bin/install -p -m 644 'rssh.conf.default' '/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/etc/rssh.conf.default'
test -z "/usr/libexec" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/libexec"
  /usr/bin/install -p 'rssh_chroot_helper' '/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/libexec/rssh_chroot_helper'
make  install-exec-hook
make[2]: Entering directory '/builddir/build/BUILD/rssh-2.3.4'
chmod u+s /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/libexec/rssh_chroot_helper
make[2]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4'
test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/man/man1"
 /usr/bin/install -p -m 644 './rssh.1' '/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/man/man1/rssh.1'
test -z "/usr/share/man/man5" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/man/man5"
 /usr/bin/install -p -m 644 './rssh.conf.5' '/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/man/man5/rssh.conf.5'
make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4'
+ mv /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64//etc/rssh.conf.default /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64//etc/rssh.conf
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: rssh-2.3.4-10.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6i2ijq
+ umask 022
+ cd /builddir/build/BUILD
+ cd rssh-2.3.4
+ DOCDIR=/builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr AUTHORS /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr ChangeLog /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr CHROOT /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr COPYING /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr NEWS /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr README /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr SECURITY /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr TODO /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr conf_convert.sh /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ cp -pr mkchroot.sh /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64/usr/share/doc/rssh
+ exit 0
Provides: config(rssh) = 2.3.4-10.fc28 rssh = 2.3.4-10.fc28 rssh(riscv-64) = 2.3.4-10.fc28
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh shadow-utils
Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64
Wrote: /builddir/build/SRPMS/rssh-2.3.4-10.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/rssh-2.3.4-10.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BytNhU
+ umask 022
+ cd /builddir/build/BUILD
+ cd rssh-2.3.4
+ rm -rf /builddir/build/BUILDROOT/rssh-2.3.4-10.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
++ sleep 5
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff