l2_hevc_dpb_entry { | ^~~~~~~~~~~~~~~~~~~ ../include/hevc-ctrls.h:115:8: error: redefinition of ‘struct v4l2_hevc_pred_weight_table’ 115 | struct v4l2_hevc_pred_weight_table { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/linux/v4l2-controls.h:2322:8: note: originally defined here 2322 | struct v4l2_hevc_pred_weight_table { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/hevc-ctrls.h:132:8: error: redefinition of ‘struct v4l2_ctrl_hevc_slice_params’ 132 | struct v4l2_ctrl_hevc_slice_params { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/linux/v4l2-controls.h:2399:8: note: originally defined here 2399 | struct v4l2_ctrl_hevc_slice_params { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2/18] gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/object_heap.c.o -MF src/v4l2_request_drv_video.so.p/object_heap.c.o.d -o src/v4l2_request_drv_video.so.p/object_heap.c.o -c ../src/object_heap.c [3/18] gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/request.c.o -MF src/v4l2_request_drv_video.so.p/request.c.o.d -o src/v4l2_request_drv_video.so.p/request.c.o -c ../src/request.c [4/18] gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/surface.c.o -MF src/v4l2_request_drv_video.so.p/surface.c.o.d -o src/v4l2_request_drv_video.so.p/surface.c.o -c ../src/surface.c ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/libva-v4l2-request-a3c2476de19e6635458273ceeaeceff124fabd63/redhat-linux-build -j 4 -v error: Bad exit status from /var/tmp/rpm-tmp.MHlphu (%build) Bad exit status from /var/tmp/rpm-tmp.MHlphu (%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/libva-v4l2-request.spec