2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /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 . riscv64-redhat-linux-gnu -Dwith-openssl=enabled -Dwith-zstd=enabled The Meson build system Version: 0.52.1 Source dir: /builddir/build/BUILD/zchunk-1.1.5 Build dir: /builddir/build/BUILD/zchunk-1.1.5/riscv64-redhat-linux-gnu Build type: native build Project name: zck Project version: 1.1.5 Appending CFLAGS from environment: '-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 -fasynchronous-unwind-tables -fstack-clash-protection' Appending LDFLAGS from environment: ['-Wl,-z,relro', '-Wl,--as-needed', '-Wl,-z,now', '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'] Appending CFLAGS from environment: '-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 -fasynchronous-unwind-tables -fstack-clash-protection' Appending LDFLAGS from environment: ['-Wl,-z,relro', '-Wl,--as-needed', '-Wl,-z,now', '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'] C compiler for the host machine: cc (gcc 9.2.1 "cc (GCC) 9.2.1 20191120 (Red Hat 9.2.1-2)") C linker for the host machine: GNU ld.bfd 2.33.1-10 Host machine cpu family: riscv64 Host machine cpu: riscv64 Compiler for C supports arguments -Wunused-result: YES Found pkg-config: /usr/bin/pkg-config (1.6.3) Run-time dependency libzstd found: YES 1.4.4 Run-time dependency libcurl found: YES 7.67.0 Run-time dependency openssl found: YES 1.1.1d Configuring zck.h using configuration Build targets in project: 16 Found ninja-1.9.0 at /usr/bin/ninja + /usr/bin/ninja -v -j4 -C riscv64-redhat-linux-gnu ninja: Entering directory `riscv64-redhat-linux-gnu' BUILDSTDERR: ninja: error: '/lib64/lib64/lp64d/libzstd.so', needed by 'src/lib/libzck.so.1.1.5', missing and no known rule to make it BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.6c6PPd (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.6c6PPd (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/zchunk.spec