Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/guvcview.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-110626-67611/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/guvcview.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/guvcview-2.0.8-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/guvcview.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-110626-67611/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/guvcview.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pxvT2k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf guvcview-src-2.0.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/guvcview-src-2.0.8.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd guvcview-src-2.0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . '(' -name '*.h' -o -name '*.c' ')' -exec chmod -x '{}' ';' + cp /builddir/build/SOURCES/gpl-2.0.txt COPYING + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NHFKOZ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd guvcview-src-2.0.8 + ./bootstrap.sh autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: intltoolize --copy --force You should update your 'aclocal.m4' by running aclocal. autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:52: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:52: the top level configure.ac:53: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:53: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:53: the top level configure.ac:88: warning: The macro `GLIB_GNU_GETTEXT' is obsolete. configure.ac:88: You should run autoupdate. aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:88: the top level configure.ac:88: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:88: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:73: GLIB_LC_MESSAGES is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:88: the top level configure.ac:88: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:88: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:88: the top level configure.ac:88: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:88: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:88: the top level configure.ac:88: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete. configure.ac:88: You should run autoupdate. ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:88: the top level configure.ac:93: warning: The macro `AC_STDC_HEADERS' is obsolete. configure.ac:93: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:93: the top level configure.ac:93: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:93: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:93: the top level configure.ac:94: warning: The macro `AC_HAVE_HEADERS' is obsolete. configure.ac:94: You should run autoupdate. ./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from... configure.ac:94: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:48: installing './compile' configure.ac:29: installing './missing' guvcview/Makefile.am: installing './depcomp' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' configure: creating cache config.cache checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking whether g++ understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether build environment is sane... yes checking how to run the C preprocessor... gcc -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether NLS is requested... yes checking for intltool >= 0.40... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.36.0 checking for XML::Parser... ok checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... bg bs cs da de en_AU es eu fo fr gl he hr it ja lv nl pl pt pt_BR ru si sr tr uk zh_TW checking for egrep... (cached) /usr/bin/grep -E checking for math.h... yes checking for exp in -lm... yes checking for roundf in -lm... yes checking for pow in -lm... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libv4l2 libudev libusb-1.0 libavcodec >= 57.16 libavutil libpng... yes checking for libavcodec/avcodec.h... no checking for ffmpeg/avcodec.h... no checking if you want to use the internal mjpeg decoder over libavcodec ... no checking if you want to enable sdl2 support... yes checking for sdl2 >= 2.0... yes checking if you want to enable sfml support... no checking if you want to enable gsl support... yes checking for gsl >= 1.15... yes checking for portaudio-2.0... yes checking if you want to enable pulse support... yes checking for libpulse >= 0.9.15... yes checking for libavcodec, libavutil... yes checking for libavutil/version.h... no checking if you want to enable gtk3 support... yes checking for gtk+-3.0 >= 3.0.0 glib-2.0 >= 2.10.0... yes checking if you want to enable qt5 support... no checking for fpathconf... yes checking for dirfd... yes checking if you want to enable debian menu... yes checking if you want to enable desktop file... yes checking whether byte ordering is bigendian... no configure: updating cache config.cache checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating pkgconfig/libgviewv4l2core.pc config.status: creating pkgconfig/libgviewaudio.pc config.status: creating pkgconfig/libgviewrender.pc config.status: creating pkgconfig/libgviewencoder.pc config.status: creating gview_v4l2core/Makefile config.status: creating gview_audio/Makefile config.status: creating gview_render/Makefile config.status: creating gview_encoder/Makefile config.status: creating guvcview/Makefile config.status: creating data/Makefile config.status: creating data/icons/Makefile config.status: creating data/guvcview.desktop.in config.status: creating data/guvcview.appdata.xml.in config.status: creating data/guvcview.in config.status: creating po/Makefile.in config.status: creating po/gview_v4l2core/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands config.status: executing po/gview_v4l2core/stamp-it commands configure: guvcview 2.0.8 ---------------------- Prefix : /usr/local Pulseaudio : yes gsl : yes sdl2 : yes sfml : no mjpg decoder : libavcodec gtk3 : yes Qt5 : no desktop file : yes debian menu : yes shared libs : yes + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-09-23 21:47:04.892832765 +0800 +++ ./configure 2024-09-23 21:47:10.744872475 +0800 @@ -1948,7 +1948,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-09-23 21:47:10.744872475 +0800 +++ ./configure 2024-09-23 21:47:10.764872611 +0800 @@ -7658,7 +7658,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -22126,7 +22126,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info CC=gcc CXX=g++ --disable-debian-menu --disable-silent-rules --disable-static checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for aarch64-opencloudos-linux-gnu-clang... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking whether g++ understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert aarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-opencloudos-linux-gnu-file... no checking for file... file checking for aarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7664: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether build environment is sane... yes checking how to run the C preprocessor... gcc -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether NLS is requested... yes checking for intltool >= 0.40... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.36.0 checking for XML::Parser... ok checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... bg bs cs da de en_AU es eu fo fr gl he hr it ja lv nl pl pt pt_BR ru si sr tr uk zh_TW checking for egrep... (cached) /usr/bin/grep -E checking for math.h... yes checking for exp in -lm... yes checking for roundf in -lm... yes checking for pow in -lm... yes checking for aarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libv4l2 libudev libusb-1.0 libavcodec >= 57.16 libavutil libpng... yes checking for libavcodec/avcodec.h... no checking for ffmpeg/avcodec.h... no checking if you want to use the internal mjpeg decoder over libavcodec ... no checking if you want to enable sdl2 support... yes checking for sdl2 >= 2.0... yes checking if you want to enable sfml support... no checking if you want to enable gsl support... yes checking for gsl >= 1.15... yes checking for portaudio-2.0... yes checking if you want to enable pulse support... yes checking for libpulse >= 0.9.15... yes checking for libavcodec, libavutil... yes checking for libavutil/version.h... no checking if you want to enable gtk3 support... yes checking for gtk+-3.0 >= 3.0.0 glib-2.0 >= 2.10.0... yes checking if you want to enable qt5 support... no checking for fpathconf... yes checking for dirfd... yes checking if you want to enable debian menu... no checking if you want to enable desktop file... yes checking whether byte ordering is bigendian... no configure: updating cache config.cache checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating pkgconfig/libgviewv4l2core.pc config.status: creating pkgconfig/libgviewaudio.pc config.status: creating pkgconfig/libgviewrender.pc config.status: creating pkgconfig/libgviewencoder.pc config.status: creating gview_v4l2core/Makefile config.status: creating gview_audio/Makefile config.status: creating gview_render/Makefile config.status: creating gview_encoder/Makefile config.status: creating guvcview/Makefile config.status: creating data/Makefile config.status: creating data/icons/Makefile config.status: creating data/guvcview.desktop.in config.status: creating data/guvcview.appdata.xml.in config.status: creating data/guvcview.in config.status: creating po/Makefile.in config.status: creating po/gview_v4l2core/Makefile.in config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands config.status: executing po/gview_v4l2core/stamp-it commands configure: guvcview 2.0.8 ---------------------- Prefix : /usr Pulseaudio : yes gsl : yes sdl2 : yes sfml : no mjpg decoder : libavcodec gtk3 : yes Qt5 : no desktop file : yes debian menu : no shared libs : yes + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-core_time.lo `test -f 'core_time.c' || echo './'`core_time.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c core_time.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-core_time.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-v4l2_xu_ctrls.lo `test -f 'v4l2_xu_ctrls.c' || echo './'`v4l2_xu_ctrls.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c v4l2_xu_ctrls.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-v4l2_xu_ctrls.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c frame_decoder.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-frame_decoder.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' 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]: 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-v4l2_devices.lo `test -f 'v4l2_devices.c' || echo './'`v4l2_devices.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c v4l2_devices.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-v4l2_devices.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-v4l2_controls.lo `test -f 'v4l2_controls.c' || echo './'`v4l2_controls.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c v4l2_controls.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-v4l2_controls.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' v4l2_controls.c: In function 'add_control': v4l2_controls.c:380:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (xioctl (vd->fd, VIDIOC_QUERYMENU, &querymenu) < 0) | ^~ v4l2_controls.c:383:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 383 | old_menu = menu; | ^~~~~~~~ v4l2_controls.c: In function 'set_control_defaults': v4l2_controls.c:1277:18: warning: unused variable 'next' [-Wunused-variable] 1277 | v4l2_ctrl_t *next = current->next; | ^~~~ 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-v4l2_formats.lo `test -f 'v4l2_formats.c' || echo './'`v4l2_formats.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c v4l2_formats.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-v4l2_formats.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' v4l2_formats.c: In function 'enum_frame_formats': v4l2_formats.c:608:17: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] 608 | strncpy(vd->list_stream_formats[fmtind-1].description, (char *) fmt.description, 31); | ^ 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-uvc_h264.lo `test -f 'uvc_h264.c' || echo './'`uvc_h264.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c uvc_h264.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-uvc_h264.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' uvc_h264.c: In function 'h264_init_decoder': uvc_h264.c:1035:17: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations] 1035 | avcodec_close(h264_ctx->context); | ^~~~~~~~~~~~~ In file included from uvc_h264.c:26: /usr/include/ffmpeg/libavcodec/avcodec.h:2387:5: note: declared here 2387 | int avcodec_close(AVCodecContext *avctx); | ^~~~~~~~~~~~~ uvc_h264.c:1051:30: warning: implicit declaration of function 'av_image_get_buffer_size'; did you mean 'av_samples_get_buffer_size'? [-Wimplicit-function-declaration] 1051 | h264_ctx->pic_size = av_image_get_buffer_size(h264_ctx->context->pix_fmt, width, height, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ | av_samples_get_buffer_size uvc_h264.c: In function 'h264_decode': uvc_h264.c:1116:17: warning: implicit declaration of function 'av_image_copy_to_buffer' [-Wimplicit-function-declaration] 1116 | av_image_copy_to_buffer(out_buf, h264_ctx->pic_size, | ^~~~~~~~~~~~~~~~~~~~~~~ uvc_h264.c: In function 'h264_close_decoder': uvc_h264.c:1145:9: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations] 1145 | avcodec_close(h264_ctx->context); | ^~~~~~~~~~~~~ /usr/include/ffmpeg/libavcodec/avcodec.h:2387:5: note: declared here 2387 | int avcodec_close(AVCodecContext *avctx); | ^~~~~~~~~~~~~ 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-v4l2_core.lo `test -f 'v4l2_core.c' || echo './'`v4l2_core.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c v4l2_core.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-v4l2_core.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-save_image.lo `test -f 'save_image.c' || echo './'`save_image.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c save_image.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-save_image.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-control_profile.lo `test -f 'control_profile.c' || echo './'`control_profile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c control_profile.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-control_profile.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-soft_autofocus.lo `test -f 'soft_autofocus.c' || echo './'`soft_autofocus.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c soft_autofocus.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-soft_autofocus.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-dct.lo `test -f 'dct.c' || echo './'`dct.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c dct.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-dct.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-jpeg_decoder.lo `test -f 'jpeg_decoder.c' || echo './'`jpeg_decoder.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c jpeg_decoder.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-jpeg_decoder.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' jpeg_decoder.c: In function 'jpeg_init_decoder': jpeg_decoder.c:1437:17: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations] 1437 | avcodec_close(codec_data->context); | ^~~~~~~~~~~~~ In file included from frame_decoder.h:34, from jpeg_decoder.c:42: /usr/include/ffmpeg/libavcodec/avcodec.h:2387:5: note: declared here 2387 | int avcodec_close(AVCodecContext *avctx); | ^~~~~~~~~~~~~ jpeg_decoder.c:1461:30: warning: implicit declaration of function 'av_image_get_buffer_size'; did you mean 'av_samples_get_buffer_size'? [-Wimplicit-function-declaration] 1461 | jpeg_ctx->pic_size = av_image_get_buffer_size(codec_data->context->pix_fmt, width, height, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ | av_samples_get_buffer_size jpeg_decoder.c: In function 'jpeg_decode': jpeg_decoder.c:1526:17: warning: implicit declaration of function 'av_image_copy_to_buffer' [-Wimplicit-function-declaration] 1526 | av_image_copy_to_buffer(jpeg_ctx->tmp_frame, jpeg_ctx->pic_size, | ^~~~~~~~~~~~~~~~~~~~~~~ jpeg_decoder.c: In function 'jpeg_close_decoder': jpeg_decoder.c:1560:9: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations] 1560 | avcodec_close(codec_data->context); | ^~~~~~~~~~~~~ /usr/include/ffmpeg/libavcodec/avcodec.h:2387:5: note: declared here 2387 | int avcodec_close(AVCodecContext *avctx); | ^~~~~~~~~~~~~ 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-save_image_bmp.lo `test -f 'save_image_bmp.c' || echo './'`save_image_bmp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c save_image_bmp.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-save_image_bmp.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-save_image_png.lo `test -f 'save_image_png.c' || echo './'`save_image_png.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c save_image_png.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-save_image_png.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewv4l2core_la-save_image_jpeg.lo `test -f 'save_image_jpeg.c' || echo './'`save_image_jpeg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c save_image_jpeg.c -fPIC -DPIC -o .libs/libgviewv4l2core_la-save_image_jpeg.o 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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/libpng16 -I/usr/include/ffmpeg -I/usr/include/libusb-1.0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -version-info 2:1:0 -release 2.1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libgviewv4l2core.la -rpath /usr/lib64 libgviewv4l2core_la-v4l2_core.lo libgviewv4l2core_la-v4l2_formats.lo libgviewv4l2core_la-v4l2_controls.lo libgviewv4l2core_la-v4l2_devices.lo libgviewv4l2core_la-v4l2_xu_ctrls.lo libgviewv4l2core_la-uvc_h264.lo libgviewv4l2core_la-core_time.lo libgviewv4l2core_la-frame_decoder.lo libgviewv4l2core_la-colorspaces.lo libgviewv4l2core_la-jpeg_decoder.lo libgviewv4l2core_la-soft_autofocus.lo libgviewv4l2core_la-dct.lo libgviewv4l2core_la-control_profile.lo libgviewv4l2core_la-save_image.lo libgviewv4l2core_la-save_image_jpeg.lo libgviewv4l2core_la-save_image_bmp.lo libgviewv4l2core_la-save_image_png.lo -lpng16 -lavutil -lavcodec -lusb-1.0 -ludev -lv4l2 -lpthread -lm libtool: link: gcc -shared -fPIC -DPIC .libs/libgviewv4l2core_la-v4l2_core.o .libs/libgviewv4l2core_la-v4l2_formats.o .libs/libgviewv4l2core_la-v4l2_controls.o .libs/libgviewv4l2core_la-v4l2_devices.o .libs/libgviewv4l2core_la-v4l2_xu_ctrls.o .libs/libgviewv4l2core_la-uvc_h264.o .libs/libgviewv4l2core_la-core_time.o .libs/libgviewv4l2core_la-frame_decoder.o .libs/libgviewv4l2core_la-colorspaces.o .libs/libgviewv4l2core_la-jpeg_decoder.o .libs/libgviewv4l2core_la-soft_autofocus.o .libs/libgviewv4l2core_la-dct.o .libs/libgviewv4l2core_la-control_profile.o .libs/libgviewv4l2core_la-save_image.o .libs/libgviewv4l2core_la-save_image_jpeg.o .libs/libgviewv4l2core_la-save_image_bmp.o .libs/libgviewv4l2core_la-save_image_png.o -lpng16 -lavutil -lavcodec -lusb-1.0 -ludev -lv4l2 -lpthread -lm -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -pthread -Wl,-soname -Wl,libgviewv4l2core-2.1.so.2 -o .libs/libgviewv4l2core-2.1.so.2.0.1 libtool: link: (cd ".libs" && rm -f "libgviewv4l2core-2.1.so.2" && ln -s "libgviewv4l2core-2.1.so.2.0.1" "libgviewv4l2core-2.1.so.2") libtool: link: (cd ".libs" && rm -f "libgviewv4l2core.so" && ln -s "libgviewv4l2core-2.1.so.2.0.1" "libgviewv4l2core.so") libtool: link: ( cd ".libs" && rm -f "libgviewv4l2core.la" && ln -s "../libgviewv4l2core.la" "libgviewv4l2core.la" ) make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_v4l2core' Making all in gview_audio make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewaudio_la-core_time.lo `test -f 'core_time.c' || echo './'`core_time.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c core_time.c -fPIC -DPIC -o .libs/libgviewaudio_la-core_time.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewaudio_la-audio_portaudio.lo `test -f 'audio_portaudio.c' || echo './'`audio_portaudio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c audio_portaudio.c -fPIC -DPIC -o .libs/libgviewaudio_la-audio_portaudio.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewaudio_la-audio_pulseaudio.lo `test -f 'audio_pulseaudio.c' || echo './'`audio_pulseaudio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c audio_pulseaudio.c -fPIC -DPIC -o .libs/libgviewaudio_la-audio_pulseaudio.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' audio_pulseaudio.c: In function 'pa_sourcelist_cb': audio_pulseaudio.c:146:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 146 | if (eol > 0) | ^~ audio_pulseaudio.c:149:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 149 | source_index++; | ^~~~~~~~~~~~ audio_pulseaudio.c: In function 'pa_sinklist_cb': audio_pulseaudio.c:221:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 221 | if (eol > 0) | ^~ audio_pulseaudio.c:224:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 224 | sink_index++; | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewaudio_la-audio.lo `test -f 'audio.c' || echo './'`audio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c audio.c -fPIC -DPIC -o .libs/libgviewaudio_la-audio.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewaudio_la-audio_fx.lo `test -f 'audio_fx.c' || echo './'`audio_fx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c audio_fx.c -fPIC -DPIC -o .libs/libgviewaudio_la-audio_fx.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -version-info 2:0:0 -release 2.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libgviewaudio.la -rpath /usr/lib64 libgviewaudio_la-audio.lo libgviewaudio_la-audio_fx.lo libgviewaudio_la-core_time.lo libgviewaudio_la-audio_portaudio.lo libgviewaudio_la-audio_pulseaudio.lo -lportaudio -lm -lpthread -lasound -lpulse -pthread -lpthread libtool: link: gcc -shared -fPIC -DPIC .libs/libgviewaudio_la-audio.o .libs/libgviewaudio_la-audio_fx.o .libs/libgviewaudio_la-core_time.o .libs/libgviewaudio_la-audio_portaudio.o .libs/libgviewaudio_la-audio_pulseaudio.o -lportaudio -lm -lasound -lpulse -lpthread -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -pthread -Wl,-soname -Wl,libgviewaudio-2.0.so.2 -o .libs/libgviewaudio-2.0.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libgviewaudio-2.0.so.2" && ln -s "libgviewaudio-2.0.so.2.0.0" "libgviewaudio-2.0.so.2") libtool: link: (cd ".libs" && rm -f "libgviewaudio.so" && ln -s "libgviewaudio-2.0.so.2.0.0" "libgviewaudio.so") libtool: link: ( cd ".libs" && rm -f "libgviewaudio.la" && ln -s "../libgviewaudio.la" "libgviewaudio.la" ) make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_audio' Making all in gview_render make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewrender_la-render.lo `test -f 'render.c' || echo './'`render.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c render.c -fPIC -DPIC -o .libs/libgviewrender_la-render.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewrender_la-render_osd_crosshair.lo `test -f 'render_osd_crosshair.c' || echo './'`render_osd_crosshair.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c render_osd_crosshair.c -fPIC -DPIC -o .libs/libgviewrender_la-render_osd_crosshair.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewrender_la-render_osd_vu_meter.lo `test -f 'render_osd_vu_meter.c' || echo './'`render_osd_vu_meter.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c render_osd_vu_meter.c -fPIC -DPIC -o .libs/libgviewrender_la-render_osd_vu_meter.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewrender_la-render_sdl2.lo `test -f 'render_sdl2.c' || echo './'`render_sdl2.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c render_sdl2.c -fPIC -DPIC -o .libs/libgviewrender_la-render_sdl2.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewrender_la-render_fx.lo `test -f 'render_fx.c' || echo './'`render_fx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL2 -D_REENTRANT -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c render_fx.c -fPIC -DPIC -o .libs/libgviewrender_la-render_fx.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' render_fx.c: In function 'fx_yu12_mirror': render_fx.c:88:13: warning: unused variable 'c_sizeline' [-Wunused-variable] 88 | int c_sizeline = width/2; | ^~~~~~~~~~ render_fx.c:87:13: warning: unused variable 'y_sizeline' [-Wunused-variable] 87 | int y_sizeline = width; | ^~~~~~~~~~ render_fx.c: In function 'fx_yu12_half_mirror': render_fx.c:160:17: warning: unused variable 'pixel2' [-Wunused-variable] 160 | uint8_t pixel2=0; | ^~~~~~ render_fx.c:159:17: warning: unused variable 'pixel' [-Wunused-variable] 159 | uint8_t pixel =0; | ^~~~~ render_fx.c: In function 'fx_yu12_pieces': render_fx.c:395:18: warning: unused variable 'pv' [-Wunused-variable] 395 | uint8_t *pv = NULL; | ^~ render_fx.c:394:18: warning: unused variable 'pu' [-Wunused-variable] 394 | uint8_t *pu = NULL; | ^~ render_fx.c:382:18: warning: unused variable 'ppiece' [-Wunused-variable] 382 | uint8_t *ppiece = piece; | ^~~~~~ render_fx.c:379:13: warning: unused variable 'numy' [-Wunused-variable] 379 | int numy = height / piece_size; //number of pieces in y axis | ^~~~ render_fx.c:378:13: warning: unused variable 'numx' [-Wunused-variable] 378 | int numx = width / piece_size; //number of pieces in x axis | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -version-info 2:1:0 -release 2.1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libgviewrender.la -rpath /usr/lib64 libgviewrender_la-render.lo libgviewrender_la-render_fx.lo libgviewrender_la-render_osd_vu_meter.lo libgviewrender_la-render_osd_crosshair.lo libgviewrender_la-render_sdl2.lo -lSDL2 -lgsl -lgslcblas -lm -lpthread libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/crti.o /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/crtbeginS.o .libs/libgviewrender_la-render.o .libs/libgviewrender_la-render_fx.o .libs/libgviewrender_la-render_osd_vu_meter.o .libs/libgviewrender_la-render_osd_crosshair.o .libs/libgviewrender_la-render_sdl2.o -lSDL2 -lgsl -lgslcblas -lm -lpthread -L/usr/lib/gcc/aarch64-OpenCloudOS-linux/12 -L/usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/crtendS.o /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libgviewrender-2.1.so.2 -o .libs/libgviewrender-2.1.so.2.0.1 libtool: link: (cd ".libs" && rm -f "libgviewrender-2.1.so.2" && ln -s "libgviewrender-2.1.so.2.0.1" "libgviewrender-2.1.so.2") libtool: link: (cd ".libs" && rm -f "libgviewrender.so" && ln -s "libgviewrender-2.1.so.2.0.1" "libgviewrender.so") libtool: link: ( cd ".libs" && rm -f "libgviewrender.la" && ln -s "../libgviewrender.la" "libgviewrender.la" ) make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_render' Making all in gview_encoder make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-stream_io.lo `test -f 'stream_io.c' || echo './'`stream_io.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c stream_io.c -fPIC -DPIC -o .libs/libgviewencoder_la-stream_io.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-encoder.lo `test -f 'encoder.c' || echo './'`encoder.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c encoder.c -fPIC -DPIC -o .libs/libgviewencoder_la-encoder.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' encoder.c: In function 'encoder_video_init': encoder.c:526:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 526 | else | ^~~~ encoder.c:530:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 530 | switch (video_defaults->codec_id) | ^~~~~~ encoder.c: In function 'encoder_audio_init': encoder.c:746:40: error: 'AVCodecContext' has no member named 'channels' 746 | audio_codec_data->codec_context->channels = encoder_ctx->audio_channels; | ^~ encoder.c:749:50: error: 'AVCodecContext' has no member named 'channel_layout'; did you mean 'ch_layout'? 749 | audio_codec_data->codec_context->channel_layout = AV_CH_LAYOUT_MONO; | ^~~~~~~~~~~~~~ | ch_layout encoder.c:751:50: error: 'AVCodecContext' has no member named 'channel_layout'; did you mean 'ch_layout'? 751 | audio_codec_data->codec_context->channel_layout = AV_CH_LAYOUT_STEREO; | ^~~~~~~~~~~~~~ | ch_layout encoder.c:916:32: error: 'AVFrame' has no member named 'channels' 916 | audio_codec_data->frame->channels = audio_codec_data->codec_context->channels; | ^~ encoder.c:916:76: error: 'AVCodecContext' has no member named 'channels' 916 | audio_codec_data->frame->channels = audio_codec_data->codec_context->channels; | ^~ encoder.c:917:34: error: 'AVFrame' has no member named 'channel_layout'; did you mean 'ch_layout'? 917 | audio_codec_data->frame->channel_layout = audio_codec_data->codec_context->channel_layout; | ^~~~~~~~~~~~~~ | ch_layout encoder.c:917:84: error: 'AVCodecContext' has no member named 'channel_layout'; did you mean 'ch_layout'? 917 | audio_codec_data->frame->channel_layout = audio_codec_data->codec_context->channel_layout; | ^~~~~~~~~~~~~~ | ch_layout encoder.c: In function 'libav_send_encode': encoder.c:1506:69: error: 'AVFrame' has no member named 'channels' 1506 | if (avctx->codec_type == AVMEDIA_TYPE_AUDIO && frame->channels <= 0) | ^~ encoder.c:1509:30: error: 'AVFrame' has no member named 'channels' 1509 | frame->channels = avctx->channels; | ^~ encoder.c:1509:48: error: 'AVCodecContext' has no member named 'channels' 1509 | frame->channels = avctx->channels; | ^~ encoder.c: In function 'encoder_encode_audio': encoder.c:1762:56: error: 'AVCodecContext' has no member named 'channels' 1762 | audio_codec_data->codec_context->channels, | ^~ encoder.c:1771:64: error: 'AVCodecContext' has no member named 'channels' 1771 | audio_codec_data->codec_context->channels, | ^~ encoder.c:1804:56: error: 'AVCodecContext' has no member named 'channels' 1804 | audio_codec_data->codec_context->channels, | ^~ encoder.c:1813:64: error: 'AVCodecContext' has no member named 'channels' 1813 | audio_codec_data->codec_context->channels, | ^~ encoder.c:1823:56: error: 'AVCodecContext' has no member named 'channels' 1823 | audio_codec_data->codec_context->channels, | ^~ encoder.c:1833:64: error: 'AVCodecContext' has no member named 'channels' 1833 | audio_codec_data->codec_context->channels, | ^~ encoder.c: In function 'encoder_close': encoder.c:1952:25: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations] 1952 | avcodec_close(video_codec_data->codec_context); | ^~~~~~~~~~~~~ In file included from encoder.c:32: /usr/include/ffmpeg/libavcodec/avcodec.h:2387:5: note: declared here 2387 | int avcodec_close(AVCodecContext *avctx); | ^~~~~~~~~~~~~ encoder.c:1984:25: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations] 1984 | avcodec_close(audio_codec_data->codec_context); | ^~~~~~~~~~~~~ /usr/include/ffmpeg/libavcodec/avcodec.h:2387:5: note: declared here 2387 | int avcodec_close(AVCodecContext *avctx); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:578: libgviewencoder_la-encoder.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-libav_encoder.lo `test -f 'libav_encoder.c' || echo './'`libav_encoder.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c libav_encoder.c -fPIC -DPIC -o .libs/libgviewencoder_la-libav_encoder.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-video_codecs.lo `test -f 'video_codecs.c' || echo './'`video_codecs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c video_codecs.c -fPIC -DPIC -o .libs/libgviewencoder_la-video_codecs.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-audio_codecs.lo `test -f 'audio_codecs.c' || echo './'`audio_codecs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c audio_codecs.c -fPIC -DPIC -o .libs/libgviewencoder_la-audio_codecs.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' audio_codecs.c: In function 'get_aac_obj_ind': audio_codecs.c:181:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 181 | for (i=0; i<5; i++) | ^~~ audio_codecs.c:184:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 184 | return i; | ^~~~~~ audio_codecs.c: In function 'get_aac_samp_ind': audio_codecs.c:191:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 191 | for (i=0; i<13; i++) | ^~~ audio_codecs.c:194:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 194 | if (i>12) | ^~ make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-file_io.lo `test -f 'file_io.c' || echo './'`file_io.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c file_io.c -fPIC -DPIC -o .libs/libgviewencoder_la-file_io.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-avi.lo `test -f 'avi.c' || echo './'`avi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c avi.c -fPIC -DPIC -o .libs/libgviewencoder_la-avi.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' avi.c: In function 'avi_add_video_stream': avi.c:564:9: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 564 | strncpy(stream->compressor, encoder_get_video_codec_4cc(codec_ind), 8); | ^ make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-muxer.lo `test -f 'muxer.c' || echo './'`muxer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c muxer.c -fPIC -DPIC -o .libs/libgviewencoder_la-muxer.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' make[2]: Entering directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgviewencoder_la-matroska.lo `test -f 'matroska.c' || echo './'`matroska.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -pthread -I.. -I../includes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c matroska.c -fPIC -DPIC -o .libs/libgviewencoder_la-matroska.o make[2]: Leaving directory '/builddir/build/BUILD/guvcview-src-2.0.8/gview_encoder' matroska.c: In function 'mkv_add_seekhead_entry': matroska.c:318:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 318 | if (seekhead->max_entries > 0 && seekhead->max_entries <= seekhead->num_entries) | ^~ matroska.c:321:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 321 | entries = realloc(entries, (seekhead->num_entries + 1) * sizeof(mkv_seekhead_entry_t)); | ^~~~~~~ matroska.c: In function 'mkv_add_cuepoint': matroska.c:411:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 411 | if (ts < 0) | ^~ matroska.c:414:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 414 | entries = realloc(entries, (cues->num_entries + 1) * sizeof(mkv_cuepoint_t)); | ^~~~~~~ make[1]: *** [Makefile:599: all-recursive] Error 1 RPM build errors: make: *** [Makefile:481: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.NHFKOZ (%build) Bad exit status from /var/tmp/rpm-tmp.NHFKOZ (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/guvcview.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, 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 aarch64 --nodeps --nocheck /builddir/build/SPECS/guvcview.spec