at-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' Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' Using 'CC' from environment with value: 'gcc' Using 'CFLAGS' from environment with value: '-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' Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' C compiler for the host machine: gcc (gcc 10.2.1 "gcc (GCC) 10.2.1 20200804 (Red Hat 10.2.1-2)") C linker for the host machine: gcc ld.bfd 2.35-10 Host machine cpu family: riscv64 Host machine cpu: riscv64 Program help2man found: YES Found pkg-config: /usr/bin/pkg-config (1.7.0) Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' Run-time dependency glib-2.0 found: YES 2.65.0 Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' Run-time dependency gobject-2.0 found: YES 2.65.0 Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' Run-time dependency gmodule-2.0 found: YES 2.65.0 Compiler for C supports arguments -Wformat: YES Compiler for C supports arguments -Wformat -Werror=format-security: YES Configuring gplugin-version.sh using configuration Program glib-mkenums found: YES Program glib-mkenums found: YES WARNING: Project targeting '>=0.42.0' but tried to use feature introduced in '0.50.0': install arg in configure_file. Configuring gplugin-version.h using configuration Configuring gplugin.h using configuration Configuring gplugin-native.h using configuration Found pkg-config: /usr/bin/pkg-config (1.7.0) Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' Build-time dependency gobject-introspection-1.0 found: YES 1.64.1 Program g_ir_scanner found: YES (/usr/bin/g-ir-scanner) Program g_ir_compiler found: YES (/usr/bin/g-ir-compiler) Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' Run-time dependency gtk+-3.0 found: YES 3.24.20 Configuring gplugin-gtk.h using configuration Configuring gplugin-gtk.xml using configuration Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configuring gplugin.spec using configuration Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' Run-time dependency lua found: YES 5.4.0 Checking if "lua "lgi" module" with dependency lua runs: NO (2) lua/meson.build:39:2: ERROR: Problem encountered: Failed to find the "lgi" lua module A full log can be found at /builddir/build/BUILD/gplugin-0.29.0/riscv64-redhat-linux-gnu/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.IvEPS8 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IvEPS8 (%build) 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/gplugin.spec