Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/iprutils.spec'], chrootPath='/var/lib/mock/dist-circle9-build-66638-23339/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/iprutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/iprutils-2.4.19-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/iprutils.spec'], chrootPath='/var/lib/mock/dist-circle9-build-66638-23339/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/iprutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qv0N8w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iprutils-rel-2-4-19 + /usr/bin/gzip -dc /builddir/build/SOURCES/iprutils-2.4.19.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iprutils-rel-2-4-19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force aclocal: warning: couldn't open directory 'build-aux': No such file or directory autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux'. libtoolize: copying file 'build-aux/libtool.m4' libtoolize: copying file 'build-aux/ltoptions.m4' libtoolize: copying file 'build-aux/ltsugar.m4' libtoolize: copying file 'build-aux/ltversion.m4' libtoolize: copying file 'build-aux/lt~obsolete.m4' libtoolize: Consider adding '-I build-aux' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:19: installing './compile' configure.ac:21: installing './config.guess' configure.ac:21: installing './config.sub' configure.ac:15: installing './install-sh' configure.ac:15: installing './missing' Makefile.am: installing './depcomp' Makefile.am:55: installing './py-compile' autoreconf: Leaving directory `.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qf4m5G + umask 022 + cd /builddir/build/BUILD + cd iprutils-rel-2-4-19 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + 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 2022-06-20 00:37:40.783873278 +0800 +++ ./configure 2022-06-20 00:37:41.501884367 +0800 @@ -1783,7 +1783,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-06-20 00:37:41.501884367 +0800 +++ ./configure 2022-06-20 00:37:41.520884660 +0800 @@ -6106,7 +6106,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'" @@ -13886,7 +13886,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.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' + 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' + '[' 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 + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-systemd --without-initscripts --disable-static --disable-sosreport 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 i686-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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... i686-redhat-linux-gnu checking host system type... i686-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 i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-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 i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6112: -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 i686-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for curses_version in -lncurses... yes checking for free_form in -lform... yes checking for pow in -lm... yes checking for new_menu in -lmenu... yes checking for show_panel in -lpanel... yes checking for zlibVersion in -lz... yes ./configure: line 12897: --cflags: command not found checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking form.h usability... yes checking form.h presence... yes checking for form.h... yes checking menu.h usability... yes checking menu.h presence... yes checking for menu.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for getcwd... yes checking for isascii... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for pow... no checking for setenv... yes checking for setlocale... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating systemd/Makefile config.status: creating init.d/Makefile config.status: creating spec/Makefile config.status: creating udev/Makefile config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making all in . make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.19.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.19.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.19.1\" -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_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o iprinit.o iprinit.c make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.19.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.19.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.19.1\" -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_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o iprdump.o iprdump.c make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' iprdump.c: In function 'kevent_handler': iprdump.c:306:19: warning: unused variable 'i' [-Wunused-variable] 306 | int host, i; | ^ iprdump.c: In function 'write_dump': iprdump.c:236:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | write(f_dump, &dump, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ iprdump.c: In function 'dump_ioa': iprdump.c:165:43: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 100 [-Wformat-overflow=] 165 | sprintf(fname, "%s%s", usr_dir, dirent[i]->d_name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprdump.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 1 and 355 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprdump.c:229:31: warning: '%s' directive writing up to 99 bytes into a region of size between 1 and 100 [-Wformat-overflow=] 229 | sprintf(dump_path, "%s%s", usr_dir, dump_file); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprdump.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 1 and 199 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.19.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.19.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.19.1\" -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_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o iprupdate.o iprupdate.c make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.19.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.19.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.19.1\" -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_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o iprdbg.o iprdbg.c make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' iprdbg.c: In function 'format_flit': iprdbg.c:181:20: warning: variable 'len' set but not used [-Wunused-but-set-variable] 181 | signed int len; | ^~~ iprdbg.c: In function 'select_ioa': iprdbg.c:724:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 724 | fgets(cmd_line, 999, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.19.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.19.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.19.1\" -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_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o iprlib.lo iprlib.c libtool: compile: gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.19.1\" "-DPACKAGE_STRING=\"iprutils 2.4.19.1\"" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.19.1\" -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_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c iprlib.c -fPIC -DPIC -o .libs/iprlib.o make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' iprlib.c:5407:25: warning: argument 2 of type 'u8[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] 5407 | int sg_ioctl(int fd, u8 cdb[IPR_CCB_CDB_LEN], | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from iprlib.c:17: iprlib.h:2823:19: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2823 | int sg_ioctl(int, u8 *, void *, u32, u32, struct sense_data_t *, u32); | ^~~~ iprlib.c:5430:33: warning: argument 2 of type 'u8[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] 5430 | int sg_ioctl_noretry(int fd, u8 cdb[IPR_CCB_CDB_LEN], | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from iprlib.c:17: iprlib.h:2824:27: note: previously declared as 'u8 *' {aka 'unsigned char *'} 2824 | int sg_ioctl_noretry(int, u8 *, void *, u32, u32, struct sense_data_t *, u32); | ^~~~ iprlib.c:5453:44: warning: argument 2 of type 'u8[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] 5453 | static int sg_ioctl_by_name(char *name, u8 cdb[IPR_CCB_CDB_LEN], | ~~~^~~~~~~~~~~~~~~~~~~~ iprlib.c:358:37: note: previously declared as 'u8 *' {aka 'unsigned char *'} 358 | static int sg_ioctl_by_name(char *, u8 *, void *, u32, u32, | ^~~~ iprlib.c: In function 'get_sg_name': iprlib.c:5909:13: warning: unused variable 'i' [-Wunused-variable] 5909 | int i, rc = -ENXIO; | ^ iprlib.c: In function '__check_current_config': iprlib.c:6772:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 6772 | if (ipr_is_gscsi(dev) || ipr_is_af_dasd_device(dev) && !device_details_only) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_save_dev_attr': iprlib.c:7123:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 7123 | sprintf(category,"[%s %lx]", IPR_CATEGORY_DEVICE, | ~~^ | | | long unsigned int | %llx 7124 | dev->scsi_dev_data->device_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long long unsigned int} iprlib.c: In function 'ipr_get_saved_dev_attr': iprlib.c:7237:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 7237 | sprintf(category,"[%s %lx]", IPR_CATEGORY_DEVICE, | ~~^ | | | long unsigned int | %llx 7238 | dev->scsi_dev_data->device_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long long unsigned int} iprlib.c:7245:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type '__uint64_t' {aka 'long long unsigned int'} [-Wformat=] 7245 | sprintf(category,"[%s %lx]", IPR_CATEGORY_DEVICE, | ~~^ | | | long unsigned int | %llx iprlib.c: In function 'ipr_known_zeroed_is_saved': iprlib.c:7526:13: warning: unused variable 'len' [-Wunused-variable] 7526 | int len; | ^~~ In file included from iprlib.c:17: iprlib.c: In function 'ipr_set_format_completed_bit': iprlib.h:3181:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 3181 | syslog_dbg("%d:%d:%d:%d: " fmt, (dev)->ioa->host_num, \ | ^~~~~~~~~~~~~~~ iprlib.h:3162:17: note: in definition of macro 'syslog_dbg' 3162 | syslog(LOG_ERR, __VA_ARGS__);\ | ^~~~~~~~~~~ iprlib.c:7550:9: note: in expansion of macro 'scsi_dbg' 7550 | scsi_dbg(dev, "Setting device formatted bit. Device ID=%lx\n", dev->scsi_dev_data->device_id); | ^~~~~~~~ iprlib.h:3172:21: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 3172 | syslog(level, "%d:%d:%d:%d: " fmt, dev->ioa->host_num, \ | ^~~~~~~~~~~~~~~ iprlib.h:3188:7: note: in expansion of macro 'scsi_log' 3188 | scsi_log(LOG_NOTICE, dev, fmt, ##__VA_ARGS__) | ^~~~~~~~ iprlib.c:7561:17: note: in expansion of macro 'scsi_info' 7561 | scsi_info(dev, "Page 20 mode sense failed. Device ID=%lx\n", dev->scsi_dev_data->device_id); | ^~~~~~~~~ iprlib.h:3172:21: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 3172 | syslog(level, "%d:%d:%d:%d: " fmt, dev->ioa->host_num, \ | ^~~~~~~~~~~~~~~ iprlib.h:3188:7: note: in expansion of macro 'scsi_log' 3188 | scsi_log(LOG_NOTICE, dev, fmt, ##__VA_ARGS__) | ^~~~~~~~ iprlib.c:7584:17: note: in expansion of macro 'scsi_info' 7584 | scsi_info(dev, "Page 20 mode select failed. Device ID=%lx\n", dev->scsi_dev_data->device_id); | ^~~~~~~~~ iprlib.c: In function 'ipr_count_devices_in_vset': iprlib.c:9624:25: warning: unused variable 'vset' [-Wunused-variable] 9624 | struct ipr_dev *vset, *temp; | ^~~~ iprlib.c: In function 'ipr_set_manage_start_stop': iprlib.c:10273:13: warning: variable 'value' set but not used [-Wunused-but-set-variable] 10273 | int value; | ^~~~~ iprlib.c: In function '_sg_ioctl': iprlib.c:5306:25: warning: ignoring return value of 'posix_memalign' declared with attribute 'warn_unused_result' [-Wunused-result] 5306 | posix_memalign(&(iovec[i].iov_base), IPR_S_G_BUFF_ALIGNMENT, segment_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_config_file_hdr': iprlib.c:6994:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 6994 | system(cmd_str); | ^~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_update_ioa_fw': iprlib.c:9160:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 9160 | getcwd(cwd, sizeof(cwd)); | ^~~~~~~~~~~~~~~~~~~~~~~~ iprlib.c:9188:17: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result] 9188 | symlink(img_file, ucode_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_get_hotplug_dir': iprlib.c:8440:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 8440 | fgets(buf, 100, file); | ^~~~~~~~~~~~~~~~~~~~~ iprlib.c: In function 'scan_fw_dir': iprlib.c:8769:52: warning: '%s' directive writing up to 255 bytes into a region of size 99 [-Wformat-overflow=] 8769 | sprintf(ret[len].file, "%s/%s", path, dirent[i]->d_name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_dev_wcache_policy': iprlib.c:3648:45: warning: '%s' directive writing up to 4095 bytes into a region of size 4075 [-Wformat-overflow=] 3648 | sprintf(path, "/sys/class/scsi_disk/%s", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_save_attr.constprop.0': iprlib.c:7037:32: warning: '.1' directive writing 2 bytes into a region of size between 1 and 64 [-Wformat-overflow=] 7037 | sprintf(temp_fname, "%s.1", fname); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 66 bytes into a destination of size 64 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_set_dev_wcache_policy.isra.0': iprlib.c:3597:45: warning: '%s' directive writing up to 4095 bytes into a region of size 4075 [-Wformat-overflow=] 3597 | sprintf(path, "/sys/class/scsi_disk/%s", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__tool_init': iprlib.c:1973:52: warning: '%s' directive writing up to 4095 bytes into a region of size 4079 [-Wformat-overflow=] 1973 | sprintf(locpath, "/proc/device-tree%s/ibm,loc-code", | ^~ 1974 | devspec); | ~~~~~~~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:2005:34: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 2005 | sprintf(slot, "%s%s", rootslot, slotdir[i]->d_name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 1 and 4351 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:1920:27: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1920 | sprintf(fpath, "%s%s/address", path, name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 9 and 4359 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:1887:27: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1887 | sprintf(fpath, "%s%s/phy_location", path, name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 14 and 4364 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:2035:57: warning: '%s' directive writing up to 4095 bytes into a region of size 4075 [-Wformat-overflow=] 2035 | sprintf(slotpath, "/sys/bus/pci/devices/%s/", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:2043:43: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2043 | sprintf(attr, "%s/%s", slotpath, slotdir[j]->d_name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:2158:49: warning: '/scsi_host/' directive writing 11 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2158 | sprintf(scsipath, "%s/%s/scsi_host/%s", devpath, | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 13 or more bytes (assuming 4108) into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_check_allow_restart': iprlib.c:3524:44: warning: '%s' directive writing up to 4095 bytes into a region of size 4075 [-Wformat-overflow=] 3524 | sprintf(path,"/sys/class/scsi_disk/%s", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_allow_restart': iprlib.c:3549:44: warning: '%s' directive writing up to 4095 bytes into a region of size 4075 [-Wformat-overflow=] 3549 | sprintf(path,"/sys/class/scsi_disk/%s", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'get_sg_name': iprlib.c:5914:50: warning: '%s' directive writing up to 4095 bytes into a region of size 4073 [-Wformat-overflow=] 5914 | sprintf(devpath, "/sys/class/scsi_device/%s/device/scsi_generic", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 44 and 4139 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:5924:51: warning: '%s' directive writing up to 255 bytes into a region of size 59 [-Wformat-overflow=] 5924 | sprintf(scsi_dev->gen_name, "/dev/%s", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 6 and 261 bytes into a destination of size 64 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__check_current_config': iprlib.c:5962:58: warning: '%s' directive writing up to 4095 bytes into a region of size 4073 [-Wformat-overflow=] 5962 | sprintf(devpath, "/sys/class/scsi_device/%s/device/block", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 37 and 4132 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:5972:67: warning: '%s' directive writing up to 255 bytes into a region of size 59 [-Wformat-overflow=] 5972 | sprintf(scsi_dev_table[i].dev_name, "/dev/%s", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 6 and 261 bytes into a destination of size 64 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprlib.c:17: In function 'strncpy', inlined from 'get_res_addr' at iprlib.c:6308:4, inlined from '__check_current_config' at iprlib.c:6768:4: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprlib.c: In function '__check_current_config': iprlib.c:6308:25: note: length computed here 6308 | strncpy(dev->res_path_name, dev->scsi_dev_data->res_path, strlen(dev->scsi_dev_data->res_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprlib.c:17: In function 'strncpy', inlined from '__check_current_config' at iprlib.c:6841:6: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_modify_bus_attr': iprlib.c:7214:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 7214 | sprintf(category,"[%s %d]", IPR_CATEGORY_BUS, bus); | ^ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:7214:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 7214 | sprintf(category,"[%s %d]", IPR_CATEGORY_BUS, bus); | ^ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:7214:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 7214 | sprintf(category,"[%s %d]", IPR_CATEGORY_BUS, bus); | ^ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:7214:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 7214 | sprintf(category,"[%s %d]", IPR_CATEGORY_BUS, bus); | ^ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:7102:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 7102 | sprintf(category,"[%s %d]", IPR_CATEGORY_BUS, bus); | ^ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c:7214:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 7214 | sprintf(category,"[%s %d]", IPR_CATEGORY_BUS, bus); | ^ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_read_dev_attr': iprlib.c:8288:50: warning: '%s' directive writing up to 4095 bytes into a region of size 4073 [-Wformat-overflow=] 8288 | sprintf(devpath, "/sys/class/scsi_device/%s/device", sysfs_dev_name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_write_dev_attr': iprlib.c:8315:50: warning: '%s' directive writing up to 4095 bytes into a region of size 4073 [-Wformat-overflow=] 8315 | sprintf(devpath, "/sys/class/scsi_device/%s/device", sysfs_dev_name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_set_manage_start_stop': iprlib.c:10275:45: warning: '%s' directive writing up to 4095 bytes into a region of size 4075 [-Wformat-overflow=] 10275 | sprintf(path, "/sys/class/scsi_disk/%s", | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprlib.c:17: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o libipr.la iprlib.lo libtool: link: ar cru .libs/libipr.a .libs/iprlib.o libtool: link: ranlib .libs/libipr.a libtool: link: ( cd ".libs" && rm -f "libipr.la" && ln -s "../libipr.la" "libipr.la" ) make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprdump iprdump.o libipr.la libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprdump iprdump.o ./.libs/libipr.a make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprinit iprinit.o libipr.la libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprinit iprinit.o ./.libs/libipr.a make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprdbg iprdbg.o libipr.la libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprdbg iprdbg.o ./.libs/libipr.a make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprupdate iprupdate.o libipr.la libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprupdate iprupdate.o ./.libs/libipr.a make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.19.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.19.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.19.1\" -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_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o iprconfig.o iprconfig.c make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' In file included from iprconfig.c:12: iprconfig.c: In function 'wait_for_formatted_af_dasd': iprlib.h:3181:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 3181 | syslog_dbg("%d:%d:%d:%d: " fmt, (dev)->ioa->host_num, \ | ^~~~~~~~~~~~~~~ iprlib.h:3162:17: note: in definition of macro 'syslog_dbg' 3162 | syslog(LOG_ERR, __VA_ARGS__);\ | ^~~~~~~~~~~ iprconfig.c:268:33: note: in expansion of macro 'scsi_dbg' 268 | scsi_dbg(dev->dev, "Format complete. AF DASD found. New Device ID=%lx, Old Device ID=%lx\n", | ^~~~~~~~ iprlib.h:3181:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 3181 | syslog_dbg("%d:%d:%d:%d: " fmt, (dev)->ioa->host_num, \ | ^~~~~~~~~~~~~~~ iprlib.h:3162:17: note: in definition of macro 'syslog_dbg' 3162 | syslog(LOG_ERR, __VA_ARGS__);\ | ^~~~~~~~~~~ iprconfig.c:268:33: note: in expansion of macro 'scsi_dbg' 268 | scsi_dbg(dev->dev, "Format complete. AF DASD found. New Device ID=%lx, Old Device ID=%lx\n", | ^~~~~~~~ iprconfig.c:233:13: warning: variable 'device_id' set but not used [-Wunused-but-set-variable] 233 | u64 device_id; | ^~~~~~~~~ iprconfig.c: In function 'add_string_to_body': iprconfig.c:1260:13: warning: variable 'max_y' set but not used [-Wunused-but-set-variable] 1260 | int max_y, max_x; | ^~~~~ iprconfig.c: In function 'evaluate_device': iprconfig.c:1653:29: warning: variable 'res_addr' set but not used [-Wunused-but-set-variable] 1653 | struct ipr_res_addr res_addr; | ^~~~~~~~ iprconfig.c: In function 'processing': iprconfig.c:1752:20: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] 1752 | int max_y, max_x; | ^~~~~ iprconfig.c: In function 'display_features_menu': iprconfig.c:1769:13: warning: unused variable 'offset' [-Wunused-variable] 1769 | int offset = 0; | ^~~~~~ iprconfig.c:1767:21: warning: unused variable 'file_stat' [-Wunused-variable] 1767 | struct stat file_stat; | ^~~~~~~~~ iprconfig.c:1765:14: warning: unused variable 'cmnd' [-Wunused-variable] 1765 | char cmnd[MAX_CMD_LENGTH]; | ^~~~ iprconfig.c: In function 'main_menu': iprconfig.c:1799:31: warning: variable 'scsi_dev_data' set but not used [-Wunused-but-set-variable] 1799 | struct scsi_dev_data *scsi_dev_data; | ^~~~~~~~~~~~~ iprconfig.c: In function 'device_stats': iprconfig.c:2851:15: warning: unused variable 'tmp' [-Wunused-variable] 2851 | char *tmp; | ^~~ iprconfig.c: In function 'confirm_raid_stop': iprconfig.c:3178:25: warning: variable 'ioa' set but not used [-Wunused-but-set-variable] 3178 | struct ipr_ioa *ioa; | ^~~ iprconfig.c: In function 'do_confirm_raid_stop': iprconfig.c:3320:20: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] 3320 | int max_y, max_x; | ^~~~~ iprconfig.c: In function 'configure_raid_parameters': iprconfig.c:3722:25: warning: variable 'start_y' set but not used [-Wunused-but-set-variable] 3722 | int max_x,max_y,start_y,start_x; | ^~~~~~~ iprconfig.c: In function 'configure_raid_migrate': iprconfig.c:5325:25: warning: variable 'start_y' set but not used [-Wunused-but-set-variable] 5325 | int max_x,max_y,start_y,start_x; | ^~~~~~~ iprconfig.c: In function 'format_include_cand': iprconfig.c:6344:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 6344 | int rc = 0; | ^~ In file included from iprconfig.c:12: iprconfig.c: In function 'add_format_device': iprlib.h:3181:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 3181 | syslog_dbg("%d:%d:%d:%d: " fmt, (dev)->ioa->host_num, \ | ^~~~~~~~~~~~~~~ iprlib.h:3162:17: note: in definition of macro 'syslog_dbg' 3162 | syslog(LOG_ERR, __VA_ARGS__);\ | ^~~~~~~~~~~ iprconfig.c:6648:9: note: in expansion of macro 'scsi_dbg' 6648 | scsi_dbg(dev, "Formatting device to %d bytes/block. Device ID=%lx\n", | ^~~~~~~~ iprconfig.c: In function 'configure_af_device': iprconfig.c:6665:13: warning: variable 'dev_type' set but not used [-Wunused-but-set-variable] 6665 | int dev_type; | ^~~~~~~~ iprconfig.c: In function 'process_conc_maint': iprconfig.c:7563:20: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] 7563 | int max_y, max_x; | ^~~~~ iprconfig.c:7552:32: warning: variable 'dev_rcd' set but not used [-Wunused-but-set-variable] 7552 | struct ipr_dev_record *dev_rcd; | ^~~~~~~ iprconfig.c: In function 'alloc_empty_slot_64bit': iprconfig.c:7928:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 7928 | int n, len; | ^ iprconfig.c: In function 'get_conc_devs': iprconfig.c:8282:13: warning: variable 'ses_bus' set but not used [-Wunused-but-set-variable] 8282 | int ses_bus, scsi_id_found, is_spi, is_vses; | ^~~~~~~ iprconfig.c: In function 'init_device': iprconfig.c:8612:13: warning: variable 'dev_type' set but not used [-Wunused-but-set-variable] 8612 | int dev_type; | ^~~~~~~~ iprconfig.c: In function 'send_dev_inits': iprconfig.c:8974:20: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] 8974 | int max_y, max_x; | ^~~~~ iprconfig.c: In function 'reclaim_result': iprconfig.c:9428:19: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] 9428 | int max_y,max_x; | ^~~~~ iprconfig.c: In function 'display_menu': iprconfig.c:10614:19: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] 10614 | int max_y,max_x; | ^~~~~ iprconfig.c: In function 'change_disk_config': iprconfig.c:11120:13: warning: variable 'tcq_enabled' set but not used [-Wunused-but-set-variable] 11120 | int tcq_enabled = 0; | ^~~~~~~~~~~ iprconfig.c: In function 'ioa_config_menu': iprconfig.c:11413:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 11413 | if (ioa_config_attr->rebuild_rate < 0) | ^~ iprconfig.c:11416:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 11416 | ioa_config_attr->rebuild_rate = | ^~~~~~~~~~~~~~~ iprconfig.c: In function 'ibm_storage_log_tail': iprconfig.c:12290:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 12290 | if (dot = strstr(line, prefix)) { | ^~~ iprconfig.c:12293:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 12293 | } else if (dot = strstr(line, local_s)) { | ^~~ iprconfig.c:12296:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 12296 | } else if (dot = strstr(line, kernel_s)) { | ^~~ iprconfig.c:12238:17: warning: unused variable 'len' [-Wunused-variable] 12238 | int rc, len; | ^~~ iprconfig.c: In function 'ibm_storage_log': iprconfig.c:12444:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 12444 | if (dot = strstr(line, prefix)) { | ^~~ iprconfig.c:12447:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 12447 | } else if (dot = strstr(line, local_s)) { | ^~~ iprconfig.c:12450:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 12450 | } else if (dot = strstr(line, kernel_s)) { | ^~~ iprconfig.c:12383:17: warning: unused variable 'len' [-Wunused-variable] 12383 | int rc, len; | ^~~ iprconfig.c: In function 'kernel_log': iprconfig.c:12496:13: warning: unused variable 'len' [-Wunused-variable] 12496 | int len; | ^~~ iprconfig.c: In function 'iprconfig_log': iprconfig.c:12574:13: warning: unused variable 'len' [-Wunused-variable] 12574 | int len; | ^~~ iprconfig.c: In function 'ibm_boot_log': iprconfig.c:12832:13: warning: unused variable 'len' [-Wunused-variable] 12832 | int len; | ^~~ iprconfig.c: In function 'raid_create': iprconfig.c:14230:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 14230 | if (dev->block_dev_class & IPR_SSD) | ^ In file included from iprconfig.c:22: iprconfig.h:14:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 14 | #define _(string) (string) | ^~~~~~~~ iprconfig.c:14313:41: note: in expansion of macro '_' 14313 | syslog(LOG_ERR, _("Cannot find device: %lx\n"), | ^ iprconfig.c: In function 'raid_include_cmd': iprconfig.c:14412:25: warning: variable 'ioa' set but not used [-Wunused-but-set-variable] 14412 | struct ipr_ioa *ioa; | ^~~ iprconfig.c: In function 'get_drive_phy_loc': iprconfig.c:17780:13: warning: variable 'ses_bus' set but not used [-Wunused-but-set-variable] 17780 | int ses_bus, scsi_id_found, is_spi, is_vses; | ^~~~~~~ iprconfig.c: In function 'print_ssd_report': iprconfig.c:19232:38: warning: pointer targets in passing argument 2 of 'ipr_strncpy_0' differ in signedness [-Wpointer-sign] 19232 | ipr_strncpy_0(buffer, std_inq.asm_part_num, | ~~~~~~~^~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from iprconfig.c:12: iprlib.h:3134:52: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 3134 | static inline void ipr_strncpy_0(char *dest, char *source, int length) | ~~~~~~^~~~~~ iprconfig.c:19257:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 19257 | snprintf(buffer, BUFSIZ, "%ld GB", total_gb_writ); | ~~^ ~~~~~~~~~~~~~ | | | | | u64 {aka long long unsigned int} | long int | %lld iprconfig.c:19262:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 19262 | snprintf(buffer, BUFSIZ, "%ld GB", aux * 1024L); | ~~^ ~~~~~~~~~~~ | | | | long int u64 {aka long long unsigned int} | %lld iprconfig.c: In function 'main': iprconfig.c:19491:61: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 19491 | int next_editor, next_dir, next_cmd, next_args, i, rc = 0; | ^~ iprconfig.c: In function 'ibm_storage_log_tail': iprconfig.c:12301:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 12301 | write(log_fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'ibm_storage_log': iprconfig.c:12455:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 12455 | write(log_fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'kernel_log': iprconfig.c:12533:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 12533 | write(log_fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'iprconfig_log': iprconfig.c:12614:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 12614 | write(log_fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'ibm_boot_log': iprconfig.c:12869:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 12869 | write(log_fd, line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'main': iprconfig.c:19550:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 19550 | system("modprobe sg"); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprconfig.c:12: In function 'strncpy', inlined from 'add_i_con' at iprconfig.c:347:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'get_dev_for_slot' at iprconfig.c:8023:5: /usr/include/bits/string_fortified.h:135:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'get_dev_for_slot': iprconfig.c:8023:33: note: length computed here 8023 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprconfig.c:12: In function 'strncat', inlined from 'get_dev_for_slot_64bit' at iprconfig.c:8071:5: /usr/include/bits/string_fortified.h:135:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'get_dev_for_slot_64bit': iprconfig.c:8071:33: note: length computed here 8071 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'do_confirm_raid_stop': iprconfig.c:3369:64: warning: 'vset' may be used uninitialized in this function [-Wmaybe-uninitialized] 3369 | ipr_scan(vset->ioa, ra->bus, ra->target, ra->lun); | ~~^~~~~~~~ iprconfig.c: In function 'query_devices_min_max_raid_migrate': iprconfig.c:17080:12: warning: 'cap' may be used uninitialized [-Wmaybe-uninitialized] 17080 | if (!cap) { | ^ iprconfig.c: In function 'ibm_storage_log_tail': iprconfig.c:12283:53: warning: ' kernel: ipr' directive output may be truncated writing 12 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 12283 | snprintf(prefix, sizeof(prefix), "%s kernel: ipr", host); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprconfig.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 13 and 268 bytes into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'ibm_storage_log': iprconfig.c:12435:61: warning: ' kernel: ipr' directive output may be truncated writing 12 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 12435 | snprintf(prefix, sizeof(prefix), "%s kernel: ipr", | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprconfig.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 13 and 268 bytes into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprconfig.c:12: In function 'strncpy', inlined from 'alloc_empty_slot_64bit.constprop.0' at iprconfig.c:7937:2: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'alloc_empty_slot_64bit.constprop.0': iprconfig.c:7937:9: note: length computed here 7937 | strncpy(scsi_dev_data->res_path, ses->scsi_dev_data->res_path, strlen(ses->scsi_dev_data->res_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprconfig.c:12: In function 'strncpy', inlined from 'alloc_empty_slot_64bit.constprop.0' at iprconfig.c:7942:2: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'alloc_empty_slot_64bit.constprop.0': iprconfig.c:7942:9: note: length computed here 7942 | strncpy(dev->res_path_name, scsi_dev_data->res_path, strlen(scsi_dev_data->res_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprconfig.c:12: In function 'strncat', inlined from 'alloc_empty_slot_64bit.constprop.0' at iprconfig.c:7951:2: /usr/include/bits/string_fortified.h:135:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'alloc_empty_slot_64bit.constprop.0': iprconfig.c:7951:9: note: length computed here 7951 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprconfig.c:12: In function 'strncat', inlined from 'alloc_empty_slot' at iprconfig.c:7908:2: /usr/include/bits/string_fortified.h:135:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'alloc_empty_slot': iprconfig.c:7908:9: note: length computed here 7908 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'print_ssd_report.constprop.0': iprconfig.c:19274:31: warning: '%d' directive output may be truncated writing between 1 and 9 bytes into a region of size 4 [-Wformat-truncation=] 19274 | snprintf (buffer, 4, "%d", uptime / 24); | ^~ iprconfig.c:19274:30: note: directive argument in the range [0, 178956970] 19274 | snprintf (buffer, 4, "%d", uptime / 24); | ^~~~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprconfig.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 2 and 10 bytes into a destination of size 4 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from iprlib.h:32, from iprconfig.c:12: In function 'strncat', inlined from 'get_ses_phy_loc' at iprconfig.c:2680:4: /usr/include/bits/string_fortified.h:135:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'get_ses_phy_loc': iprconfig.c:2680:25: note: length computed here 2680 | strncat(dev->physical_location, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'raid_start_complete': iprconfig.c:4322:50: warning: 'status_record' may be used uninitialized in this function [-Wmaybe-uninitialized] 4322 | if (status_record->status == IPR_CMD_STATUS_MIXED_BLK_DEV_CLASESS) | ~~~~~~~~~~~~~^~~~~~~~ iprconfig.c: In function 'do_raid_migrate': iprconfig.c:4770:12: warning: 'cap' may be used uninitialized [-Wmaybe-uninitialized] 4770 | if (!cap) { | ^ iprconfig.c: In function 'remove_or_add_back_device_64bit': iprconfig.c:7489:13: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] 7489 | int rc; | ^~ In file included from iprconfig.c:22: iprconfig.c: In function 'configure_raid_parameters': iprconfig.h:14:19: warning: ' - recommend' directive writing 12 bytes into a region of size between 9 and 24 [-Wformat-overflow=] 14 | #define _(string) (string) | ^~~~~~~~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprconfig.c:12: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 13 and 28 bytes into a destination of size 24 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'change_disk_config': iprconfig.c:11148:34: warning: '%s' directive writing up to 4095 bytes into a region of size 192 [-Wformat-overflow=] 11148 | sprintf(buffer, "Device: %s %s\n", dev->scsi_dev_data->sysfs_device_name, | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprconfig.c:12: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 13 and 4171 bytes into a destination of size 200 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'configure_raid_migrate': iprconfig.c:5423:27: warning: '%s' directive writing up to 63 bytes into a region of size 60 [-Wformat-overflow=] 5423 | sprintf(dev_str, "%s - Protection Level . . . . . . :", dev->dev_name); | ^~ In file included from /usr/include/stdio.h:888, from iprlib.h:20, from iprconfig.c:12: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 34 and 97 bytes into a destination of size 60 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'process_conc_maint': iprconfig.c:7701:46: warning: 'dev' may be used uninitialized in this function [-Wmaybe-uninitialized] 7701 | if (!remove_or_add_back_device_64bit(dev)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprconfig iprconfig.o libipr.la -lz -lpanel -lmenu -lm -lform -lncurses libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -o iprconfig iprconfig.o ./.libs/libipr.a -lz -lpanel -lmenu -lm -lform -lncurses make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' In function 'strncat', inlined from 'alloc_empty_slot' at iprconfig.c:7908:2: /usr/include/bits/string_fortified.h:135:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^ iprconfig.c: In function 'alloc_empty_slot': iprconfig.c:7908:9: note: length computed here 7908 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ In function 'strncat', inlined from 'get_dev_for_slot' at iprconfig.c:8023:5: /usr/include/bits/string_fortified.h:135:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^ iprconfig.c: In function 'get_dev_for_slot': iprconfig.c:8023:33: note: length computed here 8023 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ In function 'strncat', inlined from 'get_dev_for_slot_64bit' at iprconfig.c:8071:5: /usr/include/bits/string_fortified.h:135:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^ iprconfig.c: In function 'get_dev_for_slot_64bit': iprconfig.c:8071:33: note: length computed here 8071 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ In function 'strncat', inlined from 'get_ses_phy_loc.isra' at iprconfig.c:2680:4: /usr/include/bits/string_fortified.h:135:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^ iprconfig.c: In function 'get_ses_phy_loc.isra': iprconfig.c:2680:25: note: length computed here 2680 | strncat(dev->physical_location, buffer, strlen(buffer)); | ^ In function 'strncat', inlined from 'alloc_empty_slot_64bit.constprop' at iprconfig.c:7951:2: /usr/include/bits/string_fortified.h:135:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^ iprconfig.c: In function 'alloc_empty_slot_64bit.constprop': iprconfig.c:7951:9: note: length computed here 7951 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ Making all in init.d make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/init.d' sed -e 's,[@]sbindir[@],/usr/sbin,g' < iprha.in > iprha make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/init.d' Making all in spec make[1]: Nothing to be done for 'all'. Making all in systemd make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' sed -e 's,[@]sbindir[@],/usr/sbin,g' < iprdump.service.in > iprdump.service make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' sed -e 's,[@]sbindir[@],/usr/sbin,g' < iprinit.service.in > iprinit.service make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' sed -e 's,[@]sbindir[@],/usr/sbin,g' < iprupdate.service.in > iprupdate.service make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' Making all in udev make[1]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sTjh2c + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386 ++ dirname /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386 + cd iprutils-rel-2-4-19 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386 'INSTALL=/usr/bin/install -p' Making install in . make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[2]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin' /usr/bin/install -p iprsos '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin' /bin/sh ./libtool --mode=install /usr/bin/install -p iprconfig iprdump iprupdate iprinit iprdbg '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin' libtool: install: /usr/bin/install -p iprconfig /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprconfig libtool: install: /usr/bin/install -p iprdump /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprdump libtool: install: /usr/bin/install -p iprupdate /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprupdate libtool: install: /usr/bin/install -p iprinit /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprinit libtool: install: /usr/bin/install -p iprdbg /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprdbg /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/etc/bash_completion.d' /usr/bin/install -p -m 644 iprconfig-bash-completion.sh '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/etc/bash_completion.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/man/man8' /usr/bin/install -p -m 644 iprconfig.8 iprdump.8 iprinit.8 iprupdate.8 iprsos.8 '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' Making install in init.d make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/init.d' make[2]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/init.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/etc/ha.d/resource.d' /usr/bin/install -p -m 644 iprha '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/etc/ha.d/resource.d' make[2]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/init.d' make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/init.d' Making install in spec make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/spec' make[2]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/spec' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/spec' make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/spec' Making install in systemd make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' make[2]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/lib/systemd/system/' /usr/bin/install -p -m 644 iprutils.target '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/lib/systemd/system/' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/lib/systemd/system/' /usr/bin/install -p -m 644 iprdump.service iprinit.service iprupdate.service '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/lib/systemd/system/' make[2]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/systemd' Making install in udev make[1]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/udev' make[2]: Entering directory '/builddir/build/BUILD/iprutils-rel-2-4-19/udev' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/lib/udev/rules.d/' /usr/bin/install -p -m 644 90-iprutils.rules '/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/lib/udev/rules.d/' make[2]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/udev' make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19/udev' + install -p -m 0644 /builddir/build/SOURCES/iprdbg.8.gz /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/man/man8/ + mv /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386//etc/bash_completion.d/iprconfig-bash-completion.sh /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386//etc/bash_completion.d/iprconfig + rm /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386//etc/ha.d/resource.d/iprha + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.4.19-5.el9 --unique-debug-suffix -2.4.19-5.el9.i386 --unique-debug-src-base iprutils-2.4.19-5.el9.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/iprutils-rel-2-4-19 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprconfig explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprdbg extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprconfig extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprdbg explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprdump explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprinit extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprdump explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprupdate extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprinit extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/sbin/iprupdate original debug info size: 1952kB, size after compression: 1636kB /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 1744 blocks + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/iprsos from /bin/bash to #!/usr/bin/bash Processing files: iprutils-2.4.19-5.el9.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pMSotO + umask 022 + cd /builddir/build/BUILD + cd iprutils-rel-2-4-19 + DOCDIR=/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/doc/iprutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/doc/iprutils + cp -pr README /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/doc/iprutils + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NvRiZO + umask 022 + cd /builddir/build/BUILD + cd iprutils-rel-2-4-19 + LICENSEDIR=/builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/licenses/iprutils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/licenses/iprutils + cp -pr LICENSE /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386/usr/share/licenses/iprutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: iprutils = 2.4.19-5.el9 iprutils(x86-32) = 2.4.19-5.el9 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: /usr/bin/bash libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libform.so.6 libm.so.6 libm.so.6(GLIBC_2.29) libmenu.so.6 libncurses.so.6 libpanel.so.6 libtinfo.so.6 libz.so.1 rtld(GNU_HASH) Processing files: iprutils-debugsource-2.4.19-5.el9.i686 Provides: iprutils-debugsource = 2.4.19-5.el9 iprutils-debugsource(x86-32) = 2.4.19-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: iprutils-debuginfo-2.4.19-5.el9.i686 Provides: debuginfo(build-id) = 28aa7a0d48768972b36de5a095fa6508c6c167d4 debuginfo(build-id) = 3bde9b59eb015fd41f95c45927600ad47589d56f debuginfo(build-id) = 4ac68994f8efc6f09c9d4a1975c529289dade22d debuginfo(build-id) = 95a28d74d816f820447100de1207048df1b83df7 debuginfo(build-id) = aebb5b21e638ac08c26311258a45f19eaa114b8f iprutils-debuginfo = 2.4.19-5.el9 iprutils-debuginfo(x86-32) = 2.4.19-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iprutils-debugsource(x86-32) = 2.4.19-5.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386 Wrote: /builddir/build/RPMS/iprutils-2.4.19-5.el9.i686.rpm Wrote: /builddir/build/RPMS/iprutils-debugsource-2.4.19-5.el9.i686.rpm Wrote: /builddir/build/RPMS/iprutils-debuginfo-2.4.19-5.el9.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WmHMeT + umask 022 + cd /builddir/build/BUILD + cd iprutils-rel-2-4-19 + /usr/bin/rm -rf /builddir/build/BUILDROOT/iprutils-2.4.19-5.el9.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0