/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o libgviewv4l2core_la-frame_decoder.lo `test -f 'frame_decoder.c' || echo './'`frame_decoder.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/libusb-1.0 -I/usr/include/ffmpeg -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -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 -c frame_decoder.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-frame_decoder.o frame_decoder.c: In function 'decode_v4l2_frame': frame_decoder.c:767:13: warning: unused variable 'framesizeIn' [-Wunused-variable] 767 | int framesizeIn =(width * height << 1);//2 bytes per pixel | ^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/libusb-1.0 -I/usr/include/ffmpeg -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -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 -c -o libgviewv4l2core_la-colorspaces.lo `test -f 'colorspaces.c' || echo './'`colorspaces.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/libusb-1.0 -I/usr/include/ffmpeg -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -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 -c colorspaces.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-colorspaces.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' colorspaces.c: In function 'vyuy_to_yu12': colorspaces.c:590:13: warning: unused variable 'c_sizeline' [-Wunused-variable] 590 | int c_sizeline = width/2; | ^~~~~~~~~~ colorspaces.c: In function 'yuv422p_to_yu12': colorspaces.c:643:13: warning: unused variable 'c_sizeline' [-Wunused-variable] 643 | int c_sizeline = width/2; | ^~~~~~~~~~ colorspaces.c: In function 'yyuv_to_yu12': colorspaces.c:690:13: warning: unused variable 'c_sizeline' [-Wunused-variable] 690 | int c_sizeline = width/2; | ^~~~~~~~~~ make[1]: *** [Makefile:599: all-recursive] Error 1 make: *** [Makefile:481: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.0Iflzj (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0Iflzj (%build) 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/guvcview.spec