autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/share/aclocal -I m4 -I . --force autoreconf: configure.ac: tracing autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --copy --force OpenWrt-libtoolize: putting auxiliary files in '.'. OpenWrt-libtoolize: copying file './config.guess' OpenWrt-libtoolize: copying file './config.sub' OpenWrt-libtoolize: copying file './install-sh' OpenWrt-libtoolize: copying file './ltmain.sh' OpenWrt-libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, OpenWrt-libtoolize: and rerunning libtoolize and aclocal. OpenWrt-libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/share/aclocal -I m4 -I . --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:8: the top level configure.ac:10: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:10: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:745: AM_CONFIG_HEADER is expanded from... configure.ac:10: the top level configure.ac:24: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:24: the top level configure.ac:41: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:41: You should run autoupdate. aclocal.m4:1280: AM_PROG_LIBTOOL is expanded from... configure.ac:41: the top level configure.ac:145: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:145: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:145: the top level configure.ac:155: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:155: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:155: the top level configure.ac:173: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:173: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:173: the top level configure.ac:224: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:224: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:224: the top level configure.ac:240: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:240: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:240: the top level configure.ac:256: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:256: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:256: the top level configure.ac:280: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:280: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:280: the top level configure.ac:297: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:297: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:297: the top level configure.ac:351: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:351: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:351: the top level configure.ac:366: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:366: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:366: the top level configure.ac:382: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:382: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:382: the top level configure.ac:401: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:401: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:401: the top level configure.ac:422: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:422: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:422: the top level configure.ac:478: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:478: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:478: the top level configure.ac:484: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:484: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:484: the top level configure.ac:491: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:491: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:491: the top level configure.ac:510: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:510: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:510: the top level configure.ac:534: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:534: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:534: the top level configure.ac:551: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:551: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:551: the top level configure.ac:571: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:571: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:571: the top level configure.ac:587: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:587: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:587: the top level configure.ac:606: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:606: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:606: the top level configure.ac:619: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:619: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:619: the top level configure.ac:636: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:636: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:636: the top level configure.ac:647: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:647: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:647: the top level configure.ac:657: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:657: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:657: the top level autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --copy --force-missing configure.ac:15: installing './compile' configure.ac:9: installing './missing' lib/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/aarch64 checking build system type... x86_64-pc-linux-gnu checking host system type... aarch64-openwrt-linux-gnu checking target system type... aarch64-openwrt-linux-gnu checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking whether build environment is sane... yes checking for aarch64-openwrt-linux-strip... aarch64-openwrt-linux-musl-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for aarch64-openwrt-linux-gcc... aarch64-openwrt-linux-musl-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 the compiler supports GNU C... yes checking whether aarch64-openwrt-linux-musl-gcc accepts -g... yes checking for aarch64-openwrt-linux-musl-gcc option to enable C11 features... none needed checking whether aarch64-openwrt-linux-musl-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-openwrt-linux-musl-gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for rpmbuild... rpm checking for sed... sed checking for wget... wget checking for curl... curl checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking for paths.h... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for sys/socket.h... (cached) yes checking for sys/byteorder.h... no 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 types of arguments for select... int,fd_set *,struct timeval * checking for working strtod... no checking for pow... yes checking for alarm... yes checking for gethostbyname... yes checking for getaddrinfo... (cached) 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... (cached) yes checking for getpassphrase... no checking how to print strings... printf checking for a sed that does not truncate output... sed checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by aarch64-openwrt-linux-musl-gcc... aarch64-openwrt-linux-musl-ld.bfd checking if the linker (aarch64-openwrt-linux-musl-ld.bfd) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... aarch64-openwrt-linux-musl-gcc-nm checking the name lister (aarch64-openwrt-linux-musl-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to aarch64-openwrt-linux-gnu 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 aarch64-openwrt-linux-musl-ld.bfd option to reload object files... -r checking for aarch64-openwrt-linux-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for aarch64-openwrt-linux-objdump... aarch64-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for aarch64-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-openwrt-linux-ar... aarch64-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for aarch64-openwrt-linux-strip... (cached) aarch64-openwrt-linux-musl-strip checking for aarch64-openwrt-linux-ranlib... aarch64-openwrt-linux-musl-gcc-ranlib checking command to parse aarch64-openwrt-linux-musl-gcc-nm output from aarch64-openwrt-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for aarch64-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-openwrt-linux-musl-gcc static flag -static works... yes checking if aarch64-openwrt-linux-musl-gcc supports -c -o file.o... yes checking if aarch64-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-openwrt-linux-musl-gcc linker (aarch64-openwrt-linux-musl-ld.bfd) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for 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 configure: WARNING: ** Download is: configure: WARNING: wget -c -nd -O - 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 sd_bus_default in -lsystemd... no checking for linux/compiler.h... checking how to run the C preprocessor... aarch64-openwrt-linux-musl-gcc -E no checking for sys/ioccom.h... no checking for linux/ipmi.h... yes checking for ipmi_open_inband in -lfreeipmi... no checking for ipmi_ctx_open_inband in -lfreeipmi... no ** Unable to build FreeIPMI interface support! checking for termios.h... yes checking for OpenIPMI dual bridge support... no checking for sys/lipmi/lipmi_intf.h... no ** Unable to build Solaris 9 x86 IPMI interface support! checking for library containing readline... -lreadline DEFAULT_INTF not found in environment; setting to open Set IANA PEN dictionary search path to /usr/share/misc Set user's IANA PEN dictionary search path to .local/usr/share/misc 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/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/dbus/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 doc/ipmitool.1 config.status: creating doc/ipmievd.8 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-nls ipmitool 1.8.19 Interfaces (default=open) lan : yes lanplus : yes open : yes free : no imb : yes bmc : no dbus : no usb : no lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : yes make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make all-recursive make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' Making all in lib make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/lib' /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o helper.lo helper.c In file included from helper.c:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdr.lo ipmi_sdr.c In file included from ipmi_sdr.c:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': ipmi_sdr.c:2646:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2646 | id_string = record.full->id_string; | ^ ipmi_sdr.c:2652:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2652 | id_string = record.compact->id_string; | ^ ipmi_sdr.c:2658:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2658 | id_string = record.eventonly->id_string; | ^ ipmi_sdr.c:2664:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2664 | id_string = record.mcloc->id_string; | ^ In file included from ../include/ipmitool/ipmi.h:40, from ipmi_sdr.c:45: ipmi_sdr.c: In function 'ipmi_sdr_get_info': ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_sdr.c:4338:16: note: in expansion of macro '__min' 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), | ^~~~~ ../include/ipmitool/helper.h:215:42: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_sdr.c:4338:16: note: in expansion of macro '__min' 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), | ^~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sel.lo ipmi_sel.c In file included from ../include/ipmitool/helper.h:37, from ipmi_sel.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_sel.c: In function 'ipmi_sel_oem_readval': ipmi_sel.c:88:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] 88 | if (sscanf(str, "0x%x", &ret) != 1) { | ~^ ~~~~ | | | | | int * | unsigned int * | %x In file included from ipmi_sel.c:48: ../include/ipmitool/ipmi_sel_supermicro.h: At top level: ../include/ipmitool/ipmi_sel_supermicro.h:112:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] 112 | static uint16_t supermicro_x8[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:108:17: warning: 'supermicro_p8' defined but not used [-Wunused-variable] 108 | static uint16_t supermicro_p8[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:101:17: warning: 'supermicro_h8' defined but not used [-Wunused-variable] 101 | static uint16_t supermicro_h8[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:97:17: warning: 'supermicro_b8' defined but not used [-Wunused-variable] 97 | static uint16_t supermicro_b8[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:74:17: warning: 'supermicro_x9sb' defined but not used [-Wunused-variable] 74 | static uint16_t supermicro_x9sb[] = { | ^~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:70:17: warning: 'supermicro_x9db' defined but not used [-Wunused-variable] 70 | static uint16_t supermicro_x9db[] = { | ^~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:66:17: warning: 'supermicro_x9dal' defined but not used [-Wunused-variable] 66 | static uint16_t supermicro_x9dal[] = { | ^~~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:45:17: warning: 'supermicro_b2' defined but not used [-Wunused-variable] 45 | static uint16_t supermicro_b2[] = { | ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:41:17: warning: 'supermicro_b11' defined but not used [-Wunused-variable] 41 | static uint16_t supermicro_b11[] = { | ^~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:35:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] 35 | static uint16_t supermicro_x11[] = { | ^~~~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sol.lo ipmi_sol.c In file included from ipmi_sol.c:36: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_pef.lo ipmi_pef.c /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp.lo ipmi_lanp.c In file included from ../include/ipmitool/helper.h:37, from ipmi_pef.c:38: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_pef.c: In function 'ipmi_pef_bit_desc': ipmi_pef.c:405:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 405 | sprintf(p, listitem[index], pmap->desc); | ^~~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_flags': ipmi_pef.c:436:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 436 | printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); | ^~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_field': ipmi_pef.c:448:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 448 | printf(fmt[0], KYWD_LENGTH, label, val); | ^~~~~~ ipmi_pef.c:450:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 450 | printf(&fmt[1][2], val); /* skip field separator */ | ^~~~~~ ipmi_pef.c:452:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 452 | printf(fmt[1], val); | ^~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_event_info': ipmi_pef.c:1255:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1255 | if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { | ^~ In file included from ipmi_lanp.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ In file included from ../include/ipmitool/ipmi.h:40, from ipmi_lanp.c:48: ipmi_lanp.c: In function 'ipmi_lan_alert_set': ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1888:39: note: in expansion of macro '__min' 1888 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1888:39: note: in expansion of macro '__min' 1888 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1903:39: note: in expansion of macro '__min' 1903 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1903:39: note: in expansion of macro '__min' 1903 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1917:39: note: in expansion of macro '__min' 1917 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1917:39: note: in expansion of macro '__min' 1917 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1943:39: note: in expansion of macro '__min' 1943 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1943:39: note: in expansion of macro '__min' 1943 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1968:39: note: in expansion of macro '__min' 1968 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1968:39: note: in expansion of macro '__min' 1968 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1996:39: note: in expansion of macro '__min' 1996 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1996:39: note: in expansion of macro '__min' 1996 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:2012:39: note: in expansion of macro '__min' 2012 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:2012:39: note: in expansion of macro '__min' 2012 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fru.lo ipmi_fru.c In file included from ../include/ipmitool/ipmi.h:36, from ipmi_fru.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_fru.c: In function 'read_fru_area': ipmi_fru.c:766:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 766 | || tmp > rsp->data_len - 1 | ^ ipmi_fru.c: In function 'read_fru_area_section': ipmi_fru.c:878:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 878 | || tmp > rsp->data_len - 1 | ^ ipmi_fru.c: In function 'fru_area_print_chassis': ipmi_fru.c:1045:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1045 | if (i == j) { | ^~ ipmi_fru.c: In function 'fru_area_print_board': ipmi_fru.c:1157:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1157 | if (i == j) | ^~ ipmi_fru.c: In function 'fru_area_print_product': ipmi_fru.c:1279:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1279 | if (i == j) | ^~ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1511:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1511 | for( i=0;i (header.offset.internal * 8)) && | ^ ipmi_fru.c:3867:42: warning: self-comparison always evaluates to false [-Wtautological-compare] 3867 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && | ^ ipmi_fru.c:3871:40: warning: self-comparison always evaluates to false [-Wtautological-compare] 3871 | if (((header.offset.board * 8) > (header.offset.board * 8)) && | ^ ipmi_fru.c:3875:42: warning: self-comparison always evaluates to false [-Wtautological-compare] 3875 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': ipmi_fru.c:4050:43: warning: self-comparison always evaluates to false [-Wtautological-compare] 4050 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && | ^ ipmi_fru.c:4054:42: warning: self-comparison always evaluates to false [-Wtautological-compare] 4054 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && | ^ ipmi_fru.c:4058:40: warning: self-comparison always evaluates to false [-Wtautological-compare] 4058 | if (((header.offset.board * 8) > (header.offset.board * 8)) && | ^ ipmi_fru.c:4062:42: warning: self-comparison always evaluates to false [-Wtautological-compare] 4062 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string': ipmi_fru.c:4824:31: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 4824 | for (i = 0; i < fru_section_len - 1; i++) | ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': ipmi_fru.c:4997:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4997 | num_byte_change = strlen(f_string) - strlen(fru_area); | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:22, from ../include/ipmitool/helper.h:38, from ../include/ipmitool/ipmi.h:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/string.h:54:16: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 54 | size_t strlen (const char *); | ^~~~~~~~~~~~ ipmi_fru.c:5118:87: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 5118 | if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) | ^ ipmi_fru.c:5163:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 5163 | strlen(fru_area)), | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/string.h:54:16: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 54 | size_t strlen (const char *); | ^~~~~~~~~~~~ ipmi_fru.c:5168:42: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 5168 | for(counter = 0; counter < padding_len; counter ++) | ^ ipmi_fru.c: At top level: ipmi_fru.c:904:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] 904 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1519:58: warning: array subscript 'unsigned int[0]' is partly outside array bounds of 'unsigned char[2]' [-Warray-bounds=] 1519 | data[offset++] = (unsigned char) *(holder+i); | ^~~~~~~~~~~ ipmi_fru.c:1505:26: note: object of size [1, 2] allocated by 'malloc' 1505 | holder = malloc(len); | ^~~~~~~~~~~ ipmi_fru.c:1519:58: warning: array subscript 1 is outside array bounds of 'void[2]' [-Warray-bounds=] 1519 | data[offset++] = (unsigned char) *(holder+i); | ^~~~~~~~~~~ ipmi_fru.c:1505:26: note: at offset 4 into object of size [1, 2] allocated by 'malloc' 1505 | holder = malloc(len); | ^~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3494:80: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3494 | if ((last_off < (i + sizeof(*h))) || (last_off < (i + h->len))) | ^~ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3505:30: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3505 | if( h->type == FRU_RECORD_TYPE_OEM_EXTENSION ){ | ^~ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3509:51: warning: array subscript [1, 858993460] is outside array bounds of 'void[1]' [-Warray-bounds=] 3509 | uint32_t iana = oh->mfg_id[0] | oh->mfg_id[1]<<8 | oh->mfg_id[2]<<16; | ^~ ipmi_fru.c:3483:28: note: at offset [5, 4294967300] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3509:67: warning: array subscript [1, 858993460] is outside array bounds of 'void[1]' [-Warray-bounds=] 3509 | uint32_t iana = oh->mfg_id[0] | oh->mfg_id[1]<<8 | oh->mfg_id[2]<<16; | ^~ ipmi_fru.c:3483:28: note: at offset [5, 4294967300] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3509:86: warning: array subscript [1, 858993460] is outside array bounds of 'void[1]' [-Warray-bounds=] 3509 | uint32_t iana = oh->mfg_id[0] | oh->mfg_id[1]<<8 | oh->mfg_id[2]<<16; | ^~ ipmi_fru.c:3483:28: note: at offset [5, 4294967300] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3553:50: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3553 | h->len, h, oh )){ | ^~ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: ipmi_fru.c:1787:22: warning: array subscript [1, 858993460] is outside array bounds of 'void[1]' [-Warray-bounds=] 1787 | if(oh->record_id == OEM_KONTRON_INFORMATION_RECORD ) { | ~~^~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset [5, 4294967300] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: ipmi_fru.c:1800:33: warning: array subscript [1, 858993460] is outside array bounds of 'void[1]' [-Warray-bounds=] 1800 | version = oh->record_version; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset [5, 4294967300] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: ipmi_fru.c:1915:75: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 1915 | lprintf(LOG_DEBUG,"Initial record checksum : %x",h->record_checksum); | ~^~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: ipmi_fru.c:1916:75: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 1916 | lprintf(LOG_DEBUG,"Initial header checksum : %x",h->header_checksum); | ~^~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: ipmi_fru.c:1921:44: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 1921 | h->record_checksum = ~record_checksum + 1; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: ipmi_fru.c:1929:44: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 1929 | h->header_checksum = ~header_checksum + 1; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: ipmi_fru.c:1932:73: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 1932 | lprintf(LOG_DEBUG,"Final header checksum : %x",h->header_checksum); | ~^~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3556:50: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3556 | h->len+ sizeof(struct fru_multirec_header), fru_data); | ^~ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1861:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:53:16: warning: array subscript 1 is outside array bounds of 'void[1]' [-Warray-bounds=] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset [12, 13] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1865:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:53:16: warning: array subscript 2 is outside array bounds of 'void[1]' [-Warray-bounds=] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset [21, 22] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1869:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:53:16: warning: array subscript 3 is outside array bounds of 'void[1]' [-Warray-bounds=] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset [30, 31] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1838:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:53:16: warning: array subscript 0 is outside array bounds of 'void[1]' [-Warray-bounds=] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset 1 into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1842:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:53:16: warning: array subscript 1 is outside array bounds of 'void[1]' [-Warray-bounds=] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset [10, 11] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1846:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:53:16: warning: array subscript 2 is outside array bounds of 'void[1]' [-Warray-bounds=] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset [19, 20] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1850:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:53:16: warning: array subscript 3 is outside array bounds of 'void[1]' [-Warray-bounds=] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset [28, 29] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3544:50: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3544 | h->len, h, oh )){ | ^~ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_picmg_ext_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3542:11: ipmi_fru.c:1998:89: warning: array subscript 'struct fru_picmgext_activation_record[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 1998 | printf(" IPMB-Address: 0x%x\n", a->ibmb_addr); | ~^~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_picmg_ext_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3542:11: ipmi_fru.c:1999:98: warning: array subscript 'struct fru_picmgext_activation_record[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 1999 | printf(" Max. Module Current: %.2f A\n", (float)a->max_module_curr / 10.0f); | ~^~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_picmg_ext_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3542:11: ipmi_fru.c:2034:67: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 2034 | lprintf(LOG_DEBUG,"Initial record checksum : %x",h->record_checksum); | ~^~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_picmg_ext_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3542:11: ipmi_fru.c:2035:67: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 2035 | lprintf(LOG_DEBUG,"Initial header checksum : %x",h->header_checksum); | ~^~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_picmg_ext_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3542:11: ipmi_fru.c:2040:36: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 2040 | h->record_checksum = ~record_checksum + 1; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_picmg_ext_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3542:11: ipmi_fru.c:2048:36: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 2048 | h->header_checksum = ~header_checksum + 1; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_picmg_ext_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3542:11: ipmi_fru.c:2051:65: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 2051 | lprintf(LOG_DEBUG,"Final header checksum : %x",h->header_checksum); | ~^~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3547:50: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3547 | h->len+ sizeof(struct fru_multirec_header), fru_data); | ^~ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3567:31: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3567 | i += h->len + sizeof (struct fru_multirec_header); | ^~ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:3568:29: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3568 | } while (!(h->format & 0x80) && (error != 1)); | ^~ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1857:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:53:16: warning: '__builtin_memcpy' writing 10 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3483:28: note: at offset 1 into destination object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_print_all': ipmi_fru.c:3227:16: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] 3227 | return rc; | ^~ ipmi_fru.c:3132:13: note: 'rc' was declared here 3132 | int rc; | ^~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_chassis.lo ipmi_chassis.c In file included from ipmi_chassis.c:35: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_mc.lo ipmi_mc.c In file included from ipmi_mc.c:35: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o log.lo log.c In file included from log.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o dimm_spd.lo dimm_spd.c In file included from ../include/ipmitool/ipmi.h:36, from dimm_spd.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ dimm_spd.c: In function 'ipmi_spd_print_fru': dimm_spd.c:1699:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1699 | || len > rsp->data_len - 1 | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sensor.lo ipmi_sensor.c In file included from ../include/ipmitool/ipmi.h:36, from ipmi_sensor.c:36: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_sensor.c: In function 'print_thresh_setting': ipmi_sensor.c:253:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 253 | printf(na_fmt, "na"); | ^~~~~~ ipmi_sensor.c:257:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 257 | printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); | ^~~~~~ ipmi_sensor.c:259:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 259 | printf(discrete_fmt, setting); | ^~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_channel.lo ipmi_channel.c In file included from ipmi_channel.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_channel.c: In function 'ipmi_get_channel_cipher_suites': ipmi_channel.c:503:38: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 503 | || rsp->data_len > sizeof(uint8_t) + MAX_CIPHER_SUITE_DATA_LEN) | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_event.lo ipmi_event.c In file included from ipmi_event.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_event.c: In function 'ipmi_event_fromsensor': ipmi_event.c:421:39: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 421 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { | ^ ipmi_event.c:428:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 428 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_session.lo ipmi_session.c In file included from ipmi_session.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ In file included from ../include/ipmitool/ipmi.h:40, from ipmi_session.c:44: ipmi_session.c: In function 'ipmi_get_session_info': ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_session.c:315:32: note: in expansion of macro '__min' 315 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_session.c:315:32: note: in expansion of macro '__min' 315 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_session.c:317:44: note: in expansion of macro '__min' 317 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_session.c:317:44: note: in expansion of macro '__min' 317 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_session.c:349:32: note: in expansion of macro '__min' 349 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_session.c:349:32: note: in expansion of macro '__min' 349 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_session.c:351:44: note: in expansion of macro '__min' 351 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_session.c:351:44: note: in expansion of macro '__min' 351 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_strings.lo ipmi_strings.c In file included from ../include/ipmitool/helper.h:37, from ../include/ipmitool/ipmi_strings.h:35, from ipmi_strings.c:37: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_user.lo ipmi_user.c In file included from ipmi_user.c:35: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_user.c: In function '_ipmi_set_user_password': ipmi_user.c:208:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 208 | if (copy_len > (data_len - 2)) { | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_raw.lo ipmi_raw.c In file included from ipmi_raw.c:35: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_raw.c: In function 'ipmi_raw_main': ipmi_raw.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 337 | else if (argc > sizeof(data)) | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_oem.lo ipmi_oem.c In file included from ../include/ipmitool/ipmi.h:36, from ipmi_oem.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_isol.lo ipmi_isol.c In file included from ipmi_isol.c:36: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_isol.c: In function 'ipmi_isol_red_pill': ipmi_isol.c:617:77: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] 617 | int rc = processiSolUserInput(intf, buffer, numRead); | ^~~~~~ | | | char * ipmi_isol.c:457:31: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 457 | uint8_t * input, | ~~~~~~~~~~^~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sunoem.lo ipmi_sunoem.c In file included from ipmi_sunoem.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': ipmi_sunoem.c:2290:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2290 | strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * In file included from ipmi_sunoem.c:35: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/string.h:133:42: note: expected 'char *' but argument is of type 'unsigned char *' 133 | _FORTIFY_FN(strncpy) char *strncpy(char *__d, const char *__s, size_t __n) | ~~~~~~^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fwum.lo ipmi_fwum.c In file included from ../include/ipmitool/helper.h:37, from ipmi_fwum.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': ipmi_fwum.c:365:63: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 365 | modulus, pFileHandle) == modulus) { | ^~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_picmg.lo ipmi_picmg.c In file included from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_intf.h:35, from ipmi_picmg.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_picmg.c: In function 'ipmi_picmg_clk_set': ipmi_picmg.c:1852:44: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] 1852 | if (is_clk_resid(argv[6], &msg_data[10]) != 0) { | ^~~~~~~~~~~~~ | | | unsigned char * ipmi_picmg.c:422:44: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' 422 | is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) | ~~~~~~~~^~~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_main.lo ipmi_main.c In file included from ipmi_main.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_tsol.lo ipmi_tsol.c In file included from ipmi_tsol.c:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_tsol.c: In function 'ipmi_tsol_command': ipmi_tsol.c:87:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { | ~^ ~~~~ | | | | int * unsigned int * | %d ipmi_tsol.c:87:33: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { | ~^ ~~~~ | | | | int * unsigned int * | %d ipmi_tsol.c:87:36: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { | ~^ ~~~~ | | | | int * unsigned int * | %d ipmi_tsol.c:87:39: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { | ~^ ~~~~ | | | | int * unsigned int * | %d /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_firewall.lo ipmi_firewall.c In file included from ipmi_firewall.c:36: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_kontronoem.lo ipmi_kontronoem.c In file included from ../include/ipmitool/helper.h:37, from ipmi_kontronoem.c:43: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c In file included from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_intf.h:35, from ipmi_hpmfwupg.c:35: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': ipmi_hpmfwupg.c:1430:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1430 | if (ret != pFwupgCtx->imageSize) { | ^~ ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': ipmi_hpmfwupg.c:2353:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2353 | for (dataIdx = 0; dataIdx < length; dataIdx++) { | ^ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdradd.lo ipmi_sdradd.c In file included from ipmi_sdradd.c:38: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_gendev.lo ipmi_gendev.c In file included from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_ekanalyzer.h:39, from ipmi_ekanalyzer.c:36: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': ipmi_ekanalyzer.c:487:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 487 | for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { | ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': ipmi_ekanalyzer.c:3435:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 3435 | for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { | ^ ipmi_ekanalyzer.c: At top level: ipmi_ekanalyzer.c:3380:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] 3380 | ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ipmi_gendev.c:36: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_gendev.c: In function 'ipmi_gendev_write_file': ipmi_gendev.c:382:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 382 | if(fileLength != eeprom_size) | ^~ In function 'ipmi_ek_compare_link', inlined from 'ipmi_ek_matching_process' at ipmi_ekanalyzer.c:1304:37, inlined from 'ipmi_ekanalyzer_ekeying_match' at ipmi_ekanalyzer.c:1194:40: ipmi_ekanalyzer.c:1668:28: warning: 'pcarrier_p2p' may be used uninitialized [-Wmaybe-uninitialized] 1668 | result = ipmi_ek_check_physical_connectivity ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1669 | record1, index_ch_desc1, record2, index_ch_desc2, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1670 | physic_record, file_type1, file_type2, opt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': ipmi_ekanalyzer.c:1141:43: note: 'pcarrier_p2p' was declared here 1141 | struct ipmi_ek_multi_header * pcarrier_p2p; | ^~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ime.lo ipmi_ime.c In file included from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_ime.h:39, from ipmi_ime.c:81: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_ime.c: In function 'ImeImageCtxFromFile': ipmi_ime.c:887:30: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 887 | if (pImageCtx->size < 0) | ^ ipmi_ime.c: At top level: ipmi_ime.c:793:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] 793 | static int ImeUpdateShowStatus(struct ipmi_intf *intf) | ^~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_delloem.lo ipmi_delloem.c In file included from ipmi_delloem.c:36: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': ipmi_delloem.c:1582:17: warning: unused variable 'j' [-Wunused-variable] 1582 | uint8_t j; | ^ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_mac': ipmi_delloem.c:1672:17: warning: unused variable 'j' [-Wunused-variable] 1672 | uint8_t j; | ^ ipmi_delloem.c: In function 'ipmi_macinfo_10g': ipmi_delloem.c:1740:17: warning: unused variable 'j' [-Wunused-variable] 1740 | uint8_t j; | ^ ipmi_delloem.c: In function 'ipmi_macinfo_11g': ipmi_delloem.c:1803:17: warning: unused variable 'j' [-Wunused-variable] 1803 | uint8_t j; | ^ ipmi_delloem.c: In function 'ipmi_delloem_lan_main': ipmi_delloem.c:1995:66: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] 1995 | rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); | ^~~~~~~ | | | char * ipmi_delloem.c:199:26: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 199 | uint8_t *nic_selection); | ~~~~~~~~~^~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': ipmi_delloem.c:3312:24: warning: too many arguments for format [-Wformat-extra-args] 3312 | printf("Peak power consmhistory Data : " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_get_power_cap': ipmi_delloem.c:3493:24: warning: too many arguments for format [-Wformat-extra-args] 3493 | printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_delloem_setled_main': ipmi_delloem.c:4161:52: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4161:55: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4161:58: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4165:48: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4165:51: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x ipmi_delloem.c:4165:54: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ | | | | | int * | unsigned int * | %x /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_dcmi.lo ipmi_dcmi.c In file included from ipmi_dcmi.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': ipmi_dcmi.c:1956:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1956 | val.limit = *(uint16_t*)(&lvalue); | ^~~~~~~~~~~~~~~~~~~~ ipmi_dcmi.c:1974:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1974 | val.sample = *(uint16_t*)(&lvalue); | ^~~~~~~~~~~~~~~~~~~~ ipmi_dcmi.c: In function 'ipmi_nm_thresh': ipmi_dcmi.c:3260:49: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] 3260 | if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o hpm2.lo hpm2.c /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_vita.lo ipmi_vita.c In file included from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_intf.h:35, from ../include/ipmitool/hpm2.h:36, from hpm2.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ In file included from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_intf.h:35, from ipmi_vita.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp6.lo ipmi_lanp6.c In file included from ../include/ipmitool/helper.h:37, from ipmi_lanp6.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmi_lanp6.c: In function 'lanp_parse_cfgp': ipmi_lanp6.c:596:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 596 | if (set > 2) { | ^ ipmi_lanp6.c:601:9: note: here 601 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: | ^~~~ ipmi_lanp6.c: In function 'lanp_get_cfgp': ipmi_lanp6.c:703:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 703 | data[0] = data[17] = data[24] = data[26] = set; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_lanp6.c:705:9: note: here 705 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: | ^~~~ ipmi_lanp6.c: In function 'lanp_set_cfgp': ipmi_lanp6.c:653:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 653 | off = 1; | ~~~~^~~ ipmi_lanp6.c:655:9: note: here 655 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: | ^~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_cfgp.lo ipmi_cfgp.c In file included from ../include/ipmitool/helper.h:37, from ipmi_cfgp.c:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_quantaoem.lo ipmi_quantaoem.c In file included from ipmi_quantaoem.c:35: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ In file included from ipmi_quantaoem.c:37: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/strings.h: In function 'bcopy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/strings.h:43:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 43 | return __orig_bcopy(__s, __d, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/strings.h:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/strings.h:18:6: note: declared here 18 | void bcopy (const void *, void *, size_t); | ^~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/strings.h: In function 'bzero': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/strings.h:52:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 52 | return __orig_bzero(__s, __n); | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/strings.h:19:6: note: declared here 19 | void bzero (void *, size_t); | ^~~~~ /bin/bash ../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_time.lo ipmi_time.c In file included from ipmi_time.c:37: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -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 ipmi_quantaoem.lo ipmi_time.lo -lm -lreadline -lcrypto make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/lib' Making all in src make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' Making all in plugins make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' Making all in lan make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lan' /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o lan.lo lan.c In file included from lan.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o auth.lo auth.c In file included from auth.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ auth.c: In function 'ipmi_auth_md5': auth.c:80:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 80 | MD5_Init(&ctx); | ^~~~~~~~ In file included from auth.c:54: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ auth.c:81:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 81 | MD5_Update(&ctx, (const uint8_t *)s->authcode, 16); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ auth.c:82:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | MD5_Update(&ctx, (const uint8_t *)&s->session_id, 4); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ auth.c:83:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 83 | MD5_Update(&ctx, (const uint8_t *)data, data_len); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ auth.c:84:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | MD5_Update(&ctx, (const uint8_t *)&temp, sizeof(uint32_t)); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ auth.c:85:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | MD5_Update(&ctx, (const uint8_t *)s->authcode, 16); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ auth.c:86:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | MD5_Final(md, &ctx); | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ auth.c: In function 'ipmi_auth_special': auth.c:187:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 187 | MD5_Init(&ctx); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ auth.c:188:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 188 | MD5_Update(&ctx, (const uint8_t *)s->authcode, strlen((const char *)s->authcode)); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ auth.c:189:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 189 | MD5_Final(md, &ctx); | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ auth.c:197:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 197 | MD5_Init(&ctx); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ auth.c:198:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | MD5_Update(&ctx, (const uint8_t *)challenge, 16); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ auth.c:199:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 199 | MD5_Final(md, &ctx); | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o md5.lo md5.c /bin/bash ../../../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lan' Making all in lanplus make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lanplus' /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus.lo lanplus.c In file included from lanplus.c:34: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_strings.lo lanplus_strings.c In file included from ../../../include/ipmitool/ipmi.h:36, from lanplus.h:35, from lanplus_strings.c:1: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt.lo lanplus_crypt.c In file included from ../../../include/ipmitool/ipmi.h:36, from lanplus.h:35, from lanplus_crypt.c:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_dump.lo lanplus_dump.c In file included from ../../../include/ipmitool/ipmi.h:36, from lanplus.h:35, from lanplus_dump.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c In file included from ../../../include/ipmitool/ipmi.h:36, from lanplus.h:35, from lanplus_crypt_impl.c:35: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lanplus' Making all in open make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/open' /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o open.lo open.c In file included from open.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ open.c: In function 'ipmi_openipmi_open': open.c:123:29: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147772688' to '-2147194608' [-Woverflow] 123 | if (ioctl(intf->fd, IPMICTL_SET_GETS_EVENTS_CMD, &receive_events) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ open.c: In function 'ipmi_openipmi_set_my_addr': open.c:148:29: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147772689' to '-2147194607' [-Woverflow] 148 | if (ioctl(intf->fd, IPMICTL_SET_MY_ADDRESS_CMD, &a) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ open.c: In function 'ipmi_openipmi_send_cmd': open.c:173:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] 173 | struct ipmi_recv recv = {}; | ^ open.c:319:29: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2150131981' to '-2144835315' [-Woverflow] 319 | if (ioctl(intf->fd, IPMICTL_SEND_COMMAND, &_req) < 0) { | ^~~~~~~~~~~~~~~~~~~~ open.c:363:37: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3224398091' to '-1070569205' [-Woverflow] 363 | if (ioctl(intf->fd, IPMICTL_RECEIVE_MSG_TRUNC, &recv) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/open' Making all in imb make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/imb' /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o imbapi.lo imbapi.c In file included from imbapi.c:50: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o imb.lo imb.c In file included from imb.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/imb' Making all in serial make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/serial' /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o serial_terminal.lo serial_terminal.c In file included from serial_terminal.c:38: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ serial_terminal.c: At top level: serial_terminal.c:89:29: warning: invalid use of structure with flexible array member [-Wpedantic] 89 | struct ipmb_msg_hdr msg; | ^~~ serial_terminal.c: In function 'ipmi_serial_term_open': serial_terminal.c:192:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 192 | if (rates[i].baudrate == rate) { | ^~ serial_terminal.c: In function 'serial_term_build_msg': serial_terminal.c:479:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 479 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { | ^ serial_terminal.c: In function 'ipmi_serial_term_send_cmd': serial_terminal.c:795:17: warning: 'msg_len' may be used uninitialized [-Wmaybe-uninitialized] 795 | serial_term_send_msg(intf, msg, msg_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial_terminal.c:778:24: note: 'msg_len' was declared here 778 | int retry, rv, msg_len, bridging_level; | ^~~~~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o serial_basic.lo serial_basic.c In file included from serial_basic.c:38: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ serial_basic.c: At top level: serial_basic.c:91:29: warning: invalid use of structure with flexible array member [-Wpedantic] 91 | struct ipmb_msg_hdr msg; | ^~~ serial_basic.c: In function 'serial_bm_open': serial_basic.c:244:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 244 | for (i = 0; i < ARRAY_SIZE(rates); i++) { | ^ serial_basic.c:245:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 245 | if (rates[i].baudrate == rate) { | ^~ serial_basic.c:249:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 249 | if (i >= ARRAY_SIZE(rates)) { | ^~ serial_basic.c: In function 'serial_bm_recv_msg': serial_basic.c:584:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 584 | if (rv < recv_ctx->buffer_size) { | ^ serial_basic.c: In function 'serial_bm_build_msg': serial_basic.c:618:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 618 | if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { | ^ In function 'serial_bm_parse_buffer', inlined from 'serial_bm_recv_msg' at serial_basic.c:581:8, inlined from 'serial_bm_wait_response.constprop' at serial_basic.c:747:20: serial_basic.c:528:28: warning: 'parse_ctx.msg_len' may be used uninitialized [-Wmaybe-uninitialized] 528 | if (ctx->msg_len >= ctx->max_len) { | ^ serial_basic.c: In function 'serial_bm_wait_response.constprop': serial_basic.c:550:36: note: 'parse_ctx.msg_len' was declared here 550 | struct serial_bm_parse_ctx parse_ctx; | ^~~~~~~~~ serial_basic.c: In function 'serial_bm_send_request': serial_basic.c:911:17: warning: 'msg_len' may be used uninitialized [-Wmaybe-uninitialized] 911 | serial_bm_send_msg(intf, msg, msg_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial_basic.c:890:24: note: 'msg_len' was declared here 890 | int retry, rv, msg_len, bridging_level; | ^~~~~~~ /bin/bash ../../../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/serial' make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' /bin/bash ../../libtool --silent --tag=CC --mode=compile aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -DDEFAULT_INTF='"open"' -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o libintf_la-ipmi_intf.lo `test -f 'ipmi_intf.c' || echo './'`ipmi_intf.c In file included from ipmi_intf.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ /bin/bash ../../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -DDEFAULT_INTF='"open"' -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -o libintf.la 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 -lcrypto copying selected object files to avoid basename conflicts... make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmitool.o ipmitool.c In file included from ../include/ipmitool/ipmi.h:36, from ipmitool.c:36: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmishell.o ipmishell.c In file included from ipmishell.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmishell.c: In function 'ipmi_shell_main': ipmishell.c:99:49: warning: unused parameter 'argc' [-Wunused-parameter] 99 | int ipmi_shell_main(struct ipmi_intf *intf, int argc, char **argv) | ~~~~^~~~ ipmishell.c:99:62: warning: unused parameter 'argv' [-Wunused-parameter] 99 | int ipmi_shell_main(struct ipmi_intf *intf, int argc, char **argv) | ~~~~~~~^~~~ aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -c -o ipmievd.o ipmievd.c In file included from ipmievd.c:33: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ ipmievd.c: In function 'openipmi_setup': ipmievd.c:412:36: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147772688' to '-2147194608' [-Woverflow] 412 | r = ioctl(eintf->intf->fd, IPMICTL_SET_GETS_EVENTS_CMD, &i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmievd.c: In function 'openipmi_read': ipmievd.c:425:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] 425 | struct ipmi_recv recv = {}; | ^ ipmievd.c:434:37: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3224398091' to '-1070569205' [-Woverflow] 434 | rv = ioctl(eintf->intf->fd, IPMICTL_RECEIVE_MSG_TRUNC, &recv); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto /bin/bash ../libtool --silent --tag=CC --mode=link aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19=ipmitool-1.8.19 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' Making all in include make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' Making all in ipmitool make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include/ipmitool' make[7]: Nothing to be done for 'all'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include/ipmitool' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' make[7]: Nothing to be done for 'all-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' Making all in doc make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/doc' make[6]: Nothing to be done for 'all'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/doc' Making all in contrib make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/contrib' make[6]: Nothing to be done for 'all'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/contrib' Making all in control make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/control' make[6]: Nothing to be done for 'all'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/control' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' Making install in lib make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/lib' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/lib' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/lib' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/lib' Making install in src make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' Making install in plugins make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' Making install in lan make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lan' make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lan' make[8]: Nothing to be done for 'install-exec-am'. make[8]: Nothing to be done for 'install-data-am'. make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lan' make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lan' Making install in lanplus make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lanplus' make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lanplus' make[8]: Nothing to be done for 'install-exec-am'. make[8]: Nothing to be done for 'install-data-am'. make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lanplus' make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/lanplus' Making install in open make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/open' make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/open' make[8]: Nothing to be done for 'install-exec-am'. make[8]: Nothing to be done for 'install-data-am'. make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/open' make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/open' Making install in imb make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/imb' make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/imb' make[8]: Nothing to be done for 'install-exec-am'. make[8]: Nothing to be done for 'install-data-am'. make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/imb' make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/imb' Making install in serial make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/serial' make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/serial' make[8]: Nothing to be done for 'install-exec-am'. make[8]: Nothing to be done for 'install-data-am'. make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/serial' make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins/serial' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' make[8]: Nothing to be done for 'install-exec-am'. make[8]: Nothing to be done for 'install-data-am'. make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src/plugins' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' /bin/mkdir -p '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/bin' /bin/bash ../libtool --silent --mode=install /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c ipmitool '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/bin' /bin/mkdir -p '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/sbin' /bin/bash ../libtool --silent --mode=install /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c ipmievd '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/sbin' make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/src' Making install in include make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' Making install in ipmitool make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include/ipmitool' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include/ipmitool' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include/ipmitool' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include/ipmitool' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/include' Making install in doc make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/doc' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/doc' make[6]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/man/man1' /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c -m 644 ipmitool.1 '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/man/man1' /bin/mkdir -p '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/man/man8' /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c -m 644 ipmievd.8 '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/man/man8' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/doc' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/doc' Making install in contrib make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/contrib' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/contrib' make[6]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/share/ipmitool' /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c -m 644 oem_ibm_sel_map '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/ipkg-install/usr/share/ipmitool' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/contrib' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/contrib' Making install in control make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/control' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/control' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/control' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/control' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[6]: Nothing to be done for 'install-exec-am'. Downloading IANA PEN database... --2024-12-06 09:04:00-- http://www.iana.org/assignments/enterprise-numbers Resolving www.iana.org (www.iana.org)... 192.0.46.8, 2620:0:2830:200::b:8 Connecting to www.iana.org (www.iana.org)|192.0.46.8|:80... failed: Connection timed out. Connecting to www.iana.org (www.iana.org)|2620:0:2830:200::b:8|:80... failed: Network is unreachable. FAILED to download the IANA PEN database make[6]: *** [Makefile:914: enterprise-numbers] Error 1 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[5]: *** [Makefile:789: install-am] Error 2 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[4]: *** [Makefile:481: install-recursive] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19' make[3]: *** [Makefile:63: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/ipmitool-1.8.19/.built] Error 2 time: package/feeds/packages/ipmitool/compile#62.38#15.34#205.38