-Wmissing-prototypes -Wno-format-y2k -c fileio.c -fPIC -DPIC -o .libs/fileio.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c fileio.c -o fileio.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/builddir/build/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o intrinsic.lo intrinsic.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c intrinsic.c -fPIC -DPIC -o .libs/intrinsic.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c intrinsic.c -o intrinsic.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/gnucobol-3.2/libcob' make[1]: *** [Makefile:657: all-recursive] Error 1 make: *** [Makefile:565: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.96EoIp (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.96EoIp (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/gnucobol.spec