+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/scponly.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: Fri Apr 13 2013 Jon Ciesla - 4.8-11 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JxSAQu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scponly-4.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/scponly-4.8.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scponly-4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (scponly-install.patch):' Patch #0 (scponly-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (scponly-4.8-elif-gcc44.patch):' Patch #1 (scponly-4.8-elif-gcc44.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file helper.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ybY4mx + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + cp -p /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub . + 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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 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 --enable-scp-compat --enable-winscp-compat --enable-chrooted-binary checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for cut... /usr/bin/cut checking for grep... /usr/bin/grep checking for sort... /usr/bin/sort checking for ldd... /usr/bin/ldd checking for useradd... /usr/sbin/useradd checking for chown... /usr/bin/chown checking for chmod... /usr/bin/chmod checking for dirname... /usr/bin/dirname checking for id... /usr/bin/id checking for pw... no checking for rm... /usr/bin/rm checking for pwd_mkdb... no configure: enabling core WinSCP and Vanilla SCP binaries... checking for sftp-server... /usr/libexec/openssh/sftp-server checking for ls... /usr/bin/ls checking for scp... /usr/bin/scp checking for rm... /usr/bin/rm checking for ln... /usr/bin/ln checking for mv... /usr/bin/mv checking for chmod... /usr/bin/chmod checking for chown... /usr/bin/chown checking for chgrp... /usr/bin/chgrp checking for mkdir... /usr/bin/mkdir checking for rmdir... /usr/bin/rmdir configure: enabling WinSCP compatability... checking for pwd... /usr/bin/pwd checking for groups... /usr/bin/groups checking for id... /usr/bin/id checking for echo... /usr/bin/echo configure: enabling SFTP compatability... checking for sftp-server... (cached) /usr/libexec/openssh/sftp-server 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 for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking wordexp.h usability... yes checking wordexp.h presence... yes checking for wordexp.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working alloca.h... yes checking for alloca... yes checking for malloc... yes checking for atexit... yes checking for bzero... yes checking for strchr... yes checking for strerror... yes checking for glob... yes checking for wordexp... yes checking for strspn... yes checking for basename... yes checking for getopt... yes checking whether optreset is declared... no configure: creating ./config.status config.status: creating Makefile config.status: creating setup_chroot.sh config.status: creating config.h + /usr/bin/make -j4 '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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o scponly.o -c scponly.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o helper.o -c helper.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o groups groups.c scponly.c:33:1: warning: missing braces around initializer [-Wmissing-braces] { ^ scponly.c:145:1: warning: missing braces around initializer [-Wmissing-braces] { ^ helper.c: In function 'strip_vector': helper.c:86:18: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] bzero(dav,sizeof(dav)); ^ scponly.c: In function 'main': scponly.c:305:9: warning: unused variable 'tmprequest' [-Wunused-variable] char *tmprequest = NULL; ^~~~~~~~~~ scponly.c:304:10: warning: unused variable 'av' [-Wunused-variable] char **av = NULL; ^~ scponly.c: In function 'process_ssh_request': scponly.c:644:25: warning: unused variable 'tenv' [-Wunused-variable] char **av, **tmp_av, **tenv; ^~~~ In file included from scponly.c:19:0: scponly.c: At top level: scponly.h:42:14: warning: inline function 'strend' declared but never defined inline char *strend (char *, char *); ^~~~~~ scponly.h:41:14: warning: inline function 'strbeg' declared but never defined inline char *strbeg (char *, char *); ^~~~~~ helper.c: In function 'mysetenv': helper.c:565:14: warning: array subscript has type 'char' [-Wchar-subscripts] if ((safeenv[count] = strdup(buff))) { ^ helper.c:566:10: warning: array subscript has type 'char' [-Wchar-subscripts] safeenv[++count] = NULL; ^ scponly.c: In function 'main': scponly.c:226:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(debugfile,"%u",&debuglevel); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o scponly scponly.o helper.o + chmod 0644 scponly.c scponly.h helper.c + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IaQQCD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64 + cd scponly-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64 + sed -i 's|/usr/local/|/usr/|g' scponly.8 scponly.8.alternate_manpage INSTALL README + make install DESTDIR=/builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64 echo "0" > debuglevel /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/bin /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/man/man8 /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/etc/scponly /usr/bin/install -c scponly /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/bin/scponly /usr/bin/install -c -m 0644 scponly.8 /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/man/man8/scponly.8 /usr/bin/install -c -m 0644 debuglevel /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/etc/scponly/debuglevel if test "xscponlyc" != "x"; then \ /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/sbin; \ rm -f /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/sbin/scponlyc; \ cp scponly scponlyc; \ /usr/bin/install -c -m 4755 scponlyc /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/sbin/scponlyc; \ fi + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/scponly-4.8-19.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: scponly-4.8-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YhS2Vp + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + DOCDIR=/builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr AUTHOR /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr CHANGELOG /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr CONTRIB /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr COPYING /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr INSTALL /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr README /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr TODO /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr BUILDING-JAILS.TXT /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + cp -pr SECURITY /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/share/doc/scponly + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/bin/scponly and /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64/usr/sbin/scponlyc Provides: config(scponly) = 4.8-19.fc28 scponly = 4.8-19.fc28 scponly(riscv-64) = 4.8-19.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scponly-4.8-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/scponly-4.8-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/scponly-4.8-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.27pvjd + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scponly-4.8-19.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