d-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c src/zimg/colorspace/operation_impl.cpp -fPIC -DPIC -o src/zimg/colorspace/.libs/libzimg_internal_la-operation_impl.o make[1]: Leaving directory '/builddir/build/BUILD/zimg-release-2.9.2' make[1]: Entering directory '/builddir/build/BUILD/zimg-release-2.9.2' /bin/sh ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"zimg\" -DPACKAGE_TARNAME=\"zimg\" -DPACKAGE_VERSION=\"2.9.2\" -DPACKAGE_STRING=\"zimg\ 2.9.2\" -DPACKAGE_BUGREPORT=\"https://github.com/sekrit-twc/zimg/pulls\" -DPACKAGE_URL=\"https://github.com/sekrit-twc/zimg\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I./src/zimg -std=c++14 -O2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DNDEBUG -fvisibility=hidden -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 -c -o src/zimg/colorspace/libzimg_internal_la-graph.lo `test -f 'src/zimg/colorspace/graph.cpp' || echo './'`src/zimg/colorspace/graph.cpp libtool: compile: g++ -DPACKAGE_NAME=\"zimg\" -DPACKAGE_TARNAME=\"zimg\" -DPACKAGE_VERSION=\"2.9.2\" "-DPACKAGE_STRING=\"zimg 2.9.2\"" -DPACKAGE_BUGREPORT=\"https://github.com/sekrit-twc/zimg/pulls\" -DPACKAGE_URL=\"https://github.com/sekrit-twc/zimg\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I./src/zimg -std=c++14 -O2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DNDEBUG -fvisibility=hidden -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 -c src/zimg/colorspace/graph.cpp -fPIC -DPIC -o src/zimg/colorspace/.libs/libzimg_internal_la-graph.o make[1]: Leaving directory '/builddir/build/BUILD/zimg-release-2.9.2' In file included from src/zimg/colorspace/graph.cpp:9: src/zimg/colorspace/colorspace.h: In function 'std::vector(const zimg::colorspace::OperationParams&, zimg::CPUClass)> > zimg::colorspace::get_operation_path(const zimg::colorspace::ColorspaceDefinition&, const zimg::colorspace::ColorspaceDefinition&)': src/zimg/colorspace/colorspace.h:104:11: warning: 'vertex.zimg::colorspace::ColorspaceDefinition::matrix' may be used uninitialized in this function [-Wmaybe-uninitialized] 104 | return a.matrix == b.matrix && a.transfer == b.transfer && a.primaries == b.primaries; | ~~^~~~~~ make: *** [Makefile:3612: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.28ZDKO (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.28ZDKO (%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/zimg.spec