Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libva-v4l2-request.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1092580-30062/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffffaa5848d0>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libva-v4l2-request.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1679356800
Wrote: /builddir/build/SRPMS/libva-v4l2-request-1.0.0-9.20190517gita3c2476.fc38.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libva-v4l2-request.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1092580-30062/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffffaa5848d0>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libva-v4l2-request.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1679356800
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gUjjgc
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libva-v4l2-request-a3c2476de19e6635458273ceeaeceff124fabd63
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libva-v4l2-request-a3c2476.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libva-v4l2-request-a3c2476de19e6635458273ceeaeceff124fabd63
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/38.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eakGyL
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libva-v4l2-request-a3c2476de19e6635458273ceeaeceff124fabd63
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build
The Meson build system
Version: 1.0.1
Source dir: /builddir/build/BUILD/libva-v4l2-request-a3c2476de19e6635458273ceeaeceff124fabd63
Build dir: /builddir/build/BUILD/libva-v4l2-request-a3c2476de19e6635458273ceeaeceff124fabd63/redhat-linux-build
Build type: native build
Project name: libva-v4l2-request
Project version: 1.0.0
C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)")
C linker for the host machine: gcc ld.bfd 2.39-12
Host machine cpu family: riscv64
Host machine cpu: riscv64
Header "linux/media.h" has symbol "MEDIA_IOC_REQUEST_ALLOC" : YES 
Header "linux/videodev2.h" has symbol "V4L2_CTRL_WHICH_REQUEST_VAL" : YES 
Header "linux/videodev2.h" has symbol "V4L2_PIX_FMT_MPEG2_SLICE" : YES 
Header "linux/videodev2.h" has symbol "V4L2_PIX_FMT_SUNXI_TILED_NV12" : YES 
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency libva found: YES 1.18.0
Run-time dependency libdrm found: YES 2.4.114
Configuring autoconfig.h using configuration
Build targets in project: 1
libva-v4l2-request 1.0.0
  User defined options
    auto_features : enabled
    bindir        : /usr/bin
    buildtype     : plain
    datadir       : /usr/share
    includedir    : /usr/include
    infodir       : /usr/share/info
    libdir        : /usr/lib64
    libexecdir    : /usr/libexec
    localedir     : /usr/share/locale
    localstatedir : /var
    mandir        : /usr/share/man
    prefix        : /usr
    sbindir       : /usr/sbin
    sharedstatedir: /var/lib
    sysconfdir    : /etc
    wrap_mode     : nodownload
Found ninja-1.11.1 at /usr/bin/ninja
+ /usr/bin/meson compile -C redhat-linux-build -j 8 --verbose
ninja: Entering directory `/builddir/build/BUILD/libva-v4l2-request-a3c2476de19e6635458273ceeaeceff124fabd63/redhat-linux-build'
[1/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 -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/context.c.o -MF src/v4l2_request_drv_video.so.p/context.c.o.d -o src/v4l2_request_drv_video.so.p/context.c.o -c ../src/context.c
FAILED: src/v4l2_request_drv_video.so.p/context.c.o 
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 -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/context.c.o -MF src/v4l2_request_drv_video.so.p/context.c.o.d -o src/v4l2_request_drv_video.so.p/context.c.o -c ../src/context.c
In file included from ../src/context.c:43:
../include/hevc-ctrls.h:31:8: error: redefinition of ‘struct v4l2_ctrl_hevc_sps’
   31 | struct v4l2_ctrl_hevc_sps {
      |        ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
                 from ../src/request.h:37,
                 from ../src/config.h:33,
                 from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:2069:8: note: originally defined here
 2069 | struct v4l2_ctrl_hevc_sps {
      |        ^~~~~~~~~~~~~~~~~~
../include/hevc-ctrls.h:65:8: error: redefinition of ‘struct v4l2_ctrl_hevc_pps’
   65 | struct v4l2_ctrl_hevc_pps {
      |        ^~~~~~~~~~~~~~~~~~
/usr/include/linux/v4l2-controls.h:2158:8: note: originally defined here
 2158 | struct v4l2_ctrl_hevc_pps {
      |        ^~~~~~~~~~~~~~~~~~
../include/hevc-ctrls.h:107:8: error: redefinition of ‘struct v4l2_hevc_dpb_entry’
  107 | struct v4l2_hevc_dpb_entry {
      |        ^~~~~~~~~~~~~~~~~~~
/usr/include/linux/v4l2-controls.h:2205:8: note: originally defined here
 2205 | struct v4l2_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:2238:8: note: originally defined here
 2238 | 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:2315:8: note: originally defined here
 2315 | 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 -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/config.c.o -MF src/v4l2_request_drv_video.so.p/config.c.o.d -o src/v4l2_request_drv_video.so.p/config.c.o -c ../src/config.c
FAILED: src/v4l2_request_drv_video.so.p/config.c.o 
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 -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/config.c.o -MF src/v4l2_request_drv_video.so.p/config.c.o.d -o src/v4l2_request_drv_video.so.p/config.c.o -c ../src/config.c
In file included from ../src/config.c:38:
../include/hevc-ctrls.h:31:8: error: redefinition of ‘struct v4l2_ctrl_hevc_sps’
   31 | struct v4l2_ctrl_hevc_sps {
      |        ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
                 from ../src/request.h:37,
                 from ../src/config.h:33,
                 from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:2069:8: note: originally defined here
 2069 | struct v4l2_ctrl_hevc_sps {
      |        ^~~~~~~~~~~~~~~~~~
../include/hevc-ctrls.h:65:8: error: redefinition of ‘struct v4l2_ctrl_hevc_pps’
   65 | struct v4l2_ctrl_hevc_pps {
      |        ^~~~~~~~~~~~~~~~~~
/usr/include/linux/v4l2-controls.h:2158:8: note: originally defined here
 2158 | struct v4l2_ctrl_hevc_pps {
      |        ^~~~~~~~~~~~~~~~~~
../include/hevc-ctrls.h:107:8: error: redefinition of ‘struct v4l2_hevc_dpb_entry’
  107 | struct v4l2_hevc_dpb_entry {
      |        ^~~~~~~~~~~~~~~~~~~
/usr/include/linux/v4l2-controls.h:2205:8: note: originally defined here
 2205 | struct v4l2_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:2238:8: note: originally defined here
 2238 | 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:2315:8: note: originally defined here
 2315 | struct v4l2_ctrl_hevc_slice_params {
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[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 -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/subpicture.c.o -MF src/v4l2_request_drv_video.so.p/subpicture.c.o.d -o src/v4l2_request_drv_video.so.p/subpicture.c.o -c ../src/subpicture.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 -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 -fstack-clash-protection -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
[5/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 -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 -fstack-clash-protection -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
[6/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 -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/buffer.c.o -MF src/v4l2_request_drv_video.so.p/buffer.c.o.d -o src/v4l2_request_drv_video.so.p/buffer.c.o -c ../src/buffer.c
[7/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 -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 -fstack-clash-protection -fno-omit-frame-pointer -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/picture.c.o -MF src/v4l2_request_drv_video.so.p/picture.c.o.d -o src/v4l2_request_drv_video.so.p/picture.c.o -c ../src/picture.c
[8/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 -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 -fstack-clash-protection -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 8 -v
error: Bad exit status from /var/tmp/rpm-tmp.eakGyL (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.eakGyL (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libva-v4l2-request.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/libva-v4l2-request.spec