>>> ipmitool 1.8.18 Extracting bzcat /tmp/instance-1/dl/ipmitool/ipmitool-1.8.18.tar.bz2 | /tmp/instance-1/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-1/output-1/build/ipmitool-1.8.18 -xf - >>> ipmitool 1.8.18 Patching Applying 0001-Fix-missing-stddef.h-include.patch using patch: patching file src/plugins/imb/imbapi.h Applying 0002-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0003-ID-461-Make-compiler-happier-about-changes-related-t.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0004-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0005-ID-480-Call-EVP_CIPHER_CTX_free-instead-of-EVP_CIPHE.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0006-lanplus-Fix-compile-with-deprecated-APIs-disabled.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c >>> ipmitool 1.8.18 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-1/output-1/build/ipmitool-1.8.18 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ipmitool 1.8.18 Patching libtool patching file /tmp/instance-1/output-1/build/ipmitool-1.8.18/ltmain.sh Hunk #7 succeeded at 6699 (offset 3 lines). Hunk #8 succeeded at 9280 (offset 6 lines). >>> ipmitool 1.8.18 Configuring (cd /tmp/instance-1/output-1/build/ipmitool-1.8.18/ && rm -rf config.cache && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ar" AS="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-as" LD="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld" NM="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm" CC="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc" GCC="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc" CPP="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-cpp" CXX="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++" FC="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gfortran" F77="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gfortran" RANLIB="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ranlib" READELF="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-readelf" STRIP="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-strip" OBJCOPY="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-objcopy" OBJDUMP="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-1/output-1/host/lib -Wl,-rpath,/tmp/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-as" DEFAULT_LINKER="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/tmp/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-gnueabihf --host=arm-buildroot-linux-gnueabihf --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --enable-intf-lanplus --disable-intf-usb --disable-ipmishell ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-gnueabihf checking target system type... arm-buildroot-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-gnueabihf-strip... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-strip 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 arm-buildroot-linux-gnueabihf-gcc... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc accepts -g... yes checking for /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc option to accept ISO C89... none needed checking whether /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for rpmbuild... rpm checking for sed... sed checking how to run the C preprocessor... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-cpp 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 for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... (cached) no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strtod... no checking for pow... no checking for pow in -lm... yes checking for alarm... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for getifaddrs... yes checking for socket... yes checking for select... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for getpassphrase... no 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 /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld checking if the linker (/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm checking the name lister (/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm) interface... BSD nm 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 x86_64-pc-linux-gnu file names to arm-buildroot-linux-gnueabihf format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld option to reload object files... -r checking for arm-buildroot-linux-gnueabihf-objdump... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-gnueabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-gnueabihf-ar... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-gnueabihf-strip... (cached) /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-strip checking for arm-buildroot-linux-gnueabihf-ranlib... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ranlib checking command to parse /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm output from /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc object... ok checking for sysroot... no checking for arm-buildroot-linux-gnueabihf-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc static flag -static works... yes checking if /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc supports -c -o file.o... yes checking if /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc linker (/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for library containing gethostbyname... none required checking for library containing getaddrinfo... none required checking for library containing getifaddrs... none required checking for library containing socket... none required checking for EVP_aes_128_cbc in -lcrypto... yes checking for EVP_sha256 in -lcrypto... yes checking for MD5_Init in -lcrypto... yes checking for MD2_Init in -lcrypto... no checking for linux/compiler.h... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking linux/ipmi.h usability... yes checking linux/ipmi.h presence... yes checking for linux/ipmi.h... yes checking for ipmi_open_inband in -lfreeipmi... no checking for ipmi_ctx_open_inband in -lfreeipmi... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for OpenIPMI dual bridge support... no checking sys/lipmi/lipmi_intf.h usability... no checking sys/lipmi/lipmi_intf.h presence... no checking for sys/lipmi/lipmi_intf.h... no ** Unable to build Solaris 9 x86 IPMI interface support! checking for library containing tgetent... -lncurses checking for library containing initscr... none required checking for library containing readline... -lreadline checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating contrib/Makefile config.status: creating control/Makefile config.status: creating control/pkginfo config.status: creating control/prototype config.status: creating control/rpmmacros config.status: creating control/ipmitool.spec config.status: creating lib/Makefile config.status: creating include/Makefile config.status: creating include/ipmitool/Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/lan/Makefile config.status: creating src/plugins/lanplus/Makefile config.status: creating src/plugins/open/Makefile config.status: creating src/plugins/free/Makefile config.status: creating src/plugins/imb/Makefile config.status: creating src/plugins/bmc/Makefile config.status: creating src/plugins/usb/Makefile config.status: creating src/plugins/lipmi/Makefile config.status: creating src/plugins/serial/Makefile config.status: creating src/plugins/dummy/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls ipmitool 1.8.18 Interfaces lan : yes lanplus : yes open : yes free : no imb : yes bmc : no usb : no lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : no >>> ipmitool 1.8.18 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-1/output-1/build/ipmitool-1.8.18/ make[1]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18' Making all in lib make[3]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/lib' /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o helper.lo helper.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdr.lo ipmi_sdr.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sel.lo ipmi_sel.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sol.lo ipmi_sol.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_pef.lo ipmi_pef.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp.lo ipmi_lanp.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fru.lo ipmi_fru.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_chassis.lo ipmi_chassis.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_mc.lo ipmi_mc.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o log.lo log.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o dimm_spd.lo dimm_spd.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sensor.lo ipmi_sensor.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_channel.lo ipmi_channel.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_event.lo ipmi_event.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_session.lo ipmi_session.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_strings.lo ipmi_strings.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_user.lo ipmi_user.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_raw.lo ipmi_raw.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_oem.lo ipmi_oem.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_isol.lo ipmi_isol.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sunoem.lo ipmi_sunoem.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fwum.lo ipmi_fwum.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_picmg.lo ipmi_picmg.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_main.lo ipmi_main.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_tsol.lo ipmi_tsol.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_firewall.lo ipmi_firewall.c In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:26, from ipmi_sel.c:34: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_kontronoem.lo ipmi_kontronoem.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_sol.c:38: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/unistd.h:25, from log.c:36: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_chassis.c:35: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdradd.lo ipmi_sdradd.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/sys/types.h:25, from helper.c:39: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_gendev.lo ipmi_gendev.c In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:26, from ipmi_sdr.c:37: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_event.c:34: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_user.c:37: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ime.lo ipmi_ime.c In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmi_sel.c:47: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_mc.c: In function 'ipmi_sysinfo_main': ipmi_mc.c:1063:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1063 | strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:465, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_mc.c:33: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ipmi_mc.c:1067:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1067 | strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:465, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_mc.c:33: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmi_pef.c:44: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ipmi_sel.c:50: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ ipmi_sel.c: In function 'ipmi_sel_oem_readval': ipmi_sel.c:87:22: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] 87 | if (sscanf(str, "0x%x", &ret) != 1) { | ~^ ~~~~ | | | | | int * | unsigned int * | %x ipmi_sel.c: In function 'ipmi_sel_oem_message': ipmi_sel.c:196:69: warning: unused parameter 'verbose' [-Wunused-parameter] 196 | static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) | ~~~~^~~~~~~ In file included from ipmi_sensor.c:40: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_sel.c: In function 'get_kontron_evt_desc': ipmi_sel.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] 457 | get_kontron_evt_desc(struct ipmi_intf *intf, struct sel_event_record * rec) | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] 659 | int base, | ~~~~^~~~ ipmi_pef.c: In function 'ipmi_pef_bit_desc': ipmi_pef.c:103:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 103 | sprintf(p, listitem[index], pmap->desc); | ^~~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_flags': ipmi_pef.c:134:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 134 | printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); | ^~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_field': ipmi_pef.c:146:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 146 | printf(fmt[0], KYWD_LENGTH, label, val); | ^~~~~~ ipmi_pef.c:148:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 148 | printf(&fmt[1][2], val); /* skip field separator */ | ^~~~~~ ipmi_pef.c:150:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 150 | printf(fmt[1], val); | ^~~~~~ In file included from ../include/ipmitool/ipmi_fru.h:38, from dimm_spd.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_pef.c: In function 'ipmi_pef_print_oem_lan_dest': ipmi_pef.c:605:61: warning: unused parameter 'ch' [-Wunused-parameter] 605 | ipmi_pef_print_oem_lan_dest(struct ipmi_intf *intf, uint8_t ch, uint8_t dest) | ~~~~~~~~^~ In file included from dimm_spd.c:37: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ ipmi_pef.c: In function 'ipmi_pef_print_dest': ipmi_pef.c:906:40: warning: unused parameter 'intf' [-Wunused-parameter] 906 | ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) | ~~~~~~~~~~~~~~~~~~~^~~~ ipmi_pef.c:906:54: warning: unused parameter 'ch' [-Wunused-parameter] 906 | ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) | ~~~~~~~~^~ ipmi_pef.c: In function 'ipmi_pef_print_event_info': ipmi_pef.c:952:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 952 | if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { | ^~ ipmi_sensor.c: In function 'print_thresh_setting': ipmi_sensor.c:235:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 235 | printf(na_fmt, "na"); | ^~~~~~ ipmi_sensor.c:239:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 239 | printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); | ^~~~~~ ipmi_sensor.c:241:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 241 | printf(discrete_fmt, setting); | ^~~~~~ ipmi_raw.c: In function 'ipmi_raw_main': ipmi_raw.c:334:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 334 | else if (argc > sizeof(data)) | ^ In file included from ipmi_sdr.c:48: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ../include/ipmitool/ipmi_sensor.h:39, from ipmi_strings.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ../include/ipmitool/ipmi_fru.h:38, from ipmi_fru.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_isol.c: In function 'ipmi_isol_red_pill': ipmi_isol.c:618:42: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] 618 | int rc = processiSolUserInput(intf, buffer, numRead); | ^~~~~~ | | | char * ipmi_isol.c:458:17: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 458 | uint8_t * input, | ~~~~~~~~~~^~~~~ In file included from ipmi_fru.c:37: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmi_event.c:50: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmi_oem.c:38: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_fru.c: In function 'write_fru_area': ipmi_fru.c:474:26: warning: implicit declaration of function 'ipmi_intf_get_max_request_data_size'; did you mean 'ipmi_intf_set_max_request_data_size'? [-Wimplicit-function-declaration] 474 | uint16_t max_rq_size = ipmi_intf_get_max_request_data_size(intf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ipmi_intf_set_max_request_data_size In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_main.c:38: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ipmi_fru.c: In function 'read_fru_area': ipmi_fru.c:644:26: warning: implicit declaration of function 'ipmi_intf_get_max_response_data_size'; did you mean 'ipmi_intf_set_max_response_data_size'? [-Wimplicit-function-declaration] 644 | uint16_t max_rs_size = ipmi_intf_get_max_response_data_size(intf) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ipmi_intf_set_max_response_data_size ipmi_oem.c: In function 'ipmi_oem_ibm': ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] 86 | ipmi_oem_ibm(struct ipmi_intf * intf) | ~~~~~~~~~~~~~~~~~~~^~~~ ipmi_fru.c: In function 'fru_area_print_chassis': ipmi_fru.c:972:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 972 | if (i == j) { | ^~ In file included from ../include/ipmitool/ipmi.h:41, from ipmi_event.c:46: ipmi_event.c: In function 'ipmi_event_find_offset': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) | ^ ipmi_event.c:221:33: note: in expansion of macro '__maxlen' 221 | strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) { | ^~~~~~~~ ipmi_fru.c: In function 'fru_area_print_board': ipmi_fru.c:1097:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1097 | if (i == j) | ^~ ipmi_fru.c: In function 'fru_area_print_product': ipmi_fru.c:1232:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1232 | if (i == j) | ^~ ipmi_event.c: In function 'ipmi_event_fromsensor': ipmi_event.c:407:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 407 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { | ^ ipmi_event.c:414:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 414 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { | ^ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1465:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1465 | for( i=0;i y) ? x : y;}) | ^ helper.c:567:35: note: in expansion of macro '__maxlen' 567 | if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) | ^~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_edit': ipmi_fru.c:1998:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1998 | for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ | ^ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_print': ipmi_fru.c:2265:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2265 | for (j=0; j < sizeof(struct fru_picmgext_guid); | ^ In file included from ipmi_sel.c:48: At top level: ../include/ipmitool/ipmi_sel_supermicro.h:114:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] 114 | static uint16_t supermicro_x8[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:110:17: warning: 'supermicro_p8' defined but not used [-Wunused-variable] 110 | static uint16_t supermicro_p8[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:103:17: warning: 'supermicro_h8' defined but not used [-Wunused-variable] 103 | static uint16_t supermicro_h8[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:99:17: warning: 'supermicro_b8' defined but not used [-Wunused-variable] 99 | static uint16_t supermicro_b8[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:76:17: warning: 'supermicro_x9sb' defined but not used [-Wunused-variable] 76 | static uint16_t supermicro_x9sb[] = { | ^~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:72:17: warning: 'supermicro_x9db' defined but not used [-Wunused-variable] 72 | static uint16_t supermicro_x9db[] = { | ^~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:68:17: warning: 'supermicro_x9dal' defined but not used [-Wunused-variable] 68 | static uint16_t supermicro_x9dal[] = { | ^~~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:47:17: warning: 'supermicro_b2' defined but not used [-Wunused-variable] 47 | static uint16_t supermicro_b2[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:43:17: warning: 'supermicro_b11' defined but not used [-Wunused-variable] 43 | static uint16_t supermicro_b11[] = { | ^~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:37:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] 37 | static uint16_t supermicro_x11[] = { | ^~~~~~~~~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_mc_locator': ipmi_sdr.c:2129:52: warning: unused parameter 'intf' [-Wunused-parameter] 2129 | ipmi_sdr_print_sensor_mc_locator(struct ipmi_intf *intf, | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_fru.c:2510:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2510 | for (j=0; j < sizeof(struct fru_picmgext_guid); | ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_generic_locator': ipmi_sdr.c:2225:57: warning: unused parameter 'intf' [-Wunused-parameter] 2225 | ipmi_sdr_print_sensor_generic_locator(struct ipmi_intf *intf, | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fru_locator': ipmi_sdr.c:2282:53: warning: unused parameter 'intf' [-Wunused-parameter] 2282 | ipmi_sdr_print_sensor_fru_locator(struct ipmi_intf *intf, | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_entity_assoc': ipmi_sdr.c:2341:54: warning: unused parameter 'intf' [-Wunused-parameter] 2341 | ipmi_sdr_print_sensor_entity_assoc(struct ipmi_intf *intf, | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_sdr.c:2342:40: warning: unused parameter 'assoc' [-Wunused-parameter] 2342 | struct sdr_record_entity_assoc *assoc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_oem_intel': ipmi_sdr.c:2356:51: warning: unused parameter 'intf' [-Wunused-parameter] 2356 | ipmi_sdr_print_sensor_oem_intel(struct ipmi_intf *intf, | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_fru.c:2821:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=] 2821 | printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", | ~~~~^ | | | long int | %-9d 2822 | freq, min_freq, max_freq); | ~~~~ | | | unsigned int ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': ipmi_fru.c:2821:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 2821 | printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", | ~~~~^ | | | long int | %-9d 2822 | freq, min_freq, max_freq); | ~~~~~~~~ | | | unsigned int ipmi_sdr.c:2476:53: warning: unused parameter 'intf' [-Wunused-parameter] 2476 | ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf, uint16_t id, | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_fru.c:2821:61: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] 2821 | printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", | ~~~~^ | | | long int | %-9d 2822 | freq, min_freq, max_freq); | ~~~~~~~~ | | | unsigned int ipmi_sdr.c: In function 'ipmi_sdr_end': ipmi_sdr.c:3079:32: warning: unused parameter 'intf' [-Wunused-parameter] 3079 | ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) | ~~~~~~~~~~~~~~~~~~^~~~ helper.c: In function 'ipmi_start_daemon': helper.c:831:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 831 | chdir("/"); | ^~~~~~~~~~ helper.c:841:2: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 841 | dup(fd); | ^~~~~~~ helper.c:842:2: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 842 | dup(fd); | ^~~~~~~ In file included from ../include/ipmitool/ipmi_fru.h:38, from ipmi_kontronoem.c:47: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_fru.c: In function 'ipmi_fru_get_multirec_size_from_file': ipmi_fru.c:3838:36: warning: self-comparison always evaluates to false [-Wtautological-compare] 3838 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && | ^ ipmi_fru.c:3842:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 3842 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && | ^ ipmi_fru.c:3846:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 3846 | if (((header.offset.board * 8) > (header.offset.board * 8)) && | ^ ipmi_fru.c:3850:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 3850 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ In file included from ipmi_kontronoem.c:47: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': ipmi_fru.c:4025:36: warning: self-comparison always evaluates to false [-Wtautological-compare] 4025 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && | ^ ipmi_sdr.c: In function 'ipmi_sdr_list_cache_fromfile': ipmi_fru.c:4029:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 4029 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && | ^ ipmi_sdr.c:3925:48: warning: unused parameter 'intf' [-Wunused-parameter] 3925 | ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_fru.c:4033:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 4033 | if (((header.offset.board * 8) > (header.offset.board * 8)) && | ^ In file included from ../include/ipmitool/ipmi.h:41, from ipmi_sdr.c:45: ipmi_sdr.c: In function 'ipmi_sdr_get_info': ipmi_fru.c:4037:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 4037 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_sdr.c:4207:9: note: in expansion of macro '__min' 4207 | __min(sizeof (struct get_sdr_repository_info_rsp), | ^~~~~ ../include/ipmitool/helper.h:116:42: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_sdr.c:4207:9: note: in expansion of macro '__min' 4207 | __min(sizeof (struct get_sdr_repository_info_rsp), | ^~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_type': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) | ^ ipmi_sdr.c:4477:6: note: in expansion of macro '__maxlen' 4477 | __maxlen(type, | ^~~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_entity': ipmi_kontronoem.c: In function 'ipmi_kontron_nextboot_set': ipmi_kontronoem.c:659:55: warning: unused parameter 'argc' [-Wunused-parameter] 659 | ipmi_kontron_nextboot_set(struct ipmi_intf *intf, int argc, char **argv) | ~~~~^~~~ ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) | ^ ipmi_sdr.c:4542:7: note: in expansion of macro '__maxlen' 4542 | __maxlen(entitystr, entity_id_vals[i].str)) == 0) { | ^~~~~~~~ ipmi_sdr.c: In function 'sdr_convert_sensor_reading': ipmi_sdr.c:206:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 206 | if (val & 0x80) | ^ ipmi_sdr.c:209:2: note: here 209 | case 2: | ^~~~ ipmi_sdr.c: In function 'sdr_convert_sensor_hysterisis': ipmi_sdr.c:286:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 286 | if (val & 0x80) | ^ ipmi_sdr.c:289:2: note: here 289 | case 2: | ^~~~ ipmi_sdr.c: In function 'sdr_convert_sensor_tolerance': ipmi_sdr.c:361:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 361 | if (val & 0x80) | ^ ipmi_sdr.c:364:2: note: here 364 | case 2: | ^~~~ ipmi_fru.c: In function 'ipmi_fru_set_field_string': ipmi_fru.c:4806:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 4806 | for (i = 0; i < fru_section_len - 1; i++) | ^ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_intf.h:36, from ipmi_hpmfwupg.c:38: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': ipmi_fru.c:4989:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4989 | num_byte_change = strlen(f_string) - strlen(fru_area); | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from ../include/ipmitool/helper.h:39, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ipmi_fru.c:5110:73: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 5110 | if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) | ^ ipmi_fru.c:5155:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 5155 | strlen(fru_area)), | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from ../include/ipmitool/helper.h:39, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ipmi_fru.c:5160:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 5160 | for(counter = 0; counter < padding_len; counter ++) | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_delloem.lo ipmi_delloem.c ipmi_user.c: In function '_ipmi_set_user_password': ipmi_user.c:212:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 212 | if (copy_len > (data_len - 2)) { | ^ At top level: ipmi_fru.c:826:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] 826 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_dcmi.lo ipmi_dcmi.c ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': ipmi_fwum.c:365:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 365 | modulus, pFileHandle) == modulus) { | ^~ ipmi_tsol.c: In function 'ipmi_tsol_command': ipmi_tsol.c:88:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] 88 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { | ~^ ~~~~ | | | | int * unsigned int * | %d ipmi_tsol.c:88:26: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] 88 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { | ~^ ~~~~ | | | | int * unsigned int * | %d ipmi_tsol.c:88:29: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] 88 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { | ~^ ~~~~ | | | | int * unsigned int * | %d ipmi_tsol.c:88:32: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] 88 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { | ~^ ~~~~ | | | | int * unsigned int * | %d In file included from ipmi_main.c:56: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_tsol.c: In function 'ipmi_tsol_main': ipmi_tsol.c:540:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 540 | if ((fds[0].revents & POLLIN) && (sizeof(out_buff) > out_buff_fill)) { | ^ ipmi_tsol.c:543:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 543 | if ((sizeof(out_buff) - out_buff_fill + 4) < buff_size) { | ^ ipmi_tsol.c:561:53: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 561 | if ((fds[1].revents & POLLIN) && (sizeof(in_buff) > in_buff_fill)) { | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o hpm2.lo hpm2.c In file included from ipmi_main.c:59: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmi_sunoem.c:57: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ipmi_main.c:51: ipmi_main.c: In function 'ipmi_cmd_run': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) | ^ ipmi_main.c:207:32: note: in expansion of macro '__maxlen' 207 | if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) | ^~~~~~~~ In file included from ../include/ipmitool/ipmi_fru.h:38, from ipmi_picmg.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ipmi_picmg.c:36: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ In file included from ipmi_sdradd.c:51: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_sunoem.c: In function 'ipmi_sunoem_echo': ipmi_sunoem.c:1439:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] 1439 | printf("Receive %lu Bytes - Seq. # %d time=%d ms\n", | ~~^ | | | long unsigned int | %u 1440 | sizeof(sunoem_echo_msg_t), echo_rsp->seq_num, resp_time); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int In file included from ../include/ipmitool/ipmi_fru.h:38, from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_ime.c: In function 'ImeImageCtxFromFile': ipmi_ime.c:895:30: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 895 | if (pImageCtx->size < 0) | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_vita.lo ipmi_vita.c ipmi_picmg.c: In function 'ipmi_picmg_fru_activation': ipmi_picmg.c:664:56: warning: unused parameter 'argc' [-Wunused-parameter] 664 | ipmi_picmg_fru_activation(struct ipmi_intf * intf, int argc, char ** argv, unsigned char state) | ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_get': ipmi_picmg.c:698:67: warning: unused parameter 'argc' [-Wunused-parameter] 698 | ipmi_picmg_fru_activation_policy_get(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_set': ipmi_picmg.c:737:67: warning: unused parameter 'argc' [-Wunused-parameter] 737 | ipmi_picmg_fru_activation_policy_set(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ In file included from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': ipmi_sunoem.c:2293:25: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2293 | strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * At top level: ipmi_ime.c:799:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] 799 | static int ImeUpdateShowStatus(struct ipmi_intf *intf) | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:465, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_sunoem.c:34: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_properties': ipmi_picmg.c:1161:60: warning: unused parameter 'argc' [-Wunused-parameter] 1161 | ipmi_picmg_get_led_properties(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_capabilities': ipmi_picmg.c:1200:62: warning: unused parameter 'argc' [-Wunused-parameter] 1200 | ipmi_picmg_get_led_capabilities(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_state': ipmi_picmg.c:1250:55: warning: unused parameter 'argc' [-Wunused-parameter] 1250 | ipmi_picmg_get_led_state(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_set_led_state': ipmi_hpmfwupg.c: In function 'HpmfwupgPreUpgradeCheck': ipmi_picmg.c:1337:55: warning: unused parameter 'argc' [-Wunused-parameter] 1337 | ipmi_picmg_set_led_state(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_hpmfwupg.c:837:43: warning: unused parameter 'intf' [-Wunused-parameter] 837 | HpmfwupgPreUpgradeCheck(struct ipmi_intf *intf, | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_power_level': ipmi_picmg.c:1413:57: warning: unused parameter 'argc' [-Wunused-parameter] 1413 | ipmi_picmg_get_power_level(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_set_power_level': ipmi_picmg.c:1464:57: warning: unused parameter 'argc' [-Wunused-parameter] 1464 | ipmi_picmg_set_power_level(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': ipmi_ekanalyzer.c:483:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 483 | for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { | ^ ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': ipmi_hpmfwupg.c:1420:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1420 | if (ret != pFwupgCtx->imageSize) { | ^~ ipmi_ekanalyzer.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] 457 | ipmi_ekanalyzer_main(struct ipmi_intf *intf, int argc, char **argv) | ~~~~~~~~~~~~~~~~~~^~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp6.lo ipmi_lanp6.c ipmi_picmg.c: In function 'ipmi_picmg_fru_control': ipmi_picmg.c:1568:53: warning: unused parameter 'argc' [-Wunused-parameter] 1568 | ipmi_picmg_fru_control(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_matching_process': ipmi_ekanalyzer.c:1241:38: warning: unused parameter 'list_last' [-Wunused-parameter] 1241 | struct ipmi_ek_multi_header ** list_last, char * opt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ipmi_picmg.c: In function 'ipmi_picmg_clk_set': ipmi_picmg.c:1754:30: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] 1754 | if (is_clk_resid(argv[6], &msg_data[10]) != 0) { | ^~~~~~~~~~~~~ | | | unsigned char * ipmi_picmg.c:328:44: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' 328 | is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) | ~~~~~~~~^~~~~~~~~~~~~ ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': ipmi_hpmfwupg.c:2342:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2342 | for (dataIdx = 0; dataIdx < length; dataIdx++) { | ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_record': /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_cfgp.lo ipmi_cfgp.c ipmi_ekanalyzer.c:2939:32: warning: unused parameter 'list_last' [-Wunused-parameter] 2939 | struct ipmi_ek_multi_header *list_last) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': ipmi_ekanalyzer.c:3371:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3371 | for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { | ^ In file included from ipmi_gendev.c:44: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmi_gendev.c: In function 'ipmi_gendev_get_eeprom_size': ipmi_gendev.c:74:43: warning: unused parameter 'intf' [-Wunused-parameter] 74 | struct ipmi_intf *intf, | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_gendev.c: In function 'ipmi_gendev_write_file': ipmi_gendev.c:385:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 385 | if(fileLength != eeprom_size) | ^~ At top level: ipmi_ekanalyzer.c:3316:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] 3316 | ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_dcmi.c:41: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ../src/plugins/lan/md5.lo ../src/plugins/lan/md5.c In file included from ../include/ipmitool/ipmi_sensor.h:39, from ipmi_dcmi.c:59: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ../include/ipmitool/ipmi.h:41, from ../include/ipmitool/ipmi_dcmi.h:23, from ipmi_dcmi.c:50: ipmi_dcmi.c: In function 'str2val2': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) | ^ ipmi_dcmi.c:598:6: note: in expansion of macro '__maxlen' 598 | __maxlen(str, vs[i].str)) == 0) { | ^~~~~~~~ ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': ipmi_dcmi.c:1891:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1891 | val.limit = *(uint16_t*)(&lvalue); | ^~~~~~~~~~~~~~~~~~~~ ipmi_dcmi.c:1909:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1909 | val.sample = *(uint16_t*)(&lvalue); | ^~~~~~~~~~~~~~~~~~~~ ipmi_dcmi.c: In function 'ipmi_nm_thresh': ipmi_dcmi.c:3156:28: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] 3156 | if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ipmitool/ipmi_fru.h:38, from ipmi_vita.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ipmi_vita.c:37: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ ipmi_lanp6.c: In function 'lanp_parse_cfgp': ipmi_lanp6.c:596:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 596 | if (set > 2) { | ^ ipmi_lanp6.c:601:2: note: here 601 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: | ^~~~ ipmi_lanp6.c: In function 'lanp_get_cfgp': ipmi_lanp6.c:703:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 703 | data[0] = data[17] = data[24] = data[26] = set; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_lanp6.c:705:2: note: here 705 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: | ^~~~ ipmi_lanp6.c: In function 'lanp_set_cfgp': ipmi_lanp6.c:653:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 653 | off = 1; | ~~~~^~~ ipmi_lanp6.c:655:2: note: here 655 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: | ^~~~ In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmi_delloem.c:53: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ipmi_delloem.c:55: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ ipmi_delloem.c: In function 'ipmi_lcd_set_text': ipmi_delloem.c:1341:61: warning: unused parameter 'line_number' [-Wunused-parameter] 1341 | ipmi_lcd_set_text(struct ipmi_intf * intf, char * text, int line_number) | ~~~~^~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': ipmi_delloem.c:1582:10: warning: unused variable 'j' [-Wunused-variable] 1582 | uint8_t j; | ^ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_mac': ipmi_delloem.c:1674:10: warning: unused variable 'j' [-Wunused-variable] 1674 | uint8_t j; | ^ ipmi_delloem.c: In function 'ipmi_macinfo_10g': ipmi_delloem.c:1742:10: warning: unused variable 'j' [-Wunused-variable] 1742 | uint8_t j; | ^ ipmi_delloem.c: In function 'ipmi_macinfo_11g': ipmi_delloem.c:1805:10: warning: unused variable 'j' [-Wunused-variable] 1805 | uint8_t j; | ^ ipmi_delloem.c: In function 'ipmi_delloem_lan_main': ipmi_delloem.c:1997:45: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] 1997 | rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); | ^~~~~~~ | | | char * ipmi_delloem.c:200:12: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 200 | uint8_t *nic_selection); | ~~~~~~~~~^~~~~~~~~~~~~ ipmi_delloem.c:1961:52: warning: unused parameter 'argc' [-Wunused-parameter] 1961 | ipmi_delloem_lan_main(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': ipmi_delloem.c:3364:10: warning: too many arguments for format [-Wformat-extra-args] 3364 | printf("Peak power consmhistory Data : " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_get_power_cap': ipmi_delloem.c:3560:10: warning: too many arguments for format [-Wformat-extra-args] 3560 | printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_delloem_vFlash_main': ipmi_delloem.c:3819:55: warning: unused parameter 'argc' [-Wunused-parameter] 3819 | ipmi_delloem_vFlash_main(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmi_delloem.c: In function 'ipmi_delloem_setled_main': ipmi_delloem.c:4228:45: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] 4228 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4228:48: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] 4228 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4228:51: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] 4228 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4232:41: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] 4232 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4232:44: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] 4232 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4232:47: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] 4232 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fc': ipmi_sdr.c:1680:42: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1680 | snprintf(sval, sizeof (sval), "%s %s", | ^ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:867, from ipmi_sdr.c:40: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output 2 or more bytes (assuming 17) into a destination of size 16 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_sdr.c:1626:41: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1626 | snprintf(sval, sizeof (sval), "%s %s", | ^ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:867, from ipmi_sdr.c:40: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output 2 or more bytes (assuming 17) into a destination of size 16 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_check_physical_connectivity.isra': ipmi_ekanalyzer.c:1429:35: warning: 'rsc_desc.p2p_count' may be used uninitialized in this function [-Wmaybe-uninitialized] 1429 | for ( j = 0; j < rsc_desc.p2p_count; j++ ){ | ~~~~~~~~^~~~~~~~~~ ipmi_ekanalyzer.c:1369:46: warning: 'rsc_desc.resource_id' may be used uninitialized in this function [-Wmaybe-uninitialized] 1369 | struct fru_picmgext_carrier_p2p_record rsc_desc; | ^~~~~~~~ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': ipmi_ekanalyzer.c:1133:43: warning: 'pcarrier_p2p' may be used uninitialized in this function [-Wmaybe-uninitialized] 1133 | struct ipmi_ek_multi_header * pcarrier_p2p; | ^~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_print_all': ipmi_fru.c:3087:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] 3087 | int rc; | ^~ /bin/bash ../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ipmi_lanp6.lo ipmi_cfgp.lo ../src/plugins/lan/md5.lo -lm -lreadline -lncurses -lcrypto make[3]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/lib' Making all in src make[3]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src' Making all in plugins make[4]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins' Making all in lan make[5]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/lan' /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lan.lo lan.c /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o auth.lo auth.c auth.c: In function 'ipmi_auth_md2': auth.c:129:47: warning: unused parameter 's' [-Wunused-parameter] 129 | uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) | ~~~~~~~~~~~~~~~~~~~~~~^ auth.c:129:60: warning: unused parameter 'data' [-Wunused-parameter] 129 | uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) | ~~~~~~~~~~^~~~ auth.c:129:70: warning: unused parameter 'data_len' [-Wunused-parameter] 129 | uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) | ~~~~^~~~~~~~ In file included from ../../../include/ipmitool/ipmi_sel.h:38, from lan.c:53: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ lan.c: In function 'ipmi_handle_pong': lan.c:344:37: warning: unused parameter 'intf' [-Wunused-parameter] 344 | ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) | ~~~~~~~~~~~~~~~~~~~^~~~ lan.c: In function 'check_sol_packet_for_new_data': lan.c:1445:50: warning: unused parameter 'intf' [-Wunused-parameter] 1445 | check_sol_packet_for_new_data(struct ipmi_intf * intf, | ~~~~~~~~~~~~~~~~~~~^~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lncurses -lcrypto copying selected object files to avoid basename conflicts... make[5]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/lan' Making all in lanplus make[5]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/lanplus' /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus.lo lanplus.c /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_strings.lo lanplus_strings.c /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt.lo lanplus_crypt.c /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_dump.lo lanplus_dump.c /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c lanplus_crypt.c: In function 'lanplus_rakp2_hmac_matches': lanplus_crypt.c:89:1: warning: embedding a directive within macro arguments is not portable 89 | #ifdef HAVE_CRYPTO_SHA256 | ^ lanplus_crypt.c:91:1: warning: embedding a directive within macro arguments is not portable 91 | #endif /* HAVE_CRYPTO_SHA256 */ | ^ lanplus_crypt.c: In function 'lanplus_rakp4_hmac_matches': lanplus_crypt.c:256:1: warning: embedding a directive within macro arguments is not portable 256 | #ifdef HAVE_CRYPTO_SHA256 | ^ lanplus_crypt.c:258:1: warning: embedding a directive within macro arguments is not portable 258 | #endif /* HAVE_CRYPTO_SHA256 */ | ^ lanplus_crypt.c: In function 'lanplus_generate_rakp3_authcode': lanplus_crypt.c:422:1: warning: embedding a directive within macro arguments is not portable 422 | #ifdef HAVE_CRYPTO_SHA256 | ^ lanplus_crypt.c:424:1: warning: embedding a directive within macro arguments is not portable 424 | #endif /* HAVE_CRYPTO_SHA256 */ | ^ lanplus_crypt.c: In function 'lanplus_generate_sik': lanplus_crypt.c:544:1: warning: embedding a directive within macro arguments is not portable 544 | #ifdef HAVE_CRYPTO_SHA256 | ^ lanplus_crypt.c:546:1: warning: embedding a directive within macro arguments is not portable 546 | #endif /* HAVE_CRYPTO_SHA256 */ | ^ In file included from ../../../include/ipmitool/ipmi_sel.h:38, from lanplus.c:60: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ lanplus.c: In function 'ipmi_handle_pong': lanplus.c:526:37: warning: unused parameter 'intf' [-Wunused-parameter] 526 | ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) | ~~~~~~~~~~~~~~~~~~~^~~~ lanplus.c: In function 'ipmi_lan_poll_single': lanplus.c:773:12: warning: unused variable 'target_cmd' [-Wunused-variable] 773 | uint8_t target_cmd = entry->req.msg.target_cmd; | ^~~~~~~~~~ lanplus.c: In function 'read_session_data_v2x': lanplus.c:1222:30: warning: unused parameter 's' [-Wunused-parameter] 1222 | struct ipmi_session * s) | ~~~~~~~~~~~~~~~~~~~~~~^ lanplus.c: In function 'read_session_data_v15': lanplus.c:1276:30: warning: unused parameter 's' [-Wunused-parameter] 1276 | struct ipmi_session * s) | ~~~~~~~~~~~~~~~~~~~~~~^ lanplus.c: In function 'getSolPayloadWireRep': lanplus.c:1540:34: warning: unused parameter 'intf' [-Wunused-parameter] 1540 | struct ipmi_intf * intf, /* in out */ | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ lanplus.c: In function 'ipmi_lanplus_build_v2x_ipmi_cmd': lanplus.c:1974:17: warning: unused variable 'backup_cmd' [-Wunused-variable] 1974 | unsigned char backup_cmd; | ^~~~~~~~~~ lanplus.c: In function 'ipmi_lanplus_send_payload': lanplus.c:2415:32: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 2415 | xmit = ((time(NULL) - ltime) >= session->timeout); | ^~ lanplus.c: In function 'check_sol_packet_for_new_data': lanplus.c:2587:29: warning: unused parameter 'intf' [-Wunused-parameter] 2587 | struct ipmi_intf * intf, | ~~~~~~~~~~~~~~~~~~~^~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lncurses -lcrypto make[5]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/lanplus' Making all in open make[5]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/open' /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o open.lo open.c In file included from ../../../include/ipmitool/ipmi_sel.h:38, from open.c:47: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ open.c: In function 'ipmi_openipmi_open': open.c:106:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 106 | sprintf(ipmi_devfs2, "/dev/ipmidev/%d", devnum); | ^ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:867, from open.c:34: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 17 bytes into a destination of size 16 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lncurses -lcrypto make[5]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/open' Making all in imb make[5]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/imb' /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o imbapi.lo imbapi.c /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o imb.lo imb.c imbapi.c: In function 'open_imb': imbapi.c:173:47: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 173 | lprintf(LOG_DEBUG, "%s: opening the driver", __FUNCTION__); | ^~~~~~~~~~~~ imbapi.c:195:16: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 195 | __FILE__, __FUNCTION__, IMB_DEVICE); | ^~~~~~~~~~~~ imbapi.c:215:64: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 215 | lprintf(LOG_DEBUG, "%s: opened driver, getting IPMI version", __FUNCTION__); | ^~~~~~~~~~~~ imbapi.c:222:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 222 | __FUNCTION__, my_ret_code, completionCode); | ^~~~~~~~~~~~ imbapi.c:236:46: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 236 | lprintf(LOG_DEBUG, "%s: IPMI version 0x%x", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'DeviceIoControl': imbapi.c:301:46: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 301 | lprintf(LOG_DEBUG, "%s: ioctl cmd = 0x%lx", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c:322:15: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 322 | __FILE__, __FUNCTION__, dwIoControlCode); | ^~~~~~~~~~~~ imbapi.c:326:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 326 | __FUNCTION__, ioctl_status, *lpcbBytesReturned); | ^~~~~~~~~~~~ imbapi.c:328:43: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 328 | lprintf(LOG_DEBUG, "%s returning true", __FUNCTION__); | ^~~~~~~~~~~~ imbapi.c:331:44: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 331 | lprintf(LOG_DEBUG, "%s returning false", __FUNCTION__); | ^~~~~~~~~~~~ imbapi.c:288:24: warning: unused parameter 'dummey_hDevice' [-Wunused-parameter] 288 | DeviceIoControl(HANDLE dummey_hDevice, DWORD dwIoControlCode, LPVOID | ~~~~~~~^~~~~~~~~~~~~~ imbapi.c: In function 'StartAsyncMesgPoll': imbapi.c:344:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 344 | __FUNCTION__, IOCTL_IMB_POLL_ASYNC); | ^~~~~~~~~~~~ imbapi.c:349:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 349 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedI2cRequest': imbapi.c:410:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 410 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedEmpMessageResponse': imbapi.c:501:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 501 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedEmpMessageResponse_Ex': imbapi.c:629:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 629 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedLanMessageResponse': imbapi.c:714:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 714 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedLanMessageResponse_Ex': In file included from ../../../include/ipmitool/ipmi_sel.h:38, from imb.c:46: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ imbapi.c:842:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 842 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedImbpRequest': imbapi.c:885:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 885 | __FUNCTION__, req->req.rsSa, req->req.cmd, | ^~~~~~~~~~~~ imbapi.c:893:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 893 | __FUNCTION__, status); | ^~~~~~~~~~~~ imbapi.c: In function 'SendAsyncImbpRequest': imbapi.c:952:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 952 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'GetAsyncImbpMessage': imbapi.c:1002:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1002 | __FUNCTION__, status); | ^~~~~~~~~~~~ imbapi.c: In function 'GetAsyncImbpMessage_Ex': imbapi.c:1099:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1099 | __FUNCTION__, status); | ^~~~~~~~~~~~ imbapi.c: In function 'IsAsyncMessageAvailable': imbapi.c:1197:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1197 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'RegisterForImbAsyncMessageNotification': imbapi.c:1229:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1229 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'UnRegisterForImbAsyncMessageNotification': imbapi.c:1268:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1268 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'SetShutDownCode': imbapi.c:1298:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1298 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'MapPhysicalMemory': imbapi.c:1405:15: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1405 | __FILE__, __FUNCTION__, IMB_DEVICE); | ^~~~~~~~~~~~ imbapi.c:1416:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1416 | sprintf(buf, "%s %s: mmap failed", __FILE__, __FUNCTION__); | ^~~~~~~~~~~~ imbapi.c:1421:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1421 | lprintf(LOG_DEBUG, "%s: mmap of 0x%x success", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c: In function 'UnmapPhysicalMemory': imbapi.c:1454:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1454 | lprintf(LOG_DEBUG, "%s: calling munmap(0x%x,%d)", __FUNCTION__, | ^~~~~~~~~~~~ imbapi.c:1458:50: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1458 | sprintf(buf, "%s %s: munmap failed", __FILE__, __FUNCTION__); | ^~~~~~~~~~~~ imbapi.c:1462:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1462 | lprintf(LOG_DEBUG, "%s: munmap(0x%x,%d) success", __FUNCTION__, | ^~~~~~~~~~~~ imb.c: In function 'ipmi_imb_send_cmd': imb.c:78:62: warning: unused parameter 'intf' [-Wunused-parameter] 78 | static struct ipmi_rs * ipmi_imb_send_cmd(struct ipmi_intf * intf, struct ipmi_rq * req) | ~~~~~~~~~~~~~~~~~~~^~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lncurses -lcrypto make[5]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/imb' Making all in serial make[5]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/serial' /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o serial_terminal.lo serial_terminal.c /bin/bash ../../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o serial_basic.lo serial_basic.c serial_basic.c:92:22: warning: invalid use of structure with flexible array member [-Wpedantic] 92 | struct ipmb_msg_hdr msg; | ^~~ serial_basic.c: In function 'serial_bm_open': serial_basic.c:245:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 245 | for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { | ^ serial_basic.c:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 246 | if (rates[i].baudrate == rate) { | ^~ serial_basic.c:250:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 250 | if (i >= sizeof(rates) / sizeof(rates[0])) { | ^~ serial_terminal.c:90:22: warning: invalid use of structure with flexible array member [-Wpedantic] 90 | struct ipmb_msg_hdr msg; | ^~~ serial_terminal.c: In function 'ipmi_serial_term_open': serial_terminal.c:192:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 192 | for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { | ^ serial_terminal.c:193:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | if (rates[i].baudrate == rate) { | ^~ serial_terminal.c:197:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 197 | if (i >= sizeof(rates) / sizeof(rates[0])) { | ^~ serial_basic.c: In function 'serial_bm_recv_msg': serial_basic.c:585:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (rv < recv_ctx->buffer_size) { | ^ serial_basic.c: In function 'serial_bm_build_msg': serial_basic.c:630:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 630 | if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { | ^ serial_terminal.c: In function 'serial_term_build_msg': serial_terminal.c:491:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 491 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { | ^ serial_basic.c: In function 'serial_bm_get_message': serial_basic.c:888:14: warning: comparison of integer expressions of different signedness: 'clock_t' {aka 'long int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 888 | } while (tm < intf->ssn_params.timeout); | ^ serial_basic.c:825:25: warning: unused parameter 'max_len' [-Wunused-parameter] 825 | uint8_t * msg, size_t max_len) | ~~~~~~~^~~~~~~ serial_terminal.c: In function 'serial_term_send_msg': serial_terminal.c:639:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 639 | buf += sprintf( buf, "%02x", msg[i]); | ^~~ | | | uint8_t * {aka unsigned char *} In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:465, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:27, from serial_terminal.c:39: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ serial_terminal.c: In function 'serial_term_get_message': serial_terminal.c:777:14: warning: comparison of integer expressions of different signedness: 'clock_t' {aka 'long int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 777 | } while (tm < intf->ssn_params.timeout); | ^ serial_terminal.c:722:25: warning: unused parameter 'max_len' [-Wunused-parameter] 722 | uint8_t * msg, size_t max_len) | ~~~~~~~^~~~~~~ serial_basic.c: In function 'serial_bm_wait_response.constprop': serial_basic.c:805:4: warning: 'parse_ctx.msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 805 | memmove(msg, hdr + 1, msg_len - sizeof (*hdr) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial_terminal.c: In function 'ipmi_serial_term_send_cmd': serial_terminal.c:805:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 805 | serial_term_send_msg(intf, msg, msg_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial_basic.c: In function 'serial_bm_send_request': serial_basic.c:921:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 921 | serial_bm_send_msg(intf, msg, msg_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lncurses -lcrypto make[5]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins/serial' make[5]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins' /bin/bash ../../libtool --silent --tag=CC --mode=compile /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_intf.lo ipmi_intf.c In file included from ipmi_intf.c:56: ../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ /bin/bash ../../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -o libintf.la ipmi_intf.lo lan/libintf_lan.la lanplus/libintf_lanplus.la serial/libintf_serial.la open/libintf_open.la imb/libintf_imb.la -lreadline -lncurses -lcrypto copying selected object files to avoid basename conflicts... make[5]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins' make[4]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src/plugins' make[4]: Entering directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src' /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmitool.o ipmitool.c /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmishell.o ipmishell.c /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmievd.o ipmievd.c In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:27, from ipmishell.c:36: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:27, from ipmievd.c:35: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ipmishell.c: In function 'ipmi_shell_main': ipmishell.c:220:36: warning: unused parameter 'intf' [-Wunused-parameter] 220 | ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~~~~~~~~~~~~~~~~^~~~ ipmishell.c:220:46: warning: unused parameter 'argc' [-Wunused-parameter] 220 | ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~^~~~ ipmishell.c:220:60: warning: unused parameter 'argv' [-Wunused-parameter] 220 | ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~~~~~^~~~ ipmishell.c: In function 'ipmi_echo_main': ipmishell.c:228:39: warning: unused parameter 'intf' [-Wunused-parameter] 228 | int ipmi_echo_main(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from ipmitool.c:40: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ In file included from ipmitool.c:43: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ In file included from ipmitool.c:63: ../include/ipmitool/ipmi_hpmfwupg.h:85:12: warning: 'errorCount' defined but not used [-Wunused-variable] 85 | static int errorCount; | ^~~~~~~~~~ In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmievd.c:81: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ ipmievd.c: In function 'ipmievd_cleanup': ipmievd.c:686:21: warning: unused parameter 'signal' [-Wunused-parameter] 686 | ipmievd_cleanup(int signal) | ~~~~^~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -lcrypto /bin/bash ../libtool --silent --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -lcrypto /tmp/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: ../lib/.libs/libipmitool.a(ipmi_hpmfwupg.o):(.bss+0x484): multiple definition of `gVersionInfo'; ipmitool.o:(.bss+0x8): first defined here collect2: error: ld returned 1 exit status make[4]: *** [Makefile:536: ipmitool] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src' make[3]: *** [Makefile:582: all-recursive] Error 1 make[3]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18/src' make[2]: *** [Makefile:457: all-recursive] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18' make[1]: *** [Makefile:388: all] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/ipmitool-1.8.18' make: *** [package/pkg-generic.mk:250: /tmp/instance-1/output-1/build/ipmitool-1.8.18/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'