est -f 'player.c' || echo './'`player.c gcc -DDSI_DIR=\"/usr/share/dsi\" -DDSI_DATA_DIR=\"/usr/share/dsi/data\" -DDSI_SCORE_DIR=\"/var/lib/games/dsi\" -DDSI_PIXMAP_DIR=\"/usr/share/pixmaps\" -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o DSI DSI-main.o DSI-rcfile.o DSI-sprite.o DSI-aliens.o DSI-intro.o DSI-rungame.o DSI-data.o DSI-hi_score.o DSI-final_score.o DSI-sound.o DSI-bombs.o DSI-shots.o DSI-level.o DSI-player.o -lSDL_mixer -lSDL_image -lSDL -lpthread /usr/bin/ld: DSI-sprite.o: in function `.LANCHOR0': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-aliens.o: in function `.LANCHOR1': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-intro.o: in function `.LANCHOR0': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-rungame.o: in function `.LANCHOR1': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-hi_score.o: in function `.LANCHOR0': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-final_score.o: in function `.LANCHOR0': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-bombs.o: in function `.LANCHOR0': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-shots.o: in function `.LANCHOR0': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-level.o: in function `.LANCHOR0': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here /usr/bin/ld: DSI-player.o: in function `.LANCHOR0': /builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: multiple definition of `sprite_ops'; DSI-main.o:/builddir/build/BUILD/dsi-1.0.7/dsi/sprite.h:31: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:245: DSI] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/dsi-1.0.7/dsi' make[1]: *** [Makefile:368: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dsi-1.0.7' make: *** [Makefile:224: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.e4TsVB (%build) Bad exit status from /var/tmp/rpm-tmp.e4TsVB (%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/dsi.spec