Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/toolbox.spec'], chrootPath='/var/lib/mock/f39-build-1642840-40220/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1699488000 Wrote: /builddir/build/SRPMS/toolbox-0.0.99.4-6.fc39.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/toolbox.spec'], chrootPath='/var/lib/mock/f39-build-1642840-40220/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1699488000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yIut5k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf toolbox-0.0.99.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/toolbox-0.0.99.4-vendored.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd toolbox-0.0.99.4 + rm -rf /builddir/build/BUILD/toolbox-0.0.99.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/toolbox-0.0.99.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (toolbox-Build-fixes.patch):' Patch #0 (toolbox-Build-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file meson.build patching file src/cmd/root.go patching file src/cmd/root.go patching file src/cmd/root.go patching file src/cmd/root.go Patch #1 (toolbox-cmd-initContainer-Be-aware-of-security-hardened-moun.patch): + echo 'Patch #1 (toolbox-cmd-initContainer-Be-aware-of-security-hardened-moun.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/cmd/initContainer.go Patch #2 (toolbox-Simplify-removing-the-user-s-password.patch): + echo 'Patch #2 (toolbox-Simplify-removing-the-user-s-password.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file test/system/206-user.bats patching file doc/toolbox-init-container.1.md patching file src/cmd/create.go patching file src/cmd/initContainer.go patching file src/cmd/initContainer.go patching file src/cmd/initContainer.go patching file src/cmd/initContainer.go Patch #100 (toolbox-Make-the-build-flags-match-Fedora-s-gobuild.patch): + echo 'Patch #100 (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 + rm -fr /builddir/build/BUILD/toolbox-0.0.99.4/src/vendor + [[ ! -e /builddir/build/BUILD/toolbox-0.0.99.4/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/toolbox-0.0.99.4/_build/bin install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.4/_build' install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.4/_build/bin' + export GOPATH=/builddir/build/BUILD/toolbox-0.0.99.4/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/toolbox-0.0.99.4/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/toolbox-0.0.99.4/_build/src/github.com/containers/toolbox ]] ++ dirname /builddir/build/BUILD/toolbox-0.0.99.4/_build/src/github.com/containers/toolbox + install -m 0755 -vd /builddir/build/BUILD/toolbox-0.0.99.4/_build/src/github.com/containers install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.4/_build/src' install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.4/_build/src/github.com' install: creating directory '/builddir/build/BUILD/toolbox-0.0.99.4/_build/src/github.com/containers' + ln -fs /builddir/build/BUILD/toolbox-0.0.99.4/src /builddir/build/BUILD/toolbox-0.0.99.4/_build/src/github.com/containers/toolbox + cd /builddir/build/BUILD/toolbox-0.0.99.4/_build/src/github.com/containers/toolbox + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Fsu9yR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.4 + export GO111MODULE=off + GO111MODULE=off + export GOPATH=/builddir/build/BUILD/toolbox-0.0.99.4/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/toolbox-0.0.99.4/_build:/usr/share/gocode + export 'CGO_CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 setup --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 -Dprofile_dir=/etc/profile.d -Dtmpfiles_dir=/usr/lib/tmpfiles.d -Dzsh_completions_dir=/usr/share/zsh/site-functions The Meson build system Version: 1.2.3 Source dir: /builddir/build/BUILD/toolbox-0.0.99.4 Build dir: /builddir/build/BUILD/toolbox-0.0.99.4/redhat-linux-build Build type: native build Project name: toolbox Project version: 0.0.99.4 C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4)") C linker for the host machine: gcc ld.bfd 2.40-13 Host machine cpu family: riscv64 Host machine cpu: riscv64 Compiler for C supports arguments -print-file-name=libc.so: YES Has header "shadow/subid.h" : YES Library subid found: YES Program go found: YES (/usr/bin/go) Program go-md2man found: YES (/usr/bin/go-md2man) Program bats found: NO Program codespell found: NO Program htpasswd found: NO Program openssl found: NO Program podman found: NO Program shellcheck found: NO Program skopeo found: NO Found pkg-config: /usr/bin/pkg-config (1.9.5) Run-time dependency bash-completion found: YES 2.11 Run-time dependency fish found: YES 3.6.1 Run-time dependency systemd found: YES 254 Message: Running system tests requires Skopeo for OCI image manipulation. Program go-build-wrapper found: YES (/builddir/build/BUILD/toolbox-0.0.99.4/src/go-build-wrapper) Program meson_generate_completions.py found: YES (/usr/bin/python3 /builddir/build/BUILD/toolbox-0.0.99.4/src/meson_generate_completions.py) Program meson_go_fmt.py found: YES (/usr/bin/python3 /builddir/build/BUILD/toolbox-0.0.99.4/src/meson_go_fmt.py) src/meson.build:49: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.4/redhat-linux-build/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.Fsu9yR (%build) RPM build warnings: RPM build errors: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.Fsu9yR (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/toolbox.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/toolbox.spec