Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mpssh.spec'], chrootPath='/var/lib/mock/f31-build-112461-34273/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mpssh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/mpssh-1.3.3-10.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mpssh.spec'], chrootPath='/var/lib/mock/f31-build-112461-34273/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mpssh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D1UdtM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mpssh-39b7ceece0e3daf675444ec711efd9fc534c100a + /usr/bin/gzip -dc /builddir/build/SOURCES/mpssh-39b7ceece0e3daf675444ec711efd9fc534c100a.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mpssh-39b7ceece0e3daf675444ec711efd9fc534c100a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mpssh-1.3.3.dont_override_cflags.patch):' Patch #0 (mpssh-1.3.3.dont_override_cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.znLg0N + umask 022 + cd /builddir/build/BUILD + cd mpssh-39b7ceece0e3daf675444ec711efd9fc534c100a + 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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + make -j4 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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DSSHPATH=\"`which ssh`\" -DSCPPATH=\"`which scp`\" -c pslot.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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DSSHPATH=\"`which ssh`\" -DSCPPATH=\"`which scp`\" -c host.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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DSSHPATH=\"`which ssh`\" -DSCPPATH=\"`which scp`\" -c mpssh.c BUILDSTDERR: pslot.c: In function 'pslot_new': BUILDSTDERR: pslot.c:52:5: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 52 | pipe(pslot_tmp->io.out); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pslot.c:53:5: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 53 | pipe(pslot_tmp->io.err); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from mpssh.h:31, BUILDSTDERR: from host.c:28: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'host_new' at host.c:47:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: host.c: In function 'host_new': BUILDSTDERR: host.c:47:9: note: length computed here BUILDSTDERR: 47 | strncpy(hst->user, user, strlen(user)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from mpssh.h:31, BUILDSTDERR: from host.c:28: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'host_new' at host.c:56:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: host.c: In function 'host_new': BUILDSTDERR: host.c:56:9: note: length computed here BUILDSTDERR: 56 | strncpy(hst->host, host, strlen(host)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld pslot.o host.o mpssh.o -o mpssh + sed -i s,/usr/local,/usr,g mpssh.1 + cp debian/copyright . + gzip mpssh.1 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.U7PuDJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64 + cd mpssh-39b7ceece0e3daf675444ec711efd9fc534c100a + mkdir -p /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/share/man + install -p -D -m 0755 mpssh /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/bin/mpssh + install -p -D -m 0644 mpssh.1.gz /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/share/man/man1/mpssh.1.gz + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3.3-10.fc31 --unique-debug-suffix -1.3.3-10.fc31.riscv64 --unique-debug-src-base mpssh-1.3.3-10.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mpssh-39b7ceece0e3daf675444ec711efd9fc534c100a explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/bin/mpssh extracting debug info from /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/bin/mpssh original debug info size: 92kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 80 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mpssh-1.3.3-10.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jXtHfL + umask 022 + cd /builddir/build/BUILD + cd mpssh-39b7ceece0e3daf675444ec711efd9fc534c100a + DOCDIR=/builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/share/doc/mpssh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/share/doc/mpssh + cp -pr README /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/share/doc/mpssh + cp -pr copyright /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64/usr/share/doc/mpssh + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: mpssh = 1.3.3-10.fc31 mpssh(riscv-64) = 1.3.3-10.fc31 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) Processing files: mpssh-debugsource-1.3.3-10.fc31.riscv64 Provides: mpssh-debugsource = 1.3.3-10.fc31 mpssh-debugsource(riscv-64) = 1.3.3-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mpssh-debuginfo-1.3.3-10.fc31.riscv64 Provides: debuginfo(build-id) = dd02a0084fb6afaecc1142551dbdfd0e076deb79 mpssh-debuginfo = 1.3.3-10.fc31 mpssh-debuginfo(riscv-64) = 1.3.3-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mpssh-debugsource(riscv-64) = 1.3.3-10.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64 Wrote: /builddir/build/RPMS/mpssh-1.3.3-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mpssh-debugsource-1.3.3-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mpssh-debuginfo-1.3.3-10.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s4AroK + umask 022 + cd /builddir/build/BUILD + cd mpssh-39b7ceece0e3daf675444ec711efd9fc534c100a + /usr/bin/rm -rf /builddir/build/BUILDROOT/mpssh-1.3.3-10.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0