Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/toolbox.spec'], chrootPath='/var/lib/mock/f37-build-649499-72749/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/toolbox.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/toolbox-0.0.99.3-7.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/toolbox.spec'], chrootPath='/var/lib/mock/f37-build-649499-72749/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/toolbox.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8ISzRO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf toolbox-0.0.99.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/toolbox-0.0.99.3.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd toolbox-0.0.99.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #100 (toolbox-Don-t-use-Go-s-semantic-import-versioning.patch): + echo 'Patch #100 (toolbox-Don-t-use-Go-s-semantic-import-versioning.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/cmd/create.go patching file src/go.mod patching file src/go.sum patching file src/pkg/utils/utils.go Hunk #1 succeeded at 32 (offset -1 lines). Patch #101 (toolbox-Make-the-build-flags-match-Fedora-s-gobuild.patch): + echo 'Patch #101 (toolbox-Make-the-build-flags-match-Fedora-s-gobuild.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/go-build-wrapper Patch #103 (toolbox-cmd-root-Work-around-Cobra-1.1.2-s-handling-of-usage.patch): + echo 'Patch #103 (toolbox-cmd-root-Work-around-Cobra-1.1.2-s-handling-of-usage.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/cmd/root.go + rm -fr /builddir/build/BUILD/toolbox-0.0.99.3/vendor + [[ ! -e /builddir/build/BUILD/toolbox-0.0.99.3/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/toolbox-0.0.99.3/_build/bin install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.3/_build' install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.3/_build/bin' + export GOPATH=/builddir/build/BUILD/toolbox-0.0.99.3/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/toolbox-0.0.99.3/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/toolbox-0.0.99.3/_build/src/github.com/containers/toolbox ]] ++ dirname /builddir/build/BUILD/toolbox-0.0.99.3/_build/src/github.com/containers/toolbox + install -m 0755 -vd /builddir/build/BUILD/toolbox-0.0.99.3/_build/src/github.com/containers install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.3/_build/src' install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.3/_build/src/github.com' install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.3/_build/src/github.com/containers' + ln -fs /builddir/build/BUILD/toolbox-0.0.99.3 /builddir/build/BUILD/toolbox-0.0.99.3/_build/src/github.com/containers/toolbox + cd /builddir/build/BUILD/toolbox-0.0.99.3/_build/src/github.com/containers/toolbox + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RnAFt7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd toolbox-0.0.99.3 + export GO111MODULE=off + GO111MODULE=off + export GOPATH=/builddir/build/BUILD/toolbox-0.0.99.3/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/toolbox-0.0.99.3/_build:/usr/share/gocode + export 'CGO_CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CGO_CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + ln -s src/cmd cmd + ln -s src/pkg pkg + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build --buildtype=plain -Dprofile_dir=/etc/profile.d -Dtmpfiles_dir=/usr/lib/tmpfiles.d The Meson build system Version: 0.63.2 Source dir: /builddir/build/BUILD/toolbox-0.0.99.3 Build dir: /builddir/build/BUILD/toolbox-0.0.99.3/redhat-linux-build Build type: native build Project name: toolbox Project version: 0.0.99.3 C compiler for the host machine: gcc (gcc 12.2.1 "gcc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-1)") C linker for the host machine: gcc ld.bfd 2.39-3 Host machine cpu family: riscv64 Host machine cpu: riscv64 Program go found: YES (/usr/bin/go) Program go-md2man found: YES (/usr/bin/go-md2man) Program shellcheck found: YES (/usr/bin/shellcheck) Program skopeo found: NO Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency bash-completion found: YES 2.8 Message: Running system tests requires Skopeo for OCI image manipulation. Program go-build-wrapper found: YES (/builddir/build/BUILD/toolbox-0.0.99.3/src/go-build-wrapper) src/meson.build:42:2: ERROR: Problem encountered: Please specify dynamic linker for: riscv64 (little endian) A full log can be found at /builddir/build/BUILD/toolbox-0.0.99.3/redhat-linux-build/meson-logs/meson-log.txt RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.RnAFt7 (%build) Bad exit status from /var/tmp/rpm-tmp.RnAFt7 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/toolbox.spec