or-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SOUND `pkg-config --cflags clanCore-2.3 clanDisplay-2.3 clanApp-2.3 clanGL-2.3 clanGL1-2.3 clanSWRender-2.3 clanSound-2.3 clanMikMod-2.3` -c sources/sound.cpp -o build/sound.o In file included from /usr/include/ClanLib-2.3/ClanLib/display.h:74, from sources/target.h:21, from sources/sound.cpp:17: /usr/include/ClanLib-2.3/ClanLib/Display/Image/palette.h: In constructor 'CL_Palette::CL_Palette(const unsigned int*)': /usr/include/ClanLib-2.3/ClanLib/Display/Image/palette.h:58:54: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'class CL_Color' from an array of 'const unsigned int' [-Wclass-memaccess] 58 | CL_Palette(const unsigned int *copy) { memcpy(colors, copy, sizeof(int)*256); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ClanLib-2.3/ClanLib/display.h:44: /usr/include/ClanLib-2.3/ClanLib/Display/2D/color.h:47:22: note: 'class CL_Color' declared here 47 | class CL_API_DISPLAY CL_Color | ^~~~~~~~ Compiling sources/gasobj.cpp... gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -DENABLE_SOUND `pkg-config --cflags clanCore-2.3 clanDisplay-2.3 clanApp-2.3 clanGL-2.3 clanGL1-2.3 clanSWRender-2.3 clanSound-2.3 clanMikMod-2.3` -c sources/gasobj.cpp -o build/gasobj.o Compiling sources/misc.cpp... gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -DENABLE_SOUND `pkg-config --cflags clanCore-2.3 clanDisplay-2.3 clanApp-2.3 clanGL-2.3 clanGL1-2.3 clanSWRender-2.3 clanSound-2.3 clanMikMod-2.3` -c sources/misc.cpp -o build/misc.o g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection build/game.o build/baddie.o build/methane.o build/target.o build/maps.o build/gfxoff.o build/mapdata.o build/objlist.o build/doc.o build/bitdraw.o build/global.o build/suck.o build/power.o build/goodie.o build/bititem.o build/player.o build/weapon.o build/bitgroup.o build/boss.o build/sound.o build/gasobj.o build/misc.o -o methane `pkg-config --libs clanCore-2.3 clanDisplay-2.3 clanApp-2.3 clanGL-2.3 clanGL1-2.3 clanSWRender-2.3 clanSound-2.3 clanMikMod-2.3` /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libclan23Core.so: undefined reference to `pthread_mutexattr_setkind_np' collect2: error: ld returned 1 exit status make: *** [Makefile:13: methane] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.zpeS2Q (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zpeS2Q (%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/methane.spec