Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/v4l-utils.spec'], chrootPath='/var/lib/mock/dist-an23-build-95698-45500/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/v4l-utils.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1390521600 Wrote: /builddir/build/SRPMS/v4l-utils-0.9.5-4.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/v4l-utils.spec'], chrootPath='/var/lib/mock/dist-an23-build-95698-45500/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/v4l-utils.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1390521600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NM34m3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf v4l-utils-0.9.5 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/v4l-utils-0.9.5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd v4l-utils-0.9.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-rds-ctl-fix-percentage-handling.patch):' Patch #1 (0001-rds-ctl-fix-percentage-handling.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file utils/rds-ctl/rds-ctl.cpp Patch #2 (0002-libv4l2rds-support-RDS-EON-and-TMC-tuning-info.patch): + echo 'Patch #2 (0002-libv4l2rds-support-RDS-EON-and-TMC-tuning-info.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/include/libv4l2rds.h patching file lib/libv4l2rds/libv4l2rds.c Patch #3 (0003-rds-ctl-support-RDS-EON-and-TMC-tuning-info.patch): + echo 'Patch #3 (0003-rds-ctl-support-RDS-EON-and-TMC-tuning-info.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file utils/rds-ctl/rds-ctl.cpp Patch #4 (0004-libv4l2rds.c-moving-functions-to-get-rid-of-declarat.patch): + echo 'Patch #4 (0004-libv4l2rds.c-moving-functions-to-get-rid-of-declarat.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/libv4l2rds/libv4l2rds.c + echo 'Patch #5 (0005-rds-ctl-support-d10-to-refer-to-radio10.patch):' Patch #5 (0005-rds-ctl-support-d10-to-refer-to-radio10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file utils/rds-ctl/rds-ctl.cpp Patch #6 (0006-libv4l2-Add-logging-of-dqbuf-timestamps-to-debug-log.patch): + echo 'Patch #6 (0006-libv4l2-Add-logging-of-dqbuf-timestamps-to-debug-log.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/libv4l2/log.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HV8Rfz + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 v4l-utils-0.9.5 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 + '[' '-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 2013-04-21 04:55:22.000000000 +0800 +++ ./configure 2022-07-11 11:51:26.410767871 +0800 @@ -1917,7 +1917,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 2022-07-11 11:51:26.410767871 +0800 +++ ./configure 2022-07-11 11:51:26.427768536 +0800 @@ -19367,7 +19367,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_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"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $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 ./build-aux/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./build-aux/config.sub '/usr/lib/rpm/anolis/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./build-aux/config.guess '/usr/lib/rpm/anolis/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --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 whether make supports nested variables... yes 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 we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for x86_64-Anolis-linux-gcc... gcc 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 dependency style of gcc... none checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E 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 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... no 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 -m elf_x86_64) 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 -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for mode_t... yes checking for promoted mode_t type... mode_t checking for simple visibility declarations... yes checking sys/klog.h usability... yes checking sys/klog.h presence... yes checking for sys/klog.h... yes checking for klogctl... yes checking for X11... yes checking for GL... yes checking for GLU... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_read_header in -ljpeg... yes checking for QT... yes checking for library containing dlopen... none required checking argp.h usability... yes checking argp.h presence... yes checking for argp.h... yes checking for library containing argp_parse... none required checking linux/i2c-dev.h usability... yes checking linux/i2c-dev.h presence... yes checking for linux/i2c-dev.h... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/libv4lconvert/Makefile config.status: creating lib/libv4l2/Makefile config.status: creating lib/libv4l1/Makefile config.status: creating lib/libdvbv5/Makefile config.status: creating lib/libv4l2rds/Makefile config.status: creating lib/libv4l-mplane/Makefile config.status: creating utils/Makefile config.status: creating utils/libv4l2util/Makefile config.status: creating utils/libmedia_dev/Makefile config.status: creating utils/decode_tm6000/Makefile config.status: creating utils/dvb/Makefile config.status: creating utils/keytable/Makefile config.status: creating utils/rds/Makefile config.status: creating utils/v4l2-compliance/Makefile config.status: creating utils/v4l2-ctl/Makefile config.status: creating utils/v4l2-dbg/Makefile config.status: creating utils/v4l2-sysfs-path/Makefile config.status: creating utils/xc3028-firmware/Makefile config.status: creating utils/qv4l2/Makefile config.status: creating utils/rds-ctl/Makefile config.status: creating contrib/Makefile config.status: creating contrib/freebsd/Makefile config.status: creating contrib/test/Makefile config.status: creating v4l-utils.spec config.status: creating lib/libv4lconvert/libv4lconvert.pc config.status: creating lib/libv4l1/libv4l1.pc config.status: creating lib/libv4l2/libv4l2.pc config.status: creating lib/libdvbv5/libdvbv5.pc config.status: creating lib/libv4l2rds/libv4l2rds.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make -j64 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/v4l-utils-0.9.5' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/v4l-utils-0.9.5/lib' Making all in libv4lconvert make[3]: Entering directory '/builddir/build/BUILD/v4l-utils-0.9.5/lib/libv4lconvert' CC libv4lconvert_la-libv4lconvert.lo CC libv4lconvert_la-tinyjpeg.lo CC libv4lconvert_la-sn9c10x.lo CC libv4lconvert_la-sn9c20x.lo CC libv4lconvert_la-pac207.lo CC libv4lconvert_la-mr97310a.lo CC libv4lconvert_la-flip.lo CC libv4lconvert_la-crop.lo CC libv4lconvert_la-jidctflt.lo CC libv4lconvert_la-spca561-decompress.lo CC libv4lconvert_la-rgbyuv.lo CC libv4lconvert_la-sn9c2028-decomp.lo CC libv4lconvert_la-spca501.lo CC libv4lconvert_la-sq905c.lo CC libv4lconvert_la-bayer.lo CC libv4lconvert_la-hm12.lo CC libv4lconvert_la-stv0680.lo CC libv4lconvert_la-cpia1.lo CC libv4lconvert_la-se401.lo CC libv4lconvert_la-jpgl.lo CC libv4lconvert_la-jpeg.lo CC libv4lconvert_la-jl2005bcd.lo CC libv4lconvert_la-libv4lcontrol.lo CC libv4lconvert_la-libv4lprocessing.lo CC libv4lconvert_la-whitebalance.lo CC libv4lconvert_la-autogain.lo CC libv4lconvert_la-gamma.lo CC libv4lconvert_la-helper.lo CC libv4lconvert_la-jpeg_memsrcdest.lo CC ov511-decomp.o CC ov518-decomp.o In file included from jl2005bcd.c:32: jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src'; have 'void(struct jpeg_decompress_struct *, unsigned char *, long unsigned int)' 4 | jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, | ^~~~~~~~~~~~ In file included from libv4lconvert-priv.h:27, from jl2005bcd.c:31: /usr/include/jpeglib.h:923:14: note: previous declaration of 'jpeg_mem_src' with type 'void(struct jpeg_decompress_struct *, const unsigned char *, long unsigned int)' 923 | EXTERN(void) jpeg_mem_src(j_decompress_ptr cinfo, | ^~~~~~~~~~~~ make[3]: *** [Makefile:737: libv4lconvert_la-jl2005bcd.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... sn9c20x.c:28:18: warning: 'UVTranslate' defined but not used [-Wunused-const-variable=] 28 | static const int UVTranslate[32] = { | ^~~~~~~~~~~ In file included from jpeg_memsrcdest.c:26: jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src'; have 'void(struct jpeg_decompress_struct *, unsigned char *, long unsigned int)' 4 | jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, | ^~~~~~~~~~~~ In file included from jpeg_memsrcdest.c:24: /usr/include/jpeglib.h:923:14: note: previous declaration of 'jpeg_mem_src' with type 'void(struct jpeg_decompress_struct *, const unsigned char *, long unsigned int)' 923 | EXTERN(void) jpeg_mem_src(j_decompress_ptr cinfo, | ^~~~~~~~~~~~ jpeg_memsrcdest.c:147:1: error: conflicting types for 'jpeg_mem_src'; have 'void(struct jpeg_decompress_struct *, unsigned char *, long unsigned int)' 147 | jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, | ^~~~~~~~~~~~ /usr/include/jpeglib.h:923:14: note: previous declaration of 'jpeg_mem_src' with type 'void(struct jpeg_decompress_struct *, const unsigned char *, long unsigned int)' 923 | EXTERN(void) jpeg_mem_src(j_decompress_ptr cinfo, | ^~~~~~~~~~~~ make[3]: *** [Makefile:786: libv4lconvert_la-jpeg_memsrcdest.lo] Error 1 control/libv4lcontrol.c: In function 'v4lcontrol_get_usb_info': control/libv4lcontrol.c:388:43: error: called object 'minor' is not a function or function pointer 388 | c == '\n' && minor == minor(st.st_rdev)) | ^~~~~ control/libv4lcontrol.c:361:16: note: declared here 361 | int i, minor; | ^~~~~ In file included from jpeg.c:24: jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src'; have 'void(struct jpeg_decompress_struct *, unsigned char *, long unsigned int)' 4 | jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, | ^~~~~~~~~~~~ In file included from libv4lconvert-priv.h:27, from jpeg.c:22: /usr/include/jpeglib.h:923:14: note: previous declaration of 'jpeg_mem_src' with type 'void(struct jpeg_decompress_struct *, const unsigned char *, long unsigned int)' 923 | EXTERN(void) jpeg_mem_src(j_decompress_ptr cinfo, | ^~~~~~~~~~~~ control/libv4lcontrol.c: In function 'v4lcontrol_create': control/libv4lcontrol.c:722:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 722 | ftruncate(shm_fd, V4LCONTROL_SHM_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:744: libv4lconvert_la-libv4lcontrol.lo] Error 1 make[3]: *** [Makefile:730: libv4lconvert_la-jpeg.lo] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/v4l-utils-0.9.5/lib/libv4lconvert' make[2]: *** [Makefile:355: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/v4l-utils-0.9.5/lib' make[1]: *** [Makefile:399: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/v4l-utils-0.9.5' make: *** [Makefile:328: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.HV8Rfz (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HV8Rfz (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/v4l-utils.spec