+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libvidcap.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lKwiYv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libvidcap-0.2.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libvidcap-0.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libvidcap-0.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dv1FGe + umask 022 + cd /builddir/build/BUILD + cd libvidcap-0.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe 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 build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... 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 configure: creating libtool appending configuration tag "CXX" to libtool 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 checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether to check for GCC pthread/shared inconsistencies... yes checking whether -pthread is sufficient with -shared... yes checking for pkg-config... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for nanosleep... yes checking for gettimeofday... yes checking for snprintf... yes checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking QuickTime/QuickTime.h usability... no checking QuickTime/QuickTime.h presence... no checking for QuickTime/QuickTime.h... no checking DShow.h usability... no checking DShow.h presence... no checking for DShow.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/vidcap/Makefile config.status: creating examples/Makefile config.status: creating vidcap.pc config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1' Making all in include make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/include' Making all in vidcap make[3]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/include/vidcap' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/include/vidcap' make[3]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/include' make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/include' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-conv.lo `test -f 'conv.c' || echo './'`conv.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-conv_to_rgb.lo `test -f 'conv_to_rgb.c' || echo './'`conv_to_rgb.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-conv_to_i420.lo `test -f 'conv_to_i420.c' || echo './'`conv_to_i420.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-conv_to_yuy2.lo `test -f 'conv_to_yuy2.c' || echo './'`conv_to_yuy2.c mkdir .libs mkdir .libs mkdir .libs mkdir: cannot create directory '.libs': File exists mkdir: cannot create directory '.libs': File exists gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c conv_to_i420.c -fPIC -DPIC -o .libs/libvidcap_la-conv_to_i420.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c conv_to_rgb.c -fPIC -DPIC -o .libs/libvidcap_la-conv_to_rgb.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c conv.c -fPIC -DPIC -o .libs/libvidcap_la-conv.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c conv_to_yuy2.c -fPIC -DPIC -o .libs/libvidcap_la-conv_to_yuy2.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-double_buffer.lo `test -f 'double_buffer.c' || echo './'`double_buffer.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-hotlist.lo `test -f 'hotlist.c' || echo './'`hotlist.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-logging.lo `test -f 'logging.c' || echo './'`logging.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-sapi.lo `test -f 'sapi.c' || echo './'`sapi.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c double_buffer.c -fPIC -DPIC -o .libs/libvidcap_la-double_buffer.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c hotlist.c -fPIC -DPIC -o .libs/libvidcap_la-hotlist.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c logging.c -fPIC -DPIC -o .libs/libvidcap_la-logging.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c sapi.c -fPIC -DPIC -o .libs/libvidcap_la-sapi.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-sliding_window.lo `test -f 'sliding_window.c' || echo './'`sliding_window.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libvidcap_la-vidcap.lo `test -f 'vidcap.c' || echo './'`vidcap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c sliding_window.c -fPIC -DPIC -o .libs/libvidcap_la-sliding_window.o gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c vidcap.c -fPIC -DPIC -o .libs/libvidcap_la-vidcap.o sliding_window.c: In function 'sliding_window_slide': sliding_window.c:77:13: warning: operation on 'swin->head' may be undefined [-Wsequence-point] swin->head = ++swin->head % swin->window_len; ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sliding_window.c:85:14: warning: operation on 'swin->tail' may be undefined [-Wsequence-point] swin->tail = ++swin->tail % swin->window_len; ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wextra -Wno-unused-parameter -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -no-undefined -version-info 1:0:0 -export-symbols-regex "vidcap_.*" -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libvidcap.la -rpath /usr/lib64 libvidcap_la-conv.lo libvidcap_la-conv_to_rgb.lo libvidcap_la-conv_to_i420.lo libvidcap_la-conv_to_yuy2.lo libvidcap_la-double_buffer.lo libvidcap_la-hotlist.lo libvidcap_la-logging.lo libvidcap_la-sapi.lo libvidcap_la-sliding_window.lo libvidcap_la-vidcap.lo generating symbol list for `libvidcap.la' /usr/bin/nm -B .libs/libvidcap_la-conv.o .libs/libvidcap_la-conv_to_rgb.o .libs/libvidcap_la-conv_to_i420.o .libs/libvidcap_la-conv_to_yuy2.o .libs/libvidcap_la-double_buffer.o .libs/libvidcap_la-hotlist.o .libs/libvidcap_la-logging.o .libs/libvidcap_la-sapi.o .libs/libvidcap_la-sliding_window.o .libs/libvidcap_la-vidcap.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libvidcap.exp /usr/bin/grep -E -e "vidcap_.*" ".libs/libvidcap.exp" > ".libs/libvidcap.expT" mv -f ".libs/libvidcap.expT" ".libs/libvidcap.exp" g++ -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/7/crti.o /usr/lib/gcc/riscv64-redhat-linux/7/crtbeginS.o .libs/libvidcap_la-conv.o .libs/libvidcap_la-conv_to_rgb.o .libs/libvidcap_la-conv_to_i420.o .libs/libvidcap_la-conv_to_yuy2.o .libs/libvidcap_la-double_buffer.o .libs/libvidcap_la-hotlist.o .libs/libvidcap_la-logging.o .libs/libvidcap_la-sapi.o .libs/libvidcap_la-sliding_window.o .libs/libvidcap_la-vidcap.o -L/usr/lib/gcc/riscv64-redhat-linux/7 -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/7/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/7/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pthread -Wl,-z -Wl,relro -Wl,-soname -Wl,libvidcap.so.1 -Wl,-retain-symbols-file -Wl,.libs/libvidcap.exp -o .libs/libvidcap.so.1.0.0 (cd .libs && rm -f libvidcap.so.1 && ln -s libvidcap.so.1.0.0 libvidcap.so.1) (cd .libs && rm -f libvidcap.so && ln -s libvidcap.so.1.0.0 libvidcap.so) creating libvidcap.la (cd .libs && rm -f libvidcap.la && ln -s ../libvidcap.la libvidcap.la) make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/src' Making all in examples make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o simplegrab-simplegrab.o `test -f 'simplegrab.c' || echo './'`simplegrab.c /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o simplegrab simplegrab-simplegrab.o ../src/libvidcap.la mkdir .libs gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/simplegrab simplegrab-simplegrab.o ../src/.libs/libvidcap.so -Wl,--rpath -Wl,/usr/lib64 creating simplegrab make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/examples' make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1' make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1' make[1]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oGDNIP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 + cd libvidcap-0.2.1 + rm -rf /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 + make install 'INSTALL=/usr/bin/install -p' DESTDIR=/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 Making install in include make[1]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/include' Making install in vidcap make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/include/vidcap' make[3]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/include/vidcap' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/include/vidcap" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/include/vidcap" /usr/bin/install -p -m 644 'vidcap.h' '/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/include/vidcap/vidcap.h' /usr/bin/install -p -m 644 'converters.h' '/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/include/vidcap/converters.h' make[3]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/include/vidcap' make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/include/vidcap' make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/include' make[3]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/include' make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/include' make[1]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/include' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/src' test -z "/usr/lib64" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -p 'libvidcap.la' '/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/lib64/libvidcap.la' /usr/bin/install -p .libs/libvidcap.so.1.0.0 /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/lib64/libvidcap.so.1.0.0 (cd /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/lib64 && { ln -s -f libvidcap.so.1.0.0 libvidcap.so.1 || { rm -f libvidcap.so.1 && ln -s libvidcap.so.1.0.0 libvidcap.so.1; }; }) (cd /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/lib64 && { ln -s -f libvidcap.so.1.0.0 libvidcap.so || { rm -f libvidcap.so && ln -s libvidcap.so.1.0.0 libvidcap.so; }; }) /usr/bin/install -p .libs/libvidcap.lai /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/lib64/libvidcap.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/src' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/examples' make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1/examples' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/examples' make[1]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1/examples' make[1]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1' make[2]: Entering directory '/builddir/build/BUILD/libvidcap-0.2.1' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/lib64/pkgconfig" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/lib64/pkgconfig" /usr/bin/install -p -m 644 'vidcap.pc' '/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/lib64/pkgconfig/vidcap.pc' make[2]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1' make[1]: Leaving directory '/builddir/build/BUILD/libvidcap-0.2.1' + find /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libvidcap-0.2.1-18.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Gojf59 + umask 022 + cd /builddir/build/BUILD + cd libvidcap-0.2.1 + DOCDIR=/builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/share/doc/libvidcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/share/doc/libvidcap + cp -pr COPYING.LESSER /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64/usr/share/doc/libvidcap + exit 0 Provides: libvidcap = 0.2.1-18.fc28 libvidcap(riscv-64) = 0.2.1-18.fc28 libvidcap.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: libvidcap-devel-0.2.1-18.fc28.riscv64 Provides: libvidcap-devel = 0.2.1-18.fc28 libvidcap-devel(riscv-64) = 0.2.1-18.fc28 pkgconfig(vidcap) = 0.2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libvidcap.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/libvidcap-0.2.1-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libvidcap-0.2.1-18.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libvidcap-devel-0.2.1-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.N7MblX + umask 022 + cd /builddir/build/BUILD + cd libvidcap-0.2.1 + rm -rf /builddir/build/BUILDROOT/libvidcap-0.2.1-18.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff