Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libifp.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1691154730.428630/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sda1d_i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sda1d_i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e7f757d582cb4064980e16502b876528', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1691154730.428630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sda1d_i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libifp.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691107200 Wrote: /builddir/build/SRPMS/libifp-1.0.0.2-37.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libifp.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1691154730.428630/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sda1d_i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sda1d_i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9ef10a08ee384d3faadcd1302d7169f8', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1691154730.428630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sda1d_i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libifp.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691107200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vUSVT6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libifp-1.0.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libifp-1.0.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libifp-1.0.0.2 + rm -rf /builddir/build/BUILD/libifp-1.0.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libifp-1.0.0.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libifp-1.0.0.2-fix-broken-configure.in.diff + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libifp-1.0.0.2-fix-broken-configure-again.diff + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uewRFx + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 libifp-1.0.0.2 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9493: AM_INIT_AUTOMAKE is expanded from... configure.in:9: the top level configure.in:12: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.in:12: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.in:12: the top level configure.in:24: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:24: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:24: the top level configure.in:70: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:70: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:70: the top level configure.in:83: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:83: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:83: the top level configure.in:84: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:84: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:84: the top level configure.in:94: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:94: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:94: the top level configure.in:139: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS autoreconf: configure.in: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:9: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:10: installing './compile' configure.in:9: installing './missing' Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') examples/Makefile.am:28: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') examples/Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' parallel-tests: installing './test-driver' src/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory '.' + CFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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-08-04 13:13:46.666715391 +0000 +++ ./configure 2023-08-04 13:13:47.140711183 +0000 @@ -1717,7 +1717,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-08-04 13:13:47.140711183 +0000 +++ ./configure 2023-08-04 13:13:47.153711068 +0000 @@ -6800,7 +6800,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'" @@ -14235,7 +14235,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=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-libusb --disable-static 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 x86_64-redhat-linux-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 build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-redhat-linux-file... no checking for file... file checking for x86_64-redhat-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-strip... no checking for strip... strip checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6806: -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 x86_64-redhat-linux-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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether byte ordering is bigendian... no checking libusb... done checking for usb.h... yes checking for usb_init in -lusb... yes checking for strncasecmp... yes checking for inttypes.h... (cached) yes checking for stdio.h... (cached) yes checking for sys/types.h... (cached) yes checking for wchar.h... yes checking for string.h... (cached) yes checking for time.h... yes checking for fts.h... yes checking for iconv.h... yes checking for inline... inline checking if we should build the examples... no checking for doxygen... yes checking kernel source code... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating docs/Makefile config.status: creating dpkg/Makefile config.status: creating docs/doxygen.cfg config.status: creating examples/Makefile config.status: creating kbuild/Makefile config.status: creating src/Makefile config.status: executing depfiles commands config.status: executing libtool commands ----------------------------------------------------- configuration complete libifp: yes linux kernel module: no examples: no documentation: yes ----------------------------------------------------- type 'make' to build + /usr/bin/make -O -j2 V=1 VERBOSE=1 Making all in src make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o comp.lo comp.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c comp.c -fPIC -DPIC -o .libs/comp.o comp.c: In function 'ifp_device_info': comp.c:26:16: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 26 | char * p = dev->b2; | ^~~ comp.c: In function '_ifp_list_dirs_debug': comp.c:156:47: warning: pointer targets in passing argument 2 of 'ifp_dir_next_debug' differ in signedness [-Wpointer-sign] 156 | ret = ifp_dir_next_debug(dev, utf8_buf, IFP_BUFFER_SIZE, | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from comp.c:10: prim.h:102:56: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 102 | int ifp_dir_next_debug(struct ifp_device * dev, char * s, int n, int mode, | ~~~~~~~^ comp.c:166:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 166 | strlen(utf8_buf), | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from ifp_os.h:24, from comp.c:9: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ comp.c:165:50: warning: pointer targets in passing argument 3 of 'callbk' differ in signedness [-Wpointer-sign] 165 | i = callbk(context, ret, utf8_buf, | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} comp.c:165:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} comp.c: In function 'swap_filenames': comp.c:370:20: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 370 | char * b = dev->b3; | ^~~ comp.c: In function 'ifp_rename_file': comp.c:398:20: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 398 | char * b = dev->b3; | ^~~ comp.c: In function 'get_file_size': comp.c:496:32: warning: pointer targets in passing argument 2 of 'ifp_file_open' differ in signedness [-Wpointer-sign] 496 | i = ifp_file_open(dev, buf); | ^~~ | | | uint8_t * {aka unsigned char *} prim.h:82:57: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | int ifp_file_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ comp.c: In function '_ifp_list_dirs': comp.c:545:57: warning: pointer targets in passing argument 4 of 'get_file_size' differ in signedness [-Wpointer-sign] 545 | dirname, dsize, utf8_buf, | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} comp.c:476:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 476 | const char * f, int fsize) | ~~~~~~~~~~~~~^ comp.c:553:50: warning: pointer targets in passing argument 3 of 'callbk' differ in signedness [-Wpointer-sign] 553 | i = callbk(context, ret, utf8_buf, filesize); | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} comp.c:553:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} comp.c: In function 'ifp_is_file': comp.c:650:20: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 650 | char * b = dev->b2; | ^~~ make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o prim.lo prim.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c prim.c -fPIC -DPIC -o .libs/prim.o make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' prim.c: In function '_ifp_push_unicode': prim.c:286:33: warning: pointer targets in passing argument 1 of 'ifp_locale_to_utf16' differ in signedness [-Wpointer-sign] 286 | i = ifp_locale_to_utf16(buf, IFP_BUFFER_SIZE, s, strlen(s)+1); | ^~~ | | | uint8_t * {aka unsigned char *} In file included from prim.c:9: ifp_os.h:135:32: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 135 | int ifp_locale_to_utf16(char * o, int max_o, const char * i, int max_i); | ~~~~~~~^ prim.c: In function '_ifp_pop_unicode': prim.c:315:39: warning: pointer targets in passing argument 3 of 'ifp_utf16_to_locale' differ in signedness [-Wpointer-sign] 315 | i = ifp_utf16_to_locale(s, n, buf, IFP_BUFFER_SIZE); | ^~~ | | | uint8_t * {aka unsigned char *} ifp_os.h:136:59: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 136 | int ifp_utf16_to_locale(char * o, int max_o, const char * i, int max_i); | ~~~~~~~~~~~~~^ make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o readwrite.lo readwrite.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c readwrite.c -fPIC -DPIC -o .libs/readwrite.o readwrite.c: In function 'ifp_read_open': readwrite.c:87:20: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 87 | strncpy(dev->filename, f, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/inttypes.h:25, from ../include/ifp.h:27, from readwrite.c:8: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ readwrite.c:88:39: warning: pointer targets in passing argument 1 of 'ifp_copy_parent_string' differ in signedness [-Wpointer-sign] 88 | i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:13:35: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 13 | int ifp_copy_parent_string(char * p, const char * f, int n) { | ~~~~~~~^ readwrite.c:91:39: warning: pointer targets in passing argument 2 of 'check_permissions' differ in signedness [-Wpointer-sign] 91 | i = check_permissions(dev, dev->filename); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:36:68: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 36 | static int check_permissions(struct ifp_device * dev, const char * f) { | ~~~~~~~~~~~~~^ readwrite.c:94:40: warning: pointer targets in passing argument 1 of 'mangle_filename' differ in signedness [-Wpointer-sign] 94 | i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); | ~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:58:35: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | static int mangle_filename(char * d, const char * s, int n) | ~~~~~~~^ readwrite.c:94:53: warning: pointer targets in passing argument 2 of 'mangle_filename' differ in signedness [-Wpointer-sign] 94 | i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:58:51: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | static int mangle_filename(char * d, const char * s, int n) | ~~~~~~~~~~~~~^ readwrite.c:97:40: warning: pointer targets in passing argument 2 of 'ifp_rename' differ in signedness [-Wpointer-sign] 97 | i = ifp_rename(dev, dev->filename, dev->iobuff); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} ../include/ifp.h:321:54: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 321 | int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); | ~~~~~~~~~~~~~^~~~~~~~ readwrite.c:97:55: warning: pointer targets in passing argument 3 of 'ifp_rename' differ in signedness [-Wpointer-sign] 97 | i = ifp_rename(dev, dev->filename, dev->iobuff); | ~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} ../include/ifp.h:321:77: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 321 | int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); | ~~~~~~~~~~~~~^~~~~~~~ readwrite.c:100:26: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 100 | realfile = dev->iobuff; | ^ readwrite.c:104:26: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 104 | realfile = dev->filename; | ^ readwrite.c:108:34: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] 108 | i = ifp_dir_open(dev, dev->dirname); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from readwrite.c:10: prim.h:91:56: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 91 | int ifp_dir_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ readwrite.c: In function 'ifp_read_close': readwrite.c:161:39: warning: pointer targets in passing argument 2 of 'check_permissions' differ in signedness [-Wpointer-sign] 161 | i = check_permissions(dev, dev->filename); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:36:68: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 36 | static int check_permissions(struct ifp_device * dev, const char * f) { | ~~~~~~~~~~~~~^ readwrite.c:163:40: warning: pointer targets in passing argument 1 of 'mangle_filename' differ in signedness [-Wpointer-sign] 163 | i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); | ~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:58:35: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | static int mangle_filename(char * d, const char * s, int n) | ~~~~~~~^ readwrite.c:163:53: warning: pointer targets in passing argument 2 of 'mangle_filename' differ in signedness [-Wpointer-sign] 163 | i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:58:51: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | static int mangle_filename(char * d, const char * s, int n) | ~~~~~~~~~~~~~^ readwrite.c:165:40: warning: pointer targets in passing argument 2 of 'ifp_rename' differ in signedness [-Wpointer-sign] 165 | i = ifp_rename(dev, dev->iobuff, dev->filename); | ~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} ../include/ifp.h:321:54: note: expected 'const char *' but argument is make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' of type 'uint8_t *' {aka 'unsigned char *'} 321 | int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); | ~~~~~~~~~~~~~^~~~~~~~ readwrite.c:165:53: warning: pointer targets in passing argument 3 of 'ifp_rename' differ in signedness [-Wpointer-sign] 165 | i = ifp_rename(dev, dev->iobuff, dev->filename); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} ../include/ifp.h:321:77: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 321 | int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); | ~~~~~~~~~~~~~^~~~~~~~ readwrite.c: In function 'ifp_write_open': readwrite.c:436:39: warning: pointer targets in passing argument 1 of 'ifp_copy_parent_string' differ in signedness [-Wpointer-sign] 436 | i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} readwrite.c:13:35: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 13 | int ifp_copy_parent_string(char * p, const char * f, int n) { | ~~~~~~~^ readwrite.c:439:34: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] 439 | i = ifp_dir_open(dev, dev->dirname); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} prim.h:91:56: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 91 | int ifp_dir_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ readwrite.c:450:39: warning: pointer targets in passing argument 2 of 'ifp_file_open_new' differ in signedness [-Wpointer-sign] 450 | i = ifp_file_open_new(dev, dev->filename, filesize); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} prim.h:83:61: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 83 | int ifp_file_open_new(struct ifp_device * dev, const char * f, int filesize); | ~~~~~~~~~~~~~^ readwrite.c: In function 'quick_write_verify': readwrite.c:473:34: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] 473 | i = ifp_dir_open(dev, dev->dirname); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} prim.h:91:56: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 91 | int ifp_dir_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ readwrite.c:476:35: warning: pointer targets in passing argument 2 of 'ifp_file_open' differ in signedness [-Wpointer-sign] 476 | i = ifp_file_open(dev, dev->filename); | ~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} prim.h:82:57: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | int ifp_file_open(struct ifp_device * dev, const char * f); | ~~~~~~~~~~~~~^ readwrite.c: In function 'ifp_read_open': readwrite.c:87:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 87 | strncpy(dev->filename, f, IFP_BUFFER_SIZE); | ^ make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ifp_os_libusb.lo ifp_os_libusb.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ifp_os_libusb.c -fPIC -DPIC -o .libs/ifp_os_libusb.o make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' ifp_os_libusb.c: In function 'local_iconv': ifp_os_libusb.c:53:26: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 53 | r = iconv(ICONV, &ibb, &i_n, &obb, &o_n); | ^~~~ | | | const char ** In file included from ifp_os_libusb.c:11: /usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from ifp_os_libusb.c:15: ../include/ifp.h:438:49: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 438 | #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) | ^~~~~~~~ ../include/ifp.h:442:30: note: in expansion of macro 'ifp_os_err' 442 | #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) | ^~~~~~~~~~ ../include/ifp.h:444:35: note: in expansion of macro 'ifp_err' 444 | #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) | ^~~~~~~ ifp_os_libusb.c:56:17: note: in expansion of macro 'ifp_err_i' 56 | ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); | ^~~~~~~~~ ../include/ifp.h:438:49: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 438 | #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) | ^~~~~~~~ ../include/ifp.h:442:30: note: in expansion of macro 'ifp_os_err' 442 | #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) | ^~~~~~~~~~ ../include/ifp.h:444:35: note: in expansion of macro 'ifp_err' 444 | #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) | ^~~~~~~ ifp_os_libusb.c:56:17: note: in expansion of macro 'ifp_err_i' 56 | ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); | ^~~~~~~~~ ../include/ifp.h:438:49: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 438 | #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) | ^~~~~~~~ ../include/ifp.h:442:30: note: in expansion of macro 'ifp_os_err' 442 | #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) | ^~~~~~~~~~ ../include/ifp.h:444:35: note: in expansion of macro 'ifp_err' 444 | #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) | ^~~~~~~ ifp_os_libusb.c:56:17: note: in expansion of macro 'ifp_err_i' 56 | ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); | ^~~~~~~~~ ifp_os_libusb.c: In function 'ifp_os_control_send': ifp_os_libusb.c:132:80: warning: pointer targets in passing argument 6 of 'usb_control_msg' differ in signedness [-Wpointer-sign] 132 | i = usb_control_msg(usbdev, IFP_REQ_TYPE, command, arg1, arg2, ctl, c_size, | ^~~ | | | uint8_t * {aka unsigned char *} In file included from ifp_os_libusb.c:10: /usr/include/usb.h:330:37: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 330 | int value, int index, char *bytes, int size, int timeout); | ~~~~~~^~~~~ make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o userfile.lo userfile.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c userfile.c -fPIC -DPIC -o .libs/userfile.o userfile.c: In function '_ifp_upload_dir': userfile.c:977:56: warning: passing argument 3 of 'fts_open' from incompatible pointer type [-Wincompatible-pointer-types] 977 | tw = fts_open(argv, FTS_LOGICAL | FTS_NOCHDIR, file_compare_fts); | ^~~~~~~~~~~~~~~~ | | | int (*)(const FTSENT * const*, const FTSENT * const*) {aka int (*)(const struct _ftsent * const*, const struct _ftsent * const*)} In file included from userfile.c:17: /usr/include/fts.h:185:20: note: expected 'int (*)(const FTSENT **, const FTSENT **)' {aka 'int (*)(const struct _ftsent **, const struct _ftsent **)'} but argument is of type 'int (*)(const FTSENT * const*, const FTSENT * const*)' {aka 'int (*)(const struct _ftsent * const*, const struct _ftsent * const*)'} 185 | int (*)(const FTSENT **, const FTSENT **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userfile.c: In function 'ifp_update_firmware': userfile.c:1224:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1224 | if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { | ^~~ | | | unsigned char * In file included from userfile.c:12: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ userfile.c:1224:22: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 1224 | if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { | ^~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ userfile.c:1231:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1231 | strncpy(remotename+1, basename, sizeof(remotename) - 1); | ~~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from userfile.c:10: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ userfile.c:1232:68: warning: pointer targets in passing argument 4 of '_ifp_write_stream_progress' differ in signedness [-Wpointer-sign] 1232 | if ( (i = _ifp_write_stream_progress(dev, fp, (int)st.st_size, remotename, p))) { | ^~~~~~~~~~ | | | unsigned char * userfile.c:138:46: note: expected 'const char *' but argument is of type 'unsigned char *' 138 | FILE *src, int filesize, const char *f, | ~~~~~~~~~~~~^ userfile.c: At top level: userfile.c:8:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 8 | static const char rcsid[] = "$Id: "; | ^~~~~ userfile.c: In function 'ifp_treewalk_open': userfile.c:611:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 611 | strncpy(tws->pathbuff, directory, sizeof(tws->pathbuff)); | ^ userfile.c: In function 'ifp_download_dir': userfile.c:883:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 883 | strncpy(path, localdir, sizeof(path)); | ^ userfile.c: In function 'ifp_upload_dir': userfile.c:974:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 974 | strncpy(path, remotedir, sizeof(path)); | ^ userfile.c: In function 'ifp_update_firmware': userfile.c:1231:5: warning: 'strncpy' specified bound 19 equals destination size [-Wstringop-truncation] 1231 | strncpy(remotename+1, basename, sizeof(remotename) - 1); | ^ In file included from /usr/include/stdio.h:964: In function 'fread', inlined from 'ifp_update_firmware' at userfile.c:1216:10: /usr/include/bits/stdio2.h:213:12: warning: call to '*__fread_chk' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 213 | return __fread_chk_warn (__ptr, sz, __size, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o error_strings.lo error_strings.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c error_strings.c -fPIC -DPIC -o .libs/error_strings.o error_strings.c:8:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 8 | static const char rcsid[] = "$Id: "; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tuner.lo tuner.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c tuner.c -fPIC -DPIC -o .libs/tuner.o make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' tuner.c: In function 'set_station_helper': tuner.c:81:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 81 | strncpy(bm, callsign, CALL_WIDTH); | ^~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tuner.c:10: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ tuner.c: At top level: tuner.c:8:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 8 | static const char rcsid[] = "$Id: "; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -version-info 5:4:1 -no-undefined -lusb -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 libifp.la -rpath /usr/lib64 prim.lo comp.lo readwrite.lo userfile.lo ifp_os_libusb.lo error_strings.lo tuner.lo -lusb libtool: link: gcc -shared -fPIC -DPIC .libs/prim.o .libs/comp.o .libs/readwrite.o .libs/userfile.o .libs/ifp_os_libusb.o .libs/error_strings.o .libs/tuner.o -lusb -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 -m64 -mtune=generic -mno-omit-leaf-frame-pointer -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,libifp.so.4 -o .libs/libifp.so.4.1.4 libtool: link: (cd ".libs" && rm -f "libifp.so.4" && ln -s "libifp.so.4.1.4" "libifp.so.4") libtool: link: (cd ".libs" && rm -f "libifp.so" && ln -s "libifp.so.4.1.4" "libifp.so") libtool: link: ( cd ".libs" && rm -f "libifp.la" && ln -s "../libifp.la" "libifp.la" ) make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' In function 'fread', inlined from 'ifp_update_firmware' at userfile.c:1216:10: /usr/include/bits/stdio2.h:213:12: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 213 | return __fread_chk_warn (__ptr, sz, __size, __n, __stream); | ^ Making all in examples make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/examples' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ifpline.o ifpline.c make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/examples' ifpline.c: In function 'print_directory': ifpline.c:268:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 268 | strncpy(buf, f, IFP_MAXPATHLEN); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ifpline.c:13: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ifpline.c:269:24: warning: pointer targets in passing argument 1 of 'normalize_path' differ in signedness [-Wpointer-sign] 269 | normalize_path(buf, IFP_MAXPATHLEN); | ^~~ | | | unsigned char * ifpline.c:32:27: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void normalize_path(char *path, size_t size); | ~~~~~~^~~~ ifpline.c:270:25: warning: pointer targets in passing argument 1 of 'slash2backslash' differ in signedness [-Wpointer-sign] 270 | slash2backslash(buf, buf, IFP_MAXPATHLEN); | ^~~ | | | unsigned char * ifpline.c:35:28: note: expected 'char *' but argument is of type 'unsigned char *' 35 | void slash2backslash(char *dest, const char *src, size_t count); | ~~~~~~^~~~ ifpline.c:270:30: warning: pointer targets in passing argument 2 of 'slash2backslash' differ in signedness [-Wpointer-sign] 270 | slash2backslash(buf, buf, IFP_MAXPATHLEN); | ^~~ | | | unsigned char * ifpline.c:35:46: note: expected 'const char *' but argument is of type 'unsigned char *' 35 | void slash2backslash(char *dest, const char *src, size_t count); | ~~~~~~~~~~~~^~~ ifpline.c:272:32: warning: pointer targets in passing argument 2 of 'ifp_list_dirs' differ in signedness [-Wpointer-sign] 272 | i = ifp_list_dirs(dev, buf, print_basic, stdout); | ^~~ | | | unsigned char * In file included from ifpline.c:23: ../include/ifp.h:325:57: note: expected 'const char *' but argument is of type 'unsigned char *' 325 | int ifp_list_dirs(struct ifp_device * dev, const char * dirname, | ~~~~~~~~~~~~~^~~~~~~ ifpline.c: In function 'clean_and_call_path': ifpline.c:422:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 422 | strncpy(buf, p, IFP_MAXPATHLEN); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ifpline.c:423:24: warning: pointer targets in passing argument 1 of 'normalize_path' differ in signedness [-Wpointer-sign] 423 | normalize_path(buf, IFP_MAXPATHLEN); | ^~~ | | | unsigned char * ifpline.c:32:27: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void normalize_path(char *path, size_t size); | ~~~~~~^~~~ ifpline.c:424:25: warning: pointer targets in passing argument 1 of 'slash2backslash' differ in signedness [-Wpointer-sign] 424 | slash2backslash(buf, buf, IFP_MAXPATHLEN); | ^~~ | | | unsigned char * ifpline.c:35:28: note: expected 'char *' but argument is of type 'unsigned char *' 35 | void slash2backslash(char *dest, const char *src, size_t count); | ~~~~~~^~~~ ifpline.c:424:30: warning: pointer targets in passing argument 2 of 'slash2backslash' differ in signedness [-Wpointer-sign] 424 | slash2backslash(buf, buf, IFP_MAXPATHLEN); | ^~~ | | | unsigned char * ifpline.c:35:46: note: expected 'const char *' but argument is of type 'unsigned char *' 35 | void slash2backslash(char *dest, const char *src, size_t count); | ~~~~~~~~~~~~^~~ ifpline.c:426:21: warning: pointer targets in passing argument 2 of 'fn' differ in signedness [-Wpointer-sign] 426 | i = fn(dev, buf); | ^~~ | | | unsigned char * ifpline.c:426:21: note: expected 'const char *' but argument is of type 'unsigned char *' ifpline.c: In function 'main': ifpline.c:742:12: warning: variable 'mc_arg' set but not used [-Wunused-but-set-variable] 742 | char * mc_arg = NULL; | ^~~~~~ ifpline.c: At top level: ifpline.c:11:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 11 | static const char rcsid[] = "$Id: ifpline.c,v 1.5 2004/11/18 17:12:37 oakhamg Exp $"; | ^~~~~ ifpline.c: In function 'clean_and_call_path': ifpline.c:422:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 422 | strncpy(buf, p, IFP_MAXPATHLEN); | ^ ifpline.c: In function 'print_directory': ifpline.c:268:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 268 | strncpy(buf, f, IFP_MAXPATHLEN); | ^ ifpline.c: In function 'download': ifpline.c:157:5: warning: 'strncpy' output may be truncated copying 512 bytes from a string of length 4095 [-Wstringop-truncation] 157 | strncpy(ifp_path, path_buf, IFP_MAXPATHLEN); | ^ make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 ifpline ifpline.o ../src/libifp.la -lusb libtool: link: gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -o .libs/ifpline ifpline.o ../src/.libs/libifp.so -lusb make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/examples' make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2MQYaC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64 + CFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 libifp-1.0.0.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libifp.la '/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libifp.so.4.1.4 /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/lib64/libifp.so.4.1.4 libtool: install: (cd /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/lib64 && { ln -s -f libifp.so.4.1.4 libifp.so.4 || { rm -f libifp.so.4 && ln -s libifp.so.4.1.4 libifp.so.4; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/lib64 && { ln -s -f libifp.so.4.1.4 libifp.so || { rm -f libifp.so && ln -s libifp.so.4.1.4 libifp.so; }; }) libtool: install: /usr/bin/install -p .libs/libifp.lai /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/lib64/libifp.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/include' /usr/bin/install -p -m 644 ../include/ifp.h '/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/src' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/examples' make[2]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2/examples' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p ifpline '/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/bin' libtool: warning: '../src/libifp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ifpline /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/bin/ifpline make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/examples' make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2/examples' make[1]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2' make[2]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/man/man3' /usr/bin/install -p -m 644 docs/man/man3/ifp.h.3 '/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2' make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2' + install -Dpm 0755 /builddir/build/SOURCES/libifp.hotplug /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/sbin/libifp-hotplug + install -Dpm 0644 /builddir/build/SOURCES/10-libifp.rules /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/lib/udev/rules.d/10-libifp.rules + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.0.0.2-37.fc39 --unique-debug-suffix -1.0.0.2-37.fc39.x86_64 --unique-debug-src-base libifp-1.0.0.2-37.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libifp-1.0.0.2 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libifp-1.0.0.2-37.fc39.x86_64 321 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /sbin/libifp-hotplug from /bin/bash to #!/usr/bin/bash *** WARNING: ./usr/lib64/libifp.la is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libifp-1.0.0.2-37.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xhkccj + umask 022 + cd /builddir/build/BUILD + cd libifp-1.0.0.2 + DOCDIR=/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/doc/libifp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/doc/libifp + cp -pr /builddir/build/BUILD/libifp-1.0.0.2/ChangeLog /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/doc/libifp + cp -pr /builddir/build/BUILD/libifp-1.0.0.2/README /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/doc/libifp + cp -pr /builddir/build/BUILD/libifp-1.0.0.2/TODO /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/doc/libifp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hWZlKw + umask 022 + cd /builddir/build/BUILD + cd libifp-1.0.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/licenses/libifp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/licenses/libifp + cp -pr /builddir/build/BUILD/libifp-1.0.0.2/COPYING /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64/usr/share/licenses/libifp + RPM_EC=0 ++ jobs -p + exit 0 Provides: libifp = 1.0.0.2-37.fc39 libifp(x86-64) = 1.0.0.2-37.fc39 libifp.so.4()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libifp.so.4()(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: libifp-devel-1.0.0.2-37.fc39.x86_64 Provides: libifp-devel = 1.0.0.2-37.fc39 libifp-devel(x86-64) = 1.0.0.2-37.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libifp.so.4()(64bit) Processing files: libifp-debugsource-1.0.0.2-37.fc39.x86_64 Provides: libifp-debugsource = 1.0.0.2-37.fc39 libifp-debugsource(x86-64) = 1.0.0.2-37.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libifp-debuginfo-1.0.0.2-37.fc39.x86_64 Provides: debuginfo(build-id) = d35961e8aa78f1a538834784f3466a7c95eef768 debuginfo(build-id) = d867fe9681805797c39e888e8bcefc3195e868a5 libifp-debuginfo = 1.0.0.2-37.fc39 libifp-debuginfo(x86-64) = 1.0.0.2-37.fc39 libifp.so.4.1.4-1.0.0.2-37.fc39.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libifp-debugsource(x86-64) = 1.0.0.2-37.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64 Wrote: /builddir/build/RPMS/libifp-debugsource-1.0.0.2-37.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/libifp-debuginfo-1.0.0.2-37.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/libifp-devel-1.0.0.2-37.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/libifp-1.0.0.2-37.fc39.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rZxSB2 + umask 022 + cd /builddir/build/BUILD + cd libifp-1.0.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libifp-1.0.0.2-37.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.sIwwIR + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/libifp-1.0.0.2-SPECPARTS + rm -rf libifp-1.0.0.2 libifp-1.0.0.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0