Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libunicap.spec'], chrootPath='/var/lib/mock/f40-build-749359-114274/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libunicap.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 warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/libunicap-0.9.12-32.fc40.src.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libunicap.spec'], chrootPath='/var/lib/mock/f40-build-749359-114274/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libunicap.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 warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jzvjdx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libunicap-0.9.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libunicap-0.9.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libunicap-0.9.12 + rm -rf /builddir/build/BUILD/libunicap-0.9.12-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libunicap-0.9.12-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libunicap-0.9.12-includes.patch):' Patch #0 (libunicap-0.9.12-includes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .includes --fuzz=0 patching file cpi/v4l2cpi/buffermanager.c + echo 'Patch #1 (libunicap-0.9.12-memerrs.patch):' Patch #1 (libunicap-0.9.12-memerrs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/dcam/dcam_v_modes.c patching file cpi/euvccam/euvccam_capture.c patching file cpi/v4l/v4l.c patching file cpi/v4l2cpi/v4l2.c patching file cpi/vid21394/vid21394_cpi.c patching file src/unicap.c + echo 'Patch #2 (libunicap-0.9.12-arraycmp.patch):' Patch #2 (libunicap-0.9.12-arraycmp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/vid21394/vid21394_base.c patching file cpi/vid21394/vid21394_cpi.c patching file src/unicap_helpers.c Patch #3 (libunicap-0.9.12-warnings.patch): + echo 'Patch #3 (libunicap-0.9.12-warnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/dcam/dcam_capture.c patching file cpi/dcam/dcam_property.c patching file cpi/euvccam/debayer.c patching file cpi/euvccam/euvccam_colorproc.c patching file cpi/euvccam/euvccam_cpi.c patching file cpi/euvccam/euvccam_device.c patching file cpi/euvccam/euvccam_usb.c patching file cpi/euvccam/logging.c patching file cpi/v4l2cpi/buffermanager.c patching file cpi/v4l2cpi/tiseuvccam.c patching file cpi/v4l2cpi/tisuvccam.c patching file cpi/v4l2cpi/v4l2.c Hunk #2 succeeded at 1437 (offset -2 lines). Hunk #3 succeeded at 1915 (offset -2 lines). Hunk #4 succeeded at 1948 (offset -2 lines). Hunk #5 succeeded at 2064 (offset -2 lines). Hunk #6 succeeded at 2163 (offset -2 lines). patching file cpi/vid21394/vid21394_base.c patching file src/unicap_helpers.c + echo 'Patch #4 (libunicap-bz641623.patch):' Patch #4 (libunicap-bz641623.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/v4l2cpi/v4l2.c Hunk #1 succeeded at 1926 (offset -2 lines). + echo 'Patch #5 (libunicap-bz642118.patch):' Patch #5 (libunicap-bz642118.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/unicap.h patching file src/unicap.c + echo 'Patch #6 (libunicap-0.9.12-videodev.patch):' Patch #6 (libunicap-0.9.12-videodev.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/v4l/v4l.c patching file cpi/v4l2cpi/uvcvideo.h Patch #7 (libunicap-0.9.12-datadirname.patch): + echo 'Patch #7 (libunicap-0.9.12-datadirname.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file po/Makefile.in.in Patch #8 (libunicap-0.9.12-gcc10.patch): + echo 'Patch #8 (libunicap-0.9.12-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file common/queue.h patching file cpi/euvccam/queue.h + libtoolize --force 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: linking file 'm4/ltoptions.m4' libtoolize: linking file 'm4/ltsugar.m4' libtoolize: linking file 'm4/ltversion.m4' libtoolize: linking file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + sed -i -e '/^DOC_SOURCE_DIR/s/--source-dir=//g' doc/libunicap/Makefile.am + gtkdocize --copy grep: warning: stray \ before , grep: warning: stray \ before white space + autoreconf --force --install configure.ac: warning: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION 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' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. grep: warning: stray \ before , grep: warning: stray \ before white space configure.ac:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:6: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:4488: AM_CONFIG_HEADER is expanded from... configure.ac:6: the top level configure.ac:27: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:4172: AM_INIT_AUTOMAKE is expanded from... configure.ac:27: the top level configure.ac:44: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:44: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:44: the top level configure.ac:45: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:45: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:45: the top level configure.ac:49: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:49: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:49: the top level configure.ac:55: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:55: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:55: the top level configure.ac:27: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:27: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:41: installing './compile' configure.ac:27: installing './missing' common/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') common/Makefile.am: installing './depcomp' cpi/dcam/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/euvccam/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/thing/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/v4l/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/v4l2cpi/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/vid21394/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') doc/libunicap/Makefile.am:70: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4okbGh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libunicap-0.9.12 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 2023-11-27 10:42:32.527875252 -0500 +++ ./configure 2023-11-27 10:42:44.607902261 -0500 @@ -1901,7 +1901,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 2023-11-27 10:42:44.607902261 -0500 +++ ./configure 2023-11-27 10:42:44.787902663 -0500 @@ -7073,7 +7073,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -19467,7 +19467,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.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-Wl,-z,now -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="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --enable-gtk-doc --enable-libv4l checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether ln -s works... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 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-file... no checking for file... file 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... ./configure: line 7079: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/param.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 for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for fcntl.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for working volatile... yes checking whether closedir returns void... no checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for GNU libc compatible malloc... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for bzero... yes checking for gettimeofday... yes checking for memset... yes checking for munmap... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.38.0 checking for XML::Parser... ok checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... (cached) /usr/bin/msgmerge checking for ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... ./configure: line 15402: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 15402: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc 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-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf checking whether to build gtk-doc documentation... yes checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... yes checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for pthread_create in -lpthread... yes checking for shm_open in -lrt... yes checking for libraw1394 <= 1.0.0... no checking for libraw1394 >= 1.1.0... yes checking for libv4l2... yes enable enable enable checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/unicap_version.h config.status: creating po/Makefile.in config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating common/Makefile config.status: creating Makefile config.status: creating libunicap.pc config.status: creating cpi/vid21394/Makefile config.status: creating cpi/dcam/Makefile config.status: creating cpi/v4l/Makefile config.status: creating cpi/v4l2cpi/Makefile config.status: creating cpi/euvccam/Makefile config.status: creating cpi/thing/Makefile config.status: creating cpi/Makefile config.status: creating cpi/include/Makefile config.status: creating doc/libunicap/Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing po/stamp-it commands ****************************************************** Unicap 0.9.12 ****************************************************** This software is distributed under the terms and conditions of the GNU GENERAL PUBLIC LICENSE ( GPL ). See the file COPYING for the full license text. ****************************************************** Configuration: libraw1394 version: RAW1394_1_1_API installation goes to: /usr Plugins: video-to-1394: yes IIDC 1394 camera: yes video-4-linux: yes video-4-linux v2: yes, with libv4l2 support euvccam: yes ****************************************************** *** Please read the file README.troubleshooting *** *** if you have any trouble using this software. *** ****************************************************** + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in include make[2]: Nothing to be done for 'all'. Making all in common make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/common' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o queue.lo queue.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c queue.c -fPIC -DPIC -o .libs/queue.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c queue.c -o queue.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/common' make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/common' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libucutils.la queue.lo libtool: link: ar cr .libs/libucutils.a .libs/queue.o libtool: link: ranlib .libs/libucutils.a libtool: link: ( cd ".libs" && rm -f "libucutils.la" && ln -s "../libucutils.la" "libucutils.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/common' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib64/unicap2\"" -DPKG_VERSION="\"2\"" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o unicap_cache.lo unicap_cache.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c unicap_cache.c -fPIC -DPIC -o .libs/unicap_cache.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c unicap_cache.c -o unicap_cache.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/src' make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib64/unicap2\"" -DPKG_VERSION="\"2\"" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o check_match.lo check_match.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c check_match.c -fPIC -DPIC -o .libs/check_match.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c check_match.c -o check_match.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/src' check_match.c: In function '_check_device_match': check_match.c:52:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 52 | if( strncmp( specifier->identifier, device->identifier, 256 ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/check_match.h:23, from check_match.c:24: ../include/unicap.h:83:14: note: source object allocated here 83 | char identifier[128]; | ^~~~~~~~~~ In function '_check_device_match', inlined from '_check_device_match' at check_match.c:42:5: check_match.c:65:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 65 | if( strncmp( specifier->model_name, device->model_name, 256 ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/unicap.h: In function '_check_device_match': ../include/unicap.h:84:14: note: source object allocated here 84 | char model_name[128]; | ^~~~~~~~~~ In function '_check_device_match', inlined from '_check_device_match' at check_match.c:42:5: check_match.c:74:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 74 | if( strncmp( specifier->vendor_name, device->vendor_name, 256 ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/unicap.h: In function '_check_device_match': ../include/unicap.h:85:14: note: source object allocated here 85 | char vendor_name[128]; | ^~~~~~~~~~~ check_match.c: In function '_check_format_match': check_match.c:139:17: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 139 | strncmp( specifier->identifier, format->identifier, 256 ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/unicap.h:160:12: note: source object allocated here 160 | char identifier[128]; | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib64/unicap2\"" -DPKG_VERSION="\"2\"" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o unicap_helpers.lo unicap_helpers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c unicap_helpers.c -fPIC -DPIC -o .libs/unicap_helpers.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c unicap_helpers.c -o unicap_helpers.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/src' unicap_helpers.c: In function 'unicap_describe_device': unicap_helpers.c:101:18: warning: '%s' directive writing up to 1023 bytes into a region of size between 19 and 435 [-Wformat-overflow=] 101 | "Device id: %s\n"\ | ^~~~~~~~~~~~~~~~~~ 102 | "Model name: %s\n"\ | In file included from /usr/include/stdio.h:980, from unicap_helpers.c:22: In function 'sprintf', inlined from 'unicap_describe_device' at unicap_helpers.c:100:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 88 and 2550 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ unicap_helpers.c: In function 'unicap_describe_property': unicap_helpers.c:280:18: warning: ' property data size: ' directive writing 21 bytes into a region of size between 4 and 433 [-Wformat-overflow=] 280 | "Property name: %s\n"\ | ^~~~~~~~~~~~~~~~~~~~~~ 281 | "class: %s\n"\ | unicap_helpers.c:280:18: note: using the range [-2147483648, 2147483647] for directive argument In function 'sprintf', inlined from 'unicap_describe_property' at unicap_helpers.c:279:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 103 and 542 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib64/unicap2\"" -DPKG_VERSION="\"2\"" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o unicap.lo unicap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c unicap.c -fPIC -DPIC -o .libs/unicap.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c unicap.c -o unicap.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/src' make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -version-info 4:0:2 -lrt -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libunicap.la -rpath /usr/lib64 unicap.lo unicap_cache.lo check_match.lo unicap_helpers.lo -ldl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/unicap.o .libs/unicap_cache.o .libs/check_match.o .libs/unicap_helpers.o -lrt -ldl -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libunicap.so.2 -o .libs/libunicap.so.2.2.0 libtool: link: (cd ".libs" && rm -f "libunicap.so.2" && ln -s "libunicap.so.2.2.0" "libunicap.so.2") libtool: link: (cd ".libs" && rm -f "libunicap.so" && ln -s "libunicap.so.2.2.0" "libunicap.so") libtool: link: ar cr .libs/libunicap.a unicap.o unicap_cache.o check_match.o unicap_helpers.o libtool: link: ranlib .libs/libunicap.a libtool: link: ( cd ".libs" && rm -f "libunicap.la" && ln -s "../libunicap.la" "libunicap.la" ) check_match.c: In function '_check_device_match': check_match.c:52:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 52 | if( strncmp( specifier->identifier, device->identifier, 256 ) ) | ^ ../include/unicap.h:83:14: note: source object allocated here 83 | char identifier[128]; | ^ In function '_check_device_match', inlined from '_check_device_match' at check_match.c:42:5: check_match.c:65:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 65 | if( strncmp( specifier->model_name, device->model_name, 256 ) ) | ^ ../include/unicap.h: In function '_check_device_match': ../include/unicap.h:84:14: note: source object allocated here 84 | char model_name[128]; | ^ In function '_check_device_match', inlined from '_check_device_match' at check_match.c:42:5: check_match.c:74:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 74 | if( strncmp( specifier->vendor_name, device->vendor_name, 256 ) ) | ^ ../include/unicap.h: In function '_check_device_match': ../include/unicap.h:85:14: note: source object allocated here 85 | char vendor_name[128]; | ^ check_match.c: In function '_check_format_match': check_match.c:139:17: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 139 | strncmp( specifier->identifier, format->identifier, 256 ) ) | ^ ../include/unicap.h:160:12: note: source object allocated here 160 | char identifier[128]; | ^ make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/src' Making all in doc Making all in libunicap make[3]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' if test "/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap" != "/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap" ; then \ files=`echo libunicap-docs.sgml libunicap-sections.txt libunicap-overrides.txt libunicap.types`; \ if test "x$files" != "x" ; then \ for file in $files ; do \ destdir=`dirname /builddir/build/BUILD/libunicap-0.9.12/doc/libunicap/$file`; \ test -d "$destdir" || mkdir -p "$destdir"; \ test -f /builddir/build/BUILD/libunicap-0.9.12/doc/libunicap/$file && \ cp -pf /builddir/build/BUILD/libunicap-0.9.12/doc/libunicap/$file /builddir/build/BUILD/libunicap-0.9.12/doc/libunicap/$file || true; \ done; \ fi; \ fi touch setup-build.stamp make[3]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' make[3]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' /usr/bin/mkdir -p xml && ( \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ ) > xml/gtkdocentities.ent make[3]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' make[3]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' _source_dir='' ; \ for i in ../../src ../../include ; do \ _source_dir="${_source_dir} --source-dir=$i" ; \ done ; \ gtkdoc-scan --module=libunicap --ignore-headers="" ${_source_dir} if grep -l '^..*$' libunicap.types > /dev/null 2>&1 ; then \ scanobj_options=""; \ gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$?" = "0"; then \ if test "x1" = "x1"; then \ scanobj_options="--verbose"; \ fi; \ fi; \ CC="/bin/sh ../../libtool --tag=CC --mode=compile gcc `pkg-config --cflags glib-2.0` -I../.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer " LD="/bin/sh ../../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RUN="/bin/sh ../../libtool --mode=execute" CFLAGS=" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer " LDFLAGS="`pkg-config --libs glib-2.0` -L../../libunicap/.libs/ -lunicap -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " \ gtkdoc-scangobj $scanobj_options --module=libunicap; \ else \ for i in libunicap.actions libunicap.args libunicap.hierarchy libunicap.interfaces libunicap.prerequisites libunicap.signals ; do \ test -f $i || touch $i ; \ done \ fi touch scan-build.stamp make[3]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' /usr/share/gtk-doc/python/gtkdoc/scan.py:44: SyntaxWarning: invalid escape sequence '\s' VAR_TYPE_MODIFIER = '(?:' + '|'.join([t + '\s+' for t in TYPE_MODIFIERS]) + ')*' /usr/share/gtk-doc/python/gtkdoc/scan.py:45: SyntaxWarning: invalid escape sequence '\s' RET_TYPE_MODIFIER = '(?:' + '|'.join([t + '\s+' for t in TYPE_MODIFIERS + ['G_CONST_RETURN']]) + ')*' /usr/share/gtk-doc/python/gtkdoc/scan.py:238: SyntaxWarning: invalid escape sequence '\(' ignore_decorators = '|' + options.ignore_decorators.replace('()', '\(\w*\)') /usr/share/gtk-doc/python/gtkdoc/scan.py:239: SyntaxWarning: invalid escape sequence '\s' optional_decorators_regex = '(?:\s+(?:%s))?' % ignore_decorators[1:] /usr/share/gtk-doc/python/gtkdoc/scan.py:487: SyntaxWarning: invalid escape sequence '\(' ignore_decorators = '|' + options.ignore_decorators.replace('()', '\(\w*\)') /usr/share/gtk-doc/python/gtkdoc/scan.py:488: SyntaxWarning: invalid escape sequence '\s' optional_decorators_regex = '(?:\s+(?:%s))?' % ignore_decorators[1:] make[3]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' _source_dir='' ; \ for i in ../../src ../../include ; do \ _source_dir="${_source_dir} --source-dir=$i" ; \ done ; \ gtkdoc-mkdb --module=libunicap --output-format=xml --expand-content-files="" --main-sgml-file=libunicap-docs.sgml ${_source_dir} --sgml-mode --output-format=xml ../../src/unicap.c:696: warning: Symbol name not found at the start of the comment block. ../../include/unicap.h:593: warning: Symbol name not found at the start of the comment block. unknown:0: warning: Field descriptions for struct unicap_callback_info are missing in source code comment block. unknown:0: warning: Field descriptions for struct unicap_shm_reg are missing in source code comment block. unknown:0: warning: Field descriptions for struct unicap_handle are missing in source code comment block. 2023-11-27 10:43:36,941:common.py:ParseStructDeclaration:352:WARNING:Cannot parse struct field: "long model_id" ../../include/unicap.h:68: warning: Field description for unicap_device_t::model_id is not used from source code comment block. ../../include/unicap.h:188: warning: Field description for unicap_data_buffer_t::flags is missing in source code comment block. ../../include/unicap.h:188: warning: Field description for unicap_data_buffer_t::priv is missing in source code comment block. unknown:0: warning: Value descriptions for unicap_property_flags_t are missing in source code comment block. ../../include/unicap.h:266: warning: Value description for unicap_property_type_enum_t::UNICAP_PROPERTY_TYPE_MENU is missing in source code comment block. ../../include/unicap.h:266: warning: Value description for unicap_property_type_enum_t::UNICAP_PROPERTY_TYPE_DATA is missing in source code comment block. ../../include/unicap.h:266: warning: Value description for unicap_property_type_enum_t::UNICAP_PROPERTY_TYPE_UNKNOWN is missing in source code comment block. ../../include/unicap.h:266: warning: Value description for unicap_property_type_enum_t::UNICAP_PROPERTY_TYPE_MENU is not used from source code comment block. ../../include/unicap.h:266: warning: Value description for unicap_property_type_enum_t::UNICAP_PROPERTY_TYPE_DATA is not used from source code comment block. 2023-11-27 10:43:37,006:common.py:ParseStructDeclaration:352:WARNING:Cannot parse struct field: "double value" 2023-11-27 10:43:37,007:common.py:ParseStructDeclaration:352:WARNING:Cannot parse struct field: "unicap_property_range_t range" ../../include/unicap.h:323: warning: Field description for unicap_property_t::value is not used from source code comment block. ../../include/unicap.h:323: warning: Field description for unicap_property_t::range is not used from source code comment block. unknown:0: warning: Value descriptions for unicap_event_t are missing in source code comment block. ./libunicap-unused.txt:1: warning: 101 unused declarations. They should be added to libunicap-sections.txt in the appropriate place. touch sgml-build.stamp make[3]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' make[3]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' rm -rf html && mkdir html && \ mkhtml_options=""; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$?" = "0"; then \ if test "x1" = "x1"; then \ mkhtml_options="$mkhtml_options --verbose"; \ fi; \ fi; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ if test "$?" = "0"; then \ mkhtml_options="$mkhtml_options --path=\"/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap\""; \ fi; \ cd html && gtkdoc-mkhtml $mkhtml_options libunicap ../libunicap-docs.sgml gtkdoc-fixxref --module=libunicap --module-dir=html --html-dir=/usr/share/gtk-doc/html html/libunicap-unicap.html:708: warning: no link for: "unicap-emumerate-formats" -> (unicap_emumerate_formats()). touch html-build.stamp make[3]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/doc/libunicap' grep: warning: stray \ before - grep: warning: stray \ before - ../xml/unicap.xml:1527: element refsect2: validity error : ID UNICAP-FLAGS-MANUAL:CAPS already defined ^ ../xml/unicap.xml:1533: element refsect2: validity error : ID UNICAP-FLAGS-AUTO:CAPS already defined ^ ../xml/unicap.xml:1539: element refsect2: validity error : ID UNICAP-FLAGS-ONE-PUSH:CAPS already defined ^ ../xml/unicap.xml:1545: element refsect2: validity error : ID UNICAP-FLAGS-READ-OUT:CAPS already defined ^ ../xml/unicap.xml:1551: element refsect2: validity error : ID UNICAP-FLAGS-ON-OFF:CAPS already defined ^ ../xml/unicap.xml:1557: element refsect2: validity error : ID UNICAP-FLAGS-READ-ONLY:CAPS already defined ^ ../xml/unicap.xml:1563: element refsect2: validity error : ID UNICAP-FLAGS-FORMAT-CHANGE:CAPS already defined ^ Computing chunks... Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-MANUAL:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-AUTO:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-ONE-PUSH:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-READ-OUT:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-ON-OFF:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-READ-ONLY:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-FORMAT-CHANGE:CAPS. Writing libunicap-unicap.html for refentry(libunicap-unicap) Writing ch01.html for chapter Writing index.html for book(index) Writing libunicap.devhelp2 for book(index) make[3]: Nothing to be done for 'all-am'. Making all in po make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/po' make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/po' grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/po' file=`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de.po make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/po' de.po: warning: Charset "" is not a portable encoding name. Message conversion to user's charset might not work. /usr/bin/msgfmt: present charset "" is not a portable encoding name make[2]: *** [Makefile:95: de.gmo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/po' file=`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fr.po make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/po' make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/po' file=`echo ru | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ru.po make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/po' make[1]: *** [Makefile:520: all-recursive] Error 1 make: *** [Makefile:429: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.4okbGh (%build) RPM build warnings: RPM build errors: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.4okbGh (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libunicap.spec