Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/iprutils.spec'], chrootPath='/var/lib/mock/c71804-00-armhfp/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1004) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/iprutils.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: armhfp-03.bsys.centos.org Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/iprutils-2.4.15.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/iprutils.spec'], chrootPath='/var/lib/mock/c71804-00-armhfp/root'shell=Falseuid=1004env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/iprutils.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8wXHYa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iprutils-2.4.15.1 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/iprutils-2.4.15.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd iprutils-2.4.15.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Service-start-is-controled-by-udev-rule.patch):' Patch #0 (0001-Service-start-is-controled-by-udev-rule.patch): + /usr/bin/patch -p1 -b --suffix .udev --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/0001-Service-start-is-controled-by-udev-rule.patch patching file systemd/iprdump.service.in Hunk #1 succeeded at 8 (offset 1 line). patching file systemd/iprinit.service.in Hunk #1 succeeded at 7 (offset 1 line). patching file systemd/iprupdate.service.in Hunk #1 succeeded at 7 (offset 1 line). patching file systemd/iprutils.target patching file udev/rules.d/90-iprutils.rules Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CgKt3j + exit 0 + umask 022 + cd /builddir/build/BUILD + cd iprutils-2.4.15.1 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now' + export LDFLAGS=-pie + LDFLAGS=-pie + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS=-pie + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes 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 checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking form.h usability... yes checking form.h presence... yes checking for form.h... yes checking menu.h usability... yes checking menu.h presence... yes checking for menu.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for getcwd... yes checking for isascii... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for pow... no checking for setenv... yes checking for setlocale... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating systemd/Makefile config.status: creating init.d/Makefile config.status: creating spec/Makefile config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make Making all in . make[1]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1' /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.15.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.15.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.15.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -c -o iprlib.lo iprlib.c libtool: compile: gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.15.1\" "-DPACKAGE_STRING=\"iprutils 2.4.15.1\"" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.15.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro,-z,now -c iprlib.c -fPIC -DPIC -o .libs/iprlib.o iprlib.c: In function 'get_sg_name': iprlib.c:5884:6: warning: unused variable 'i' [-Wunused-variable] int i, rc = -ENXIO; ^ iprlib.c: In function 'ipr_save_dev_attr': iprlib.c:7093:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat=] dev->scsi_dev_data->device_id); ^ iprlib.c: In function 'ipr_get_saved_dev_attr': iprlib.c:7207:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat=] dev->scsi_dev_data->device_id); ^ iprlib.c:7215:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type '__uint64_t' [-Wformat=] htobe64(dev->scsi_dev_data->device_id)); ^ iprlib.c: In function 'ipr_known_zeroed_is_saved': iprlib.c:7495:6: warning: unused variable 'len' [-Wunused-variable] int len; ^ iprlib.c: In function 'ipr_set_format_completed_bit': iprlib.c:7519:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' [-Wformat=] scsi_dbg(dev, "Setting device formatted bit. Device ID=%lx\n", dev->scsi_dev_data->device_id); ^ iprlib.c:7530:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' [-Wformat=] scsi_info(dev, "Page 20 mode sense failed. Device ID=%lx\n", dev->scsi_dev_data->device_id); ^ iprlib.c:7553:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' [-Wformat=] scsi_info(dev, "Page 20 mode select failed. Device ID=%lx\n", dev->scsi_dev_data->device_id); ^ iprlib.c: In function 'ipr_ses_get_time': iprlib.c:9325:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *timestamp = be64toh(*((u64*) get_time.timestamp)) >> 16; ^ iprlib.c: In function 'ipr_count_devices_in_vset': iprlib.c:9590:18: warning: unused variable 'vset' [-Wunused-variable] struct ipr_dev *vset, *temp; ^ iprlib.c: In function 'ipr_set_manage_start_stop': iprlib.c:10239:6: warning: variable 'value' set but not used [-Wunused-but-set-variable] int value; ^ iprlib.c: In function '_sg_ioctl': iprlib.c:5304:18: warning: ignoring return value of 'posix_memalign', declared with attribute warn_unused_result [-Wunused-result] posix_memalign(&(iovec[i].iov_base), IPR_S_G_BUFF_ALIGNMENT, segment_size); ^ iprlib.c: In function 'ipr_config_file_hdr': iprlib.c:6963:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd_str); ^ iprlib.c: In function 'ipr_update_ioa_fw': iprlib.c:9126:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, sizeof(cwd)); ^ iprlib.c:9154:10: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(img_file, ucode_file); ^ iprlib.c: In function 'ipr_get_hotplug_dir': iprlib.c:8406:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 100, file); ^ libtool: compile: gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.15.1\" "-DPACKAGE_STRING=\"iprutils 2.4.15.1\"" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.15.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro,-z,now -c iprlib.c -fPIE -o iprlib.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -pie -o libipr.la iprlib.lo libtool: link: ar cru .libs/libipr.a .libs/iprlib.o libtool: link: ranlib .libs/libipr.a libtool: link: ( cd ".libs" && rm -f "libipr.la" && ln -s "../libipr.la" "libipr.la" ) gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.15.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.15.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.15.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -c iprconfig.c iprconfig.c: In function 'wait_for_formatted_af_dasd': iprconfig.c:268:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' [-Wformat=] scsi_dbg(dev->dev, "Format complete. AF DASD found. New Device ID=%lx, Old Device ID=%lx\n", ^ iprconfig.c:268:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' [-Wformat=] iprconfig.c:233:6: warning: variable 'device_id' set but not used [-Wunused-but-set-variable] u64 device_id; ^ iprconfig.c: In function 'add_string_to_body': iprconfig.c:1260:6: warning: variable 'max_y' set but not used [-Wunused-but-set-variable] int max_y, max_x; ^ iprconfig.c: In function 'evaluate_device': iprconfig.c:1653:22: warning: variable 'res_addr' set but not used [-Wunused-but-set-variable] struct ipr_res_addr res_addr; ^ iprconfig.c: In function 'processing': iprconfig.c:1752:13: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] int max_y, max_x; ^ iprconfig.c: In function 'display_features_menu': iprconfig.c:1769:6: warning: unused variable 'offset' [-Wunused-variable] int offset = 0; ^ iprconfig.c:1767:14: warning: unused variable 'file_stat' [-Wunused-variable] struct stat file_stat; ^ iprconfig.c:1765:7: warning: unused variable 'cmnd' [-Wunused-variable] char cmnd[MAX_CMD_LENGTH]; ^ iprconfig.c: In function 'main_menu': iprconfig.c:1799:24: warning: variable 'scsi_dev_data' set but not used [-Wunused-but-set-variable] struct scsi_dev_data *scsi_dev_data; ^ iprconfig.c: In function 'device_stats': iprconfig.c:2851:8: warning: unused variable 'tmp' [-Wunused-variable] char *tmp; ^ iprconfig.c: In function 'confirm_raid_stop': iprconfig.c:3176:18: warning: variable 'ioa' set but not used [-Wunused-but-set-variable] struct ipr_ioa *ioa; ^ iprconfig.c: In function 'do_confirm_raid_stop': iprconfig.c:3318:13: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] int max_y, max_x; ^ iprconfig.c: In function 'configure_raid_parameters': iprconfig.c:3720:18: warning: variable 'start_y' set but not used [-Wunused-but-set-variable] int max_x,max_y,start_y,start_x; ^ iprconfig.c: In function 'configure_raid_migrate': iprconfig.c:5310:18: warning: variable 'start_y' set but not used [-Wunused-but-set-variable] int max_x,max_y,start_y,start_x; ^ iprconfig.c: In function 'format_include_cand': iprconfig.c:6329:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc = 0; ^ iprconfig.c: In function 'add_format_device': iprconfig.c:6633:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' [-Wformat=] scsi_dbg(dev, "Formatting device to %d bytes/block. Device ID=%lx\n", ^ iprconfig.c: In function 'configure_af_device': iprconfig.c:6650:6: warning: variable 'dev_type' set but not used [-Wunused-but-set-variable] int dev_type; ^ iprconfig.c: In function 'process_conc_maint': iprconfig.c:7548:13: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] int max_y, max_x; ^ iprconfig.c:7537:25: warning: variable 'dev_rcd' set but not used [-Wunused-but-set-variable] struct ipr_dev_record *dev_rcd; ^ iprconfig.c: In function 'alloc_empty_slot_64bit': iprconfig.c:7913:6: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n, len; ^ iprconfig.c: In function 'get_conc_devs': iprconfig.c:8267:6: warning: variable 'ses_bus' set but not used [-Wunused-but-set-variable] int ses_bus, scsi_id_found, is_spi, is_vses; ^ iprconfig.c: In function 'init_device': iprconfig.c:8597:6: warning: variable 'dev_type' set but not used [-Wunused-but-set-variable] int dev_type; ^ iprconfig.c: In function 'send_dev_inits': iprconfig.c:8959:13: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] int max_y, max_x; ^ iprconfig.c: In function 'reclaim_result': iprconfig.c:9413:12: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] int max_y,max_x; ^ iprconfig.c: In function 'display_menu': iprconfig.c:10599:12: warning: variable 'max_x' set but not used [-Wunused-but-set-variable] int max_y,max_x; ^ iprconfig.c: In function 'change_disk_config': iprconfig.c:11105:6: warning: variable 'tcq_enabled' set but not used [-Wunused-but-set-variable] int tcq_enabled = 0; ^ iprconfig.c: In function 'ibm_storage_log_tail': iprconfig.c:12275:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dot = strstr(line, prefix)) { ^ iprconfig.c:12278:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if (dot = strstr(line, local_s)) { ^ iprconfig.c:12281:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if (dot = strstr(line, kernel_s)) { ^ iprconfig.c:12223:10: warning: unused variable 'len' [-Wunused-variable] int rc, len; ^ iprconfig.c: In function 'ibm_storage_log': iprconfig.c:12429:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dot = strstr(line, prefix)) { ^ iprconfig.c:12432:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if (dot = strstr(line, local_s)) { ^ iprconfig.c:12435:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if (dot = strstr(line, kernel_s)) { ^ iprconfig.c:12368:10: warning: unused variable 'len' [-Wunused-variable] int rc, len; ^ iprconfig.c: In function 'kernel_log': iprconfig.c:12481:6: warning: unused variable 'len' [-Wunused-variable] int len; ^ iprconfig.c: In function 'iprconfig_log': iprconfig.c:12559:6: warning: unused variable 'len' [-Wunused-variable] int len; ^ iprconfig.c: In function 'ibm_boot_log': iprconfig.c:12817:6: warning: unused variable 'len' [-Wunused-variable] int len; ^ iprconfig.c: In function 'raid_create': iprconfig.c:14287:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' [-Wformat=] sdev->device_id); ^ iprconfig.c: In function 'raid_include_cmd': iprconfig.c:14385:18: warning: variable 'ioa' set but not used [-Wunused-but-set-variable] struct ipr_ioa *ioa; ^ iprconfig.c: In function 'get_drive_phy_loc': iprconfig.c:17753:6: warning: variable 'ses_bus' set but not used [-Wunused-but-set-variable] int ses_bus, scsi_id_found, is_spi, is_vses; ^ iprconfig.c: In function 'print_ssd_report': iprconfig.c:19185:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] uptime = ntohl(*((u32 *) smart_attr->raw_data)); ^ iprconfig.c:19193:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] total_gb_writ = be64toh(*(u64 *) &bytes_counter->counter) >> 14; ^ iprconfig.c:19208:9: warning: pointer targets in passing argument 2 of 'ipr_strncpy_0' differ in signedness [-Wpointer-sign] IPR_SAS_STD_INQ_ASM_PART_NUM); ^ In file included from iprconfig.c:12:0: iprlib.h:3118:20: note: expected 'char *' but argument is of type 'u8 *' static inline void ipr_strncpy_0(char *dest, char *source, int length) ^ iprconfig.c:19232:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'u64' [-Wformat=] snprintf(buffer, BUFSIZ, "%ld GB", total_gb_writ); ^ iprconfig.c:19232:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'u64' [-Wformat=] iprconfig.c:19236:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] aux = ntohl(*((u32 *) pageC7_inq.total_bytes_warranty)) >> 8; ^ iprconfig.c:19237:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'u64' [-Wformat=] snprintf(buffer, BUFSIZ, "%ld GB", aux * 1024L); ^ iprconfig.c:19237:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'u64' [-Wformat=] iprconfig.c: In function 'main': iprconfig.c:19462:54: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int next_editor, next_dir, next_cmd, next_args, i, rc = 0; ^ iprconfig.c: In function 'ibm_storage_log_tail': iprconfig.c:12286:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(log_fd, line, strlen(line)); ^ iprconfig.c: In function 'ibm_storage_log': iprconfig.c:12440:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(log_fd, line, strlen(line)); ^ iprconfig.c: In function 'kernel_log': iprconfig.c:12518:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(log_fd, line, strlen(line)); ^ iprconfig.c: In function 'iprconfig_log': iprconfig.c:12599:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(log_fd, line, strlen(line)); ^ iprconfig.c: In function 'ibm_boot_log': iprconfig.c:12854:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(log_fd, line, strlen(line)); ^ iprconfig.c: In function 'main': iprconfig.c:19521:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("modprobe sg"); ^ iprconfig.c: In function 'do_confirm_raid_stop': iprconfig.c:3370:12: warning: 'vset' may be used uninitialized in this function [-Wmaybe-uninitialized] if (vset->alt_path && vset->alt_path->scsi_dev_data) { ^ iprconfig.c: In function 'query_devices_min_max_raid_migrate': iprconfig.c:17053:5: warning: 'cap' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!cap) { ^ iprconfig.c: In function 'raid_start_complete': iprconfig.c:4307:22: warning: 'status_record' may be used uninitialized in this function [-Wmaybe-uninitialized] if (status_record->status == IPR_CMD_STATUS_MIXED_BLK_DEV_CLASESS) ^ iprconfig.c: In function 'do_raid_migrate': iprconfig.c:4755:5: warning: 'cap' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!cap) { ^ iprconfig.c: In function 'remove_or_add_back_device_64bit': iprconfig.c:7474:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] int rc; ^ iprconfig.c: In function 'get_status': iprconfig.c:13019:27: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (path_status && !rc) { ^ iprconfig.c: In function 'process_conc_maint': iprconfig.c:7685:12: warning: 'dev' may be used uninitialized in this function [-Wmaybe-uninitialized] if (dev->ioa->sis64) { ^ /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -pie -o iprconfig iprconfig.o libipr.la -lz -lpanel -lmenu -lm -lform -lncurses libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o iprconfig iprconfig.o ./.libs/libipr.a -lz -lpanel -lmenu -lm -lform -lncurses gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.15.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.15.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.15.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -c iprdump.c iprdump.c: In function 'kevent_handler': iprdump.c:304:12: warning: unused variable 'i' [-Wunused-variable] int host, i; ^ iprdump.c: In function 'write_dump': iprdump.c:234:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(f_dump, &dump, count); ^ /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -pie -o iprdump iprdump.o libipr.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o iprdump iprdump.o ./.libs/libipr.a gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.15.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.15.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.15.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -c iprupdate.c /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -pie -o iprupdate iprupdate.o libipr.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o iprupdate iprupdate.o ./.libs/libipr.a gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.15.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.15.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.15.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -c iprinit.c /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -pie -o iprinit iprinit.o libipr.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o iprinit iprinit.o ./.libs/libipr.a gcc -DPACKAGE_NAME=\"iprutils\" -DPACKAGE_TARNAME=\"iprutils\" -DPACKAGE_VERSION=\"2.4.15.1\" -DPACKAGE_STRING=\"iprutils\ 2.4.15.1\" -DPACKAGE_BUGREPORT=\"iprdd-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"iprutils\" -DVERSION=\"2.4.15.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBNCURSES=1 -DHAVE_LIBFORM=1 -DHAVE_LIBM=1 -DHAVE_LIBMENU=1 -DHAVE_LIBPANEL=1 -DHAVE_LIBZ=1 -DHAVE_FCNTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NCURSES_H=1 -DHAVE_FORM_H=1 -DHAVE_MENU_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETCWD=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -c iprdbg.c iprdbg.c: In function 'format_flit': iprdbg.c:181:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] signed int len; ^ iprdbg.c: In function 'select_ioa': iprdbg.c:724:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cmd_line, 999, stdin); ^ /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z,relro,-z,now -pie -o iprdbg iprdbg.o libipr.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIE -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o iprdbg iprdbg.o ./.libs/libipr.a make[1]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1' Making all in init.d make[1]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/init.d' sed -e 's,[@]sbindir[@],/usr/sbin,g' < iprha.in > iprha make[1]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1/init.d' Making all in spec make[1]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/spec' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1/spec' Making all in systemd make[1]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/systemd' sed -e 's,[@]sbindir[@],/usr/sbin,g' < iprdump.service.in > iprdump.service sed -e 's,[@]sbindir[@],/usr/sbin,g' < iprinit.service.in > iprinit.service sed -e 's,[@]sbindir[@],/usr/sbin,g' < iprupdate.service.in > iprupdate.service make[1]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1/systemd' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qf8tn4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm ++ dirname /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm + cd iprutils-2.4.15.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm Making install in . make[1]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1' make[2]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin' /usr/bin/install -c iprsos '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin' /bin/sh ./libtool --mode=install /usr/bin/install -c iprconfig iprdump iprupdate iprinit iprdbg '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin' libtool: install: /usr/bin/install -c iprconfig /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprconfig libtool: install: /usr/bin/install -c iprdump /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprdump libtool: install: /usr/bin/install -c iprupdate /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprupdate libtool: install: /usr/bin/install -c iprinit /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprinit libtool: install: /usr/bin/install -c iprdbg /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprdbg /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/bash_completion.d' /usr/bin/install -c -m 644 iprconfig-bash-completion.sh '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/bash_completion.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/share/man/man8' /usr/bin/install -c -m 644 iprconfig.8 iprdump.8 iprinit.8 iprupdate.8 iprsos.8 '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/share/man/man8' make[2]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1' make[1]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1' Making install in init.d make[1]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/init.d' make[2]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/init.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/ha.d/resource.d' /usr/bin/install -c -m 644 iprha '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/ha.d/resource.d' make[2]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1/init.d' make[1]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1/init.d' Making install in spec make[1]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/spec' make[2]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/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-2.4.15.1/spec' make[1]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1/spec' Making install in systemd make[1]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/systemd' make[2]: Entering directory `/builddir/build/BUILD/iprutils-2.4.15.1/systemd' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/lib/systemd/system/' /usr/bin/install -c -m 644 iprdump.service iprinit.service iprupdate.service '/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/lib/systemd/system/' make[2]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1/systemd' make[1]: Leaving directory `/builddir/build/BUILD/iprutils-2.4.15.1/systemd' + mkdir -p /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm//usr/lib/udev/rules.d + /usr/bin/install -m 0644 udev/rules.d/90-iprutils.rules /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm//usr/lib/udev/rules.d/90-iprutils.rules + mkdir -p /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm//usr/lib/systemd/system + /usr/bin/install -m 0644 systemd/iprinit.service /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm//usr/lib/systemd/system/iprinit.service + /usr/bin/install -m 0644 systemd/iprdump.service /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm//usr/lib/systemd/system/iprdump.service + /usr/bin/install -m 0644 systemd/iprupdate.service /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm//usr/lib/systemd/system/iprupdate.service + /usr/bin/install -m 0644 systemd/iprutils.target /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm//usr/lib/systemd/system/iprutils.target + /usr/bin/install -m 0644 /builddir/build/SOURCES/iprdbg.8.gz /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/share/man/man8/ + /usr/bin/mv /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/bash_completion.d/iprconfig-bash-completion.sh /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/bash_completion.d/iprutils + /usr/bin/chmod 0644 /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/bash_completion.d/iprutils + /usr/bin/rm -rf /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/ha.d/resource.d/iprha + /usr/bin/rm -rf /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/etc/ha.d/resource.d/iprha.in + /usr/bin/chmod 0700 /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm//usr/sbin/iprdbg + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/iprutils-2.4.15.1 extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprdbg extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprupdate extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprconfig extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprinit extracting debug info from /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/sbin/iprdump /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 1739 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: iprutils-2.4.15.1-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XJyYJ9 + umask 022 + cd /builddir/build/BUILD + cd iprutils-2.4.15.1 + DOCDIR=/builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/share/doc/iprutils-2.4.15.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/share/doc/iprutils-2.4.15.1 + cp -pr README /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/share/doc/iprutils-2.4.15.1 + cp -pr LICENSE /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm/usr/share/doc/iprutils-2.4.15.1 + exit 0 Provides: iprutils = 2.4.15.1-1.el7 iprutils(armv7hl-32) = 2.4.15.1-1.el7 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: /bin/bash ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libform.so.5 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libm.so.6(GLIBC_2.4) libmenu.so.5 libncurses.so.5 libpanel.so.5 libtinfo.so.5 libz.so.1 rtld(GNU_HASH) Obsoletes: ipr-utils Processing files: iprutils-debuginfo-2.4.15.1-1.el7.armv7hl Provides: iprutils-debuginfo = 2.4.15.1-1.el7 iprutils-debuginfo(armv7hl-32) = 2.4.15.1-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm Wrote: /builddir/build/RPMS/iprutils-2.4.15.1-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/iprutils-debuginfo-2.4.15.1-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SYnj78 + umask 022 + cd /builddir/build/BUILD + cd iprutils-2.4.15.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/iprutils-2.4.15.1-1.el7.arm + exit 0 Child return code was: 0