<86>Aug 27 05:27:32 userdel[1362126]: delete user 'rooter' <86>Aug 27 05:27:32 userdel[1362126]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 27 05:27:32 groupadd[1362143]: group added to /etc/group: name=rooter, GID=621 <86>Aug 27 05:27:32 groupadd[1362143]: group added to /etc/gshadow: name=rooter <86>Aug 27 05:27:32 groupadd[1362143]: new group: name=rooter, GID=621 <86>Aug 27 05:27:32 useradd[1362153]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Aug 27 05:27:32 userdel[1362170]: delete user 'builder' <86>Aug 27 05:27:32 userdel[1362170]: removed group 'builder' owned by 'builder' <86>Aug 27 05:27:32 userdel[1362170]: removed shadow group 'builder' owned by 'builder' <86>Aug 27 05:27:32 groupadd[1362183]: group added to /etc/group: name=builder, GID=622 <86>Aug 27 05:27:32 groupadd[1362183]: group added to /etc/gshadow: name=builder <86>Aug 27 05:27:32 groupadd[1362183]: new group: name=builder, GID=622 <86>Aug 27 05:27:32 useradd[1362189]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash <13>Aug 27 05:27:35 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Aug 27 05:27:35 rpmi: libstdc++10-devel-10.3.1-alt3 sisyphus+281519.340.4.1 1627909997 installed <13>Aug 27 05:27:36 rpmi: gcc10-c++-10.3.1-alt3 sisyphus+281519.340.4.1 1627909997 installed <13>Aug 27 05:27:36 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Aug 27 05:27:36 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211284 installed <13>Aug 27 05:27:36 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Aug 27 05:27:36 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Aug 27 05:27:36 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Aug 27 05:27:36 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Aug 27 05:27:36 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Aug 27 05:27:37 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Aug 27 05:27:37 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Aug 27 05:27:37 rpmi: libssl-devel-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Aug 27 05:27:37 rpmi: openssl-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Aug 27 05:27:37 rpmi: gcc-c++-10-alt2 sisyphus+281519.400.4.1 1627910688 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ipmiutil-3.1.3-alt2.nosrc.rpm (w1.gzdio) Installing ipmiutil-3.1.3-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.38516 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ipmiutil-3.1.3 + echo 'Source #0 (ipmiutil-3.1.3.tar.gz):' Source #0 (ipmiutil-3.1.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/ipmiutil-3.1.3.tar.gz + /bin/tar -xf - + cd ipmiutil-3.1.3 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i 's|TMPDIR|TMPDIR1|g' Makefile.am Makefile.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38516 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ipmiutil-3.1.3 + export NPROCS=8 + NPROCS=8 + ./beforeconf.sh configure.ac:12: installing './compile' lib/lanplus/Makefile.am: installing './depcomp' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-gpl configure: WARNING: unrecognized options: --without-included-gettext ipmiutil version 3.1.3 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for sed... sed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for wchar_t... yes checking whether x86_64-alt-linux-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for select... yes checking for socket... yes checking for strcspn... yes checking for strdup... yes checking for strspn... yes checking for strtoul... yes checking for memcpy... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-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 the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for an ANSI C-conforming const... (cached) yes checking for config.sub... yes checking for ltmain.sh... yes checking whether to install pkg-config *.pc files... using ${libdir}/pkgconfig libdir set to /usr/lib64 checking compile sign warning flags ... ok, suppress excess warnings checking compile gnu warning flags ... skip checking strict aliasing warning flags ... ok, suppress aliasing warnings checking compile fortify flags ... ok, add Detected Red Hat Linux package openssl-devel is not installed Detected openssl-1.1 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating util/Makefile config.status: creating lib/Makefile config.status: creating lib/libipmiutil.pc config.status: creating lib/lanplus/Makefile config.status: creating doc/Makefile config.status: creating scripts/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext ipmiutil 3.1.3 OS : redhat ARCH : x86_64 DRIVERS : open imb direct lan lanplus + make -j8 make all-recursive Making all in doc make[2]: Nothing to be done for 'all'. Making all in scripts make[2]: Nothing to be done for 'all'. Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib' if [ -f libipmiapi32.a ]; then \ rm -f libipmiapi.a; \ if [ "`uname -m`" = "x86_64" ]; then \ if [ -f /etc/SuSE-release ]; then \ cp -f libipmiapi64.a.suse libipmiapi.a; \ else cp -f libipmiapi64.a.redhat libipmiapi.a; fi \ else cp -f libipmiapi32.a libipmiapi.a; fi \ fi if [ "-DHAVE_LANPLUS" = "-DHAVE_LANPLUS" ]; then \ cd lanplus; make clean; make ; \ pwd; cp -f libipmi_lanplus.a .. ; \ fi make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' rm -rf obj rm -f libipmi_lanplus.a *.o *.so make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_LANPLUS -I. -I./inc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o lanplus_strings.o lanplus_strings.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_LANPLUS -I. -I./inc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o lanplus_dump.o lanplus_dump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_LANPLUS -I. -I./inc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o lanplus_crypt_impl.o lanplus_crypt_impl.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_LANPLUS -I. -I./inc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o helper.o helper.c helper.c: In function 'ipmi_start_daemon': helper.c:421:10: warning: variable 'i' set but not used [-Wunused-but-set-variable] 421 | int fd, i; | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_LANPLUS -I. -I./inc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o lanplus_crypt.o lanplus_crypt.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_LANPLUS -I. -I./inc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmi_strings.o ipmi_strings.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_LANPLUS -I. -I./inc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o lanplus.o lanplus.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' rm -f libipmi_lanplus.a ar cru libipmi_lanplus.a lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libipmi_lanplus.a make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' /usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib' Making all in util make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmiutil.o ipmiutil.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ifru_picmg.o ifru_picmg.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ialarms.o ialarms.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o icmd.o icmd.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ireset.o ireset.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o igetevent.o igetevent.c igetevent.c: In function 'get_mv_asy_event': igetevent.c:659:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 659 | int ret = -1; | ^~~ igetevent.c: In function 'get_event': igetevent.c:860:6: warning: variable 'fretry' set but not used [-Wunused-but-set-variable] 860 | int fretry; | ^~~~~~ igetevent.c: In function 'mkdaemon': igetevent.c:1001:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1001 | chdir("/"); | ^~~~~~~~~~ igetevent.c:1008:9: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1008 | dup(0); dup(0); | ^~~~~~ igetevent.c:1008:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1008 | dup(0); dup(0); | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ihealth.o ihealth.c ihealth.c: In function 'get_frusdr_version': ihealth.c:484:9: warning: variable 'fIntel' set but not used [-Wunused-but-set-variable] 484 | char fIntel; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ievents.o ievents.c ievents.c: In function 'decode_raw_sel': ievents.c:2212:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] 2212 | int len, i; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o isel.o isel.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o iwdt.o iwdt.c iwdt.c: In function 'i_wdt': iwdt.c:278:8: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 278 | int rv = 0; | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ifru.o ifru.c ifru.c: In function 'show_spd': ifru.c:512:8: warning: variable 'sz' set but not used [-Wunused-but-set-variable] 512 | int sz; | ^~ ifru.c: In function 'write_asset': ifru.c:1135:9: warning: variable 'fdochassis' set but not used [-Wunused-but-set-variable] 1135 | char fdochassis = 0; | ^~~~~~~~~~ ifru.c:1122:14: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 1122 | int alen, clen; | ^~~~ ifru.c: In function 'get_show_fru': ifru.c:1423:9: warning: variable 'fisbase' set but not used [-Wunused-but-set-variable] 1423 | char fisbase = 0; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o iserial.o iserial.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o idiscover.o idiscover.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o isol.o isol.c isol.c: In function 'sol_input_handler': isol.c:552:17: warning: variable 'lastc' set but not used [-Wunused-but-set-variable] 552 | static uchar lastc = 0; | ^~~~~ isol.c: In function 'sol_data_loop': isol.c:902:17: warning: variable 'lastc' set but not used [-Wunused-but-set-variable] 902 | static uchar lastc = 0; | ^~~~~ At top level: isol.c:188:14: warning: 'sol_esc_fn' defined but not used [-Wunused-variable] 188 | static char sol_esc_fn[4] = {'.','b','d', '?'}; /* SOL escape functions */ | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ifirewall.o ifirewall.c ifirewall.c: In function '_set_command_enables': ifirewall.c:460:18: warning: variable 'd' set but not used [-Wunused-but-set-variable] 460 | unsigned char * d, rqdata[19]; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipicmg.o ipicmg.c ipicmg.c:97:22: warning: 'PicmgExtMajorVersion' defined but not used [-Wunused-variable] 97 | static unsigned char PicmgExtMajorVersion; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o isensor.o isensor.c isensor.c: In function 'GetSensorReadingFactors': isensor.c:1082:7: warning: variable 'toler' set but not used [-Wunused-but-set-variable] 1082 | int toler, a_exp; | ^~~~~ isensor.c: In function 'find_sdr_by_id': isensor.c:1641:11: warning: variable 'imatch' set but not used [-Wunused-but-set-variable] 1641 | int i, imatch, len; | ^~~~~~ isensor.c: In function 'i_sensor': isensor.c:3469:8: warning: variable 'pstr' set but not used [-Wunused-but-set-variable] 3469 | char *pstr; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ifwum.o ifwum.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o iuser.o iuser.c iuser.c: In function 'ipmi_user_list': iuser.c:105:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] 105 | int i,ret = 0; | ^ iuser.c: In function 'ipmi_user_enable_disable': iuser.c:146:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] 146 | int i, ret = -1; | ^ iuser.c: In function 'ipmi_user_set': iuser.c:182:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] 182 | int i, func = -1; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_fujitsu.o oem_fujitsu.c oem_fujitsu.c: In function 'read_sel_fujitsu': oem_fujitsu.c:253:15: warning: variable 'text_len' set but not used [-Wunused-but-set-variable] 253 | int rs_len, text_len, data_len, chunk_len; | ^~~~~~~~ oem_fujitsu.c: In function 'decode_sel_fujitsu': oem_fujitsu.c:372:10: warning: variable 'gstr' set but not used [-Wunused-but-set-variable] 372 | char *gstr = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o itsol.o itsol.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o iconfig.o iconfig.c iconfig.c: In function 'GetUser': iconfig.c:506:12: warning: variable 'c' set but not used [-Wunused-but-set-variable] 506 | uchar c; | ^ At top level: iconfig.c:1323:12: warning: 'Get_Mac' defined but not used [-Wunused-function] 1323 | static int Get_Mac(uchar *ipadr,uchar *macadr) | ^~~~~~~ iconfig.c:840:12: warning: 'SubnetIsValid' defined but not used [-Wunused-function] 840 | static int SubnetIsValid(uchar *subnet) | ^~~~~~~~~~~~~ iconfig.c:215:15: warning: 'lan_access' defined but not used [-Wunused-variable] 215 | static uchar lan_access = 0x04; /* see SetPassword*/ | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ilan.o ilan.c ilan.c:645:1: warning: 'GetDeviceID' defined but not used [-Wunused-function] 645 | GetDeviceID (LAN_RECORD * pLanRecord) | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_kontron.o oem_kontron.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o idcmi.o idcmi.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_quanta.o oem_quanta.c oem_quanta.c: In function 'decode_sel_quanta': oem_quanta.c:108:10: warning: variable 'gstr' set but not used [-Wunused-but-set-variable] 108 | char *gstr = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ihpm.o ihpm.c ihpm.c: In function 'HpmDisplayUpgrade': ihpm.c:1228:39: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] 1228 | printf("| | Upload Time: %02d.%02d | Image Size: %05x |\n", | ~~~^ | | | int | %02ld 1229 | timeElapsed/60,timeElapsed%60,totalSent); | ~~~~~~~~~~~~~~ | | | time_t {aka long int} ihpm.c:1228:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 1228 | printf("| | Upload Time: %02d.%02d | Image Size: %05x |\n", | ~~~^ | | | int | %02ld 1229 | timeElapsed/60,timeElapsed%60,totalSent); | ~~~~~~~~~~~~~~ | | | time_t {aka long int} ihpm.c: In function 'HpmfwupgPreUpgradeCheck': ihpm.c:1922:17: warning: variable 'actionsSize' set but not used [-Wunused-but-set-variable] 1922 | unsigned int actionsSize; | ^~~~~~~~~~~ ihpm.c: In function 'HpmfwupgUpgradeStage': ihpm.c:2136:21: warning: variable 'actionsSize' set but not used [-Wunused-but-set-variable] 2136 | unsigned int actionsSize; | ^~~~~~~~~~~ ihpm.c: In function 'HpmFwupgActionUploadFirmware': ihpm.c:2513:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] 2513 | printf(" Time Taken %02d:%02d\n",(end-start)/60, (end-start)%60); | ~~~^ ~~~~~~~~~~~~~~ | | | | int time_t {aka long int} | %02ld ihpm.c:2513:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 2513 | printf(" Time Taken %02d:%02d\n",(end-start)/60, (end-start)%60); | ~~~^ ~~~~~~~~~~~~~~ | | | | int time_t {aka long int} | %02ld ihpm.c: In function 'HpmGetUserInput': ihpm.c:1160:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1160 | scanf("%s",userInput); | ^~~~~~~~~~~~~~~~~~~~~ ihpm.c: In function 'HpmfwupgGetBufferFromFile': ihpm.c:2649:10: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2649 | fread(pFwupgCtx->pImageData, sizeof(unsigned char), pFwupgCtx->imageSize, pImageFile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_intel.o oem_intel.c oem_intel.c: In function 'set_enc_leds_i2c': oem_intel.c:1696:12: warning: variable 'rv2' set but not used [-Wunused-but-set-variable] 1696 | int rv, rv2, rlen, i; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_supermicro.o oem_supermicro.c oem_supermicro.c: In function 'ipmi_smcoem_main': oem_supermicro.c:853:19: warning: variable 'vend_id' set but not used [-Wunused-but-set-variable] 853 | int vend_id, prod_id; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_newisys.o oem_newisys.c oem_newisys.c: In function 'decode_sel_newisys': oem_newisys.c:78:10: warning: variable 'gstr' set but not used [-Wunused-but-set-variable] 78 | char *gstr = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_sun.o oem_sun.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_hp.o oem_hp.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_lenovo.o oem_lenovo.c oem_lenovo.c:83:53: warning: missing braces around initializer [-Wmissing-braces] 83 | uchar sev; char *desc; } oem_ibm_events[NIBMEVT] = { | ^ 84 | 0xC1, 0xFF, 0xFF, 0xFF, 0x01, 0x00, SEV_MIN, "CPU shutdown - Potential cause 'triple fault' a software address problem", | { } 85 | 0xC1, 0xFF, 0xFF, 0xFF, 0x02, 0x01, SEV_INFO, "Memory Mirrored Failover Occurred - System running from mirrored memory image", | { } 86 | 0xC1, 0xFF, 0xFF, 0xFF, 0x02, 0x04, SEV_INFO, "Memory hot replace event", | { } 87 | 0xC1, 0xFF, 0xFF, 0xFF, 0x02, 0x05, SEV_INFO, "Memory hot add event", | { } 88 | 0xC1, 0xFF, 0xFF, 0xFF, 0x03, 0x00, SEV_INFO, "Scalability link down", | { } 89 | 0xC1, 0xFF, 0xFF, 0xFF, 0x03, 0x01, SEV_INFO, "Scalability link up", | { } 90 | 0xC1, 0xFF, 0xFF, 0xFF, 0x03, 0x02, SEV_INFO, "Scalability link double wide down", | { } 91 | 0xC1, 0xFF, 0xFF, 0xFF, 0x03, 0x03, SEV_INFO, "Scalability link double wide up", | { } 92 | 0xC1, 0xFF, 0xFF, 0xFF, 0x03, 0x80, SEV_INFO, "Scalability link PFA", | { } 93 | 0xC1, 0xFF, 0xFF, 0xFF, 0x03, 0x81, SEV_INFO, "Scalability link invalid port", | { } 94 | 0xC1, 0xFF, 0xFF, 0xFF, 0x03, 0x82, SEV_INFO, "Scalability link invalid node", | { } 95 | 0xC1, 0xFF, 0xFF, 0xFF, 0x03, 0x83, SEV_INFO, "Scalability link kill", | { } 96 | 0xE0, 0x00, 0x00, 0xFF, 0xFF, 0xFF, SEV_INFO, "Device OK", | { } 97 | 0xE0, 0x00, 0x01, 0xFF, 0xFF, 0xFF, SEV_MAJ, "Required ROM space not available", | { } 98 | 0xE0, 0x00, 0x02, 0xFF, 0xFF, 0xFF, SEV_MAJ, "Required I/O Space not available", | { } 99 | 0xE0, 0x00, 0x03, 0xFF, 0xFF, 0xFF, SEV_MAJ, "Required memory not available" | { 100 | }; | } make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_asus.o oem_asus.c oem_asus.c: In function 'decode_sensor_asus': oem_asus.c:97:8: warning: variable 'b' set but not used [-Wunused-but-set-variable] 97 | int b; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o iekanalyzer.o iekanalyzer.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmibmc.o ipmibmc.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmild.o ipmild.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o mem_if.o mem_if.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmilipmi.o ipmilipmi.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmimv.o ipmimv.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmidir.o ipmidir.c ipmidir.c: In function 'ProcessSendMessage': ipmidir.c:661:14: warning: variable 'nRetryCount' set but not used [-Wunused-but-set-variable] 661 | UINT nRetryCount = 0; | ^~~~~~~~~~~ ipmidir.c: In function 'send_raw_kcs': ipmidir.c:898:18: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 898 | unsigned char dummy; | ^~~~~ ipmidir.c: In function 'SendTimedImbpRequest_kcs': ipmidir.c:984:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 984 | unsigned char dummy; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmicmd.o ipmicmd.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o md5.o md5.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o md2.o md2.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o imbapi.o imbapi.c imbapi.c: In function 'SendTimedIpmbpRequest': imbapi.c:447:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] 447 | DWORD error; | ^~~~~ imbapi.c:484:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] 484 | DWORD error; | ^~~~~ imbapi.c: In function 'SendTimedImbpRequest': imbapi.c:590:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] 590 | DWORD error; | ^~~~~ imbapi.c: In function 'SendTimedI2cRequest': imbapi.c:1067:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] 1067 | DWORD error; | ^~~~~ imbapi.c: In function 'SendAsyncImbpRequest': imbapi.c:1656:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] 1656 | DWORD error; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o subs.o subs.c subs.c: In function 'get_sysinfo': subs.c:641:17: warning: variable 'len' set but not used [-Wunused-but-set-variable] 641 | int rlen, j, len; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmilanplus.o ipmilanplus.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o oem_dell.o oem_dell.c oem_dell.c: In function 'ipmi_delloem_sysinfo_main': oem_dell.c:360:35: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 360 | unsigned char infostr[256], *pos; | ^~~ oem_dell.c: In function 'ipmi_powermgmt': oem_dell.c:3526:11: warning: variable 'dte' set but not used [-Wunused-but-set-variable] 3526 | char* dte; | ^~~ oem_dell.c: In function 'ipmi_get_power_consumption_data': oem_dell.c:3835:29: warning: variable 'sdr' set but not used [-Wunused-but-set-variable] 3835 | struct sdr_record_list *sdr = NULL; | ^~~ oem_dell.c: In function 'ipmi_print_power_consmpt_history': oem_dell.c:4289:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4289 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4291:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4291 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4293:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4293 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4295:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4295 | printf ("%4d BTU/hr\n\r",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4299:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4299 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4301:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4301 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4303:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4303 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4305:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4305 | printf ("%4d BTU/hr\n\r",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4309:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4309 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4311:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4311 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4313:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4313 | printf ("%4d BTU/hr ",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c:4315:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 4315 | printf ("%4d BTU/hr\n\r\n\r",tempbtuphrconv); | ~~^ ~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %4ld oem_dell.c: In function 'ipmi_set_power_cap': oem_dell.c:4510:14: warning: variable 'maxpowerbtuphr' set but not used [-Wunused-but-set-variable] 4510 | uint64_t maxpowerbtuphr; | ^~~~~~~~~~~~~~ oem_dell.c: In function 'decode_sel_dell': oem_dell.c:6000:10: warning: variable 'gstr' set but not used [-Wunused-but-set-variable] 6000 | char *gstr = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o ipmi_port ipmi_port.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -I.. -DALLOW_GPL -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ipmilan.o ipmilan.c ipmilan.c: In function 'sig_abort': ipmilan.c:682:8: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 682 | int rv; | ^~ ipmilan.c: In function 'hash': ipmilan.c:827:17: warning: variable 'i' set but not used [-Wunused-but-set-variable] 827 | int blen, n, i; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' mkdir -p obj x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o obj/ipmilanplusA.o -c ipmilanplus.c; make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c iseltime.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c ipmi_sample.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o idiscover idiscover.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o ipmi_sample_evt.o -c ipmi_sample_evt.c ipmi_sample_evt.c: In function 'startevent_sel': ipmi_sample_evt.c:243:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'short unsigned int *' [-Wformat=] 243 | rv = fscanf(fd,"%x %x",&t,&r); | ~^ ~~ | | | | | short unsigned int * | unsigned int * | %hx make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' mkdir -p obj x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DHAVE_LANPLUS -o obj/ipmilanplusL.o -c ipmilanplus.c; make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DALONE -o ievents ievents.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' mkdir -p obj x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DHAVE_LANPLUS -o obj/ipmilanL.o -c ipmilan.c; make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' mkdir -p obj x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o obj/ipmilanA.o -c ipmilan.c; make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DSENSORS_OK -o ievents2.o -c ievents.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' if [ "xyes" = "xyes" ]; then \ ar x ../lib/libipmi_lanplus.a ; \ ar cru libipmiutil.a ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o md5.o md2.o obj/ipmilanL.o obj/ipmilanplusL.o lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ; \ ranlib libipmiutil.a; \ else \ ar cru libipmiutil.a ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o md5.o md2.o obj/ipmilanA.o obj/ipmilanplusA.o ; \ ranlib libipmiutil.a ; \ fi ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DSKIP_MD2 -DSSL11 -fPIC -Wno-pointer-sign -Wno-sign-conversion -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o isensor2.o -c isensor.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -g -O2 -o iseltime iseltime.o libipmiutil.a -lpthread ../lib/libipmi_lanplus.a -lcrypto ipmicmd.c:197:12: warning: type of 'ipmi_cmdraw_ia' does not match original declaration [-Wlto-type-mismatch] 197 | extern int ipmi_cmdraw_ia( uchar cmd, uchar netfn, uchar lun, uchar sa, | ^ imbapi.c:863:5: note: type mismatch in parameter 7 863 | int ipmi_cmdraw_ia(BYTE cmd, BYTE netfn, BYTE lun, BYTE sa, BYTE bus, | ^ imbapi.c:863:5: note: type 'BYTE' should match type 'int' imbapi.c:863:5: note: 'ipmi_cmdraw_ia' was previously declared here ipmicmd.c:216:12: warning: type of 'ipmi_open_direct' does not match original declaration [-Wlto-type-mismatch] 216 | extern int ipmi_open_direct(char fdebug); | ^ ipmidir.c:392:5: note: type mismatch in parameter 1 392 | int ipmi_open_direct(int fdebugcmd) | ^ ipmidir.c:392:5: note: type 'int' should match type 'char' ipmidir.c:392:5: note: 'ipmi_open_direct' was previously declared here make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' if [ "xyes" = "xyes" ]; then \ ar x ../lib/libipmi_lanplus.a ; \ x86_64-alt-linux-gcc -shared -Wl,-soname,libipmiutil.so.1 -o libipmiutil.so.1 ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o md5.o md2.o obj/ipmilanL.o obj/ipmilanplusL.o lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o -lpthread ../lib/libipmi_lanplus.a -lcrypto ; \ else \ x86_64-alt-linux-gcc -shared -Wl,-soname,libipmiutil.so.1 -o libipmiutil.so.1 ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o md5.o md2.o obj/ipmilanA.o obj/ipmilanplusA.o -lpthread ../lib/libipmi_lanplus.a -lcrypto ; \ fi ipmicmd.c:197:12: warning: type of 'ipmi_cmdraw_ia' does not match original declaration [-Wlto-type-mismatch] 197 | extern int ipmi_cmdraw_ia( uchar cmd, uchar netfn, uchar lun, uchar sa, | ^ imbapi.c:863:5: note: type mismatch in parameter 7 863 | int ipmi_cmdraw_ia(BYTE cmd, BYTE netfn, BYTE lun, BYTE sa, BYTE bus, | ^ imbapi.c:863:5: note: type 'BYTE' should match type 'int' imbapi.c:863:5: note: 'ipmi_cmdraw_ia' was previously declared here ipmicmd.c:216:12: warning: type of 'ipmi_open_direct' does not match original declaration [-Wlto-type-mismatch] 216 | extern int ipmi_open_direct(char fdebug); | ^ ipmidir.c:392:5: note: type mismatch in parameter 1 392 | int ipmi_open_direct(int fdebugcmd) | ^ ipmidir.c:392:5: note: type 'int' should match type 'char' ipmidir.c:392:5: note: 'ipmi_open_direct' was previously declared here make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -o ipmiutil ipmiutil.o ialarms.o ihealth.o ievents.o ifru.o ifru_picmg.o igetevent.o ireset.o icmd.o ilan.o isensor.o isel.o iserial.o iwdt.o isol.o idiscover.o iconfig.o ipicmg.o ifirewall.o ifwum.o ihpm.o itsol.o idcmi.o iuser.o oem_kontron.o oem_fujitsu.o oem_intel.o oem_sun.o oem_supermicro.o oem_dell.o oem_quanta.o oem_hp.o oem_newisys.o oem_lenovo.o oem_asus.o iekanalyzer.o ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o md5.o md2.o ipmilan.o ipmilanplus.o -lpthread ../lib/libipmi_lanplus.a -lcrypto ipmicmd.c:197:12: warning: type of 'ipmi_cmdraw_ia' does not match original declaration [-Wlto-type-mismatch] 197 | extern int ipmi_cmdraw_ia( uchar cmd, uchar netfn, uchar lun, uchar sa, | ^ imbapi.c:863:5: note: type mismatch in parameter 7 863 | int ipmi_cmdraw_ia(BYTE cmd, BYTE netfn, BYTE lun, BYTE sa, BYTE bus, | ^ imbapi.c:863:5: note: type 'BYTE' should match type 'int' imbapi.c:863:5: note: 'ipmi_cmdraw_ia' was previously declared here ipmicmd.c:216:12: warning: type of 'ipmi_open_direct' does not match original declaration [-Wlto-type-mismatch] 216 | extern int ipmi_open_direct(char fdebug); | ^ ipmidir.c:392:5: note: type mismatch in parameter 1 392 | int ipmi_open_direct(int fdebugcmd) | ^ ipmidir.c:392:5: note: type 'int' should match type 'char' ipmidir.c:392:5: note: 'ipmi_open_direct' was previously declared here itsol.h:61:5: warning: type of 'open_sockfd' does not match original declaration [-Wlto-type-mismatch] 61 | int open_sockfd(char *node, SockType *sfd, SOCKADDR_T *daddr, | ^ ipmilan.c:531:5: note: type mismatch in parameter 2 531 | int open_sockfd(char *node, int port, SockType *sfd, SOCKADDR_T *daddr, | ^ ipmilan.c:531:5: note: 'open_sockfd' was previously declared here ipmilan.c:531:5: note: code may be misoptimized unless '-fno-strict-aliasing' is used isol.c:145:13: warning: type of 'lan_keepalive' does not match original declaration [-Wlto-type-mismatch] 145 | extern int lan_keepalive(int type); | ^ ipmilan.c:2218:6: note: type mismatch in parameter 1 2218 | int lan_keepalive( uchar bType ) | ^ ipmilan.c:2218:6: note: type 'unsigned char' should match type 'int' ipmilan.c:2218:6: note: 'lan_keepalive' was previously declared here ievents.c:629:12: warning: type of 'GetSensorType' does not match original declaration [-Wlto-type-mismatch] 629 | extern int GetSensorType(int snum, uchar *stype, uchar *rtype); | ^ isensor.c:1107:5: note: type mismatch in parameter 1 1107 | int GetSensorType(uchar snum, uchar *stype, uchar *rtype) | ^ isensor.c:1107:5: note: type 'unsigned char' should match type 'int' isensor.c:1107:5: note: 'GetSensorType' was previously declared here ievents.c:627:14: warning: type of 'get_unit_type' does not match original declaration [-Wlto-type-mismatch] 627 | extern char *get_unit_type(uchar iunit, uchar ibase, uchar imod, int flg); | ^ isensor.c:624:7: note: type mismatch in parameter 1 624 | char *get_unit_type(int iunits, int ibase, int imod, int fshort) | ^ isensor.c:624:7: note: type 'int' should match type 'unsigned char' isensor.c:624:7: note: 'get_unit_type' was previously declared here ievents.c:784:13: warning: type of 'get_MemDesc' does not match original declaration [-Wlto-type-mismatch] 784 | extern int get_MemDesc(int array, int dimm, char *desc, int *psz); /*mem_if.c*/ | ^ mem_if.c:610:5: note: type mismatch in parameter 1 610 | int get_MemDesc(UCHAR array, UCHAR dimm, char *desc, int *psize) | ^ mem_if.c:610:5: note: type 'UCHAR' should match type 'int' mem_if.c:610:5: note: 'get_MemDesc' was previously declared here In function 'strncpy', inlined from 'file_grep.constprop' at ievents.c:1042:6: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ievents.c: In function 'file_grep.constprop': subs.c:81:16: note: length computed here 81 | return((int)strlen(s)); | ^ In function 'strncpy', inlined from 'decode_mem_intel' at oem_intel.c:1113:9, inlined from 'decode_sel_entry' at ievents.c:1845:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ievents.c: In function 'decode_sel_entry': subs.c:81:16: note: length computed here 81 | return((int)strlen(s)); | ^ In function 'strncpy', inlined from 'get_stype_str' at isensor.c:2571:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ isensor.c: In function 'get_stype_str': subs.c:81:16: note: length computed here 81 | return((int)strlen(s)); | ^ In function 'strncpy', inlined from 'i_lan' at ilan.c:5689:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ilan.c: In function 'i_lan': subs.c:81:16: note: length computed here 81 | return((int)strlen(s)); | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -g -O2 -o ipmi_sample ipmi_sample.o libipmiutil.a ../lib/libipmi_lanplus.a -lcrypto ipmicmd.c:197:12: warning: type of 'ipmi_cmdraw_ia' does not match original declaration [-Wlto-type-mismatch] 197 | extern int ipmi_cmdraw_ia( uchar cmd, uchar netfn, uchar lun, uchar sa, | ^ imbapi.c:863:5: note: type mismatch in parameter 7 863 | int ipmi_cmdraw_ia(BYTE cmd, BYTE netfn, BYTE lun, BYTE sa, BYTE bus, | ^ imbapi.c:863:5: note: type 'BYTE' should match type 'int' imbapi.c:863:5: note: 'ipmi_cmdraw_ia' was previously declared here ipmicmd.c:216:12: warning: type of 'ipmi_open_direct' does not match original declaration [-Wlto-type-mismatch] 216 | extern int ipmi_open_direct(char fdebug); | ^ ipmidir.c:392:5: note: type mismatch in parameter 1 392 | int ipmi_open_direct(int fdebugcmd) | ^ ipmidir.c:392:5: note: type 'int' should match type 'char' ipmidir.c:392:5: note: 'ipmi_open_direct' was previously declared here make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' x86_64-alt-linux-gcc -g -O2 -o ipmi_sample_evt ipmi_sample_evt.o isensor2.o ievents2.o libipmiutil.a ../lib/libipmi_lanplus.a -lcrypto ipmicmd.c:197:12: warning: type of 'ipmi_cmdraw_ia' does not match original declaration [-Wlto-type-mismatch] 197 | extern int ipmi_cmdraw_ia( uchar cmd, uchar netfn, uchar lun, uchar sa, | ^ imbapi.c:863:5: note: type mismatch in parameter 7 863 | int ipmi_cmdraw_ia(BYTE cmd, BYTE netfn, BYTE lun, BYTE sa, BYTE bus, | ^ imbapi.c:863:5: note: type 'BYTE' should match type 'int' imbapi.c:863:5: note: 'ipmi_cmdraw_ia' was previously declared here ipmicmd.c:216:12: warning: type of 'ipmi_open_direct' does not match original declaration [-Wlto-type-mismatch] 216 | extern int ipmi_open_direct(char fdebug); | ^ ipmidir.c:392:5: note: type mismatch in parameter 1 392 | int ipmi_open_direct(int fdebugcmd) | ^ ipmidir.c:392:5: note: type 'int' should match type 'char' ipmidir.c:392:5: note: 'ipmi_open_direct' was previously declared here make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.35811 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ipmiutil-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ipmiutil-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd ipmiutil-3.1.3 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/ipmiutil-buildroot make: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3' Making install in doc make[1]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/doc' sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/var/lib/ipmiutil mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/var/lib/ipmiutil sh ../install-sh -c -m 644 isel.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 isensor.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ireset.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ialarms.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iwdt.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ifru.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ilan.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iserial.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 icmd.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 igetevent.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ihealth.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ipmiutil.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 isol.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 idiscover.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ievents.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iconfig.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ipmi_port.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ipicmg.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ifirewall.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ifwum.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ihpm.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 isunoem.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 itsol.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iekanalyzer.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 idelloem.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 idcmi.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ismcoem.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iuser.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iseltime.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 bmclanpet.mib /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil cd /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8; gzip -f *.8 make[1]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/doc' Making install in scripts make[1]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/scripts' sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/sbin mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/usr/sbin sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/etc/-14: _initrddir %_initdir mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/etc/-14: _initrddir %_initdir sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/var/lib/ipmiutil sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmi_if.sh /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 evt.sh /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil if [ -f /etc/debian_version ]; then \ sysvinit=/usr/src/tmp/ipmiutil-buildroot/etc/-14: _initrddir %_initdir; fi sh ../install-sh -c -m 755 ipmiutil_wdt /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmiutil_wdt sh ../install-sh -c -m 755 ipmiutil_asy /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmiutil_asy sh ../install-sh -c -m 755 ipmiutil_evt /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmiutil_evt sh ../install-sh -c -m 755 ipmi_port.sh /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmi_port sh ../install-sh -c -m 755 ipmi_info /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmi_info sh ../install-sh -c -m 755 checksel /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 644 ipmiutil_wdt.service /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 644 ipmiutil_asy.service /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 644 ipmiutil_evt.service /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 644 ipmi_port.service /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmiutil.env /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmiutil.pre /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmiutil.setup /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmi.init.basic /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil for f in ialarms ihealth ifru igetevent ireset icmd isol ilan isensor isel iserial iwdt iconfig ipicmg ifirewall ifwum ihpm iuser; do \ sh ../install-sh -c -m 755 $f /usr/src/tmp/ipmiutil-buildroot/usr/sbin; done make[1]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/scripts' Making install in lib make[1]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib' if [ "-DHAVE_LANPLUS" = "-DHAVE_LANPLUS" ]; then \ sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil ; \ cd lanplus; make install ; \ fi make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib/lanplus' make[1]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/lib' Making install in util make[1]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' /bin/mkdir -p '/usr/src/tmp/ipmiutil-buildroot/usr/bin' /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p ipmiutil ievents idiscover '/usr/src/tmp/ipmiutil-buildroot/usr/bin' libtool: install: /usr/libexec/rpm-build/install -p ipmiutil /usr/src/tmp/ipmiutil-buildroot/usr/bin/ipmiutil libtool: install: /usr/libexec/rpm-build/install -p ievents /usr/src/tmp/ipmiutil-buildroot/usr/bin/ievents libtool: install: /usr/libexec/rpm-build/install -p idiscover /usr/src/tmp/ipmiutil-buildroot/usr/bin/idiscover /bin/mkdir -p '/usr/src/tmp/ipmiutil-buildroot/usr/sbin' /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p ipmi_port iseltime '/usr/src/tmp/ipmiutil-buildroot/usr/sbin' libtool: install: /usr/libexec/rpm-build/install -p ipmi_port /usr/src/tmp/ipmiutil-buildroot/usr/sbin/ipmi_port libtool: install: /usr/libexec/rpm-build/install -p iseltime /usr/src/tmp/ipmiutil-buildroot/usr/sbin/iseltime mkdir -p /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil mkdir -p /usr/src/tmp/ipmiutil-buildroot/usr/lib64 mkdir -p /usr/src/tmp/ipmiutil-buildroot/usr/include cp -f ipmi_sample.c /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil cp -f ipmi_sample_evt.c /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil cp -f ipmicmd.h /usr/src/tmp/ipmiutil-buildroot/usr/include cp -f isensor.c ievents.c /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil cp -f isensor.h ievents.h /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil cp -f Makefile.sample /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/Makefile cp -f libipmiutil.a /usr/src/tmp/ipmiutil-buildroot/usr/lib64 if [ "xlibipmiutil.so.1" != "x" ]; then \ cp -f libipmiutil.so.1 /usr/src/tmp/ipmiutil-buildroot/usr/lib64 ; \ cd /usr/src/tmp/ipmiutil-buildroot; ln -sf libipmiutil.so.1 /usr/src/tmp/ipmiutil-buildroot/usr/lib64/libipmiutil.so; \ fi make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[1]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3/util' make[1]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3' make[2]: Entering directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3' make[1]: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3' make: Leaving directory '/usr/src/RPM/BUILD/ipmiutil-3.1.3' + install -pDm755 scripts/checksel /usr/src/tmp/ipmiutil-buildroot/etc/cron.daily/checksel + install -dm700 /usr/src/tmp/ipmiutil-buildroot/var/lib/ipmiutil + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ipmiutil-buildroot (auto) mode of './usr/lib64/libipmiutil.so.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/ipmiutil-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/ipmiutil-buildroot/ (default) Compressing files in /usr/src/tmp/ipmiutil-buildroot (auto) Adjusting library links in /usr/src/tmp/ipmiutil-buildroot ./var/lib: (from :0) ./usr/lib64: (from :0) libipmiutil.so.1 -> libipmiutil.so.1 /usr/bin/strip: ./usr/lib64/stFjF2pw/ipmicmd.o: plugin needed to handle lto object process-lto: ERROR: ./usr/lib64/libipmiutil.a: contains __gnu_lto_slim. Perhaps, you need to %global optflags_lto %optflags_lto -ffat-lto-objects error: Bad exit status from /usr/src/tmp/rpm-tmp.35811 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.35811 (%install) Command exited with non-zero status 1 82.70user 10.97system 0:35.15elapsed 266%CPU (0avgtext+0avgdata 75756maxresident)k 0inputs+0outputs (0major+1707171minor)pagefaults 0swaps hsh-rebuild: rebuild of `ipmiutil-3.1.3-alt2.src.rpm' failed. Command exited with non-zero status 1 90.76user 16.31system 0:47.39elapsed 225%CPU (0avgtext+0avgdata 102264maxresident)k 976inputs+0outputs (0major+1955277minor)pagefaults 0swaps