ecurity -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ src/gamescope.p/steamcompmgr.cpp.o -MF src/gamescope.p/steamcompmgr.cpp.o.d -o src/gamescope.p/steamcompmgr.cpp.o -c ../src/steamcompmgr.cpp ../src/steamcompmgr.cpp: In function ‘bool set_color_3dlut_override(const char*)’: ../src/steamcompmgr.cpp:604:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 604 | fread(g_ColorMgmtLutsOverride[nLutIndex].lut3d, elems, sizeof(uint16_t), f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/steamcompmgr.cpp: In function ‘bool set_color_shaperlut_override(const char*)’: ../src/steamcompmgr.cpp:631:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 631 | fread(g_ColorMgmtLutsOverride[nLutIndex].lut1d, elems, sizeof(uint16_t), f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/steamcompmgr.cpp: In function ‘void update_runtime_info()’: ../src/steamcompmgr.cpp:5261:15: warning: ignoring return value of ‘ssize_t pwrite(int, const void*, size_t, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5261 | pwrite( g_nRuntimeInfoFd, &limiter_enabled, sizeof( limiter_enabled ), 0 ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/steamcompmgr.cpp: In function ‘void spawn_client(char**)’: ../src/steamcompmgr.cpp:6781:29: warning: ignoring return value of ‘int nice(int)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6781 | nice( g_nOldNice - g_nNewNice ); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/steamcompmgr.cpp: In function ‘void determine_and_apply_focus(xwayland_ctx_t*, std::vector&)’: ../src/steamcompmgr.cpp:3736:31: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3736 | system( buf ); | ~~~~~~^~~~~~~ ../src/steamcompmgr.cpp: In member function ‘virtual void commit_t::OnPollIn()’: ../src/steamcompmgr.cpp:773:40: warning: ‘frametime’ may be used uninitialized [-Wmaybe-uninitialized] 773 | mangoapp_update( IsPerfOverlayFIFO() ? uint64_t(~0ull) : frametime, frametime, uint64_t(~0ull) ); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/steamcompmgr.cpp:750:26: note: ‘frametime’ was declared here 750 | uint64_t frametime; | ^~~~~~~~~ ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/gamescope-3.13.19/redhat-linux-build -j 4 -v error: Bad exit status from /var/tmp/rpm-tmp.qeUmfy (%build) Bad exit status from /var/tmp/rpm-tmp.qeUmfy (%build) RPM build errors: 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/gamescope.spec