-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 -DSWF_LITTLE_ENDIAN -c -o text_util.lo text_util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 -DSWF_LITTLE_ENDIAN -c text_util.c -fPIC -DPIC -o .libs/text_util.o make[3]: Leaving directory '/builddir/build/BUILD/libming-50098023446a5412efcfbd40552821a8cba983a6/src' make[3]: Entering directory '/builddir/build/BUILD/libming-50098023446a5412efcfbd40552821a8cba983a6/src' /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 -DSWF_LITTLE_ENDIAN -version-info 5:8:4 -no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libming.la -rpath /usr/lib64 blocklist.lo displaylist.lo fill.lo font_util.lo gc.lo ming.lo movie.lo movieclip.lo position.lo shape_cubic.lo shape_util.lo text_util.lo compat.lo actioncompiler/libactioncompiler.la blocks/libblock.la -lpng -lgif -lm -lz -lfreetype libtool: link: gcc -shared -fPIC -DPIC .libs/blocklist.o .libs/displaylist.o .libs/fill.o .libs/font_util.o .libs/gc.o .libs/ming.o .libs/movie.o .libs/movieclip.o .libs/position.o .libs/shape_cubic.o .libs/shape_util.o .libs/text_util.o .libs/compat.o -Wl,--whole-archive actioncompiler/.libs/libactioncompiler.a blocks/.libs/libblock.a -Wl,--no-whole-archive -lpng -lgif -lm -lz -lfreetype -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libming.so.1 -o .libs/libming.so.1.4.8 make[3]: Leaving directory '/builddir/build/BUILD/libming-50098023446a5412efcfbd40552821a8cba983a6/src' /usr/bin/ld: actioncompiler/.libs/libactioncompiler.a(lex.swf4.o): in function `.LANCHOR0': lex.swf4.c:(.bss+0xc70): multiple definition of `swf4debug'; actioncompiler/.libs/libactioncompiler.a(swf4compiler.tab.o):(.bss+0x14): first defined here /usr/bin/ld: actioncompiler/.libs/libactioncompiler.a(lex.swf5.o): in function `.LANCHOR0': lex.swf5.c:(.bss+0x890): multiple definition of `swf5debug'; actioncompiler/.libs/libactioncompiler.a(swf5compiler.tab.o):swf5compiler.tab.c:(.bss+0x2c): first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:631: libming.la] Error 1 make[2]: *** [Makefile:735: all-recursive] Error 1 make[1]: *** [Makefile:542: all] Error 2 make: *** [Makefile:515: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.5egM4K (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.5egM4K (%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/ming.spec