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/cc1541.spec'], chrootPath='/var/lib/mock/f31-build-63898-29448/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/cc1541.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=1564272000 Wrote: /builddir/build/SRPMS/cc1541-2.0-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cc1541.spec'], chrootPath='/var/lib/mock/f31-build-63898-29448/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/cc1541.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=1564272000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.f8SVwk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PTV_Claus-cc1541-69a35800d67c + /usr/bin/bzip2 -dc /builddir/build/SOURCES/cc1541-2.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PTV_Claus-cc1541-69a35800d67c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'cc1541-2.0 base' + /usr/bin/cat /builddir/build/SOURCES/0001-Added-B-switch-to-specify-DIR-block-size.-Also-made-.patch + /usr/bin/git apply --index -p1 - BUILDSTDERR: :38: trailing whitespace. BUILDSTDERR: printf(" the next file.\n"); BUILDSTDERR: :119: trailing whitespace. BUILDSTDERR: files[nrFiles].nrSectorsShown = nrSectorsShown; BUILDSTDERR: :196: trailing whitespace. BUILDSTDERR: BUILDSTDERR: warning: 3 lines add whitespace errors. + /usr/bin/git commit -q -m 0001-Added-B-switch-to-specify-DIR-block-size.-Also-made-.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0002-Tabs-to-spaces.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0002-Tabs-to-spaces.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0003-Initial-Bitbucket-Pipelines-configuration.patch + /usr/bin/git apply --index -p1 - BUILDSTDERR: :31: trailing whitespace. BUILDSTDERR: BUILDSTDERR: :31: new blank line at EOF. BUILDSTDERR: + BUILDSTDERR: warning: 2 lines add whitespace errors. + /usr/bin/git commit -q -m 0003-Initial-Bitbucket-Pipelines-configuration.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0004-Add-make-target-to-run-tests.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0004-Add-make-target-to-run-tests.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0005-Have-bitbucket-pipeline-run-tests-on-push.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0005-Have-bitbucket-pipeline-run-tests-on-push.patch --author 'rpm-build ' + /usr/bin/git apply --index -p1 - + /usr/bin/cat /builddir/build/SOURCES/0006-Added-L-switch-to-reference-loop-files-by-index.patch BUILDSTDERR: :113: trailing whitespace. BUILDSTDERR: files[nrFiles].localname = argv[j + 1]; BUILDSTDERR: :140: trailing whitespace. BUILDSTDERR: files[nrFiles].localname = argv[j + 1]; BUILDSTDERR: :151: trailing whitespace. BUILDSTDERR: j++; BUILDSTDERR: :171: trailing whitespace. BUILDSTDERR: strncpy(files[nrFiles].filename, filename, FILENAMEMAXSIZE); BUILDSTDERR: :180: trailing whitespace. BUILDSTDERR: j++; BUILDSTDERR: warning: squelched 1 whitespace error BUILDSTDERR: warning: 6 lines add whitespace errors. + /usr/bin/git commit -q -m 0006-Added-L-switch-to-reference-loop-files-by-index.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0007-Trying-to-replace-gcc-Docker-image-with-minimal-make.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0007-Trying-to-replace-gcc-Docker-image-with-minimal-make.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0008-Trying-alpine-Docker-container-with-apk-command-to-i.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0008-Trying-alpine-Docker-container-with-apk-command-to-i.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0009-Resolve-strange-deviating-versions.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0009-Resolve-strange-deviating-versions.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0010-Fix-for-L-switch-used-always-index-0-and-also-did-no.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0010-Fix-for-L-switch-used-always-index-0-and-also-did-no.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0013-Adding-step-name-and-setting-binary-as-artifact-to-k.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0013-Adding-step-name-and-setting-binary-as-artifact-to-k.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0014-Using-variable-for-compiler-to-prepare-for-MinGW-bui.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0014-Using-variable-for-compiler-to-prepare-for-MinGW-bui.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0015-Add-manually-triggered-step-to-build-Windows-executa.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0015-Add-manually-triggered-step-to-build-Windows-executa.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0016-Changing-Docker-image-to-one-with-integrated-MinGW.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0016-Changing-Docker-image-to-one-with-integrated-MinGW.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0017-Adding-tests-to-Windows-build-step.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0017-Adding-tests-to-Windows-build-step.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0018-gitignore-Add-basic-ignore-rules-for-git.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0018-gitignore-Add-basic-ignore-rules-for-git.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0019-LICENSE.txt-Add-license-file-for-distribution-packag.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0019-LICENSE.txt-Add-license-file-for-distribution-packag.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0020-Makefile-Allow-user-specified-compiler-flags-to-be-u.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0020-Makefile-Allow-user-specified-compiler-flags-to-be-u.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0021-Makefile-Run-top-level-clean-target-recursively.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0021-Makefile-Run-top-level-clean-target-recursively.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0022-Makefile-Add-top-level-check-test-target.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0022-Makefile-Add-top-level-check-test-target.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0023-test_cc1541-Makefile-Add-check-target.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0023-test_cc1541-Makefile-Add-check-target.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0024-cc1541-Fix-Wmaybe-uninitialized.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0024-cc1541-Fix-Wmaybe-uninitialized.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0025-cc1541-Fix-Wunused-result.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0025-cc1541-Fix-Wunused-result.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0026-cc1541-Fix-Wformat-extra-args.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0026-cc1541-Fix-Wformat-extra-args.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0027-cc1541-Fix-Wformat.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0027-cc1541-Fix-Wformat.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0028-cc1541-Fix-Wtype-limits.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0028-cc1541-Fix-Wtype-limits.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0029-test_cc1541-Fix-Wunused-result.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0029-test_cc1541-Fix-Wunused-result.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0030-cc1541-Fix-segfault-with-GCC-8-and-O2.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0030-cc1541-Fix-segfault-with-GCC-8-and-O2.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0031-test_cc1541-Flatten-the-directory-tree.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0031-test_cc1541-Flatten-the-directory-tree.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0032-Makefile-Declare-some-targets-to-be-PHONY.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0032-Makefile-Declare-some-targets-to-be-PHONY.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0033-Makefile-Add-install-target.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0033-Makefile-Add-install-target.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0034-Makefile-Handle-compiler-flags-properly.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0034-Makefile-Handle-compiler-flags-properly.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0035-Adapted-windows-build-files-to-new-flat-folder-struc.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0035-Adapted-windows-build-files-to-new-flat-folder-struc.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0036-Makefile-Remove-the-explicit-rules-for-linking.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0036-Makefile-Remove-the-explicit-rules-for-linking.patch --author 'rpm-build ' + rm -fr rel/ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e3Z1Lj + umask 022 + cd /builddir/build/BUILD + cd PTV_Claus-cc1541-69a35800d67c + /usr/bin/make -O -j4 V=1 VERBOSE=1 bindir=/usr/bin CC=gcc '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' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 gcc -std=c99 -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 -c -o cc1541.o cc1541.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld cc1541.o -o cc1541 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qkMsej + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64 + cd PTV_Claus-cc1541-69a35800d67c + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64 'INSTALL=/usr/bin/install -p' bindir=/usr/bin CC=gcc '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' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.0-3.fc31 --unique-debug-suffix -2.0-3.fc31.riscv64 --unique-debug-src-base cc1541-2.0-3.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/PTV_Claus-cc1541-69a35800d67c BUILDSTDERR: 126 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 /usr/bin/install -p -Dpm 0755 ./cc1541 /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/bin/cc1541 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/bin/cc1541 extracting debug info from /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/bin/cc1541 original debug info size: 124kB, size after compression: 124kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Th138k Processing files: cc1541-2.0-3.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.a0StIk + umask 022 + cd /builddir/build/BUILD + cd PTV_Claus-cc1541-69a35800d67c + DOCDIR=/builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/share/doc/cc1541 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/share/doc/cc1541 + cp -pr README.md /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/share/doc/cc1541 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uTwnuj + umask 022 + cd /builddir/build/BUILD + cd PTV_Claus-cc1541-69a35800d67c + LICENSEDIR=/builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/share/licenses/cc1541 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/share/licenses/cc1541 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64/usr/share/licenses/cc1541 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: cc1541 = 2.0-3.fc31 cc1541(riscv-64) = 2.0-3.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: cc1541-debugsource-2.0-3.fc31.riscv64 Provides: cc1541-debugsource = 2.0-3.fc31 cc1541-debugsource(riscv-64) = 2.0-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cc1541-debuginfo-2.0-3.fc31.riscv64 Provides: cc1541-debuginfo = 2.0-3.fc31 cc1541-debuginfo(riscv-64) = 2.0-3.fc31 debuginfo(build-id) = 1050f971334406dff9e1a77849bf683646805a32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cc1541-debugsource(riscv-64) = 2.0-3.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64 Wrote: /builddir/build/RPMS/cc1541-2.0-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/cc1541-debugsource-2.0-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/cc1541-debuginfo-2.0-3.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.g2Jtrl + umask 022 + cd /builddir/build/BUILD + cd PTV_Claus-cc1541-69a35800d67c + /usr/bin/rm -rf /builddir/build/BUILDROOT/cc1541-2.0-3.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0