>>> ipmitool 1.8.18 Extracting bzcat /srv/storage/autobuild/run/instance-1/dl/ipmitool/ipmitool-1.8.18.tar.bz2 | /srv/storage/autobuild/run/instance-1/output-1/host/bin/tar --strip-components=1 -C /srv/storage/autobuild/run/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 Applying 0007-hpmfwupg-move-variable-definition-to-c-file.patch using patch: patching file include/ipmitool/ipmi_hpmfwupg.h patching file lib/ipmi_hpmfwupg.c Hunk #1 succeeded at 58 (offset 8 lines). Applying 0008-fru-Fix-buffer-overflow-vulnerabilities.patch using patch: patching file lib/ipmi_fru.c Applying 0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch using patch: patching file lib/dimm_spd.c Applying 0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch using patch: patching file lib/ipmi_session.c Applying 0011-channel-Fix-buffer-overflow.patch using patch: patching file lib/ipmi_channel.c Applying 0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch using patch: patching file lib/ipmi_lanp.c Applying 0013-fru-sdr-Fix-id_string-buffer-overflows.patch using patch: patching file lib/ipmi_fru.c patching file lib/ipmi_sdr.c >>> ipmitool 1.8.18 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18/ && rm -rf config.cache && PATH="/srv/storage/autobuild/run/instance-1/output-1/host/bin:/srv/storage/autobuild/run/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ar" AS="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-as" LD="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld" NM="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm" CC="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc" GCC="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc" CPP="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-cpp" CXX="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++" FC="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gfortran" F77="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gfortran" RANLIB="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ranlib" READELF="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-readelf" STRIP="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-strip" OBJCOPY="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-objcopy" OBJDUMP="/srv/storage/autobuild/run/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/srv/storage/autobuild/run/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/srv/storage/autobuild/run/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/srv/storage/autobuild/run/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/srv/storage/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/srv/storage/autobuild/run/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-as" DEFAULT_LINKER="/srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/srv/storage/autobuild/run/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/srv/storage/autobuild/run/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 --disable-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... /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for arm-buildroot-linux-gnueabihf-gcc... /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc accepts -g... yes checking for /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc option to accept ISO C89... none needed checking whether /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/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... /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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... /usr/bin/grep -F checking for ld used by /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc... /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld checking if the linker (/srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm checking the name lister (/srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld option to reload object files... -r checking for arm-buildroot-linux-gnueabihf-objdump... /srv/storage/autobuild/run/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... /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-gnueabihf-strip... (cached) /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-strip checking for arm-buildroot-linux-gnueabihf-ranlib... /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ranlib checking command to parse /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm output from /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc supports -fno-rtti -fno-exceptions... no checking for /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC checking if /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes checking if /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc static flag -static works... yes checking if /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc supports -c -o file.o... yes checking if /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes checking whether the /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc linker (/srv/storage/autobuild/run/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 : no 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="/srv/storage/autobuild/run/instance-1/output-1/host/bin:/srv/storage/autobuild/run/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18/ make[1]: Entering directory '/srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18' /usr/bin/make all-recursive make[2]: Entering directory '/srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18' Making all in lib make[3]: Entering directory '/srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18/lib' /bin/bash ../libtool --silent --tag=CC --mode=compile /srv/storage/autobuild/run/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 -O2 -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 /srv/storage/autobuild/run/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 -O2 -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 /srv/storage/autobuild/run/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 -O2 -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 /srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sol.lo ipmi_sol.c In file included from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:26, from ipmi_sel.c:34: /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:26, from ipmi_sdr.c:37: /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/sys/types.h:25, from helper.c:39: /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_sol.c:38: /srv/storage/autobuild/run/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 ../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; | ^ 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 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_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_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 ../include/ipmitool/ipmi.h:41, from helper.c:66: helper.c: In function 'str2val': ../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;}) | ^ helper.c:567:35: note: in expansion of macro '__maxlen' 567 | if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) | ^~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~^~~~ 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); | ^~~~~~~ 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_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_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': ipmi_sdr.c:2500:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2500 | id_string = record.full->id_string; | ^ ipmi_sdr.c:2506:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2506 | id_string = record.compact->id_string; | ^ ipmi_sdr.c:2512:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2512 | id_string = record.eventonly->id_string; | ^ ipmi_sdr.c:2518:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2518 | id_string = record.mcloc->id_string; | ^ 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_sdr.c: In function 'ipmi_sdr_end': ipmi_sdr.c:3087:32: warning: unused parameter 'intf' [-Wunused-parameter] 3087 | ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) | ~~~~~~~~~~~~~~~~~~^~~~ 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_list_cache_fromfile': ipmi_sdr.c:3933:48: warning: unused parameter 'intf' [-Wunused-parameter] 3933 | ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) | ~~~~~~~~~~~~~~~~~~^~~~ In file included from ../include/ipmitool/ipmi.h:41, from ipmi_sdr.c:45: ipmi_sdr.c: In function 'ipmi_sdr_get_info': ../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:4215:9: note: in expansion of macro '__min' 4215 | __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:4215:9: note: in expansion of macro '__min' 4215 | __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:4485:6: note: in expansion of macro '__maxlen' 4485 | __maxlen(type, | ^~~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_entity': ../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:4550:7: note: in expansion of macro '__maxlen' 4550 | __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: | ^~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_pef.lo ipmi_pef.c 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; | ^ 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); | ^~~~~~ 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) | ~~~~~~~~^~ 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) { | ^~ /bin/bash ../libtool --silent --tag=CC --mode=compile /srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp.lo ipmi_lanp.c 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 /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:867, from ipmi_sdr.c:40: /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:867, from ipmi_sdr.c:40: /srv/storage/autobuild/run/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ipmitool/ipmi.h:41, from ipmi_lanp.c:48: ipmi_lanp.c: In function 'ipmi_lan_alert_set': ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1812:25: note: in expansion of macro '__min' 1812 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:36: 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_lanp.c:1812:25: note: in expansion of macro '__min' 1812 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1827:25: note: in expansion of macro '__min' 1827 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:36: 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_lanp.c:1827:25: note: in expansion of macro '__min' 1827 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1841:25: note: in expansion of macro '__min' 1841 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:36: 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_lanp.c:1841:25: note: in expansion of macro '__min' 1841 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1867:25: note: in expansion of macro '__min' 1867 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:36: 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_lanp.c:1867:25: note: in expansion of macro '__min' 1867 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1892:25: note: in expansion of macro '__min' 1892 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:36: 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_lanp.c:1892:25: note: in expansion of macro '__min' 1892 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1920:25: note: in expansion of macro '__min' 1920 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:36: 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_lanp.c:1920:25: note: in expansion of macro '__min' 1920 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1936:25: note: in expansion of macro '__min' 1936 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:116:36: 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_lanp.c:1936:25: note: in expansion of macro '__min' 1936 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /srv/storage/autobuild/run/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 -O2 -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 /srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_chassis.lo ipmi_chassis.c 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; | ^ 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 | }; | ^ 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 ipmi_fru.c: In function 'read_fru_area': ipmi_fru.c:649: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] 649 | uint16_t max_rs_size = ipmi_intf_get_max_response_data_size(intf) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ipmi_intf_set_max_response_data_size ipmi_fru.c:717:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 717 | || tmp > rsp->data_len - 1 | ^ ipmi_fru.c: In function 'read_fru_area_section': ipmi_fru.c:829:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 829 | || tmp > rsp->data_len - 1 | ^ ipmi_fru.c: In function 'fru_area_print_chassis': ipmi_fru.c:1001:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1001 | if (i == j) { | ^~ ipmi_fru.c: In function 'fru_area_print_board': ipmi_fru.c:1126:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1126 | if (i == j) | ^~ ipmi_fru.c: In function 'fru_area_print_product': ipmi_fru.c:1261:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == j) | ^~ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1494:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1494 | for( i=0;i (header.offset.internal * 8)) && | ^ ipmi_fru.c:3871:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 3871 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && | ^ ipmi_fru.c:3875:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 3875 | if (((header.offset.board * 8) > (header.offset.board * 8)) && | ^ ipmi_fru.c:3879:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 3879 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': ipmi_fru.c:4054:36: warning: self-comparison always evaluates to false [-Wtautological-compare] 4054 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && | ^ ipmi_fru.c:4058:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 4058 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && | ^ ipmi_fru.c:4062:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 4062 | if (((header.offset.board * 8) > (header.offset.board * 8)) && | ^ ipmi_fru.c:4066:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 4066 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string': ipmi_fru.c:4835:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 4835 | for (i = 0; i < fru_section_len - 1; i++) | ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': ipmi_fru.c:5018:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 5018 | 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: /srv/storage/autobuild/run/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:5139:73: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 5139 | if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) | ^ ipmi_fru.c:5184:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 5184 | 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: /srv/storage/autobuild/run/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:5189:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 5189 | for(counter = 0; counter < padding_len; counter ++) | ^ At top level: ipmi_fru.c:855:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] 855 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /srv/storage/autobuild/run/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 -O2 -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 /srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o log.lo log.c In file included from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/unistd.h:25, from log.c:36: /srv/storage/autobuild/run/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_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 /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:465, from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_mc.c:33: /srv/storage/autobuild/run/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 /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:465, from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_mc.c:33: /srv/storage/autobuild/run/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, | ^~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o dimm_spd.lo dimm_spd.c In file included from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from ipmi_mc.c:34: In function 'strncpy', inlined from 'ipmi_sysinfo_main' at ipmi_mc.c:1067:5: /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ipmi_sysinfo_main' at ipmi_mc.c:1063:5: /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sensor.lo ipmi_sensor.c 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; | ^ 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 | }; | ^ dimm_spd.c: In function 'ipmi_spd_print_fru': dimm_spd.c:1701:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1701 | || len > rsp->data_len - 1 | ^ 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_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); | ^~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile /srv/storage/autobuild/run/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 -O2 -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 /srv/storage/autobuild/run/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 -O2 -D_FORTIFY_SOURCE=1 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_event.lo ipmi_event.c ipmi_channel.c: In function 'ipmi_get_channel_cipher_suites': ipmi_channel.c:418:44: error: 'MAX_CIPHER_SUITE_DATA_LEN' undeclared (first use in this function) 418 | || rsp->data_len > sizeof(uint8_t) + MAX_CIPHER_SUITE_DATA_LEN) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_channel.c:418:44: note: each undeclared identifier is reported only once for each function it appears in In file included from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /srv/storage/autobuild/run/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:25, from ipmi_event.c:34: /srv/storage/autobuild/run/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" | ^~~~~~~ make[3]: *** [Makefile:499: ipmi_channel.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... 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.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_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_print_all': ipmi_fru.c:3116:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] 3116 | int rc; | ^~ make[3]: Leaving directory '/srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18/lib' make[2]: *** [Makefile:457: all-recursive] Error 1 make[2]: Leaving directory '/srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18' make[1]: *** [Makefile:388: all] Error 2 make[1]: Leaving directory '/srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18' make: *** [package/pkg-generic.mk:250: /srv/storage/autobuild/run/instance-1/output-1/build/ipmitool-1.8.18/.stamp_built] Error 2 make: Leaving directory '/srv/storage/autobuild/run/instance-1/buildroot'