types -Wno-unused-parameter -Waggregate-return -Wdeclaration-after-statement -Wundef -Wcast-align -Wpointer-arith -I/usr/include/p11-kit-1 -c -o packet.o packet.c /bin/sh ../../libtool --tag=CC --mode=link gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Waggregate-return -Wdeclaration-after-statement -Wundef -Wcast-align -Wpointer-arith -I/usr/include/p11-kit-1 -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o packet packet.o ../../src/libgadu.la -lgnutls -pthread -lz -lprotobuf-c libtool: link: gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Waggregate-return -Wdeclaration-after-statement -Wundef -Wcast-align -Wpointer-arith -I/usr/include/p11-kit-1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o packet packet.o -pthread ../../src/.libs/libgadu.so -lgnutls -lz -lprotobuf-c -pthread -Wl,-rpath -Wl,/builddir/build/BUILD/libgadu-1.12.2/src/.libs -Wl,-rpath -Wl,/usr/lib64 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -DGG_IGNORE_DEPRECATED -I../../include -I../../test -I../../test/automatic/script -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Waggregate-return -Wdeclaration-after-statement -Wundef -Wcast-align -Wpointer-arith -I/usr/include/p11-kit-1 -c -o protocol-protocol.o `test -f 'protocol.c' || echo './'`protocol.c perl ../../test/automatic/script/compile ../../test/automatic/script/*.scr > script.c Can't locate vars.pm in @INC (you may need to install the vars module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ../../test/automatic/script/compile line 3. BEGIN failed--compilation aborted at ../../test/automatic/script/compile line 3. make[4]: *** [Makefile:1409: script.c] Error 2 make[4]: Leaving directory '/builddir/build/BUILD/libgadu-1.12.2/test/automatic' make[3]: *** [Makefile:1280: check-am] Error 2 make[3]: Leaving directory '/builddir/build/BUILD/libgadu-1.12.2/test/automatic' make[2]: Leaving directory '/builddir/build/BUILD/libgadu-1.12.2/test/automatic' make[2]: *** [Makefile:913: check-recursive] Error 1 make[1]: *** [Makefile:371: check-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libgadu-1.12.2/test' make: *** [Makefile:420: check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.OZiL4c (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OZiL4c (%check) 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/libgadu.spec