D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/lua-lunit-0.5-4.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.bABvBc + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf lunit-0.5 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/lunit-0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lunit-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Ql4wOc + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd lunit-0.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.oeUczS + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/lua-lunit-0.5-4.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/lua-lunit-0.5-4.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/lua-lunit-0.5-4.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/lua-lunit-0.5-4.mga9.aarch64 + cd lunit-0.5 + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/lua-lunit-0.5-4.mga9.aarch64/usr/bin + cp -p lunit /home/iurt/rpmbuild/BUILDROOT/lua-lunit-0.5-4.mga9.aarch64/usr/bin + mkdir -p /home/iurt/rpmbuild/BUILDROOT/lua-lunit-0.5-4.mga9.aarch64/usr/share/lua/5.4 + cp -pr lunit.lua lunit-console.lua /home/iurt/rpmbuild/BUILDROOT/lua-lunit-0.5-4.mga9.aarch64/usr/share/lua/5.4 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.5-4.mga9 --unique-debug-suffix -0.5-4.mga9.aarch64 --unique-debug-src-base lua-lunit-0.5-4.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/lunit-0.5 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/lunit from /bin/sh to #!/usr/bin/sh Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZIanqv + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd lunit-0.5 + '[' 1 -eq 1 ']' + ./lunit lunit-tests.lua + tee testlog.txt lua: ./lunit.lua:49: global 'module' is not callable (a nil value) stack traceback: ./lunit.lua:49: in main chunk [C]: in function 'require' stdin:10: in main chunk [C]: in ? + grep -q '0 failed, 0 errors' testlog.txt error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ZIanqv (%check) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ZIanqv (%check) I: [iurt_root_command] ERROR: chroot