Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ipmitool.spec'], chrootPath='/var/lib/mock/f32-build-120366-36913/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ipmitool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/ipmitool-1.8.18-15.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ipmitool.spec'], chrootPath='/var/lib/mock/f32-build-120366-36913/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ipmitool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rtcDat + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ipmitool-IPMITOOL_1_8_18 + /usr/bin/gzip -dc /builddir/build/SOURCES/ipmitool-1.8.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ipmitool-IPMITOOL_1_8_18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-CVE-2011-4339-OpenIPMI.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-openssl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-ipmitool-1.8.11-set-kg-key.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-slowswid.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-sensor-id-length.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-enable-usb.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-check-input.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + for f in AUTHORS ChangeLog + iconv -f iso-8859-1 -t utf8 + mv AUTHORS.utf8 AUTHORS + for f in AUTHORS ChangeLog + iconv -f iso-8859-1 -t utf8 + mv ChangeLog.utf8 ChangeLog + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8kRbIu + umask 022 + cd /builddir/build/BUILD + cd ipmitool-IPMITOOL_1_8_18 + aclocal + libtoolize --automake --copy + autoheader + automake --foreign --add-missing --copy BUILDSTDERR: configure.ac:13: installing './compile' BUILDSTDERR: configure.ac:6: installing './config.guess' BUILDSTDERR: configure.ac:6: installing './config.sub' BUILDSTDERR: configure.ac:7: installing './install-sh' BUILDSTDERR: configure.ac:7: installing './missing' BUILDSTDERR: lib/Makefile.am: installing './depcomp' + aclocal + autoconf + automake --foreign + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --enable-file-security --disable-intf-free checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for rpmbuild... rpmbuild checking for sed... sed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strtod... yes checking for alarm... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for getifaddrs... yes checking for socket... yes checking for select... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for getpassphrase... no checking how to print strings... printf checking for a sed that does not truncate output... sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for library containing gethostbyname... none required checking for library containing getaddrinfo... none required checking for library containing getifaddrs... none required checking for library containing socket... none required checking for EVP_aes_128_cbc in -lcrypto... yes checking for EVP_sha256 in -lcrypto... yes checking for MD5_Init in -lcrypto... yes checking for MD2_Init in -lcrypto... yes checking for linux/compiler.h... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking linux/ipmi.h usability... yes checking linux/ipmi.h presence... yes checking for linux/ipmi.h... yes checking for ipmi_open_inband in -lfreeipmi... no checking for ipmi_ctx_open_inband in -lfreeipmi... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for OpenIPMI dual bridge support... no checking sys/lipmi/lipmi_intf.h usability... no checking sys/lipmi/lipmi_intf.h presence... no checking for sys/lipmi/lipmi_intf.h... no ** Unable to build Solaris 9 x86 IPMI interface support! checking for library containing tgetent... -ltinfo checking for library containing initscr... -lncurses checking for library containing readline... -lreadline checking for library containing tgetent... (cached) -ltinfo checking for library containing initscr... (cached) -lncurses checking for library containing readline... (cached) -lreadline checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating contrib/Makefile config.status: creating control/Makefile config.status: creating control/pkginfo config.status: creating control/prototype config.status: creating control/rpmmacros config.status: creating control/ipmitool.spec config.status: creating lib/Makefile config.status: creating include/Makefile config.status: creating include/ipmitool/Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/lan/Makefile config.status: creating src/plugins/lanplus/Makefile config.status: creating src/plugins/open/Makefile config.status: creating src/plugins/free/Makefile config.status: creating src/plugins/imb/Makefile config.status: creating src/plugins/bmc/Makefile config.status: creating src/plugins/usb/Makefile config.status: creating src/plugins/lipmi/Makefile config.status: creating src/plugins/serial/Makefile config.status: creating src/plugins/dummy/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ipmitool 1.8.18-csv Interfaces lan : yes lanplus : yes open : yes free : no imb : yes bmc : no usb : yes lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : yes + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/lib' /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o helper.lo helper.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdr.lo ipmi_sdr.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sel.lo ipmi_sel.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sol.lo ipmi_sol.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_sol.c:38: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from ipmi_sdr.c:37: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from helper.c:39: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from ipmi_sel.c:34: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': BUILDSTDERR: ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] BUILDSTDERR: 659 | int base, BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: In file included from ipmi_sdr.c:48: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from ipmi_sel.c:47: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/ipmitool/ipmi.h:41, BUILDSTDERR: from helper.c:66: BUILDSTDERR: helper.c: In function 'str2val': BUILDSTDERR: ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] BUILDSTDERR: 130 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) BUILDSTDERR: | ^ BUILDSTDERR: helper.c:567:35: note: in expansion of macro '__maxlen' BUILDSTDERR: 567 | if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from ipmi_sel.c:50: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_sel.c: In function 'ipmi_sel_oem_readval': BUILDSTDERR: helper.c: In function 'ipmi_start_daemon': BUILDSTDERR: helper.c:831:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 831 | chdir("/"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: helper.c:840:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 840 | dup(fd); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: helper.c:841:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 841 | dup(fd); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ipmi_sel.c:87:22: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] BUILDSTDERR: 87 | if (sscanf(str, "0x%x", &ret) != 1) { BUILDSTDERR: | ~^ ~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | int * BUILDSTDERR: | unsigned int * BUILDSTDERR: | %x BUILDSTDERR: ipmi_sel.c: In function 'ipmi_sel_oem_message': BUILDSTDERR: ipmi_sel.c:196:69: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 196 | static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) BUILDSTDERR: | ~~~~^~~~~~~ BUILDSTDERR: ipmi_sel.c: In function 'get_kontron_evt_desc': BUILDSTDERR: ipmi_sel.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 457 | get_kontron_evt_desc(struct ipmi_intf *intf, struct sel_event_record * rec) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_mc_locator': BUILDSTDERR: ipmi_sdr.c:2131:52: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 2131 | ipmi_sdr_print_sensor_mc_locator(struct ipmi_intf *intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_generic_locator': BUILDSTDERR: ipmi_sdr.c:2227:57: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 2227 | ipmi_sdr_print_sensor_generic_locator(struct ipmi_intf *intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fru_locator': BUILDSTDERR: ipmi_sdr.c:2284:53: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 2284 | ipmi_sdr_print_sensor_fru_locator(struct ipmi_intf *intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_entity_assoc': BUILDSTDERR: ipmi_sdr.c:2343:54: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 2343 | ipmi_sdr_print_sensor_entity_assoc(struct ipmi_intf *intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_sdr.c:2344:40: warning: unused parameter 'assoc' [-Wunused-parameter] BUILDSTDERR: 2344 | struct sdr_record_entity_assoc *assoc) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_oem_intel': BUILDSTDERR: ipmi_sdr.c:2358:51: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 2358 | ipmi_sdr_print_sensor_oem_intel(struct ipmi_intf *intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': BUILDSTDERR: ipmi_sdr.c:2478:53: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 2478 | ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf, uint16_t id, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_end': BUILDSTDERR: ipmi_sdr.c:3081:32: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 3081 | ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_list_cache_fromfile': BUILDSTDERR: ipmi_sdr.c:3927:48: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 3927 | ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: In file included from ../include/ipmitool/ipmi.h:41, BUILDSTDERR: from ipmi_sdr.c:45: BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_get_info': BUILDSTDERR: ../include/ipmitool/helper.h:118:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: 118 | # define __min(a, b) ((a) < (b) ? (a) : (b)) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_sdr.c:4209:9: note: in expansion of macro '__min' BUILDSTDERR: 4209 | __min(sizeof (struct get_sdr_repository_info_rsp), BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../include/ipmitool/helper.h:118:42: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] BUILDSTDERR: 118 | # define __min(a, b) ((a) < (b) ? (a) : (b)) BUILDSTDERR: | ^~~ BUILDSTDERR: ipmi_sdr.c:4209:9: note: in expansion of macro '__min' BUILDSTDERR: 4209 | __min(sizeof (struct get_sdr_repository_info_rsp), BUILDSTDERR: | ^~~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_type': BUILDSTDERR: ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] BUILDSTDERR: 130 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_sdr.c:4479:6: note: in expansion of macro '__maxlen' BUILDSTDERR: 4479 | __maxlen(type, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_entity': BUILDSTDERR: ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] BUILDSTDERR: 130 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_sdr.c:4544:7: note: in expansion of macro '__maxlen' BUILDSTDERR: 4544 | __maxlen(entitystr, entity_id_vals[i].str)) == 0) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ipmi_sdr.c: In function 'sdr_convert_sensor_reading': BUILDSTDERR: ipmi_sdr.c:206:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 206 | if (val & 0x80) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_sdr.c:209:2: note: here BUILDSTDERR: 209 | case 2: BUILDSTDERR: | ^~~~ BUILDSTDERR: ipmi_sdr.c: In function 'sdr_convert_sensor_hysterisis': BUILDSTDERR: ipmi_sdr.c:286:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 286 | if (val & 0x80) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_sdr.c:289:2: note: here BUILDSTDERR: 289 | case 2: BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ipmi_sel.c:48: BUILDSTDERR: At top level: BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:114:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] BUILDSTDERR: 114 | static uint16_t supermicro_x8[] = { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:110:17: warning: 'supermicro_p8' defined but not used [-Wunused-variable] BUILDSTDERR: 110 | static uint16_t supermicro_p8[] = { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:103:17: warning: 'supermicro_h8' defined but not used [-Wunused-variable] BUILDSTDERR: 103 | static uint16_t supermicro_h8[] = { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:99:17: warning: 'supermicro_b8' defined but not used [-Wunused-variable] BUILDSTDERR: 99 | static uint16_t supermicro_b8[] = { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:76:17: warning: 'supermicro_x9sb' defined but not used [-Wunused-variable] BUILDSTDERR: 76 | static uint16_t supermicro_x9sb[] = { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:72:17: warning: 'supermicro_x9db' defined but not used [-Wunused-variable] BUILDSTDERR: 72 | static uint16_t supermicro_x9db[] = { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:68:17: warning: 'supermicro_x9dal' defined but not used [-Wunused-variable] BUILDSTDERR: 68 | static uint16_t supermicro_x9dal[] = { BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:47:17: warning: 'supermicro_b2' defined but not used [-Wunused-variable] BUILDSTDERR: 47 | static uint16_t supermicro_b2[] = { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:43:17: warning: 'supermicro_b11' defined but not used [-Wunused-variable] BUILDSTDERR: 43 | static uint16_t supermicro_b11[] = { BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ../include/ipmitool/ipmi_sel_supermicro.h:37:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] BUILDSTDERR: 37 | static uint16_t supermicro_x11[] = { BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ipmi_sdr.c: In function 'sdr_convert_sensor_tolerance': BUILDSTDERR: ipmi_sdr.c:361:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 361 | if (val & 0x80) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_sdr.c:364:2: note: here BUILDSTDERR: 364 | case 2: BUILDSTDERR: | ^~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_pef.lo ipmi_pef.c BUILDSTDERR: ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fc': BUILDSTDERR: ipmi_sdr.c:1682:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 1682 | snprintf(sval, sizeof (sval), "%s %s", BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ipmi_sdr.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_sdr.c:1628:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 1628 | snprintf(sval, sizeof (sval), "%s %s", BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ipmi_sdr.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from ipmi_pef.c:44: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_pef.c: In function 'ipmi_pef_bit_desc': BUILDSTDERR: ipmi_pef.c:103:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 103 | sprintf(p, listitem[index], pmap->desc); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ipmi_pef.c: In function 'ipmi_pef_print_flags': BUILDSTDERR: ipmi_pef.c:134:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 134 | printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ipmi_pef.c: In function 'ipmi_pef_print_field': BUILDSTDERR: ipmi_pef.c:146:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 146 | printf(fmt[0], KYWD_LENGTH, label, val); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ipmi_pef.c:148:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 148 | printf(&fmt[1][2], val); /* skip field separator */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ipmi_pef.c:150:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 150 | printf(fmt[1], val); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ipmi_pef.c: In function 'ipmi_pef_print_oem_lan_dest': BUILDSTDERR: ipmi_pef.c:605:61: warning: unused parameter 'ch' [-Wunused-parameter] BUILDSTDERR: 605 | ipmi_pef_print_oem_lan_dest(struct ipmi_intf *intf, uint8_t ch, uint8_t dest) BUILDSTDERR: | ~~~~~~~~^~ BUILDSTDERR: ipmi_pef.c: In function 'ipmi_pef_print_dest': BUILDSTDERR: ipmi_pef.c:906:40: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 906 | ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_pef.c:906:54: warning: unused parameter 'ch' [-Wunused-parameter] BUILDSTDERR: 906 | ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) BUILDSTDERR: | ~~~~~~~~^~ BUILDSTDERR: ipmi_pef.c: In function 'ipmi_pef_print_event_info': BUILDSTDERR: ipmi_pef.c:952:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 952 | if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { BUILDSTDERR: | ^~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp.lo ipmi_lanp.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fru.lo ipmi_fru.c BUILDSTDERR: In file included from ../include/ipmitool/ipmi_fru.h:38, BUILDSTDERR: from ipmi_fru.c:37: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_fru.c:37: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c: In function 'write_fru_area': BUILDSTDERR: ipmi_fru.c:474:26: warning: implicit declaration of function 'ipmi_intf_get_max_request_data_size'; did you mean 'ipmi_intf_set_max_request_data_size'? [-Wimplicit-function-declaration] BUILDSTDERR: 474 | uint16_t max_rq_size = ipmi_intf_get_max_request_data_size(intf); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ipmi_intf_set_max_request_data_size BUILDSTDERR: ipmi_fru.c: In function 'read_fru_area': BUILDSTDERR: ipmi_fru.c:644:26: warning: implicit declaration of function 'ipmi_intf_get_max_response_data_size'; did you mean 'ipmi_intf_set_max_response_data_size'? [-Wimplicit-function-declaration] BUILDSTDERR: 644 | uint16_t max_rs_size = ipmi_intf_get_max_response_data_size(intf) - 1; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ipmi_intf_set_max_response_data_size BUILDSTDERR: ipmi_fru.c: In function 'fru_area_print_chassis': BUILDSTDERR: ipmi_fru.c:972:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 972 | if (i == j) { BUILDSTDERR: | ^~ BUILDSTDERR: ipmi_fru.c: In function 'fru_area_print_board': BUILDSTDERR: ipmi_fru.c:1097:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 1097 | if (i == j) BUILDSTDERR: | ^~ BUILDSTDERR: ipmi_fru.c: In function 'fru_area_print_product': BUILDSTDERR: ipmi_fru.c:1232:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 1232 | if (i == j) BUILDSTDERR: | ^~ BUILDSTDERR: ipmi_fru.c: In function 'ipmi_fru_query_new_value': BUILDSTDERR: ipmi_fru.c:1465:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1465 | for( i=0;i (header.offset.internal * 8)) && BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c:3842:35: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 3842 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c:3846:33: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 3846 | if (((header.offset.board * 8) > (header.offset.board * 8)) && BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c:3850:35: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 3850 | if (((header.offset.product * 8) > (header.offset.product * 8)) && BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': BUILDSTDERR: ipmi_fru.c:4025:36: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 4025 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c:4029:35: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 4029 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c:4033:33: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 4033 | if (((header.offset.board * 8) > (header.offset.board * 8)) && BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c:4037:35: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 4037 | if (((header.offset.product * 8) > (header.offset.product * 8)) && BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c: In function 'ipmi_fru_set_field_string': BUILDSTDERR: ipmi_fru.c:4806:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] BUILDSTDERR: 4806 | for (i = 0; i < fru_section_len - 1; i++) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': BUILDSTDERR: ipmi_fru.c:4989:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 4989 | num_byte_change = strlen(f_string) - strlen(fru_area); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | uint8_t * {aka unsigned char *} BUILDSTDERR: In file included from ../include/ipmitool/helper.h:39, BUILDSTDERR: from ../include/ipmitool/ipmi.h:41, BUILDSTDERR: from ipmi_fru.c:33: BUILDSTDERR: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: 385 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ipmi_fru.c:5110:73: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] BUILDSTDERR: 5110 | if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fru.c:5155:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 5155 | strlen(fru_area)), BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | uint8_t * {aka unsigned char *} BUILDSTDERR: In file included from ../include/ipmitool/helper.h:39, BUILDSTDERR: from ../include/ipmitool/ipmi.h:41, BUILDSTDERR: from ipmi_fru.c:33: BUILDSTDERR: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: 385 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ipmi_fru.c:5160:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 5160 | for(counter = 0; counter < padding_len; counter ++) BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: ipmi_fru.c:826:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] BUILDSTDERR: 826 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_chassis.lo ipmi_chassis.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_chassis.c:35: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_mc.lo ipmi_mc.c BUILDSTDERR: ipmi_mc.c: In function 'ipmi_sysinfo_main': BUILDSTDERR: ipmi_mc.c:1063:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1063 | strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); BUILDSTDERR: | ~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:465, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_mc.c:33: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: ipmi_mc.c:1067:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1067 | strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); BUILDSTDERR: | ~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:465, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_mc.c:33: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from ipmi_mc.c:34: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ipmi_sysinfo_main' at ipmi_mc.c:1067:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ipmi_sysinfo_main' at ipmi_mc.c:1063:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o log.lo log.c BUILDSTDERR: ipmi_fru.c: In function 'ipmi_fru_print_all': BUILDSTDERR: ipmi_fru.c:3087:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 3087 | int rc; BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/unistd.h:25, BUILDSTDERR: from log.c:36: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o dimm_spd.lo dimm_spd.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sensor.lo ipmi_sensor.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_channel.lo ipmi_channel.c BUILDSTDERR: In file included from ../include/ipmitool/ipmi_fru.h:38, BUILDSTDERR: from dimm_spd.c:37: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from dimm_spd.c:37: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_sensor.c:40: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_sensor.c: In function 'print_thresh_setting': BUILDSTDERR: ipmi_sensor.c:235:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 235 | printf(na_fmt, "na"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ipmi_sensor.c:239:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 239 | printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ipmi_sensor.c:241:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 241 | printf(discrete_fmt, setting); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ipmi_channel.c: In function 'ipmi_set_channel_security_keys': BUILDSTDERR: ipmi_channel.c:860:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 860 | strncpy(kgkey, key, IPMI_KG_BUFFER_SIZE-1); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | uint8_t * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:465, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_channel.c:33: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_event.lo ipmi_event.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_event.c:34: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from ipmi_event.c:50: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/ipmitool/ipmi.h:41, BUILDSTDERR: from ipmi_event.c:46: BUILDSTDERR: ipmi_event.c: In function 'ipmi_event_find_offset': BUILDSTDERR: ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] BUILDSTDERR: 130 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_event.c:221:33: note: in expansion of macro '__maxlen' BUILDSTDERR: 221 | strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ipmi_event.c: In function 'ipmi_event_fromsensor': BUILDSTDERR: ipmi_event.c:407:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 407 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { BUILDSTDERR: | ^ BUILDSTDERR: ipmi_event.c:414:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 414 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { BUILDSTDERR: | ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_session.lo ipmi_session.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_strings.lo ipmi_strings.c BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sensor.h:39, BUILDSTDERR: from ipmi_strings.c:36: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_user.lo ipmi_user.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_raw.lo ipmi_raw.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_oem.lo ipmi_oem.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_user.c:37: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ipmi_raw.c: In function 'ipmi_raw_main': BUILDSTDERR: ipmi_raw.c:334:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 334 | else if (argc > sizeof(data)) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_user.c: In function '_ipmi_set_user_password': BUILDSTDERR: ipmi_user.c:212:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 212 | if (copy_len > (data_len - 2)) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from ipmi_user.c:38: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from '_ipmi_set_user_password' at ipmi_user.c:217:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_user.c: In function '_ipmi_set_user_password': BUILDSTDERR: ipmi_user.c:211:21: note: length computed here BUILDSTDERR: 211 | size_t copy_len = strlen(password); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from ipmi_oem.c:38: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_oem.c: In function 'ipmi_oem_ibm': BUILDSTDERR: ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 86 | ipmi_oem_ibm(struct ipmi_intf * intf) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from ipmi_user.c:38: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ipmi_user_set_username' at ipmi_user.c:376:2, BUILDSTDERR: inlined from 'ipmi_user_name' at ipmi_user.c:712:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_user.c: In function 'ipmi_user_name': BUILDSTDERR: ipmi_user.c:376:2: note: length computed here BUILDSTDERR: 376 | strncpy((char *)(msg_data + 1), name, strlen(name)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_isol.lo ipmi_isol.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sunoem.lo ipmi_sunoem.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fwum.lo ipmi_fwum.c BUILDSTDERR: ipmi_isol.c: In function 'ipmi_isol_red_pill': BUILDSTDERR: ipmi_isol.c:618:42: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] BUILDSTDERR: 618 | int rc = processiSolUserInput(intf, buffer, numRead); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ipmi_isol.c:458:17: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 458 | uint8_t * input, BUILDSTDERR: | ~~~~~~~~~~^~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_picmg.lo ipmi_picmg.c BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from ipmi_sunoem.c:57: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': BUILDSTDERR: ipmi_fwum.c:365:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 365 | modulus, pFileHandle) == modulus) { BUILDSTDERR: | ^~ BUILDSTDERR: ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': BUILDSTDERR: ipmi_sunoem.c:2293:25: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2293 | strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:465, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_sunoem.c:34: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_fru.h:38, BUILDSTDERR: from ipmi_picmg.c:36: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_picmg.c:36: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_fru_activation': BUILDSTDERR: ipmi_picmg.c:664:56: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 664 | ipmi_picmg_fru_activation(struct ipmi_intf * intf, int argc, char ** argv, unsigned char state) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_get': BUILDSTDERR: ipmi_picmg.c:698:67: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 698 | ipmi_picmg_fru_activation_policy_get(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_set': BUILDSTDERR: ipmi_picmg.c:737:67: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 737 | ipmi_picmg_fru_activation_policy_set(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_get_led_properties': BUILDSTDERR: ipmi_picmg.c:1161:60: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 1161 | ipmi_picmg_get_led_properties(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_get_led_capabilities': BUILDSTDERR: ipmi_picmg.c:1200:62: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 1200 | ipmi_picmg_get_led_capabilities(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_get_led_state': BUILDSTDERR: ipmi_picmg.c:1250:55: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 1250 | ipmi_picmg_get_led_state(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_set_led_state': BUILDSTDERR: ipmi_picmg.c:1337:55: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 1337 | ipmi_picmg_set_led_state(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_get_power_level': BUILDSTDERR: ipmi_picmg.c:1413:57: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 1413 | ipmi_picmg_get_power_level(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_set_power_level': BUILDSTDERR: ipmi_picmg.c:1464:57: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 1464 | ipmi_picmg_set_power_level(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_fru_control': BUILDSTDERR: ipmi_picmg.c:1568:53: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 1568 | ipmi_picmg_fru_control(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_picmg.c: In function 'ipmi_picmg_clk_set': BUILDSTDERR: ipmi_picmg.c:1754:30: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1754 | if (is_clk_resid(argv[6], &msg_data[10]) != 0) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ipmi_picmg.c:328:44: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' BUILDSTDERR: 328 | is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_main.lo ipmi_main.c BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from ipmi_sunoem.c:36: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'send_luapi_prop_name' at ipmi_sunoem.c:1907:4, BUILDSTDERR: inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2055:6, BUILDSTDERR: inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2412:8: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_sunoem.c: In function 'ipmi_sunoem_main': BUILDSTDERR: ipmi_sunoem.c:1903:7: note: length computed here BUILDSTDERR: 1903 | if (strlen(&(prop_name[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from ipmi_sunoem.c:36: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'send_luapi_prop_value' at ipmi_sunoem.c:1979:4, BUILDSTDERR: inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2060:6, BUILDSTDERR: inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2412:8: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_sunoem.c: In function 'ipmi_sunoem_main': BUILDSTDERR: ipmi_sunoem.c:1974:7: note: length computed here BUILDSTDERR: 1974 | if (strlen(&(prop_value[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from ipmi_sunoem.c:36: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ipmi_sunoem_getval' at ipmi_sunoem.c:1814:2, BUILDSTDERR: inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2406:8: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 79 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_main.c:38: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ipmi_main.c:56: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_main.c:59: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_main.c:51: BUILDSTDERR: ipmi_main.c: In function 'ipmi_cmd_run': BUILDSTDERR: ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] BUILDSTDERR: 130 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_main.c:207:32: note: in expansion of macro '__maxlen' BUILDSTDERR: 207 | if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) BUILDSTDERR: | ^~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_tsol.lo ipmi_tsol.c BUILDSTDERR: ipmi_tsol.c: In function 'ipmi_tsol_command': BUILDSTDERR: ipmi_tsol.c:88:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] BUILDSTDERR: 88 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { BUILDSTDERR: | ~^ ~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int * unsigned int * BUILDSTDERR: | %d BUILDSTDERR: ipmi_tsol.c:88:26: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] BUILDSTDERR: 88 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { BUILDSTDERR: | ~^ ~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int * unsigned int * BUILDSTDERR: | %d BUILDSTDERR: ipmi_tsol.c:88:29: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] BUILDSTDERR: 88 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { BUILDSTDERR: | ~^ ~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int * unsigned int * BUILDSTDERR: | %d BUILDSTDERR: ipmi_tsol.c:88:32: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] BUILDSTDERR: 88 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { BUILDSTDERR: | ~^ ~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int * unsigned int * BUILDSTDERR: | %d BUILDSTDERR: ipmi_tsol.c: In function 'ipmi_tsol_main': BUILDSTDERR: ipmi_tsol.c:540:54: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: 540 | if ((fds[0].revents & POLLIN) && (sizeof(out_buff) > out_buff_fill)) { BUILDSTDERR: | ^ BUILDSTDERR: ipmi_tsol.c:543:47: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: 543 | if ((sizeof(out_buff) - out_buff_fill + 4) < buff_size) { BUILDSTDERR: | ^ BUILDSTDERR: ipmi_tsol.c:561:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: 561 | if ((fds[1].revents & POLLIN) && (sizeof(in_buff) > in_buff_fill)) { BUILDSTDERR: | ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_firewall.lo ipmi_firewall.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_kontronoem.lo ipmi_kontronoem.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ../include/ipmitool/ipmi.h:36, BUILDSTDERR: from ../include/ipmitool/ipmi_intf.h:36, BUILDSTDERR: from ipmi_hpmfwupg.c:38: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_fru.h:38, BUILDSTDERR: from ipmi_kontronoem.c:47: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_kontronoem.c:47: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_kontronoem.c: In function 'ipmi_kontron_nextboot_set': BUILDSTDERR: ipmi_kontronoem.c:659:55: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 659 | ipmi_kontron_nextboot_set(struct ipmi_intf *intf, int argc, char **argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_hpmfwupg.c: In function 'HpmfwupgPreUpgradeCheck': BUILDSTDERR: ipmi_hpmfwupg.c:837:43: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 837 | HpmfwupgPreUpgradeCheck(struct ipmi_intf *intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdradd.lo ipmi_sdradd.c BUILDSTDERR: ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': BUILDSTDERR: ipmi_hpmfwupg.c:1420:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 1420 | if (ret != pFwupgCtx->imageSize) { BUILDSTDERR: | ^~ BUILDSTDERR: ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': BUILDSTDERR: ipmi_hpmfwupg.c:2342:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 2342 | for (dataIdx = 0; dataIdx < length; dataIdx++) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_sdradd.c:51: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c BUILDSTDERR: In file included from ../include/ipmitool/ipmi_fru.h:38, BUILDSTDERR: from ../include/ipmitool/ipmi_ekanalyzer.h:41, BUILDSTDERR: from ipmi_ekanalyzer.c:36: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_ekanalyzer.h:41, BUILDSTDERR: from ipmi_ekanalyzer.c:36: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': BUILDSTDERR: ipmi_ekanalyzer.c:483:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: 483 | for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { BUILDSTDERR: | ^ BUILDSTDERR: ipmi_ekanalyzer.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 457 | ipmi_ekanalyzer_main(struct ipmi_intf *intf, int argc, char **argv) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_ekanalyzer.c: In function 'ipmi_ek_matching_process': BUILDSTDERR: ipmi_ekanalyzer.c:1241:38: warning: unused parameter 'list_last' [-Wunused-parameter] BUILDSTDERR: 1241 | struct ipmi_ek_multi_header ** list_last, char * opt, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ipmi_ekanalyzer.c: In function 'ipmi_ek_display_record': BUILDSTDERR: ipmi_ekanalyzer.c:2939:32: warning: unused parameter 'list_last' [-Wunused-parameter] BUILDSTDERR: 2939 | struct ipmi_ek_multi_header *list_last) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': BUILDSTDERR: ipmi_ekanalyzer.c:3371:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 3371 | for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { BUILDSTDERR: | ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_gendev.lo ipmi_gendev.c BUILDSTDERR: At top level: BUILDSTDERR: ipmi_ekanalyzer.c:3316:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] BUILDSTDERR: 3316 | ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ipmi_gendev.c:44: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_gendev.c: In function 'ipmi_gendev_get_eeprom_size': BUILDSTDERR: ipmi_gendev.c:74:43: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 74 | struct ipmi_intf *intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ipmi_gendev.c: In function 'ipmi_gendev_write_file': BUILDSTDERR: ipmi_gendev.c:385:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 385 | if(fileLength != eeprom_size) BUILDSTDERR: | ^~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ime.lo ipmi_ime.c BUILDSTDERR: ipmi_ime.c: In function 'ImeImageCtxFromFile': BUILDSTDERR: ipmi_ime.c:895:30: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] BUILDSTDERR: 895 | if (pImageCtx->size < 0) BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: ipmi_ime.c:799:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] BUILDSTDERR: 799 | static int ImeUpdateShowStatus(struct ipmi_intf *intf) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_delloem.lo ipmi_delloem.c BUILDSTDERR: ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': BUILDSTDERR: ipmi_ekanalyzer.c:1601:28: warning: 'pcarrier_p2p' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1601 | result = ipmi_ek_check_physical_connectivity ( record1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1602 | index_ch_desc1, record2, index_ch_desc2, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1603 | physic_record, file_type1, file_type2, opt ); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_ekanalyzer.c:1133:43: note: 'pcarrier_p2p' was declared here BUILDSTDERR: 1133 | struct ipmi_ek_multi_header * pcarrier_p2p; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from ipmi_delloem.c:53: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_delloem.c:55: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_dcmi.lo ipmi_dcmi.c BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_lcd_set_text': BUILDSTDERR: ipmi_delloem.c:1341:61: warning: unused parameter 'line_number' [-Wunused-parameter] BUILDSTDERR: 1341 | ipmi_lcd_set_text(struct ipmi_intf * intf, char * text, int line_number) BUILDSTDERR: | ~~~~^~~~~~~~~~~ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': BUILDSTDERR: ipmi_delloem.c:1582:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 1582 | uint8_t j; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_mac': BUILDSTDERR: ipmi_delloem.c:1674:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 1674 | uint8_t j; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_macinfo_10g': BUILDSTDERR: ipmi_delloem.c:1742:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 1742 | uint8_t j; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_macinfo_11g': BUILDSTDERR: ipmi_delloem.c:1805:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 1805 | uint8_t j; BUILDSTDERR: | ^ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_delloem_lan_main': BUILDSTDERR: ipmi_delloem.c:1997:45: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1997 | rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ipmi_delloem.c:200:12: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 200 | uint8_t *nic_selection); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: ipmi_delloem.c:1961:52: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 1961 | ipmi_delloem_lan_main(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': BUILDSTDERR: ipmi_delloem.c:3364:10: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 3364 | printf("Peak power consmhistory Data : " BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_get_power_cap': BUILDSTDERR: ipmi_delloem.c:3560:10: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 3560 | printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_delloem_vFlash_main': BUILDSTDERR: ipmi_delloem.c:3819:55: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 3819 | ipmi_delloem_vFlash_main(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmi_delloem.c: In function 'ipmi_delloem_setled_main': BUILDSTDERR: ipmi_delloem.c:4228:45: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] BUILDSTDERR: 4228 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { BUILDSTDERR: | ~^ ~~ BUILDSTDERR: | | | BUILDSTDERR: | | int * BUILDSTDERR: | unsigned int * BUILDSTDERR: | %x BUILDSTDERR: ipmi_delloem.c:4228:48: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] BUILDSTDERR: 4228 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { BUILDSTDERR: | ~^ ~~ BUILDSTDERR: | | | BUILDSTDERR: | | int * BUILDSTDERR: | unsigned int * BUILDSTDERR: | %x BUILDSTDERR: ipmi_delloem.c:4228:51: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] BUILDSTDERR: 4228 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { BUILDSTDERR: | ~^ ~~ BUILDSTDERR: | | | BUILDSTDERR: | | int * BUILDSTDERR: | unsigned int * BUILDSTDERR: | %x BUILDSTDERR: ipmi_delloem.c:4232:41: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] BUILDSTDERR: 4232 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { BUILDSTDERR: | ~^ ~~ BUILDSTDERR: | | | BUILDSTDERR: | | int * BUILDSTDERR: | unsigned int * BUILDSTDERR: | %x BUILDSTDERR: ipmi_delloem.c:4232:44: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] BUILDSTDERR: 4232 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { BUILDSTDERR: | ~^ ~~ BUILDSTDERR: | | | BUILDSTDERR: | | int * BUILDSTDERR: | unsigned int * BUILDSTDERR: | %x BUILDSTDERR: ipmi_delloem.c:4232:47: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] BUILDSTDERR: 4232 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { BUILDSTDERR: | ~^ ~~ BUILDSTDERR: | | | BUILDSTDERR: | | int * BUILDSTDERR: | unsigned int * BUILDSTDERR: | %x BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ipmi_dcmi.c:41: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sensor.h:39, BUILDSTDERR: from ipmi_dcmi.c:59: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/ipmitool/ipmi.h:41, BUILDSTDERR: from ../include/ipmitool/ipmi_dcmi.h:23, BUILDSTDERR: from ipmi_dcmi.c:50: BUILDSTDERR: ipmi_dcmi.c: In function 'str2val2': BUILDSTDERR: ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] BUILDSTDERR: 130 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) BUILDSTDERR: | ^ BUILDSTDERR: ipmi_dcmi.c:598:6: note: in expansion of macro '__maxlen' BUILDSTDERR: 598 | __maxlen(str, vs[i].str)) == 0) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': BUILDSTDERR: ipmi_dcmi.c:1891:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 1891 | val.limit = *(uint16_t*)(&lvalue); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_dcmi.c:1909:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 1909 | val.sample = *(uint16_t*)(&lvalue); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_dcmi.c: In function 'ipmi_nm_thresh': BUILDSTDERR: ipmi_dcmi.c:3156:28: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 3156 | if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o hpm2.lo hpm2.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_vita.lo ipmi_vita.c BUILDSTDERR: In file included from ../include/ipmitool/ipmi_fru.h:38, BUILDSTDERR: from ipmi_vita.c:37: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmi_vita.c:37: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp6.lo ipmi_lanp6.c BUILDSTDERR: ipmi_lanp6.c: In function 'lanp_parse_cfgp': BUILDSTDERR: ipmi_lanp6.c:596:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 596 | if (set > 2) { BUILDSTDERR: | ^ BUILDSTDERR: ipmi_lanp6.c:601:2: note: here BUILDSTDERR: 601 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: BUILDSTDERR: | ^~~~ BUILDSTDERR: ipmi_lanp6.c: In function 'lanp_get_cfgp': BUILDSTDERR: ipmi_lanp6.c:703:11: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 703 | data[0] = data[17] = data[24] = data[26] = set; BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipmi_lanp6.c:705:2: note: here BUILDSTDERR: 705 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: BUILDSTDERR: | ^~~~ BUILDSTDERR: ipmi_lanp6.c: In function 'lanp_set_cfgp': BUILDSTDERR: ipmi_lanp6.c:653:7: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 653 | off = 1; BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: ipmi_lanp6.c:655:2: note: here BUILDSTDERR: 655 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: BUILDSTDERR: | ^~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_cfgp.lo ipmi_cfgp.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ../src/plugins/lan/md5.lo ../src/plugins/lan/md5.c /bin/sh ../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ipmi_lanp6.lo ipmi_cfgp.lo ../src/plugins/lan/md5.lo -lm -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/lib' Making all in src make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' Making all in plugins make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' Making all in lan make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lan' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lan.lo lan.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o auth.lo auth.c BUILDSTDERR: In file included from ../../../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from lan.c:53: BUILDSTDERR: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: lan.c: In function 'ipmi_handle_pong': BUILDSTDERR: lan.c:344:37: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 344 | ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: lan.c: In function 'check_sol_packet_for_new_data': BUILDSTDERR: lan.c:1445:50: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 1445 | check_sol_packet_for_new_data(struct ipmi_intf * intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lan' Making all in lanplus make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lanplus' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus.lo lanplus.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_strings.lo lanplus_strings.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt.lo lanplus_crypt.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_dump.lo lanplus_dump.c BUILDSTDERR: lanplus_crypt.c: In function 'lanplus_rakp2_hmac_matches': BUILDSTDERR: lanplus_crypt.c:89:1: warning: embedding a directive within macro arguments is not portable BUILDSTDERR: 89 | #ifdef HAVE_CRYPTO_SHA256 BUILDSTDERR: | ^ BUILDSTDERR: lanplus_crypt.c:91:1: warning: embedding a directive within macro arguments is not portable BUILDSTDERR: 91 | #endif /* HAVE_CRYPTO_SHA256 */ BUILDSTDERR: | ^ BUILDSTDERR: lanplus_crypt.c: In function 'lanplus_rakp4_hmac_matches': BUILDSTDERR: lanplus_crypt.c:256:1: warning: embedding a directive within macro arguments is not portable BUILDSTDERR: 256 | #ifdef HAVE_CRYPTO_SHA256 BUILDSTDERR: | ^ BUILDSTDERR: lanplus_crypt.c:258:1: warning: embedding a directive within macro arguments is not portable BUILDSTDERR: 258 | #endif /* HAVE_CRYPTO_SHA256 */ BUILDSTDERR: | ^ BUILDSTDERR: lanplus_crypt.c: In function 'lanplus_generate_rakp3_authcode': BUILDSTDERR: lanplus_crypt.c:422:1: warning: embedding a directive within macro arguments is not portable BUILDSTDERR: 422 | #ifdef HAVE_CRYPTO_SHA256 BUILDSTDERR: | ^ BUILDSTDERR: lanplus_crypt.c:424:1: warning: embedding a directive within macro arguments is not portable BUILDSTDERR: 424 | #endif /* HAVE_CRYPTO_SHA256 */ BUILDSTDERR: | ^ BUILDSTDERR: lanplus_crypt.c: In function 'lanplus_generate_sik': BUILDSTDERR: lanplus_crypt.c:544:1: warning: embedding a directive within macro arguments is not portable BUILDSTDERR: 544 | #ifdef HAVE_CRYPTO_SHA256 BUILDSTDERR: | ^ BUILDSTDERR: lanplus_crypt.c:546:1: warning: embedding a directive within macro arguments is not portable BUILDSTDERR: 546 | #endif /* HAVE_CRYPTO_SHA256 */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../../../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from lanplus.c:60: BUILDSTDERR: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c BUILDSTDERR: lanplus.c: In function 'ipmi_handle_pong': BUILDSTDERR: lanplus.c:526:37: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 526 | ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: lanplus.c: In function 'ipmi_lan_poll_single': BUILDSTDERR: lanplus.c:773:12: warning: unused variable 'target_cmd' [-Wunused-variable] BUILDSTDERR: 773 | uint8_t target_cmd = entry->req.msg.target_cmd; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: lanplus.c: In function 'read_session_data_v2x': BUILDSTDERR: lanplus.c:1222:30: warning: unused parameter 's' [-Wunused-parameter] BUILDSTDERR: 1222 | struct ipmi_session * s) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^ BUILDSTDERR: lanplus.c: In function 'read_session_data_v15': BUILDSTDERR: lanplus.c:1276:30: warning: unused parameter 's' [-Wunused-parameter] BUILDSTDERR: 1276 | struct ipmi_session * s) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^ BUILDSTDERR: lanplus.c: In function 'getSolPayloadWireRep': BUILDSTDERR: lanplus.c:1540:34: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 1540 | struct ipmi_intf * intf, /* in out */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: lanplus.c: In function 'ipmi_lanplus_build_v2x_ipmi_cmd': BUILDSTDERR: lanplus.c:1974:17: warning: unused variable 'backup_cmd' [-Wunused-variable] BUILDSTDERR: 1974 | unsigned char backup_cmd; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: lanplus.c: In function 'check_sol_packet_for_new_data': BUILDSTDERR: lanplus.c:2587:29: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 2587 | struct ipmi_intf * intf, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lanplus' Making all in open make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/open' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o open.lo open.c BUILDSTDERR: In file included from ../../../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from open.c:47: BUILDSTDERR: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: open.c: In function 'ipmi_openipmi_open': BUILDSTDERR: open.c:106:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 106 | sprintf(ipmi_devfs2, "/dev/ipmidev/%d", devnum); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from open.c:34: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 17 bytes into a destination of size 16 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/open' Making all in imb make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/imb' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o imbapi.lo imbapi.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o imb.lo imb.c BUILDSTDERR: imbapi.c: In function 'open_imb': BUILDSTDERR: imbapi.c:173:47: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 173 | lprintf(LOG_DEBUG, "%s: opening the driver", __FUNCTION__); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:195:16: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 195 | __FILE__, __FUNCTION__, IMB_DEVICE); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:215:64: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 215 | lprintf(LOG_DEBUG, "%s: opened driver, getting IPMI version", __FUNCTION__); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:222:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 222 | __FUNCTION__, my_ret_code, completionCode); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:236:46: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 236 | lprintf(LOG_DEBUG, "%s: IPMI version 0x%x", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'DeviceIoControl': BUILDSTDERR: imbapi.c:301:46: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 301 | lprintf(LOG_DEBUG, "%s: ioctl cmd = 0x%lx", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:322:15: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 322 | __FILE__, __FUNCTION__, dwIoControlCode); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:326:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 326 | __FUNCTION__, ioctl_status, *lpcbBytesReturned); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:328:43: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 328 | lprintf(LOG_DEBUG, "%s returning true", __FUNCTION__); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:331:44: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 331 | lprintf(LOG_DEBUG, "%s returning false", __FUNCTION__); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:288:24: warning: unused parameter 'dummey_hDevice' [-Wunused-parameter] BUILDSTDERR: 288 | DeviceIoControl(HANDLE dummey_hDevice, DWORD dwIoControlCode, LPVOID BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'StartAsyncMesgPoll': BUILDSTDERR: imbapi.c:344:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 344 | __FUNCTION__, IOCTL_IMB_POLL_ASYNC); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:349:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 349 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'SendTimedI2cRequest': BUILDSTDERR: imbapi.c:410:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 410 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'SendTimedEmpMessageResponse': BUILDSTDERR: imbapi.c:501:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 501 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'SendTimedEmpMessageResponse_Ex': BUILDSTDERR: imbapi.c:629:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 629 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'SendTimedLanMessageResponse': BUILDSTDERR: imbapi.c:714:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 714 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'SendTimedLanMessageResponse_Ex': BUILDSTDERR: imbapi.c:842:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 842 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'SendTimedImbpRequest': BUILDSTDERR: imbapi.c:885:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 885 | __FUNCTION__, req->req.rsSa, req->req.cmd, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:893:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 893 | __FUNCTION__, status); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'SendAsyncImbpRequest': BUILDSTDERR: imbapi.c:952:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 952 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'GetAsyncImbpMessage': BUILDSTDERR: imbapi.c:1002:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1002 | __FUNCTION__, status); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'GetAsyncImbpMessage_Ex': BUILDSTDERR: imbapi.c:1099:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1099 | __FUNCTION__, status); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'IsAsyncMessageAvailable': BUILDSTDERR: imbapi.c:1197:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1197 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'RegisterForImbAsyncMessageNotification': BUILDSTDERR: imbapi.c:1229:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1229 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'UnRegisterForImbAsyncMessageNotification': BUILDSTDERR: imbapi.c:1268:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1268 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'SetShutDownCode': BUILDSTDERR: imbapi.c:1298:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1298 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'MapPhysicalMemory': BUILDSTDERR: imbapi.c:1405:15: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1405 | __FILE__, __FUNCTION__, IMB_DEVICE); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:1416:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1416 | sprintf(buf, "%s %s: mmap failed", __FILE__, __FUNCTION__); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:1421:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1421 | lprintf(LOG_DEBUG, "%s: mmap of 0x%x success", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c: In function 'UnmapPhysicalMemory': BUILDSTDERR: imbapi.c:1454:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1454 | lprintf(LOG_DEBUG, "%s: calling munmap(0x%x,%d)", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:1458:50: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1458 | sprintf(buf, "%s %s: munmap failed", __FILE__, __FUNCTION__); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: imbapi.c:1462:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 1462 | lprintf(LOG_DEBUG, "%s: munmap(0x%x,%d) success", __FUNCTION__, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from ../../../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from imb.c:46: BUILDSTDERR: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: imb.c: In function 'ipmi_imb_send_cmd': BUILDSTDERR: imb.c:78:62: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 78 | static struct ipmi_rs * ipmi_imb_send_cmd(struct ipmi_intf * intf, struct ipmi_rq * req) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/imb' Making all in serial make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/serial' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o serial_terminal.lo serial_terminal.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o serial_basic.lo serial_basic.c BUILDSTDERR: serial_terminal.c:90:22: warning: invalid use of structure with flexible array member [-Wpedantic] BUILDSTDERR: 90 | struct ipmb_msg_hdr msg; BUILDSTDERR: | ^~~ BUILDSTDERR: serial_terminal.c: In function 'ipmi_serial_term_open': BUILDSTDERR: serial_terminal.c:192:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 192 | for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { BUILDSTDERR: | ^ BUILDSTDERR: serial_terminal.c:193:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 193 | if (rates[i].baudrate == rate) { BUILDSTDERR: | ^~ BUILDSTDERR: serial_terminal.c:197:8: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 197 | if (i >= sizeof(rates) / sizeof(rates[0])) { BUILDSTDERR: | ^~ BUILDSTDERR: serial_terminal.c: In function 'serial_term_build_msg': BUILDSTDERR: serial_terminal.c:491:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 491 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { BUILDSTDERR: | ^ BUILDSTDERR: serial_terminal.c: In function 'serial_term_send_msg': BUILDSTDERR: serial_terminal.c:639:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 639 | buf += sprintf( buf, "%02x", msg[i]); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | uint8_t * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:465, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from serial_terminal.c:39: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: serial_terminal.c: In function 'serial_term_get_message': BUILDSTDERR: serial_terminal.c:722:25: warning: unused parameter 'max_len' [-Wunused-parameter] BUILDSTDERR: 722 | uint8_t * msg, size_t max_len) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: serial_basic.c:92:22: warning: invalid use of structure with flexible array member [-Wpedantic] BUILDSTDERR: 92 | struct ipmb_msg_hdr msg; BUILDSTDERR: | ^~~ BUILDSTDERR: serial_basic.c: In function 'serial_bm_open': BUILDSTDERR: serial_basic.c:245:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 245 | for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { BUILDSTDERR: | ^ BUILDSTDERR: serial_basic.c:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 246 | if (rates[i].baudrate == rate) { BUILDSTDERR: | ^~ BUILDSTDERR: serial_basic.c:250:8: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 250 | if (i >= sizeof(rates) / sizeof(rates[0])) { BUILDSTDERR: | ^~ BUILDSTDERR: serial_basic.c: In function 'serial_bm_recv_msg': BUILDSTDERR: serial_basic.c:585:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 585 | if (rv < recv_ctx->buffer_size) { BUILDSTDERR: | ^ BUILDSTDERR: serial_basic.c: In function 'serial_bm_build_msg': BUILDSTDERR: serial_basic.c:630:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 630 | if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { BUILDSTDERR: | ^ BUILDSTDERR: serial_basic.c: In function 'serial_bm_get_message': BUILDSTDERR: serial_basic.c:825:25: warning: unused parameter 'max_len' [-Wunused-parameter] BUILDSTDERR: 825 | uint8_t * msg, size_t max_len) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: serial_basic.c: In function 'serial_bm_wait_response.constprop': BUILDSTDERR: serial_basic.c:535:25: warning: 'parse_ctx.msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 535 | ctx->msg[ctx->msg_len++] = data[i]; BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: serial_basic.c:551:29: note: 'parse_ctx.msg_len' was declared here BUILDSTDERR: 551 | struct serial_bm_parse_ctx parse_ctx; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: serial_terminal.c: In function 'ipmi_serial_term_send_cmd': BUILDSTDERR: serial_terminal.c:805:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 805 | serial_term_send_msg(intf, msg, msg_len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: serial_basic.c: In function 'serial_bm_send_request': BUILDSTDERR: serial_basic.c:921:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 921 | serial_bm_send_msg(intf, msg, msg_len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/serial' Making all in usb make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/usb' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o usb.lo usb.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ../../../include/ipmitool/helper.h:36, BUILDSTDERR: from usb.c:35: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/usb' make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_intf.lo ipmi_intf.c BUILDSTDERR: In file included from ipmi_intf.c:56: BUILDSTDERR: ../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ /bin/sh ../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf.la ipmi_intf.lo lan/libintf_lan.la usb/libintf_usb.la lanplus/libintf_lanplus.la serial/libintf_serial.la open/libintf_open.la imb/libintf_imb.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmitool.o ipmitool.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmishell.o ipmishell.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmievd.o ipmievd.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ipmishell.c:36: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ipmievd.c:35: BUILDSTDERR: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ipmitool.c:40: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: ipmishell.c: In function 'ipmi_shell_main': BUILDSTDERR: ipmishell.c:102:50: warning: unused parameter 'argc' [-Wunused-parameter] BUILDSTDERR: 102 | int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: ipmishell.c:102:64: warning: unused parameter 'argv' [-Wunused-parameter] BUILDSTDERR: 102 | int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: ipmishell.c: In function 'ipmi_echo_main': BUILDSTDERR: ipmishell.c:228:39: warning: unused parameter 'intf' [-Wunused-parameter] BUILDSTDERR: 228 | int ipmi_echo_main(struct ipmi_intf * intf, int argc, char ** argv) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: In file included from ipmitool.c:43: BUILDSTDERR: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/ipmitool/ipmi_sel.h:38, BUILDSTDERR: from ipmievd.c:81: BUILDSTDERR: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] BUILDSTDERR: 312 | } ATTRIBUTE_PACKING; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ipmitool.c:63: BUILDSTDERR: ../include/ipmitool/ipmi_hpmfwupg.h:85:12: warning: 'errorCount' defined but not used [-Wunused-variable] BUILDSTDERR: 85 | static int errorCount; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ipmievd.c: In function 'ipmievd_cleanup': BUILDSTDERR: ipmievd.c:686:21: warning: unused parameter 'signal' [-Wunused-parameter] BUILDSTDERR: 686 | ipmievd_cleanup(int signal) BUILDSTDERR: | ~~~~^~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto /bin/sh ../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' Making all in include make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' Making all in ipmitool make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include/ipmitool' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include/ipmitool' make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/doc' Making all in contrib make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/contrib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/contrib' Making all in control make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/control' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/control' make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18' make[1]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ud7nVv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64 + cd ipmitool-IPMITOOL_1_8_18 + make DESTDIR=/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64 install Making install in lib make[1]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/lib' make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/lib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/lib' make[1]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/lib' Making install in src make[1]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' Making install in plugins make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' Making install in lan make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lan' make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lan' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lan' make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lan' Making install in lanplus make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lanplus' make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lanplus' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lanplus' make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/lanplus' Making install in open make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/open' make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/open' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/open' make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/open' Making install in imb make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/imb' make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/imb' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/imb' make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/imb' Making install in serial make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/serial' make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/serial' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/serial' make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/serial' Making install in usb make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/usb' make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/usb' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/usb' make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins/usb' make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' make[4]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src/plugins' make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/bin' /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmitool '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/sbin' /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmievd '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/sbin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' make[1]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/src' Making install in include make[1]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' Making install in ipmitool make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include/ipmitool' make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include/ipmitool' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include/ipmitool' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include/ipmitool' make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' make[3]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' make[1]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/include' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/doc' make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 ipmitool.1 '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 ipmievd.8 '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/doc' make[1]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/doc' Making install in contrib make[1]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/contrib' make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/contrib' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/share/ipmitool' /usr/bin/install -c -m 644 oem_ibm_sel_map '/builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/share/ipmitool' make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/contrib' make[1]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/contrib' Making install in control make[1]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/control' make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/control' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/control' make[1]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18/control' make[1]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18' make[2]: Entering directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18' make[2]: Nothing to be done for 'install-exec-am'. mkdir -p /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/share/doc/ipmitool /usr/bin/install -c -m 644 ./README ./COPYING ./AUTHORS ./ChangeLog /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/share/doc/ipmitool make[2]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18' make[1]: Leaving directory '/builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18' + install -Dpm 644 /builddir/build/SOURCES/ipmievd.service /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/lib/systemd/system/ipmievd.service + install -Dpm 644 /builddir/build/SOURCES/openipmi-ipmievd.sysconf /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/etc/sysconfig/ipmievd + install -Dm 644 /builddir/build/SOURCES/exchange-bmc-os-info.service /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/lib/systemd/system/exchange-bmc-os-info.service + install -Dm 644 /builddir/build/SOURCES/exchange-bmc-os-info.sysconf /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/etc/sysconfig/exchange-bmc-os-info + install -Dm 644 /builddir/build/SOURCES/set-bmc-url.sh /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/etc/profile.d/set-bmc-url.sh + install -Dm 755 /builddir/build/SOURCES/exchange-bmc-os-info /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/libexec/exchange-bmc-os-info + install -Dm 644 contrib/bmc-snmp-proxy.sysconf /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/etc/sysconfig/bmc-snmp-proxy + install -Dm 644 contrib/bmc-snmp-proxy.service /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/lib/systemd/system/bmc-snmp-proxy.service + install -Dm 755 contrib/bmc-snmp-proxy /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/libexec/bmc-snmp-proxy + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.8.18-15.fc32 --unique-debug-suffix -1.8.18-15.fc32.riscv64 --unique-debug-src-base ipmitool-1.8.18-15.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ipmitool-IPMITOOL_1_8_18 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/bin/ipmitool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/sbin/ipmievd extracting debug info from /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/bin/ipmitool extracting debug info from /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64/usr/sbin/ipmievd original debug info size: 4572kB, size after compression: 4008kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 4722 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/src/debug/ipmitool-1.8.18-15.fc32.riscv64/lib/ipmi_dcmi.c is executable but has no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/ipmitool-1.8.18-15.fc32.riscv64/lib/ipmi_ime.c is executable but has no shebang, removing executable bit mangling shebang in /usr/libexec/bmc-snmp-proxy from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/exchange-bmc-os-info from /bin/sh to #!/usr/bin/sh Processing files: ipmitool-1.8.18-15.fc32.riscv64 Provides: OpenIPMI-tools = 2.0.14-3 ipmitool = 1.8.18-15.fc32 ipmitool(riscv-64) = 1.8.18-15.fc32 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd Requires(preun): systemd Requires(postun): systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH) Obsoletes: OpenIPMI-tools < 2.0.14-3 Processing files: ipmievd-1.8.18-15.fc32.riscv64 Provides: config(ipmievd) = 1.8.18-15.fc32 ipmievd = 1.8.18-15.fc32 ipmievd(riscv-64) = 1.8.18-15.fc32 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: bmc-snmp-proxy-1.8.18-15.fc32.noarch Provides: bmc-snmp-proxy = 1.8.18-15.fc32 config(bmc-snmp-proxy) = 1.8.18-15.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Processing files: exchange-bmc-os-info-1.8.18-15.fc32.noarch Provides: config(exchange-bmc-os-info) = 1.8.18-15.fc32 exchange-bmc-os-info = 1.8.18-15.fc32 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/sh Processing files: ipmitool-debugsource-1.8.18-15.fc32.riscv64 Provides: ipmitool-debugsource = 1.8.18-15.fc32 ipmitool-debugsource(riscv-64) = 1.8.18-15.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ipmitool-debuginfo-1.8.18-15.fc32.riscv64 Provides: debuginfo(build-id) = f0dc60a6a1c261137fc3f3aa263dfbab74651e00 ipmitool-debuginfo = 1.8.18-15.fc32 ipmitool-debuginfo(riscv-64) = 1.8.18-15.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ipmitool-debugsource(riscv-64) = 1.8.18-15.fc32 Processing files: ipmievd-debuginfo-1.8.18-15.fc32.riscv64 Provides: debuginfo(build-id) = 79c748a1d1ca6620b4b968ed8dc23a9b050ff8fe ipmievd-debuginfo = 1.8.18-15.fc32 ipmievd-debuginfo(riscv-64) = 1.8.18-15.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ipmitool-debugsource(riscv-64) = 1.8.18-15.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64 Wrote: /builddir/build/RPMS/exchange-bmc-os-info-1.8.18-15.fc32.noarch.rpm Wrote: /builddir/build/RPMS/bmc-snmp-proxy-1.8.18-15.fc32.noarch.rpm Wrote: /builddir/build/RPMS/ipmievd-1.8.18-15.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/ipmitool-1.8.18-15.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/ipmievd-debuginfo-1.8.18-15.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/ipmitool-debuginfo-1.8.18-15.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/ipmitool-debugsource-1.8.18-15.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GA9aVu + umask 022 + cd /builddir/build/BUILD + cd ipmitool-IPMITOOL_1_8_18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ipmitool-1.8.18-15.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0