Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iprutils.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-141800-9720/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/iprutils-2.4.19-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iprutils.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-141800-9720/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6Zk4h7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iprutils-rel-2-4-19 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/iprutils-2.4.19.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd iprutils-rel-2-4-19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.54wj0K + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd iprutils-rel-2-4-19 + autoreconf -vif autoreconf: export WARNINGS= 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: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:118: warning: The macro `AC_ERROR' is obsolete. configure.ac:118: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:118: the top level configure.ac:120: warning: The macro `AC_ERROR' is obsolete. configure.ac:120: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:120: the top level configure.ac:126: warning: The macro `AC_ERROR' is obsolete. configure.ac:126: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:126: the top level configure.ac:128: warning: The macro `AC_ERROR' is obsolete. configure.ac:128: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:128: the top level configure.ac:129: warning: The macro `AC_ERROR' is obsolete. configure.ac:129: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:129: the top level configure.ac:130: warning: The macro `AC_ERROR' is obsolete. configure.ac:130: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:130: the top level configure.ac:131: warning: The macro `AC_ERROR' is obsolete. configure.ac:131: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:131: the top level configure.ac:132: warning: The macro `AC_ERROR' is obsolete. configure.ac:132: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:132: the top level configure.ac:151: warning: The macro `AC_ERROR' is obsolete. configure.ac:151: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:651: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.ac:151: the top level 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: './config.guess' is updated autoreconf: Leaving directory '.' + '[' '-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 2024-04-23 21:28:47.498337435 +0800 +++ ./configure 2024-04-23 21:28:48.558356156 +0800 @@ -1737,7 +1737,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 2024-04-23 21:28:48.558356156 +0800 +++ ./configure 2024-04-23 21:28:48.582356580 +0800 @@ -6849,7 +6849,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'" @@ -14723,7 +14723,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-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 race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-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 loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6855: -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 loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for 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... yes 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 13633: --cflags: command not found checking for fcntl.h... yes checking for locale.h... yes checking for netinet/in.h... yes checking for nl_types.h... yes checking for paths.h... 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 for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/mount.h... yes checking for sys/socket.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for ncurses.h... yes checking for form.h... yes checking for menu.h... 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 -j32 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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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:964, from iprlib.h:20, from iprdump.c:17: In function 'sprintf', inlined from 'cleanup_old_dumps' at iprdump.c:165:4, inlined from 'get_dump_fname' at iprdump.c:190:2, inlined from 'write_dump' at iprdump.c:226:6, inlined from 'dump_ioa' at iprdump.c:273:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 1 and 355 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprdump.c: In function 'dump_ioa': 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 function 'sprintf', inlined from 'write_dump' at iprdump.c:229:2, inlined from 'dump_ioa' at iprdump.c:273:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 1 and 199 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c iprlib.c -fPIC -DPIC -o .libs/iprlib.o make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' iprlib.c: In function 'ipr_get_pci_slots': iprlib.c:2032:21: warning: the comparison will always evaluate as 'true' for the address of 'pci_device' will never be NULL [-Waddress] 2032 | if (!pci_slot[i].pci_device) | ^ iprlib.c:1815:14: note: 'pci_device' declared here 1815 | char pci_device[PATH_MAX]; | ^~~~~~~~~~ iprlib.c: At top level: 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], | ~~~^~~~~~~~~~~~~~~~~~~~ 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_scsi_dev_data': iprlib.c:5867:42: warning: format '%llX' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 *' {aka 'long unsigned int *'} [-Wformat=] 5867 | sscanf(buff, "%llX", &scsi_dev_data->device_id); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | u64 * {aka long unsigned int *} | long long unsigned int * | %lX 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_known_zeroed_is_saved': iprlib.c:7526:13: warning: unused variable 'len' [-Wunused-variable] 7526 | int len; | ^~~ 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:964, from iprlib.h:20: In function 'sprintf', inlined from 'scan_fw_dir' at iprlib.c:8769:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_dev_wcache_policy' at iprlib.c:3648:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_save_attr.constprop.0' at iprlib.c:7037:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 66 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_set_dev_wcache_policy.isra.0' at iprlib.c:3597:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_get_pci_slots' at iprlib.c:1973:3, inlined from '__tool_init' at iprlib.c:2214:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__tool_init': 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 function 'sprintf', inlined from 'ipr_get_pci_slots' at iprlib.c:2005:3, inlined from '__tool_init' at iprlib.c:2214:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 1 and 4351 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__tool_init': 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 function 'sprintf', inlined from 'ipr_add_slot_address' at iprlib.c:1920:2, inlined from 'ipr_get_pci_slots' at iprlib.c:2019:4, inlined from '__tool_init' at iprlib.c:2214:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 9 and 4359 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__tool_init': 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 function 'sprintf', inlined from 'ipr_add_slot_location' at iprlib.c:1887:2, inlined from 'ipr_get_pci_slots' at iprlib.c:2008:4, inlined from '__tool_init' at iprlib.c:2214:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 14 and 4364 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__tool_init': 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 function 'sprintf', inlined from 'ipr_get_pci_slots' at iprlib.c:2035:3, inlined from '__tool_init' at iprlib.c:2214:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__tool_init': 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 function 'sprintf', inlined from 'ipr_get_pci_slots' at iprlib.c:2043:4, inlined from '__tool_init' at iprlib.c:2214:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__tool_init': 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 function 'sprintf', inlined from '__tool_init' at iprlib.c:2158:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 13 or more bytes (assuming 4108) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_check_allow_restart' at iprlib.c:3524:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_allow_restart' at iprlib.c:3549:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'get_subsys_config': iprlib.h:1806:47: warning: array subscript 'struct ipr_mode_page25[0]' is partly outside array bounds of 'struct ipr_mode_pages[1]' [-Warray-bounds] 1806 | (char *)hdr < ((char *)(page) + (page)->hdr.page_length + sizeof((page)->hdr)); \ | ^~ iprlib.c:6059:31: note: at offset [4, 255] into object 'pages' of size 255 6059 | struct ipr_mode_pages pages; | ^~~~~ iprlib.c: In function 'ipr_set_ha_mode': iprlib.h:1806:47: warning: array subscript 'struct ipr_mode_page25[0]' is partly outside array bounds of 'struct ipr_mode_pages[1]' [-Warray-bounds] 1806 | (char *)hdr < ((char *)(page) + (page)->hdr.page_length + sizeof((page)->hdr)); \ | ^~ iprlib.c:5492:31: note: at offset [4, 255] into object 'pages' of size 255 5492 | struct ipr_mode_pages pages; | ^~~~~ 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 function 'sprintf', inlined from 'get_sg_name' at iprlib.c:5914:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 44 and 4139 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'get_sg_name': 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 function 'sprintf', inlined from 'get_sg_name' at iprlib.c:5924:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 6 and 261 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'get_sd_names' at iprlib.c:5962:3, inlined from '__check_current_config' at iprlib.c:6615:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 37 and 4132 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__check_current_config': 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 function 'sprintf', inlined from 'get_sd_names' at iprlib.c:5972:4, inlined from '__check_current_config' at iprlib.c:6615:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 6 and 261 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function '__check_current_config': iprlib.c:6308:25: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 6308 | strncpy(dev->res_path_name, dev->scsi_dev_data->res_path, strlen(dev->scsi_dev_data->res_path)); | ^ In function 'get_res_addr', inlined from '__check_current_config' at iprlib.c:6768:4: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprlib.c: In function '__check_current_config': iprlib.c:6841:41: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 6841 | strncpy((char *)ioa->yl_serial_num, (pchr + 3), YL_SERIAL_NUM_LEN); | ^ 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 function 'sprintf', inlined from 'ipr_get_saved_bus_attr' at iprlib.c:7214:2, inlined from 'ipr_modify_bus_attr' at iprlib.c:8069:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 function 'sprintf', inlined from 'ipr_get_saved_bus_attr' at iprlib.c:7214:2, inlined from 'ipr_modify_bus_attr' at iprlib.c:8076:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 function 'sprintf', inlined from 'ipr_get_saved_bus_attr' at iprlib.c:7214:2, inlined from 'ipr_modify_bus_attr' at iprlib.c:8083:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 function 'sprintf', inlined from 'ipr_get_saved_bus_attr' at iprlib.c:7214:2, inlined from 'ipr_modify_bus_attr' at iprlib.c:8091:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprlib.c: In function 'ipr_modify_bus_attr': 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 function 'sprintf', inlined from 'ipr_save_bus_attr' at iprlib.c:7102:2, inlined from 'ipr_modify_bus_attr' at iprlib.c:8102:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 function 'sprintf', inlined from 'ipr_get_saved_bus_attr' at iprlib.c:7214:2, inlined from 'ipr_modify_bus_attr' at iprlib.c:8109:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_read_dev_attr' at iprlib.c:8288:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_write_dev_attr' at iprlib.c:8315:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'ipr_set_manage_start_stop' at iprlib.c:10275:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libipr.la iprlib.lo libtool: link: ar cr .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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o iprconfig.o iprconfig.c make[1]: Leaving directory '/builddir/build/BUILD/iprutils-rel-2-4-19' iprconfig.c: In function 'wait_for_formatted_af_dasd': 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; | ^~ 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 'choose_ucode': iprconfig.c:12093:21: warning: the comparison will always evaluate as 'true' for the address of 'field_data' will never be NULL [-Waddress] 12093 | if (!temp_i_con->field_data) | ^ In file included from iprconfig.c:22: iprconfig.h:43:14: note: 'field_data' declared here 43 | char field_data[MAX_FIELD_SIZE + 1]; /* stores characters entered into a user-entry field */ | ^~~~~~~~~~ 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) | ^ 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 '__remove_device': iprconfig.c:15205:13: warning: the comparison will always evaluate as 'true' for the address of 'ses' will never be NULL [-Waddress] 15205 | if (!dev->ses) { | ^ In file included from iprconfig.c:12: iprlib.h:1493:25: note: 'ses' declared here 1493 | struct ipr_dev *ses[IPR_DEV_MAX_PATHS]; | ^~~ iprconfig.c: In function '__identify_device': iprconfig.c:15359:13: warning: the comparison will always evaluate as 'true' for the address of 'ses' will never be NULL [-Waddress] 15359 | if (!dev->ses) { | ^ iprlib.h:1493:25: note: 'ses' declared here 1493 | struct ipr_dev *ses[IPR_DEV_MAX_PATHS]; | ^~~ 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 *} 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: 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"); | ^~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'add_i_con': iprconfig.c:347:9: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 347 | strncpy(new_i_con->field_data, f, MAX_FIELD_SIZE+1); | ^ iprconfig.c: In function 'get_dev_for_slot': iprconfig.c:8023:33: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 8023 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c:8023:33: note: length computed here 8023 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'get_dev_for_slot_64bit': iprconfig.c:8071:33: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 8071 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ 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:3372:33: warning: 'vset' may be used uninitialized [-Wmaybe-uninitialized] 3372 | if (vset->alt_path && vset->alt_path->scsi_dev_data) { | ~~~~^~~~~~~~~~ iprconfig.c:3316:25: note: 'vset' was declared here 3316 | struct ipr_dev *vset; | ^~~~ 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:17050:37: note: 'cap' was declared here 17050 | struct ipr_array_cap_entry *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:964, from iprlib.h:20: In function 'snprintf', inlined from 'ibm_storage_log_tail' at iprconfig.c:12283:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 13 and 268 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'ibm_storage_log' at iprconfig.c:12435:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 13 and 268 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'alloc_empty_slot_64bit.constprop.0': iprconfig.c:7937:9: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 7937 | strncpy(scsi_dev_data->res_path, ses->scsi_dev_data->res_path, strlen(ses->scsi_dev_data->res_path)); | ^ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c:7942:9: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 7942 | strncpy(dev->res_path_name, scsi_dev_data->res_path, strlen(scsi_dev_data->res_path)); | ^ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c:7951:9: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 7951 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c:7951:9: note: length computed here 7951 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'alloc_empty_slot': iprconfig.c:7908:9: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 7908 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c:7908:9: note: length computed here 7908 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'vset_array_details.constprop.0' at iprconfig.c:2389:3: /usr/include/bits/stdio2.h:30:10: warning: 'scsi_lun' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'vset_array_details.constprop.0': iprconfig.c:2305:36: note: 'scsi_lun' was declared here 2305 | int scsi_channel, scsi_id, scsi_lun; | ^~~~~~~~ In function 'sprintf', inlined from 'vset_array_details.constprop.0' at iprconfig.c:2386:3: /usr/include/bits/stdio2.h:30:10: warning: 'scsi_id' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'vset_array_details.constprop.0': iprconfig.c:2305:27: note: 'scsi_id' was declared here 2305 | int scsi_channel, scsi_id, scsi_lun; | ^~~~~~~ In function 'sprintf', inlined from 'vset_array_details.constprop.0' at iprconfig.c:2383:3: /usr/include/bits/stdio2.h:30:10: warning: 'scsi_channel' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'vset_array_details.constprop.0': iprconfig.c:2305:13: note: 'scsi_channel' was declared here 2305 | int scsi_channel, scsi_id, scsi_lun; | ^~~~~~~~~~~~ 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 function 'snprintf', inlined from 'print_ssd_report.constprop.0' at iprconfig.c:19274:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 10 bytes into a destination of size 4 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'get_ses_phy_loc': iprconfig.c:2680:25: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 2680 | strncat(dev->physical_location, buffer, strlen(buffer)); | ^ iprconfig.c:2680:25: note: length computed here 2680 | strncat(dev->physical_location, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'disk_details.constprop.0' at iprconfig.c:2614:2: /usr/include/bits/stdio2.h:30:10: warning: 'scsi_lun' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'disk_details.constprop.0': iprconfig.c:2486:41: note: 'scsi_lun' was declared here 2486 | int len, scsi_channel, scsi_id, scsi_lun; | ^~~~~~~~ In function 'sprintf', inlined from 'disk_details.constprop.0' at iprconfig.c:2611:2: /usr/include/bits/stdio2.h:30:10: warning: 'scsi_id' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'disk_details.constprop.0': iprconfig.c:2486:32: note: 'scsi_id' was declared here 2486 | int len, scsi_channel, scsi_id, scsi_lun; | ^~~~~~~ In function 'sprintf', inlined from 'disk_details.constprop.0' at iprconfig.c:2608:2: /usr/include/bits/stdio2.h:30:10: warning: 'scsi_channel' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'disk_details.constprop.0': iprconfig.c:2486:18: note: 'scsi_channel' was declared here 2486 | int len, scsi_channel, scsi_id, scsi_lun; | ^~~~~~~~~~~~ iprconfig.c: In function 'do_raid_migrate': iprconfig.c:4770:12: warning: 'cap' may be used uninitialized [-Wmaybe-uninitialized] 4770 | if (!cap) { | ^ iprconfig.c:4758:37: note: 'cap' was declared here 4758 | struct ipr_array_cap_entry *cap; | ^~~ iprconfig.c: In function 'remove_or_add_back_device_64bit': iprconfig.c:7489:13: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] 7489 | int rc; | ^~ 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 function 'sprintf', inlined from 'configure_raid_parameters' at iprconfig.c:3982:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 13 and 28 bytes into a destination of size 24 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'change_disk_config' at iprconfig.c:11148:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 13 and 4171 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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 function 'sprintf', inlined from 'configure_raid_migrate' at iprconfig.c:5423:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 34 and 97 bytes into a destination of size 60 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iprconfig.c: In function 'process_conc_maint': iprconfig.c:7701:46: warning: 'dev' may be used uninitialized [-Wmaybe-uninitialized] 7701 | if (!remove_or_add_back_device_64bit(dev)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iprconfig.c:7548:25: note: 'dev' was declared here 7548 | struct ipr_dev *dev, *ses; | ^~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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' iprconfig.c: In function 'get_ses_phy_loc.isra': iprconfig.c:2680:25: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 2680 | strncat(dev->physical_location, buffer, strlen(buffer)); | ^ iprconfig.c:2680:25: note: length computed here 2680 | strncat(dev->physical_location, buffer, strlen(buffer)); | ^ iprconfig.c: In function 'alloc_empty_slot_64bit.constprop': iprconfig.c:7951:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 7951 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c:7951:9: note: length computed here 7951 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c: In function 'alloc_empty_slot': iprconfig.c:7908:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 7908 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c:7908:9: note: length computed here 7908 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c: In function 'get_dev_for_slot': iprconfig.c:8023:33: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 8023 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c:8023:33: note: length computed here 8023 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c: In function 'get_dev_for_slot_64bit': iprconfig.c:8071:33: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 8071 | strncat(dev->physical_location, phy_loc, strlen(phy_loc)); | ^ iprconfig.c:8071:33: note: length computed here 8071 | 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' < iprupdate.service.in > iprupdate.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' 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.uq4E7c + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64 + cd iprutils-rel-2-4-19 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64 '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-4.ocs23.loongarch64/usr/sbin' /usr/bin/install -p iprsos '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin' /bin/sh ./libtool --mode=install /usr/bin/install -p iprconfig iprdump iprupdate iprinit iprdbg '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin' libtool: install: /usr/bin/install -p iprconfig /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprconfig libtool: install: /usr/bin/install -p iprdump /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprdump libtool: install: /usr/bin/install -p iprupdate /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprupdate libtool: install: /usr/bin/install -p iprinit /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprinit libtool: install: /usr/bin/install -p iprdbg /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprdbg /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/etc/bash_completion.d' /usr/bin/install -p -m 644 iprconfig-bash-completion.sh '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/etc/bash_completion.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/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-4.ocs23.loongarch64/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-4.ocs23.loongarch64/etc/ha.d/resource.d' /usr/bin/install -p -m 644 iprha '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/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-4.ocs23.loongarch64/usr/lib/systemd/system/' /usr/bin/install -p -m 644 iprutils.target '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/lib/systemd/system/' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/lib/systemd/system/' /usr/bin/install -p -m 644 iprdump.service iprinit.service iprupdate.service '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/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-4.ocs23.loongarch64/usr/lib/udev/rules.d/' /usr/bin/install -p -m 644 90-iprutils.rules '/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/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-4.ocs23.loongarch64/usr/share/man/man8/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.4.19-4.ocs23 --unique-debug-suffix -2.4.19-4.ocs23.loongarch64 --unique-debug-src-base iprutils-2.4.19-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/iprutils-rel-2-4-19 extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprconfig extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprdbg extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprinit extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprupdate extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/sbin/iprdump 1744 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/sbin/iprsos from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: iprutils-2.4.19-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xZxlPO + umask 022 + cd /builddir/build/BUILD + cd iprutils-rel-2-4-19 + DOCDIR=/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/share/doc/iprutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/share/doc/iprutils + cp -pr README /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/share/doc/iprutils + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7KpxqD + umask 022 + cd /builddir/build/BUILD + cd iprutils-rel-2-4-19 + LICENSEDIR=/builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/share/licenses/iprutils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/share/licenses/iprutils + cp -pr LICENSE /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64/usr/share/licenses/iprutils + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /etc/ha.d/resource.d warning: File listed twice: /etc/ha.d/resource.d/iprha warning: File listed twice: /etc/ha.d/resource.d/iprha Provides: iprutils = 2.4.19-4.ocs23 iprutils(loongarch-64) = 2.4.19-4.ocs23 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 ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libform.so.6()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) libmenu.so.6()(64bit) libncurses.so.6()(64bit) libpanel.so.6()(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: iprutils-debugsource-2.4.19-4.ocs23.loongarch64 Provides: iprutils-debugsource = 2.4.19-4.ocs23 iprutils-debugsource(loongarch-64) = 2.4.19-4.ocs23 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-4.ocs23.loongarch64 Provides: debuginfo(build-id) = 55244a79e281763eb7b214c71c10fc14189a2b1a debuginfo(build-id) = 565ff63cc6d507324e347f630aa1207963f34307 debuginfo(build-id) = 6a7464ae2958502fcdcb89c7513c014f5ac6b991 debuginfo(build-id) = 8ec880d226703f12629bd0819decdea83d1a59d7 debuginfo(build-id) = cd1446e8ecb85ffa91833744f40706f823258433 iprutils-debuginfo = 2.4.19-4.ocs23 iprutils-debuginfo(loongarch-64) = 2.4.19-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iprutils-debugsource(loongarch-64) = 2.4.19-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iprutils-2.4.19-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/iprutils-debugsource-2.4.19-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iprutils-2.4.19-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iprutils-debuginfo-2.4.19-4.ocs23.loongarch64.rpm RPM build warnings: File listed twice: /etc/ha.d/resource.d File listed twice: /etc/ha.d/resource.d/iprha File listed twice: /etc/ha.d/resource.d/iprha Child return code was: 0