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/smaclient.spec'], chrootPath='/var/lib/mock/f31-build-52702-27716/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/smaclient.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=1549065600 Wrote: /builddir/build/SRPMS/smaclient-1.1-12.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/smaclient.spec'], chrootPath='/var/lib/mock/f31-build-52702-27716/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/smaclient.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=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VGRHQd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smaclient-1.1 + /usr/bin/mkdir -p smaclient-1.1 + cd smaclient-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/smaclient-1.1 smaclient + cp -p /builddir/build/SOURCES/smiucv.c . + echo 'Patch #0 (smaclient-1.1-helper.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (smaclient-1.1-helper.patch): patching file smaclient Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iroe4g + umask 022 + cd /builddir/build/BUILD + cd smaclient-1.1 + 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 -o smiucv smiucv.c BUILDSTDERR: smiucv.c: In function 'main': BUILDSTDERR: smiucv.c:200:28: warning: operation on 'used' may be undefined [-Wsequence-point] BUILDSTDERR: 200 | if( write( fd, buffer, --used ) != used ) BUILDSTDERR: | ^~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IijPqd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64 + cd smaclient-1.1 + mkdir -p /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64/usr/bin + install -p -m755 smaclient smiucv /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64/usr/share/man/man1 + install -p -m644 /builddir/build/SOURCES/smaclient.1 /builddir/build/SOURCES/smiucv.1 /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64/usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1-12.fc31 --unique-debug-suffix -1.1-12.fc31.riscv64 --unique-debug-src-base smaclient-1.1-12.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/smaclient-1.1 BUILDSTDERR: 12 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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64/usr/bin/smiucv extracting debug info from /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64/usr/bin/smiucv original debug info size: 48kB, size after compression: 52kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/smaclient from /bin/bash to #!/usr/bin/bash Processing files: smaclient-1.1-12.fc31.riscv64 Provides: smaclient = 1.1-12.fc31 smaclient(riscv-64) = 1.1-12.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash 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: smaclient-debugsource-1.1-12.fc31.riscv64 Provides: smaclient-debugsource = 1.1-12.fc31 smaclient-debugsource(riscv-64) = 1.1-12.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: smaclient-debuginfo-1.1-12.fc31.riscv64 Provides: debuginfo(build-id) = 1eaca9f1338c56b59c166720578f817ef01e720a smaclient-debuginfo = 1.1-12.fc31 smaclient-debuginfo(riscv-64) = 1.1-12.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: smaclient-debugsource(riscv-64) = 1.1-12.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64 Wrote: /builddir/build/RPMS/smaclient-debugsource-1.1-12.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/smaclient-debuginfo-1.1-12.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/smaclient-1.1-12.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YvcNLd + umask 022 + cd /builddir/build/BUILD + cd smaclient-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/smaclient-1.1-12.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0