TDERR: vdpau_video.h:286:12: warning: 'struct v4l2_format' declared inside parameter list will not be visible outside of this definition or declaration BUILDSTDERR: 286 | struct v4l2_format *v4l2_fmt, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: make[1]: *** [Makefile:340: all] Error 2 BUILDSTDERR: make: *** [Makefile:308: all-recursive] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.wKzQrm (%build) ibva-vdpau-driver-0.7.4/src' make[2]: Entering directory '/builddir/build/BUILD/libva-vdpau-driver-0.7.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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 vdpau_subpic.lo vdpau_subpic.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 vdpau_subpic.c -fPIC -DPIC -o .libs/vdpau_subpic.o make[2]: Leaving directory '/builddir/build/BUILD/libva-vdpau-driver-0.7.4/src' make[2]: Entering directory '/builddir/build/BUILD/libva-vdpau-driver-0.7.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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 vdpau_video_glx.lo vdpau_video_glx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 vdpau_video_glx.c -fPIC -DPIC -o .libs/vdpau_video_glx.o make[2]: Leaving directory '/builddir/build/BUILD/libva-vdpau-driver-0.7.4/src' make[2]: Entering directory '/builddir/build/BUILD/libva-vdpau-driver-0.7.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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 utils_glx.lo utils_glx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 utils_glx.c -fPIC -DPIC -o .libs/utils_glx.o make[2]: Leaving directory '/builddir/build/BUILD/libva-vdpau-driver-0.7.4/src' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.wKzQrm (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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-vdpau-driver.spec