Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-mosquitto.spec'], chrootPath='/var/lib/mock/f33-build-282958-51786/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-mosquitto.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 warning: line 18: Possible unexpanded macro in: Requires: lua(abi) = %{lua_version} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1593475200 Wrote: /builddir/build/SRPMS/lua-mosquitto-0.3-3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-mosquitto.spec'], chrootPath='/var/lib/mock/f33-build-282958-51786/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-mosquitto.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=1593475200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hSQPoB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lua-mosquitto-0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/lua-mosquitto-0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lua-mosquitto-0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.teZlwE + umask 022 + cd /builddir/build/BUILD + cd lua-mosquitto-0.3 + export 'CFLAGS=-O2 -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' + CFLAGS='-O2 -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 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export OPT= + OPT= + /usr/bin/make -O -j4 V=1 VERBOSE=1 mosquitto.so cc -c -O2 -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 -fPIC -std=gnu99 -Wall -pedantic -o lua-mosquitto.o lua-mosquitto.c cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -std=gnu99 -lmosquitto lua-mosquitto.o -lmosquitto -o mosquitto.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hxXLvD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64 + cd lua-mosquitto-0.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/lib64/lua/5.4 cp mosquitto.so /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/lib64/lua/5.4 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3-3.fc33 --unique-debug-suffix -0.3-3.fc33.riscv64 --unique-debug-src-base lua-mosquitto-0.3-3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lua-mosquitto-0.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/lib64/lua/5.4/mosquitto.so extracting debug info from /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/lib64/lua/5.4/mosquitto.so original debug info size: 88kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 39 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: lua-mosquitto-0.3-3.fc33.riscv64 error: File not found: /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/lib64/lua/5.3/mosquitto.so Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qBudPD + umask 022 + cd /builddir/build/BUILD + cd lua-mosquitto-0.3 + DOCDIR=/builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/share/doc/lua-mosquitto + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/share/doc/lua-mosquitto + cp -pr README.md /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/share/doc/lua-mosquitto + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sdb1zF + umask 022 + cd /builddir/build/BUILD + cd lua-mosquitto-0.3 + LICENSEDIR=/builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/share/licenses/lua-mosquitto + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/share/licenses/lua-mosquitto + cp -pr LICENSE /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/share/licenses/lua-mosquitto + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/lua-mosquitto-0.3-3.fc33.riscv64/usr/lib64/lua/5.3/mosquitto.so Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/lua-mosquitto.spec