T_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -Wno-unused-parameter -Wno-unused-value -fpermissive -std=c++23 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -mno-omit-leaf-frame-pointer -pthread -D_REENTRANT -MD -MQ src/xdg-desktop-portal-hyprland.p/portals_Screencopy.cpp.o -MF src/xdg-desktop-portal-hyprland.p/portals_Screencopy.cpp.o.d -o src/xdg-desktop-portal-hyprland.p/portals_Screencopy.cpp.o -c ../src/portals/Screencopy.cpp [28/33] g++ -Isrc/xdg-desktop-portal-hyprland.p -Isrc -I../src -I. -I.. -Iprotocols -I../protocols -I/usr/include/libdrm -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -Wno-unused-parameter -Wno-unused-value -fpermissive -std=c++23 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -mno-omit-leaf-frame-pointer -pthread -D_REENTRANT -MD -MQ src/xdg-desktop-portal-hyprland.p/main.cpp.o -MF src/xdg-desktop-portal-hyprland.p/main.cpp.o.d -o src/xdg-desktop-portal-hyprland.p/main.cpp.o -c ../src/main.cpp [29/33] g++ -Isrc/xdg-desktop-portal-hyprland.p -Isrc -I../src -I. -I.. -Iprotocols -I../protocols -I/usr/include/libdrm -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -Wno-unused-parameter -Wno-unused-value -fpermissive -std=c++23 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -mno-omit-leaf-frame-pointer -pthread -D_REENTRANT -MD -MQ src/xdg-desktop-portal-hyprland.p/helpers_MiscFunctions.cpp.o -MF src/xdg-desktop-portal-hyprland.p/helpers_MiscFunctions.cpp.o.d -o src/xdg-desktop-portal-hyprland.p/helpers_MiscFunctions.cpp.o -c ../src/helpers/MiscFunctions.cpp ../src/helpers/MiscFunctions.cpp: In function ‘std::string execAndGet(const char*)’: ../src/helpers/MiscFunctions.cpp:16:50: warning: ignoring attributes on template argument ‘int (*)(FILE*)’ [-Wignored-attributes] 16 | const std::unique_ptr pipe(popen(cmd, "r"), pclose); | ^ ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/xdg-desktop-portal-hyprland-1.3.1/redhat-linux-build -j 4 -v error: Bad exit status from /var/tmp/rpm-tmp.HR6cEO (%build) Bad exit status from /var/tmp/rpm-tmp.HR6cEO (%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/xdg-desktop-portal-hyprland.spec