Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libifp.spec'], chrootPath='/var/lib/mock/f29-build-9020-4020/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libifp-1.0.0.2-25.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libifp.spec'], chrootPath='/var/lib/mock/f29-build-9020-4020/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qI25gM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libifp-1.0.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/libifp-1.0.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libifp-1.0.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libifp-1.0.0.2-fix-broken-configure.in.diff + /usr/bin/cat /builddir/build/SOURCES/libifp-1.0.0.2-fix-broken-configure-again.diff + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WYnfiz + umask 022 + cd /builddir/build/BUILD + cd libifp-1.0.0.2 + autoreconf -fiv BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.in: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: autoreconf: configure.in: tracing BUILDSTDERR: 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. BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: configure.in: not using Autoheader BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: BUILDSTDERR: configure.in:9: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation BUILDSTDERR: configure.in:10: installing './compile' BUILDSTDERR: configure.in:9: installing './missing' BUILDSTDERR: Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') BUILDSTDERR: examples/Makefile.am:28: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') BUILDSTDERR: examples/Makefile.am: installing './depcomp' BUILDSTDERR: automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: parallel-tests: installing './test-driver' BUILDSTDERR: src/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') BUILDSTDERR: autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ 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' ']' BUILDSTDERR: ++ 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 + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-libusb --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-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 riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-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-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether byte ordering is bigendian... no checking libusb... done checking usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes checking for usb_init in -lusb... yes checking for strncasecmp... yes checking for inttypes.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for sys/types.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for string.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking fts.h usability... yes checking fts.h presence... yes checking for fts.h... yes checking iconv.h usability... yes checking iconv.h presence... 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 + make -j4 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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o prim.lo prim.c /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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o comp.lo comp.c /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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o readwrite.lo readwrite.c /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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c comp.c -fPIC -DPIC -o .libs/comp.o libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c prim.c -fPIC -DPIC -o .libs/prim.o libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c readwrite.c -fPIC -DPIC -o .libs/readwrite.o libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c userfile.c -fPIC -DPIC -o .libs/userfile.o BUILDSTDERR: comp.c: In function 'ifp_device_info': BUILDSTDERR: comp.c:26:16: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char * p = dev->b2; BUILDSTDERR: ^~~ BUILDSTDERR: prim.c: In function '_ifp_push_unicode': BUILDSTDERR: prim.c:286:26: warning: pointer targets in passing argument 1 of 'ifp_locale_to_utf16' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_locale_to_utf16(buf, IFP_BUFFER_SIZE, s, strlen(s)+1); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from prim.c:9: BUILDSTDERR: ifp_os.h:135:5: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_locale_to_utf16(char * o, int max_o, const char * i, int max_i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: prim.c: In function '_ifp_pop_unicode': BUILDSTDERR: prim.c:315:32: warning: pointer targets in passing argument 3 of 'ifp_utf16_to_locale' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_utf16_to_locale(s, n, buf, IFP_BUFFER_SIZE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from prim.c:9: BUILDSTDERR: ifp_os.h:136:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_utf16_to_locale(char * o, int max_o, const char * i, int max_i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: comp.c: In function '_ifp_list_dirs_debug': BUILDSTDERR: comp.c:156:33: warning: pointer targets in passing argument 2 of 'ifp_dir_next_debug' differ in signedness [-Wpointer-sign] BUILDSTDERR: ret = ifp_dir_next_debug(dev, utf8_buf, IFP_BUFFER_SIZE, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from comp.c:10: BUILDSTDERR: prim.h:102:5: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_dir_next_debug(struct ifp_device * dev, char * s, int n, int mode, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: comp.c:166:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlen(utf8_buf), BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from ifp_os.h:24, BUILDSTDERR: from comp.c:9: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: comp.c:165:29: warning: pointer targets in passing argument 3 of 'callbk' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = callbk(context, ret, utf8_buf, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: comp.c:165:29: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: comp.c: In function 'swap_filenames': BUILDSTDERR: comp.c:370:13: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char * b = dev->b3; BUILDSTDERR: ^~~ BUILDSTDERR: comp.c: In function 'ifp_rename_file': BUILDSTDERR: comp.c:398:13: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char * b = dev->b3; BUILDSTDERR: ^~~ BUILDSTDERR: comp.c: In function 'get_file_size': BUILDSTDERR: comp.c:496:25: warning: pointer targets in passing argument 2 of 'ifp_file_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_file_open(dev, buf); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from comp.c:10: BUILDSTDERR: prim.h:82:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_file_open(struct ifp_device * dev, const char * f); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: comp.c: In function '_ifp_list_dirs': BUILDSTDERR: comp.c:545:22: warning: pointer targets in passing argument 4 of 'get_file_size' differ in signedness [-Wpointer-sign] BUILDSTDERR: dirname, dsize, utf8_buf, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: comp.c:474:12: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: static int get_file_size(struct ifp_device * dev, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: comp.c:553:29: warning: pointer targets in passing argument 3 of 'callbk' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = callbk(context, ret, utf8_buf, filesize); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: comp.c:553:29: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: comp.c: In function 'ifp_is_file': BUILDSTDERR: comp.c:650:13: warning: pointer targets in initialization of 'char *' from 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char * b = dev->b2; BUILDSTDERR: ^~~ BUILDSTDERR: readwrite.c: In function 'ifp_read_open': BUILDSTDERR: readwrite.c:87:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(dev->filename, f, IFP_BUFFER_SIZE); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/inttypes.h:25, BUILDSTDERR: from ../include/ifp.h:27, BUILDSTDERR: from readwrite.c:8: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: readwrite.c:88:32: warning: pointer targets in passing argument 1 of 'ifp_copy_parent_string' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: readwrite.c:13:5: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_copy_parent_string(char * p, const char * f, int n) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c:91:32: warning: pointer targets in passing argument 2 of 'check_permissions' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = check_permissions(dev, dev->filename); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: readwrite.c:36:12: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: static int check_permissions(struct ifp_device * dev, const char * f) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c:94:26: warning: pointer targets in passing argument 1 of 'mangle_filename' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); BUILDSTDERR: ~~~^~~~~~~~ BUILDSTDERR: readwrite.c:58:12: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: static int mangle_filename(char * d, const char * s, int n) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c:94:39: warning: pointer targets in passing argument 2 of 'mangle_filename' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: readwrite.c:58:12: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: static int mangle_filename(char * d, const char * s, int n) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c:97:26: warning: pointer targets in passing argument 2 of 'ifp_rename' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_rename(dev, dev->filename, dev->iobuff); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: In file included from readwrite.c:8: BUILDSTDERR: ../include/ifp.h:321:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: readwrite.c:97:41: warning: pointer targets in passing argument 3 of 'ifp_rename' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_rename(dev, dev->filename, dev->iobuff); BUILDSTDERR: ~~~^~~~~~~~ BUILDSTDERR: In file included from readwrite.c:8: BUILDSTDERR: ../include/ifp.h:321:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: readwrite.c:100:12: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: realfile = dev->iobuff; BUILDSTDERR: ^ BUILDSTDERR: readwrite.c:104:12: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: realfile = dev->filename; BUILDSTDERR: ^ BUILDSTDERR: readwrite.c:108:27: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_dir_open(dev, dev->dirname); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: In file included from readwrite.c:10: BUILDSTDERR: prim.h:91:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_dir_open(struct ifp_device * dev, const char * f); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: readwrite.c: In function 'ifp_read_close': BUILDSTDERR: readwrite.c:161:32: warning: pointer targets in passing argument 2 of 'check_permissions' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = check_permissions(dev, dev->filename); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: readwrite.c:36:12: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: static int check_permissions(struct ifp_device * dev, const char * f) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c:163:26: warning: pointer targets in passing argument 1 of 'mangle_filename' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); BUILDSTDERR: ~~~^~~~~~~~ BUILDSTDERR: readwrite.c:58:12: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: static int mangle_filename(char * d, const char * s, int n) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c:163:39: warning: pointer targets in passing argument 2 of 'mangle_filename' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: readwrite.c:58:12: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: static int mangle_filename(char * d, const char * s, int n) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c:165:26: warning: pointer targets in passing argument 2 of 'ifp_rename' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_rename(dev, dev->iobuff, dev->filename); BUILDSTDERR: ~~~^~~~~~~~ BUILDSTDERR: In file included from readwrite.c:8: BUILDSTDERR: ../include/ifp.h:321:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: readwrite.c:165:39: warning: pointer targets in passing argument 3 of 'ifp_rename' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_rename(dev, dev->iobuff, dev->filename); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: In file included from readwrite.c:8: BUILDSTDERR: ../include/ifp.h:321:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: readwrite.c: In function 'ifp_write_open': BUILDSTDERR: readwrite.c:436:32: warning: pointer targets in passing argument 1 of 'ifp_copy_parent_string' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: readwrite.c:13:5: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_copy_parent_string(char * p, const char * f, int n) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c:439:27: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_dir_open(dev, dev->dirname); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: In file included from readwrite.c:10: BUILDSTDERR: prim.h:91:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_dir_open(struct ifp_device * dev, const char * f); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: readwrite.c:450:32: warning: pointer targets in passing argument 2 of 'ifp_file_open_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_file_open_new(dev, dev->filename, filesize); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: In file included from readwrite.c:10: BUILDSTDERR: prim.h:83:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_file_open_new(struct ifp_device * dev, const char * f, int filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: readwrite.c: In function 'quick_write_verify': BUILDSTDERR: readwrite.c:473:27: warning: pointer targets in passing argument 2 of 'ifp_dir_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_dir_open(dev, dev->dirname); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: In file included from readwrite.c:10: BUILDSTDERR: prim.h:91:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_dir_open(struct ifp_device * dev, const char * f); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: readwrite.c:476:28: warning: pointer targets in passing argument 2 of 'ifp_file_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_file_open(dev, dev->filename); BUILDSTDERR: ~~~^~~~~~~~~~ BUILDSTDERR: In file included from readwrite.c:10: BUILDSTDERR: prim.h:82:5: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int ifp_file_open(struct ifp_device * dev, const char * f); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: userfile.c: In function '_ifp_upload_dir': BUILDSTDERR: userfile.c:977:49: warning: passing argument 3 of 'fts_open' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: tw = fts_open(argv, FTS_LOGICAL | FTS_NOCHDIR, file_compare_fts); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from userfile.c:17: BUILDSTDERR: /usr/include/fts.h:184:6: 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*)'} BUILDSTDERR: FTS *fts_open (char * const *, int, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: userfile.c: In function 'ifp_update_firmware': BUILDSTDERR: userfile.c:1224:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { BUILDSTDERR: ^~~ BUILDSTDERR: In file included from userfile.c:12: BUILDSTDERR: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: userfile.c:1224:22: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from userfile.c:12: BUILDSTDERR: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: userfile.c:1231:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(remotename+1, basename, sizeof(remotename) - 1); BUILDSTDERR: ~~~~~~~~~~^~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from userfile.c:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: userfile.c:1232:68: warning: pointer targets in passing argument 4 of '_ifp_write_stream_progress' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( (i = _ifp_write_stream_progress(dev, fp, (int)st.st_size, remotename, p))) { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: userfile.c:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: static int _ifp_write_stream_progress(struct ifp_device * dev, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: userfile.c:8:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: "; BUILDSTDERR: ^~~~~ /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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ifp_os_libusb.lo ifp_os_libusb.c /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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o error_strings.lo error_strings.c BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from userfile.c:10: BUILDSTDERR: In function 'fread', BUILDSTDERR: inlined from 'ifp_update_firmware' at userfile.c:1216:10: BUILDSTDERR: /usr/include/bits/stdio2.h:295:9: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer BUILDSTDERR: return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ifp_os_libusb.c -fPIC -DPIC -o .libs/ifp_os_libusb.o libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c error_strings.c -fPIC -DPIC -o .libs/error_strings.o BUILDSTDERR: ifp_os_libusb.c: In function 'local_iconv': BUILDSTDERR: ifp_os_libusb.c:53:19: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: r = iconv(ICONV, &ibb, &i_n, &obb, &o_n); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ifp_os_libusb.c:11: BUILDSTDERR: /usr/include/iconv.h:42:54: note: expected 'char ** restrict' but argument is of type 'const char **' BUILDSTDERR: extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from ifp_os_libusb.c:15: BUILDSTDERR: ../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=] BUILDSTDERR: #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ../include/ifp.h:442:30: note: in expansion of macro 'ifp_os_err' BUILDSTDERR: #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/ifp.h:444:35: note: in expansion of macro 'ifp_err' BUILDSTDERR: #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ifp_os_libusb.c:56:3: note: in expansion of macro 'ifp_err_i' BUILDSTDERR: ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ifp_os_libusb.c:56:45: note: format string is defined here BUILDSTDERR: ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: In file included from ifp_os_libusb.c:15: BUILDSTDERR: ../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=] BUILDSTDERR: #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ../include/ifp.h:442:30: note: in expansion of macro 'ifp_os_err' BUILDSTDERR: #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/ifp.h:444:35: note: in expansion of macro 'ifp_err' BUILDSTDERR: #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ifp_os_libusb.c:56:3: note: in expansion of macro 'ifp_err_i' BUILDSTDERR: ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ifp_os_libusb.c:56:56: note: format string is defined here BUILDSTDERR: ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: In file included from ifp_os_libusb.c:15: BUILDSTDERR: ../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=] BUILDSTDERR: #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ../include/ifp.h:442:30: note: in expansion of macro 'ifp_os_err' BUILDSTDERR: #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/ifp.h:444:35: note: in expansion of macro 'ifp_err' BUILDSTDERR: #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ifp_os_libusb.c:56:3: note: in expansion of macro 'ifp_err_i' BUILDSTDERR: ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ifp_os_libusb.c:56:64: note: format string is defined here BUILDSTDERR: ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: ifp_os_libusb.c: In function 'ifp_os_control_send': BUILDSTDERR: ifp_os_libusb.c:132:66: warning: pointer targets in passing argument 6 of 'usb_control_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = usb_control_msg(usbdev, IFP_REQ_TYPE, command, arg1, arg2, ctl, c_size, BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ifp_os_libusb.c:10: BUILDSTDERR: /usr/include/usb.h:309:5: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: error_strings.c:8:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: "; BUILDSTDERR: ^~~~~ libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c tuner.c -fPIC -DPIC -o .libs/tuner.o BUILDSTDERR: tuner.c: In function 'set_station_helper': BUILDSTDERR: tuner.c:81:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(bm, callsign, CALL_WIDTH); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from tuner.c:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: tuner.c:8:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: "; BUILDSTDERR: ^~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -version-info 5:4:1 -no-undefined -lusb -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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' 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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ifpline.o ifpline.c BUILDSTDERR: ifpline.c: In function 'print_directory': BUILDSTDERR: ifpline.c:268:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(buf, f, IFP_MAXPATHLEN); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ifpline.c:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: ifpline.c:269:17: warning: pointer targets in passing argument 1 of 'normalize_path' differ in signedness [-Wpointer-sign] BUILDSTDERR: normalize_path(buf, IFP_MAXPATHLEN); BUILDSTDERR: ^~~ BUILDSTDERR: ifpline.c:32:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: void normalize_path(char *path, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ifpline.c:270:18: warning: pointer targets in passing argument 1 of 'slash2backslash' differ in signedness [-Wpointer-sign] BUILDSTDERR: slash2backslash(buf, buf, IFP_MAXPATHLEN); BUILDSTDERR: ^~~ BUILDSTDERR: ifpline.c:35:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: void slash2backslash(char *dest, const char *src, size_t count); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ifpline.c:270:23: warning: pointer targets in passing argument 2 of 'slash2backslash' differ in signedness [-Wpointer-sign] BUILDSTDERR: slash2backslash(buf, buf, IFP_MAXPATHLEN); BUILDSTDERR: ^~~ BUILDSTDERR: ifpline.c:35:6: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: void slash2backslash(char *dest, const char *src, size_t count); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ifpline.c:272:25: warning: pointer targets in passing argument 2 of 'ifp_list_dirs' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = ifp_list_dirs(dev, buf, print_basic, stdout); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ifpline.c:23: BUILDSTDERR: ../include/ifp.h:325:5: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: int ifp_list_dirs(struct ifp_device * dev, const char * dirname, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ifpline.c: In function 'clean_and_call_path': BUILDSTDERR: ifpline.c:422:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(buf, p, IFP_MAXPATHLEN); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ifpline.c:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: ifpline.c:423:17: warning: pointer targets in passing argument 1 of 'normalize_path' differ in signedness [-Wpointer-sign] BUILDSTDERR: normalize_path(buf, IFP_MAXPATHLEN); BUILDSTDERR: ^~~ BUILDSTDERR: ifpline.c:32:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: void normalize_path(char *path, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ifpline.c:424:18: warning: pointer targets in passing argument 1 of 'slash2backslash' differ in signedness [-Wpointer-sign] BUILDSTDERR: slash2backslash(buf, buf, IFP_MAXPATHLEN); BUILDSTDERR: ^~~ BUILDSTDERR: ifpline.c:35:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: void slash2backslash(char *dest, const char *src, size_t count); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ifpline.c:424:23: warning: pointer targets in passing argument 2 of 'slash2backslash' differ in signedness [-Wpointer-sign] BUILDSTDERR: slash2backslash(buf, buf, IFP_MAXPATHLEN); BUILDSTDERR: ^~~ BUILDSTDERR: ifpline.c:35:6: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: void slash2backslash(char *dest, const char *src, size_t count); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ifpline.c:426:14: warning: pointer targets in passing argument 2 of 'fn' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = fn(dev, buf); BUILDSTDERR: ^~~ BUILDSTDERR: ifpline.c:426:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: ifpline.c: In function 'main': BUILDSTDERR: ifpline.c:742:12: warning: variable 'mc_arg' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char * mc_arg = NULL; BUILDSTDERR: ^~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: ifpline.c:11:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: ifpline.c,v 1.5 2004/11/18 17:12:37 oakhamg Exp $"; BUILDSTDERR: ^~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ifpline ifpline.o ../src/libifp.la -lusb libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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]: Entering directory '/builddir/build/BUILD/libifp-1.0.0.2' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/libifp-1.0.0.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5eJDKJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 + cd libifp-1.0.0.2 + rm -rf /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 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-25.fc29.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libifp.la '/builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libifp.so.4.1.4 /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/lib64/libifp.so.4.1.4 libtool: install: (cd /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/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-25.fc29.riscv64/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 -c .libs/libifp.lai /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/lib64/libifp.la BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/include' /usr/bin/install -c -m 644 ../include/ifp.h '/builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/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-25.fc29.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c ifpline '/builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/bin' BUILDSTDERR: libtool: warning: '../src/libifp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/ifpline /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/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-25.fc29.riscv64/usr/share/man/man3' /usr/bin/install -c -m 644 docs/man/man3/ifp.h.3 '/builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/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' + find /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 -name '*.la' -exec rm '{}' ';' + install -D -m 0755 /builddir/build/SOURCES/libifp.hotplug /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/sbin/libifp-hotplug + install -D -m 0644 /builddir/build/SOURCES/10-libifp.rules /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/lib/udev/rules.d/10-libifp.rules + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.0.2-25.fc29 --unique-debug-suffix -1.0.0.2-25.fc29.riscv64 --unique-debug-src-base libifp-1.0.0.2-25.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libifp-1.0.0.2 extracting debug info from /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/lib64/libifp.so.4.1.4 extracting debug info from /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/bin/ifpline /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 321 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libifp-1.0.0.2-25.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Uojyff + umask 022 + cd /builddir/build/BUILD + cd libifp-1.0.0.2 + DOCDIR=/builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/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-25.fc29.riscv64/usr/share/doc/libifp + cp -pr ChangeLog /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/share/doc/libifp + cp -pr README /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/share/doc/libifp + cp -pr TODO /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/share/doc/libifp + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fvz5aN + umask 022 + cd /builddir/build/BUILD + cd libifp-1.0.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/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-25.fc29.riscv64/usr/share/licenses/libifp + cp -pr COPYING /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64/usr/share/licenses/libifp + exit 0 Provides: libifp = 1.0.0.2-25.fc29 libifp(riscv-64) = 1.0.0.2-25.fc29 libifp.so.4()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: /bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libifp.so.4()(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: libifp-devel-1.0.0.2-25.fc29.riscv64 Provides: libifp-devel = 1.0.0.2-25.fc29 libifp-devel(riscv-64) = 1.0.0.2-25.fc29 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-25.fc29.riscv64 Provides: libifp-debugsource = 1.0.0.2-25.fc29 libifp-debugsource(riscv-64) = 1.0.0.2-25.fc29 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-25.fc29.riscv64 Provides: debuginfo(build-id) = 701fd0e24eb3a9cae460ce17a9b74480d92fc67e debuginfo(build-id) = fa10c5523ce9620aca770b3bee267e01a662b9b7 libifp-debuginfo = 1.0.0.2-25.fc29 libifp-debuginfo(riscv-64) = 1.0.0.2-25.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libifp-debugsource(riscv-64) = 1.0.0.2-25.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 Wrote: /builddir/build/RPMS/libifp-1.0.0.2-25.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libifp-devel-1.0.0.2-25.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libifp-debugsource-1.0.0.2-25.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libifp-debuginfo-1.0.0.2-25.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iT7AId + umask 022 + cd /builddir/build/BUILD + cd libifp-1.0.0.2 + rm -rf /builddir/build/BUILDROOT/libifp-1.0.0.2-25.fc29.riscv64 + exit 0 Child return code was: 0