ther] 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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c regex.c -o regex.o regex.c:1165:7: error: expected expression at end of input 1165 | -1, 41, 42, -1, -1, 75, 76, 47, 45, 49, | ^ regex.c:1070:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 1070 | static const yytype_int16 yycheck[] = | ^~~~~~~ regex.c:947:27: warning: 'yytable' defined but not used [-Wunused-const-variable=] 947 | static const yytype_int16 yytable[] = | ^~~~~~~ regex.c:937:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 937 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ regex.c:929:26: warning: 'yypgoto' defined but not used [-Wunused-const-variable=] 929 | static const yytype_int8 yypgoto[] = | ^~~~~~~ regex.c:894:27: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 894 | static const yytype_uint8 yydefact[] = | ^~~~~~~~ regex.c:857:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 857 | static const yytype_int16 yypact[] = | ^~~~~~ regex.c:739:26: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 739 | static const yytype_int8 yytranslate[] = | ^~~~~~~~~~~ regex.y:30:24: warning: 'subval2' defined but not used [-Wunused-variable] 30 | static char *subval1, *subval2; | ^~~~~~~ regex.y:30:14: warning: 'subval1' defined but not used [-Wunused-variable] 30 | static char *subval1, *subval2; | ^~~~~~~ make: *** [Makefile:92: regex.o] Error 1 make: *** Waiting for unfinished jobs.... 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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c foma.c -o foma.o 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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c stack.c -o stack.o 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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c constructions.c -o constructions.o error: Bad exit status from /var/tmp/rpm-tmp.O7go1p (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.O7go1p (%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/foma.spec