741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: lex.lexc.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: lex.yy.o: in function `.LANCHOR2': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: lex.yy.o: in function `.LANCHOR2': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: lex.cmatrix.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: lex.cmatrix.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: regex.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: regex.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:71: libfoma.so.0.9.18] 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 lex.interface.c -o lex.interface.o interface.l: In function 'my_interfaceparse': interface.l:104:20: warning: variable 'my_string_buffer' set but not used [-Wunused-but-set-variable] 104 | YY_BUFFER_STATE my_string_buffer; | ^~~~~~~~~~~~~~~~ interface.l: In function 'interfacelex': interface.l:579:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 579 | ret = system(interfacetext); | ^~~ lex.interface.c:8095:14: warning: statement with no effect [-Wunused-value] 8095 | #define NAME_NET 28 | ^~ interface.l:657:1: note: in expansion of macro 'ECHO' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.GcvK6t (%build) Bad exit status from /var/tmp/rpm-tmp.GcvK6t (%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