+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libdv.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.j6WSa2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libdv-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/libdv-1.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libdv-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (libdv-0.104-no-exec-stack.patch):' Patch #1 (libdv-0.104-no-exec-stack.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .no-exec-stack --fuzz=0 patching file libdv/dct_block_mmx.S patching file libdv/dct_block_mmx_x86_64.S patching file libdv/encode_x86.S patching file libdv/encode_x86_64.S patching file libdv/idct_block_mmx.S patching file libdv/idct_block_mmx_x86_64.S patching file libdv/quant_x86.S patching file libdv/quant_x86_64.S patching file libdv/rgbtoyuv.S patching file libdv/rgbtoyuv_x86_64.S patching file libdv/transpose_x86.S patching file libdv/transpose_x86_64.S patching file libdv/vlc_x86.S patching file libdv/vlc_x86_64.S + echo 'Patch #2 (libdv-1.0.0-pic.patch):' Patch #2 (libdv-1.0.0-pic.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pic --fuzz=0 patching file libdv/asm_common.S patching file libdv/dct_block_mmx.S Hunk #2 succeeded at 93 (offset 2 lines). Hunk #3 succeeded at 118 (offset 2 lines). Hunk #4 succeeded at 130 (offset 2 lines). Hunk #5 succeeded at 141 (offset 2 lines). Hunk #6 succeeded at 195 (offset 2 lines). Hunk #7 succeeded at 220 (offset 2 lines). Hunk #8 succeeded at 232 (offset 2 lines). Hunk #9 succeeded at 242 (offset 2 lines). Hunk #10 succeeded at 762 (offset 4 lines). Hunk #11 succeeded at 791 (offset 6 lines). Hunk #12 succeeded at 830 (offset 6 lines). Hunk #13 succeeded at 867 (offset 6 lines). Hunk #14 succeeded at 904 (offset 6 lines). patching file libdv/dv.c patching file libdv/encode.c patching file libdv/encode_x86.S Hunk #2 succeeded at 47 (offset 1 line). Hunk #3 succeeded at 128 (offset 3 lines). Hunk #4 succeeded at 594 (offset 11 lines). patching file libdv/idct_block_mmx.S Hunk #2 succeeded at 40 (offset 2 lines). Hunk #3 succeeded at 81 (offset 2 lines). Hunk #4 succeeded at 89 (offset 2 lines). Hunk #5 succeeded at 164 (offset 2 lines). Hunk #6 succeeded at 205 (offset 2 lines). Hunk #7 succeeded at 218 (offset 2 lines). Hunk #8 succeeded at 349 (offset 2 lines). Hunk #9 succeeded at 378 (offset 2 lines). Hunk #10 succeeded at 414 (offset 2 lines). Hunk #11 succeeded at 425 (offset 2 lines). Hunk #12 succeeded at 439 (offset 2 lines). Hunk #13 succeeded at 496 (offset 2 lines). Hunk #14 succeeded at 522 (offset 2 lines). Hunk #15 succeeded at 556 (offset 2 lines). Hunk #16 succeeded at 570 (offset 2 lines). Hunk #17 succeeded at 584 (offset 2 lines). patching file libdv/parse.c patching file libdv/quant.c patching file libdv/quant.h patching file libdv/quant_x86.S Hunk #1 succeeded at 75 (offset 2 lines). Hunk #2 succeeded at 221 (offset 4 lines). patching file libdv/rgbtoyuv.S Hunk #3 succeeded at 134 (offset 3 lines). Hunk #4 succeeded at 188 (offset 3 lines). Hunk #5 succeeded at 218 (offset 3 lines). Hunk #6 succeeded at 255 (offset 3 lines). Hunk #7 succeeded at 314 (offset 3 lines). Hunk #8 succeeded at 342 (offset 3 lines). Hunk #9 succeeded at 433 (offset 5 lines). Hunk #10 succeeded at 578 (offset 7 lines). Hunk #11 succeeded at 871 (offset 11 lines). Hunk #12 succeeded at 1021 (offset 13 lines). Hunk #13 succeeded at 1119 (offset 15 lines). Hunk #14 succeeded at 1194 (offset 17 lines). Hunk #15 succeeded at 1354 (offset 19 lines). patching file libdv/rgbtoyuv_x86_64.S patching file libdv/vlc_x86.S Hunk #2 succeeded at 52 (offset 1 line). Hunk #3 succeeded at 73 (offset 1 line). Hunk #4 succeeded at 90 (offset 1 line). Hunk #5 succeeded at 129 (offset 1 line). Hunk #6 succeeded at 144 (offset 1 line). Hunk #7 succeeded at 157 (offset 1 line). Hunk #8 succeeded at 183 (offset 2 lines). Hunk #9 succeeded at 196 (offset 2 lines). Hunk #10 succeeded at 221 (offset 2 lines). Hunk #11 succeeded at 255 (offset 2 lines). Hunk #12 succeeded at 270 (offset 2 lines). Hunk #13 succeeded at 305 (offset 2 lines). Hunk #14 succeeded at 379 (offset 2 lines). Hunk #15 succeeded at 425 (offset 2 lines). Hunk #16 succeeded at 435 (offset 3 lines). Hunk #17 succeeded at 450 (offset 3 lines). Hunk #18 succeeded at 473 (offset 3 lines). Hunk #19 succeeded at 490 (offset 3 lines). Hunk #20 succeeded at 505 (offset 3 lines). Hunk #21 succeeded at 537 (offset 3 lines). Hunk #22 succeeded at 585 (offset 3 lines). Hunk #23 succeeded at 597 (offset 3 lines). Hunk #24 succeeded at 624 (offset 3 lines). Hunk #25 succeeded at 653 (offset 3 lines). Hunk #26 succeeded at 691 (offset 3 lines). + echo 'Patch #3 (libdv-1.0.0-gtk2.patch):' Patch #3 (libdv-1.0.0-gtk2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gtk2 --fuzz=0 patching file configure.ac Hunk #2 succeeded at 164 (offset -2 lines). + echo 'Patch #4 (libdv-1.0.0-dso-linking.patch):' Patch #4 (libdv-1.0.0-dso-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dso-linking --fuzz=0 patching file playdv/Makefile.am patching file Makefile.am + libtoolize libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: You should add the contents of 'm4/libtool.m4' to 'aclocal.m4'. libtoolize: linking file 'm4/ltoptions.m4' libtoolize: You should add the contents of 'm4/ltoptions.m4' to 'aclocal.m4'. libtoolize: linking file 'm4/ltsugar.m4' libtoolize: You should add the contents of 'm4/ltsugar.m4' to 'aclocal.m4'. libtoolize: linking file 'm4/ltversion.m4' libtoolize: You should add the contents of 'm4/ltversion.m4' to 'aclocal.m4'. libtoolize: linking file 'm4/lt~obsolete.m4' libtoolize: You should add the contents of 'm4/lt~obsolete.m4' to 'aclocal.m4'. + autoreconf -vif 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: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:19: installing './compile' configure.ac:11: installing './missing' encodedv/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4SfUHq + umask 022 + cd /builddir/build/BUILD + cd libdv-1.0.0 + 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 --with-pic checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu 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 make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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 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 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 dependency style of gcc... none 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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-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) 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 whether to enable debugging... default=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 GTK... yes checking for XvQueryAdaptors in -lXv... yes checking for pthread_create in -lpthread... yes checking for sqrt in -lm... yes checking for poptGetContext in -lpopt... yes checking for X... libraries , headers checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking for inttypes.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for gettimeofday... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libdv.spec config.status: creating libdv.pc config.status: creating libdv/Makefile config.status: creating playdv/Makefile config.status: creating encodedv/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libdv-1.0.0' Making all in libdv make[2]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/libdv' make all-am make[3]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/libdv' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o dovlc.o dovlc.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o dv.lo dv.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o dct.lo dct.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o idct_248.lo idct_248.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o weighting.lo weighting.c dv.c: In function 'dv_report_video_error': dv.c:604:10: warning: variable 'error_code' set but not used [-Wunused-but-set-variable] int i, error_code; ^~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o quant.lo quant.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o vlc.lo vlc.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o place.lo place.c quant.c:249:1: warning: 'quant_248_inverse_mmx' defined but not used [-Wunused-function] quant_248_inverse_mmx(dv_coeff_t *block,int qno,int klass,dv_248_coeff_t *co) { ^~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o parse.lo parse.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o bitstream.lo bitstream.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o YUY2.lo YUY2.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o YV12.lo YV12.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o rgb.lo rgb.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o audio.lo audio.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o util.lo util.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o encode.lo encode.c encode.c: In function 'dv_encoder_loop': encode.c:1426:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(fbuf, 1024, filename, i); ^~~~ In file included from /usr/include/features.h:428:0, from /usr/include/time.h:25, from encode.c:43: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ encode.c:1432:19: warning: pointer targets in passing argument 1 of 'input->skip' differ in signedness [-Wpointer-sign] if (input->skip(fbuf, &isPAL) < 0) { ^~~~ encode.c:1432:19: note: expected 'const char *' but argument is of type 'unsigned char *' encode.c:1441:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(fbuf, 1024, filename, i); ^~~~ In file included from /usr/include/features.h:428:0, from /usr/include/time.h:25, from encode.c:43: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ encode.c:1452:20: warning: pointer targets in passing argument 1 of 'input->load' differ in signedness [-Wpointer-sign] if (input->load(fbuf, &isPAL) < 0) { ^~~~ encode.c:1452:20: note: expected 'const char *' but argument is of type 'unsigned char *' encode.c:1456:20: warning: pointer targets in passing argument 1 of 'input->skip' differ in signedness [-Wpointer-sign] if (input->skip(fbuf, &isPAL) < 0) { ^~~~ encode.c:1456:20: note: expected 'const char *' but argument is of type 'unsigned char *' encode.c: In function 'dv_show_statistics': encode.c:1507:3: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] fprintf(stderr, "%2d: %8ld |%8ld |%8ld | " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "| |\n", ~~~~~~~~~~~~~~~~ i, cycles_used[i], runs_used[i], qnos_used[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ encode.c:1506:2: note: within this loop for (;i < 16; i++) { ^~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o headers.lo headers.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o enc_input.lo enc_input.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o enc_audio_input.lo enc_audio_input.c enc_input.c: In function 'read_pgm_stream': enc_input.c:645:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc_input.c:650:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); /* P5 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc_input.c:667:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); /* 255 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc_input.c:669:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(readbuf, 1, DV_WIDTH * height * 3 / 2, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc_input.c: In function 'read_ppm_stream': enc_input.c:310:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc_input.c:315:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); /* P6 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc_input.c:331:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); /* 255 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc_input.c:333:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(readbuf, 1, 3 * DV_WIDTH * height, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc_audio_input.c: In function 'parse_wave_header': enc_audio_input.c:181:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fmt_header_junk, 1, header_len - 16, in_wav); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o enc_output.lo enc_output.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o testvlc.o testvlc.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o testbitstream.o testbitstream.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o recode.o recode.c testbitstream.c: In function 'performance': testbitstream.c:102:21: warning: variable 'value' set but not used [-Wunused-but-set-variable] static uint32_t value; ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o reppm.o reppm.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o enctest.o enctest.c reppm.c: In function 'main': reppm.c:56:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ reppm.c:61:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); /* P6 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ reppm.c:67:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); /* 255 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ reppm.c:69:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(pixels[0], 1, 3 * width * height, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reppm.c:95:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(imagefile,"P6\n720 480\n255\n", 15); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reppm.c:96:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(imagefile, video_buffer, width*height*3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enctest.c: In function 'main': enctest.c:71:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, frame[i].dv, sizeof(frame[i].dv)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -version-info 4:3:0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libdv.la -rpath /usr/lib64 dv.lo dct.lo idct_248.lo weighting.lo quant.lo vlc.lo place.lo parse.lo bitstream.lo YUY2.lo YV12.lo rgb.lo audio.lo util.lo encode.lo headers.lo enc_input.lo enc_audio_input.lo enc_output.lo -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dovlc dovlc.o libdv.la -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o testvlc testvlc.o libdv.la -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o testbitstream testbitstream.o libdv.la -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o recode recode.o libdv.la -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o reppm reppm.o libdv.la -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o enctest enctest.o libdv.la -lpthread -lm make[3]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/libdv' make[2]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/libdv' Making all in encodedv make[2]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/encodedv' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o encodedv.o encodedv.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o dvconnect.o dvconnect.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o insert_audio.o insert_audio.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o fix_headers.o fix_headers.c encodedv.c: In function 'main': encodedv.c:71:6: warning: variable 'err_code' set but not used [-Wunused-but-set-variable] int err_code; ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o scan_packet_headers.o scan_packet_headers.c dvconnect.c: In function 'main': dvconnect.c:1086:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] device = "/dev/video1394/0"; ^ dvconnect.c:1090:33: warning: pointer targets in passing argument 8 of 'send_raw' differ in signedness [-Wpointer-sign] verbose_mode, underrun_data, device); ^~~~~~ dvconnect.c:687:5: note: expected 'char *' but argument is of type 'unsigned char *' int send_raw(const char*const* filenames, int channel, int nbuffers, ^~~~~~~~ dvconnect.c:1093:22: warning: pointer targets in passing argument 7 of 'capture_raw' differ in signedness [-Wpointer-sign] verbose_mode, device); ^~~~~~ dvconnect.c:333:5: note: expected 'char *' but argument is of type 'unsigned char *' int capture_raw(const char* filename, int channel, int nbuffers, ^~~~~~~~~~~ dvconnect.c: In function 'sig_int_recv_handler': dvconnect.c:328:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, t, sizeof(t)); ^~~~~~~~~~~~~~~~~~~~~~ dvconnect.c: In function 'sig_int_send_handler': dvconnect.c:502:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, t, sizeof(t)); ^~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o steal_header.o steal_header.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o ppmqscale.o ppmqscale.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -g -c -o dvavi.o dvavi.c steal_header.c: In function 'main': steal_header.c:59:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, buf_cap, 80); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ steal_header.c:62:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, buf_ren, 80); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ steal_header.c:67:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, buf_ren, 80); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o encodedv encodedv.o ../libdv/libdv.la -lpopt -lm ppmqscale.c: In function 'shrink_picture': ppmqscale.c:168:16: warning: variable 'dst_scaled_height' set but not used [-Wunused-but-set-variable] unsigned long dst_scaled_height; ^~~~~~~~~~~~~~~~~ ppmqscale.c: In function 'read_ppm_stream': ppmqscale.c:36:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ppmqscale.c:38:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); /* P6 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ppmqscale.c:47:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), f); /* 255 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ppmqscale.c:51:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(res, 1, 3 * *width * *height, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvavi.c: In function 'read_avi': dvavi.c:379:6: warning: variable 'frame_count' set but not used [-Wunused-but-set-variable] int frame_count; ^~~~~~~~~~~ dvavi.c:428:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bn->buffer, 1, len, in_avi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvavi.c:434:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bn->buffer + bn->usage, 1, len, in_avi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvavi.c:445:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bn->buffer, 1, len, in_avi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvavi.c:457:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bn->buffer, 1, len, in_avi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dubdv insert_audio.o ../libdv/libdv.la -lpopt -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fix_headers fix_headers.o ../libdv/libdv.la -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o scan_packet_headers scan_packet_headers.o -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o steal_header steal_header.o -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ppmqscale ppmqscale.o -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dvavi dvavi.o ../libdv/libdv.la -lm /bin/sh ../libtool --silent --tag=CC --mode=link gcc -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dvconnect dvconnect.o -lpthread -lpopt -lm make[2]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/encodedv' Making all in playdv make[2]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/playdv' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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 -Wall -g -c -o playdv.o playdv.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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 -Wall -g -c -o display.o display.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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 -Wall -g -c -o oss.o oss.c oss.c: In function 'dv_oss_init': oss.c:90:25: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((oss->fd = open(oss->arg_audio_file, ^~~ In file included from /usr/include/fcntl.h:313:0, from oss.c:36: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' open (const char *__path, int __oflag, ...) ^~~~ oss.c:132:10: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] perror(oss->arg_audio_file); ^~~ In file included from oss.c:31:0: /usr/include/stdio.h:769:13: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' extern void perror (const char *__s); ^~~~~~ display.c: In function 'dv_display_Xv_init': display.c:415:60: warning: pointer targets in passing argument 3 of 'XvQueryAdaptors' differ in signedness [-Wpointer-sign] if(Success == XvQueryAdaptors(dv_dpy->dpy, dv_dpy->rwin, &ad_cnt, &ad_info)) { ^ In file included from display.h:42:0, from display.c:42: /usr/include/X11/extensions/Xvlib.h:175:12: note: expected 'unsigned int *' but argument is of type 'int *' extern int XvQueryAdaptors( ^~~~~~~~~~~~~~~ display.c:575:23: warning: pointer targets in passing argument 4 of 'XvShmCreateImage' differ in signedness [-Wpointer-sign] dv_dpy->format, dv_dpy->pixels[0], ^~~~~~ In file included from display.h:42:0, from display.c:42: /usr/include/X11/extensions/Xvlib.h:369:17: note: expected 'char *' but argument is of type 'guchar * {aka unsigned char *}' extern XvImage *XvShmCreateImage ( ^~~~~~~~~~~~~~~~ display.c:584:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dv_dpy->xv_image->data = dv_dpy->pixels[0] = dv_dpy->shminfo.shmaddr = ^ display.c:584:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dv_dpy->xv_image->data = dv_dpy->pixels[0] = dv_dpy->shminfo.shmaddr = ^ /bin/sh ../libtool --silent --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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 -Wall -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o playdv playdv.o display.o oss.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lXv ../libdv/libdv.la -lpopt -lX11 -lXext -lm make[2]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/playdv' make[2]: Entering directory '/builddir/build/BUILD/libdv-1.0.0' make[2]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0' make[1]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.83GNH2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64 + cd libdv-1.0.0 + make DESTDIR=/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64 install Making install in libdv make[1]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/libdv' make install-am make[2]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/libdv' make[3]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/libdv' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/lib64' /bin/sh ../libtool --silent --mode=install /usr/bin/install -c libdv.la '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/lib64' libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/include/libdv' /usr/bin/install -c -m 644 dv_types.h dv.h '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/include/libdv' make[3]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/libdv' make[2]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/libdv' make[1]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/libdv' Making install in encodedv make[1]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/encodedv' make[2]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/encodedv' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/bin' /bin/sh ../libtool --silent --mode=install /usr/bin/install -c encodedv dvconnect dubdv '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/bin' libtool: warning: '../libdv/libdv.la' has not been installed in '/usr/lib64' libtool: warning: '../libdv/libdv.la' has not been installed in '/usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 encodedv.1 dvconnect.1 dubdv.1 '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/encodedv' make[1]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/encodedv' Making install in playdv make[1]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/playdv' make[2]: Entering directory '/builddir/build/BUILD/libdv-1.0.0/playdv' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/bin' /bin/sh ../libtool --silent --mode=install /usr/bin/install -c playdv '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/bin' libtool: warning: '../libdv/libdv.la' has not been installed in '/usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 playdv.1 '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/playdv' make[1]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0/playdv' make[1]: Entering directory '/builddir/build/BUILD/libdv-1.0.0' make[2]: Entering directory '/builddir/build/BUILD/libdv-1.0.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libdv.pc '/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0' make[1]: Leaving directory '/builddir/build/BUILD/libdv-1.0.0' + rm /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/lib64/libdv.a + rm /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/lib64/libdv.la + /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: libdv-1.0.0-25.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EtFGaT + umask 022 + cd /builddir/build/BUILD + cd libdv-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/doc/libdv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/doc/libdv + cp -pr ChangeLog /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/doc/libdv + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vwfbpX + umask 022 + cd /builddir/build/BUILD + cd libdv-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/licenses/libdv + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/licenses/libdv + cp -pr COPYING /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/licenses/libdv + cp -pr COPYRIGHT /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/licenses/libdv + exit 0 Provides: libdv = 1.0.0-25.fc28 libdv(riscv-64) = 1.0.0-25.fc28 libdv.so.4()(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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libdv-tools-1.0.0-25.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sveSSp + umask 022 + cd /builddir/build/BUILD + cd libdv-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/doc/libdv-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/doc/libdv-tools + cp -pr README.dvconnect README.encoder /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/doc/libdv-tools + cp -pr AUTHORS /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64/usr/share/doc/libdv-tools + exit 0 Provides: libdv-tools = 1.0.0-25.fc28 libdv-tools(riscv-64) = 1.0.0-25.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXv.so.1()(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libdv.so.4()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libdv-devel-1.0.0-25.fc28.riscv64 Provides: libdv-devel = 1.0.0-25.fc28 libdv-devel(riscv-64) = 1.0.0-25.fc28 pkgconfig(libdv) = 1.0.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libdv.so.4()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64 Wrote: /builddir/build/SRPMS/libdv-1.0.0-25.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libdv-1.0.0-25.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libdv-tools-1.0.0-25.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libdv-devel-1.0.0-25.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xX4OKt + umask 022 + cd /builddir/build/BUILD + cd libdv-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libdv-1.0.0-25.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff