Diff of the two buildlogs: -- --- b1/build.log 2024-05-10 18:33:06.095455988 +0000 +++ b2/build.log 2024-05-10 18:35:14.941966673 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 10 06:31:12 -12 2024 -I: pbuilder-time-stamp: 1715365872 +I: Current time: Fri Jun 13 14:56:09 +14 2025 +I: pbuilder-time-stamp: 1749776169 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -34,52 +34,84 @@ dpkg-source: info: applying 0625-manpage_wrong_time_set.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3015939/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2845769/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 13 00:56 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2845769/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2845769/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='fb1a2ad05b9441b5ba66dcdebddd0afd' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3015939' - PS1='# ' - PS2='> ' + INVOCATION_ID=71c5da054fe54cb7b303d2dc546df247 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2845769 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vrQX1egv/pbuilderrc_rZxh --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vrQX1egv/b1 --logfile b1/build.log ipmitool_1.8.19-7.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vrQX1egv/pbuilderrc_McYt --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vrQX1egv/b2 --logfile b2/build.log ipmitool_1.8.19-7.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 10 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3015939/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 10 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2845769/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -162,7 +194,7 @@ Get: 37 http://deb.debian.org/debian trixie/main amd64 libreadline8t64 amd64 8.2-4 [167 kB] Get: 38 http://deb.debian.org/debian trixie/main amd64 libreadline-dev amd64 8.2-4 [152 kB] Get: 39 http://deb.debian.org/debian trixie/main amd64 libssl-dev amd64 3.2.1-3 [2699 kB] -Fetched 24.3 MB in 1s (33.2 MB/s) +Fetched 24.3 MB in 0s (75.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19699 files and directories currently installed.) @@ -337,7 +369,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ipmitool-1.8.19/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ipmitool_1.8.19-7_source.changes +I: user script /srv/workspace/pbuilder/2845769/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2845769/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ipmitool-1.8.19/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ipmitool_1.8.19-7_source.changes dpkg-buildpackage: info: source package ipmitool dpkg-buildpackage: info: source version 1.8.19-7 dpkg-buildpackage: info: source distribution unstable @@ -699,50 +735,161 @@ make[1]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19' dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/ipmitool-1.8.19' make all-recursive make[2]: Entering directory '/build/reproducible-path/ipmitool-1.8.19' Making all in lib make[3]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/lib' -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o helper.lo helper.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_sdr.lo ipmi_sdr.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_sel.lo ipmi_sel.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_sol.lo ipmi_sol.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_pef.lo ipmi_pef.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_lanp.lo ipmi_lanp.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_fru.lo ipmi_fru.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_chassis.lo ipmi_chassis.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_mc.lo ipmi_mc.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o log.lo log.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o dimm_spd.lo dimm_spd.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_sensor.lo ipmi_sensor.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_channel.lo ipmi_channel.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_event.lo ipmi_event.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_session.lo ipmi_session.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_strings.lo ipmi_strings.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_user.lo ipmi_user.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_raw.lo ipmi_raw.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_oem.lo ipmi_oem.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_isol.lo ipmi_isol.c -ipmi_pef.c: In function 'ipmi_pef_bit_desc': -ipmi_pef.c:405:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 405 | sprintf(p, listitem[index], pmap->desc); - | ^~~~~~~ -ipmi_pef.c: In function 'ipmi_pef_print_flags': -ipmi_pef.c:436:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 436 | printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); - | ^~~~~~ -ipmi_pef.c: In function 'ipmi_pef_print_field': -ipmi_pef.c:448:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 448 | printf(fmt[0], KYWD_LENGTH, label, val); - | ^~~~~~ -ipmi_pef.c:450:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 450 | printf(&fmt[1][2], val); /* skip field separator */ - | ^~~~~~ -ipmi_pef.c:452:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 452 | printf(fmt[1], val); - | ^~~~~~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o helper.lo helper.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_sdr.lo ipmi_sdr.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_sel.lo ipmi_sel.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_sol.lo ipmi_sol.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_pef.lo ipmi_pef.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_lanp.lo ipmi_lanp.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_fru.lo ipmi_fru.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_chassis.lo ipmi_chassis.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_mc.lo ipmi_mc.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o log.lo log.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o dimm_spd.lo dimm_spd.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_sensor.lo ipmi_sensor.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_channel.lo ipmi_channel.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_event.lo ipmi_event.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_session.lo ipmi_session.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_strings.lo ipmi_strings.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_user.lo ipmi_user.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_raw.lo ipmi_raw.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_oem.lo ipmi_oem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_isol.lo ipmi_isol.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_sunoem.lo ipmi_sunoem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_fwum.lo ipmi_fwum.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_picmg.lo ipmi_picmg.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_main.lo ipmi_main.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_tsol.lo ipmi_tsol.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_firewall.lo ipmi_firewall.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_kontronoem.lo ipmi_kontronoem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_sdradd.lo ipmi_sdradd.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_gendev.lo ipmi_gendev.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_ime.lo ipmi_ime.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_delloem.lo ipmi_delloem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_dcmi.lo ipmi_dcmi.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o hpm2.lo hpm2.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_vita.lo ipmi_vita.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_lanp6.lo ipmi_lanp6.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_cfgp.lo ipmi_cfgp.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_quantaoem.lo ipmi_quantaoem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmi_time.lo ipmi_time.c +ipmi_raw.c: In function 'ipmi_raw_main': +ipmi_raw.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 337 | else if (argc > sizeof(data)) + | ^ +In file included from ../include/ipmitool/ipmi.h:40, + from ipmi_session.c:44: +ipmi_session.c: In function 'ipmi_get_session_info': +../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_session.c:315:32: note: in expansion of macro '__min' + 315 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_session.c:315:32: note: in expansion of macro '__min' + 315 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_session.c:317:44: note: in expansion of macro '__min' + 317 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_session.c:317:44: note: in expansion of macro '__min' + 317 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_session.c:349:32: note: in expansion of macro '__min' + 349 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_session.c:349:32: note: in expansion of macro '__min' + 349 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_session.c:351:44: note: in expansion of macro '__min' + 351 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_session.c:351:44: note: in expansion of macro '__min' + 351 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +ipmi_user.c: In function '_ipmi_set_user_password': +ipmi_user.c:208:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 208 | if (copy_len > (data_len - 2)) { + | ^ +ipmi_ime.c: In function 'ImeImageCtxFromFile': +ipmi_ime.c:887:30: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] + 887 | if (pImageCtx->size < 0) + | ^ +ipmi_lanp6.c: In function 'lanp_parse_cfgp': +ipmi_lanp6.c:596:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 596 | if (set > 2) { + | ^ +ipmi_lanp6.c:601:9: note: here + 601 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: + | ^~~~ +ipmi_lanp6.c: In function 'lanp_get_cfgp': +ipmi_lanp6.c:703:25: warning: this statement may fall through [-Wimplicit-fallthrough=] + 703 | data[0] = data[17] = data[24] = data[26] = set; + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_lanp6.c:705:9: note: here + 705 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: + | ^~~~ +ipmi_lanp6.c: In function 'lanp_set_cfgp': +ipmi_lanp6.c:653:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 653 | off = 1; + | ~~~~^~~ +ipmi_lanp6.c:655:9: note: here + 655 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: + | ^~~~ +ipmi_channel.c: In function 'ipmi_get_channel_cipher_suites': +ipmi_channel.c:503:38: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 503 | || rsp->data_len > sizeof(uint8_t) + MAX_CIPHER_SUITE_DATA_LEN) + | ^ +ipmi_isol.c: In function 'ipmi_isol_red_pill': +ipmi_isol.c:617:77: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] + 617 | int rc = processiSolUserInput(intf, buffer, numRead); + | ^~~~~~ + | | + | char * +ipmi_sel.c: In function 'ipmi_sel_oem_readval': +ipmi_isol.c:457:31: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 457 | uint8_t * input, + | ~~~~~~~~~~^~~~~ +ipmi_sel.c:88:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] + 88 | if (sscanf(str, "0x%x", &ret) != 1) { + | ~^ ~~~~ + | | | + | | int * + | unsigned int * + | %x +ipmi_ime.c: At top level: +ipmi_ime.c:793:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] + 793 | static int ImeUpdateShowStatus(struct ipmi_intf *intf) + | ^~~~~~~~~~~~~~~~~~~ ipmi_sensor.c: In function 'print_thresh_setting': ipmi_sensor.c:253:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 253 | printf(na_fmt, "na"); @@ -753,9 +900,46 @@ ipmi_sensor.c:259:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 259 | printf(discrete_fmt, setting); | ^~~~~~ +ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': +ipmi_ekanalyzer.c:487:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 487 | for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { + | ^ +ipmi_tsol.c: In function 'ipmi_tsol_command': +ipmi_tsol.c:87:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] + 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { + | ~^ ~~~~ + | | | + | int * unsigned int * + | %d +ipmi_tsol.c:87:33: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] + 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { + | ~^ ~~~~ + | | | + | int * unsigned int * + | %d +ipmi_tsol.c:87:36: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] + 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { + | ~^ ~~~~ + | | | + | int * unsigned int * + | %d +ipmi_tsol.c:87:39: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] + 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { + | ~^ ~~~~ + | | | + | int * unsigned int * + | %d +ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': +ipmi_fwum.c:365:63: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 365 | modulus, pFileHandle) == modulus) { + | ^~ In file included from ../include/ipmitool/ipmi.h:40, from ipmi_lanp.c:48: ipmi_lanp.c: In function 'ipmi_lan_alert_set': +dimm_spd.c: In function 'ipmi_spd_print_fru': +dimm_spd.c:1699:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1699 | || len > rsp->data_len - 1 + | ^ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ @@ -768,10 +952,6 @@ ipmi_lanp.c:1888:39: note: in expansion of macro '__min' 1888 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ -ipmi_pef.c: In function 'ipmi_pef_print_event_info': -ipmi_pef.c:1255:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1255 | if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { - | ^~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ @@ -784,225 +964,108 @@ ipmi_lanp.c:1903:39: note: in expansion of macro '__min' 1903 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c: In function 'read_fru_area': +ipmi_fru.c:766:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 766 | || tmp > rsp->data_len - 1 + | ^ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1917:39: note: in expansion of macro '__min' 1917 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c: In function 'read_fru_area_section': ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1917:39: note: in expansion of macro '__min' 1917 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c:878:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 878 | || tmp > rsp->data_len - 1 + | ^ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1943:39: note: in expansion of macro '__min' 1943 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c: In function 'fru_area_print_chassis': +ipmi_fru.c:1045:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1045 | if (i == j) { + | ^~ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1943:39: note: in expansion of macro '__min' 1943 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c: In function 'fru_area_print_board': +ipmi_fru.c:1157:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1157 | if (i == j) + | ^~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1968:39: note: in expansion of macro '__min' 1968 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c: In function 'fru_area_print_product': ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1968:39: note: in expansion of macro '__min' 1968 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c:1279:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1279 | if (i == j) + | ^~ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1996:39: note: in expansion of macro '__min' 1996 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_event.c: In function 'ipmi_event_fromsensor': +ipmi_event.c:421:39: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 421 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { + | ^ +ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': +ipmi_event.c:428:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 428 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { + | ^ +ipmi_fru.c: In function 'ipmi_fru_query_new_value': ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1996:39: note: in expansion of macro '__min' 1996 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_hpmfwupg.c:1430:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1430 | if (ret != pFwupgCtx->imageSize) { + | ^~ +ipmi_fru.c:1511:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 1511 | for( i=0;idata, __min(p->data_len, sizeof(data))); | ^~~~~ -ipmi_sel.c: In function 'ipmi_sel_oem_readval': +ipmi_fru.c:1518:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 1518 | for( i=0;idata, __min(p->data_len, sizeof(data))); | ^~~~~ -ipmi_sel.c:88:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] - 88 | if (sscanf(str, "0x%x", &ret) != 1) { - | ~^ ~~~~ - | | | - | | int * - | unsigned int * - | %x -ipmi_user.c: In function '_ipmi_set_user_password': -ipmi_user.c:208:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 208 | if (copy_len > (data_len - 2)) { - | ^ -ipmi_raw.c: In function 'ipmi_raw_main': -ipmi_raw.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 337 | else if (argc > sizeof(data)) - | ^ -ipmi_event.c: In function 'ipmi_event_fromsensor': -ipmi_event.c:421:39: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 421 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { - | ^ -ipmi_event.c:428:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 428 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { +ipmi_ekanalyzer.c:3435:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 3435 | for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { | ^ -In file included from ipmi_sel.c:48: -../include/ipmitool/ipmi_sel_supermicro.h: At top level: -../include/ipmitool/ipmi_sel_supermicro.h:112:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] - 112 | static uint16_t supermicro_x8[] = { - | ^~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:108:17: warning: 'supermicro_p8' defined but not used [-Wunused-variable] - 108 | static uint16_t supermicro_p8[] = { - | ^~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:101:17: warning: 'supermicro_h8' defined but not used [-Wunused-variable] - 101 | static uint16_t supermicro_h8[] = { - | ^~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:97:17: warning: 'supermicro_b8' defined but not used [-Wunused-variable] - 97 | static uint16_t supermicro_b8[] = { - | ^~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:74:17: warning: 'supermicro_x9sb' defined but not used [-Wunused-variable] - 74 | static uint16_t supermicro_x9sb[] = { - | ^~~~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:70:17: warning: 'supermicro_x9db' defined but not used [-Wunused-variable] - 70 | static uint16_t supermicro_x9db[] = { - | ^~~~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:66:17: warning: 'supermicro_x9dal' defined but not used [-Wunused-variable] - 66 | static uint16_t supermicro_x9dal[] = { - | ^~~~~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:45:17: warning: 'supermicro_b2' defined but not used [-Wunused-variable] - 45 | static uint16_t supermicro_b2[] = { - | ^~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:41:17: warning: 'supermicro_b11' defined but not used [-Wunused-variable] - 41 | static uint16_t supermicro_b11[] = { - | ^~~~~~~~~~~~~~ -../include/ipmitool/ipmi_sel_supermicro.h:35:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] - 35 | static uint16_t supermicro_x11[] = { - | ^~~~~~~~~~~~~~ -In file included from ../include/ipmitool/ipmi.h:40, - from ipmi_session.c:44: -ipmi_session.c: In function 'ipmi_get_session_info': -../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_session.c:315:32: note: in expansion of macro '__min' - 315 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_session.c:315:32: note: in expansion of macro '__min' - 315 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_session.c:317:44: note: in expansion of macro '__min' - 317 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_session.c:317:44: note: in expansion of macro '__min' - 317 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_session.c:349:32: note: in expansion of macro '__min' - 349 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_session.c:349:32: note: in expansion of macro '__min' - 349 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_session.c:351:44: note: in expansion of macro '__min' - 351 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_session.c:351:44: note: in expansion of macro '__min' - 351 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -dimm_spd.c: In function 'ipmi_spd_print_fru': -dimm_spd.c:1699:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1699 | || len > rsp->data_len - 1 - | ^ -ipmi_fru.c: In function 'read_fru_area': -ipmi_fru.c:766:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 766 | || tmp > rsp->data_len - 1 - | ^ -ipmi_fru.c: In function 'read_fru_area_section': -ipmi_fru.c:878:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 878 | || tmp > rsp->data_len - 1 - | ^ -ipmi_fru.c: In function 'fru_area_print_chassis': -ipmi_fru.c:1045:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1045 | if (i == j) { - | ^~ -ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': -ipmi_sdr.c:2646:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] - 2646 | id_string = record.full->id_string; - | ^ -ipmi_fru.c: In function 'fru_area_print_board': -ipmi_fru.c:1157:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1157 | if (i == j) - | ^~ -ipmi_fru.c: In function 'fru_area_print_product': -ipmi_fru.c:1279:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1279 | if (i == j) - | ^~ -ipmi_sdr.c:2652:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] - 2652 | id_string = record.compact->id_string; - | ^ -ipmi_sdr.c:2658:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] - 2658 | id_string = record.eventonly->id_string; - | ^ -ipmi_sdr.c:2664:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] - 2664 | id_string = record.mcloc->id_string; - | ^ -ipmi_fru.c: In function 'ipmi_fru_query_new_value': -ipmi_fru.c:1511:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 1511 | for( i=0;idesc); + | ^~~~~~~ +ipmi_pef.c: In function 'ipmi_pef_print_flags': +ipmi_pef.c:436:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 436 | printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); + | ^~~~~~ +ipmi_pef.c: In function 'ipmi_pef_print_field': +ipmi_pef.c:448:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 448 | printf(fmt[0], KYWD_LENGTH, label, val); + | ^~~~~~ +ipmi_pef.c:450:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 450 | printf(&fmt[1][2], val); /* skip field separator */ + | ^~~~~~ +ipmi_pef.c:452:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 452 | printf(fmt[1], val); + | ^~~~~~ +ipmi_gendev.c: In function 'ipmi_gendev_write_file': +ipmi_gendev.c:382:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 382 | if(fileLength != eeprom_size) + | ^~ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_print': ipmi_fru.c:2310:45: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2310 | for (j=0; j < sizeof(struct fru_picmgext_guid); | ^ +ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': +ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': +ipmi_dcmi.c:1956:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 1956 | val.limit = *(uint16_t*)(&lvalue); + | ^~~~~~~~~~~~~~~~~~~~ +ipmi_hpmfwupg.c:2353:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 2353 | for (dataIdx = 0; dataIdx < length; dataIdx++) { + | ^ +ipmi_dcmi.c:1974:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 1974 | val.sample = *(uint16_t*)(&lvalue); + | ^~~~~~~~~~~~~~~~~~~~ ipmi_fru.c:2555:53: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2555 | for (j=0; j < sizeof(struct fru_picmgext_guid); | ^ -ipmi_channel.c: In function 'ipmi_get_channel_cipher_suites': -ipmi_channel.c:503:38: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 503 | || rsp->data_len > sizeof(uint8_t) + MAX_CIPHER_SUITE_DATA_LEN) - | ^ +ipmi_pef.c: In function 'ipmi_pef_print_event_info': +ipmi_pef.c:1255:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 1255 | if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { + | ^~ +ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': +ipmi_sdr.c:2646:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2646 | id_string = record.full->id_string; + | ^ +ipmi_sdr.c:2652:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2652 | id_string = record.compact->id_string; + | ^ ipmi_fru.c:2866:70: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=] 2866 | printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", | ~~~~^ @@ -1038,6 +1135,12 @@ | ~~~~ | | | unsigned int +ipmi_sdr.c:2658:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2658 | id_string = record.eventonly->id_string; + | ^ +ipmi_sdr.c:2664:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2664 | id_string = record.mcloc->id_string; + | ^ ipmi_fru.c:2866:83: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 2866 | printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", | ~~~~^ @@ -1048,9 +1151,7 @@ | ~~~~~~~~ | | | unsigned int -In file included from ../include/ipmitool/ipmi.h:40, - from ipmi_sdr.c:45: -ipmi_sdr.c: In function 'ipmi_sdr_get_info': +ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': ipmi_fru.c:2866:96: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] 2866 | printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", | ~~~~^ @@ -1061,18 +1162,83 @@ | ~~~~~~~~ | | | unsigned int -../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_sdr.c:4338:16: note: in expansion of macro '__min' - 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), - | ^~~~~ -../include/ipmitool/helper.h:215:42: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_sdr.c:4338:16: note: in expansion of macro '__min' - 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), - | ^~~~~ +ipmi_delloem.c:1582:17: warning: unused variable 'j' [-Wunused-variable] + 1582 | uint8_t j; + | ^ +ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_mac': +ipmi_dcmi.c: In function 'ipmi_nm_thresh': +ipmi_delloem.c:1672:17: warning: unused variable 'j' [-Wunused-variable] + 1672 | uint8_t j; + | ^ +ipmi_delloem.c: In function 'ipmi_macinfo_10g': +ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': +ipmi_dcmi.c:3260:49: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] + 3260 | if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) { + | ^~~~~~~~~~~~~~~~~~~~~~~ +ipmi_delloem.c:1740:17: warning: unused variable 'j' [-Wunused-variable] + 1740 | uint8_t j; + | ^ +ipmi_sunoem.c:2290:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 2290 | strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ + | | + | unsigned char * +In file included from /usr/include/features.h:502, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from ipmi_sunoem.c:33: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +ipmi_delloem.c: In function 'ipmi_macinfo_11g': +ipmi_delloem.c:1803:17: warning: unused variable 'j' [-Wunused-variable] + 1803 | uint8_t j; + | ^ +ipmi_delloem.c: In function 'ipmi_delloem_lan_main': +ipmi_delloem.c:1995:66: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] + 1995 | rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); + | ^~~~~~~ + | | + | char * +ipmi_delloem.c:199:26: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 199 | uint8_t *nic_selection); + | ~~~~~~~~~^~~~~~~~~~~~~ +In file included from ipmi_sel.c:48: +../include/ipmitool/ipmi_sel_supermicro.h: At top level: +../include/ipmitool/ipmi_sel_supermicro.h:112:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] + 112 | static uint16_t supermicro_x8[] = { + | ^~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:108:17: warning: 'supermicro_p8' defined but not used [-Wunused-variable] + 108 | static uint16_t supermicro_p8[] = { + | ^~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:101:17: warning: 'supermicro_h8' defined but not used [-Wunused-variable] + 101 | static uint16_t supermicro_h8[] = { + | ^~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:97:17: warning: 'supermicro_b8' defined but not used [-Wunused-variable] + 97 | static uint16_t supermicro_b8[] = { + | ^~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:74:17: warning: 'supermicro_x9sb' defined but not used [-Wunused-variable] + 74 | static uint16_t supermicro_x9sb[] = { + | ^~~~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:70:17: warning: 'supermicro_x9db' defined but not used [-Wunused-variable] + 70 | static uint16_t supermicro_x9db[] = { + | ^~~~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:66:17: warning: 'supermicro_x9dal' defined but not used [-Wunused-variable] + 66 | static uint16_t supermicro_x9dal[] = { + | ^~~~~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:45:17: warning: 'supermicro_b2' defined but not used [-Wunused-variable] + 45 | static uint16_t supermicro_b2[] = { + | ^~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:41:17: warning: 'supermicro_b11' defined but not used [-Wunused-variable] + 41 | static uint16_t supermicro_b11[] = { + | ^~~~~~~~~~~~~~ +../include/ipmitool/ipmi_sel_supermicro.h:35:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] + 35 | static uint16_t supermicro_x11[] = { + | ^~~~~~~~~~~~~~ +ipmi_ekanalyzer.c: At top level: +ipmi_ekanalyzer.c:3380:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] + 3380 | ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_get_multirec_size_from_file': ipmi_fru.c:3863:43: warning: self-comparison always evaluates to false [-Wtautological-compare] 3863 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && @@ -1083,13 +1249,37 @@ ipmi_fru.c:3871:40: warning: self-comparison always evaluates to false [-Wtautological-compare] 3871 | if (((header.offset.board * 8) > (header.offset.board * 8)) && | ^ +ipmi_picmg.c: In function 'ipmi_picmg_clk_set': +ipmi_picmg.c:1852:44: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] + 1852 | if (is_clk_resid(argv[6], &msg_data[10]) != 0) { + | ^~~~~~~~~~~~~ + | | + | unsigned char * +ipmi_picmg.c:422:44: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' + 422 | is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) + | ~~~~~~~~^~~~~~~~~~~~~ ipmi_fru.c:3875:42: warning: self-comparison always evaluates to false [-Wtautological-compare] 3875 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ +In file included from ../include/ipmitool/ipmi.h:40, + from ipmi_sdr.c:45: +ipmi_sdr.c: In function 'ipmi_sdr_get_info': ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': +../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_sdr.c:4338:16: note: in expansion of macro '__min' + 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), + | ^~~~~ ipmi_fru.c:4050:43: warning: self-comparison always evaluates to false [-Wtautological-compare] 4050 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && | ^ +../include/ipmitool/helper.h:215:42: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_sdr.c:4338:16: note: in expansion of macro '__min' + 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), + | ^~~~~ ipmi_fru.c:4054:42: warning: self-comparison always evaluates to false [-Wtautological-compare] 4054 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && | ^ @@ -1099,20 +1289,33 @@ ipmi_fru.c:4062:42: warning: self-comparison always evaluates to false [-Wtautological-compare] 4062 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ +ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': +ipmi_delloem.c:3312:24: warning: too many arguments for format [-Wformat-extra-args] + 3312 | printf("Peak power consmhistory Data : " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_delloem.c: In function 'ipmi_get_power_cap': +ipmi_delloem.c:3493:24: warning: too many arguments for format [-Wformat-extra-args] + 3493 | printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_user.c:213:17: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 213 | strncpy((char *)(data + 2), password, copy_len); + | ^ +ipmi_user.c:207:35: note: length computed here + 207 | size_t copy_len = strlen(password); + | ^~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_set_field_string': +ipmi_delloem.c: In function 'ipmi_delloem_setled_main': ipmi_fru.c:4824:31: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 4824 | for (i = 0; i < fru_section_len - 1; i++) | ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': -ipmi_user.c: In function 'ipmi_user_name': -ipmi_user.c:374:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] - 374 | strncpy((char *)(msg_data + 1), name, strlen(name)); - | ^ -In function 'ipmi_user_set_username', - inlined from 'ipmi_user_name' at ipmi_user.c:726:9: -ipmi_user.c:374:9: note: length computed here - 374 | strncpy((char *)(msg_data + 1), name, strlen(name)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_delloem.c:4161:52: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] + 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { + | ~^ ~~ + | | | + | | int * + | unsigned int * + | %x ipmi_fru.c:4997:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4997 | num_byte_change = strlen(f_string) - strlen(fru_area); | ^~~~~~~~ @@ -1124,9 +1327,23 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +ipmi_delloem.c:4161:55: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] + 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { + | ~^ ~~ + | | | + | | int * + | unsigned int * + | %x ipmi_fru.c:5118:87: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 5118 | if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) | ^ +ipmi_delloem.c:4161:58: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] + 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { + | ~^ ~~ + | | | + | | int * + | unsigned int * + | %x ipmi_fru.c:5163:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 5163 | strlen(fru_area)), | ^~~~~~~~ @@ -1138,7 +1355,27 @@ ipmi_fru.c:5168:42: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 5168 | for(counter = 0; counter < padding_len; counter ++) | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_sunoem.lo ipmi_sunoem.c +ipmi_delloem.c:4165:48: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] + 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { + | ~^ ~~ + | | | + | | int * + | unsigned int * + | %x +ipmi_delloem.c:4165:51: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] + 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { + | ~^ ~~ + | | | + | | int * + | unsigned int * + | %x +ipmi_delloem.c:4165:54: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] + 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { + | ~^ ~~ + | | | + | | int * + | unsigned int * + | %x ipmi_fru.c: At top level: ipmi_fru.c:904:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] 904 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, @@ -1150,6 +1387,15 @@ ipmi_mc.c:1569:33: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 1569 | strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); | ^ +ipmi_user.c: In function 'ipmi_user_name': +ipmi_user.c:374:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] + 374 | strncpy((char *)(msg_data + 1), name, strlen(name)); + | ^ +In function 'ipmi_user_set_username', + inlined from 'ipmi_user_name' at ipmi_user.c:726:9: +ipmi_user.c:374:9: note: length computed here + 374 | strncpy((char *)(msg_data + 1), name, strlen(name)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1519:58: warning: array subscript 'unsigned int[0]' is partly outside array bounds of 'unsigned char[2]' [-Warray-bounds=] 1519 | data[offset++] = (unsigned char) *(holder+i); @@ -1163,28 +1409,44 @@ ipmi_fru.c:1505:26: note: at offset 4 into object of size [1, 2] allocated by 'malloc' 1505 | holder = malloc(len); | ^~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_fwum.lo ipmi_fwum.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_picmg.lo ipmi_picmg.c -ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': -ipmi_sunoem.c:2290:32: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 2290 | strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ - | | - | unsigned char * -In file included from /usr/include/features.h:502, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ipmi_sunoem.c:33: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_main.lo ipmi_main.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_tsol.lo ipmi_tsol.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_firewall.lo ipmi_firewall.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_kontronoem.lo ipmi_kontronoem.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_sdradd.lo ipmi_sdradd.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c +ipmi_sunoem.c: In function 'ipmi_sunoem_main': +ipmi_sunoem.c:1904:25: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 1904 | strncpy(setval_req.luapi_data, &(prop_name[i]), + | ^ +In function 'send_luapi_prop_name', + inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2052:6, + inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2411:8: +ipmi_sunoem.c:1900:21: note: length computed here + 1900 | if (strlen(&(prop_name[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { + | ^~~~~~~~~~~~~~~~~~~~~~~ +ipmi_sunoem.c: In function 'ipmi_sunoem_main': +ipmi_sunoem.c:1976:25: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 1976 | strncpy(setval_req.luapi_data, &(prop_value[i]), + | ^ +In function 'send_luapi_prop_value', + inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2057:6, + inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2411:8: +ipmi_sunoem.c:1971:21: note: length computed here + 1971 | if (strlen(&(prop_value[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_sunoem.c: In function 'ipmi_sunoem_main': +ipmi_sunoem.c:1811:9: warning: '__builtin_strncpy' specified bound 79 equals destination size [-Wstringop-truncation] + 1811 | strncpy((char*) getval_req.luapi_value, argv[0], MAX_SUNOEM_VAL_PAYLOAD); + | ^ +In function 'ipmi_ek_compare_link', + inlined from 'ipmi_ek_matching_process' at ipmi_ekanalyzer.c:1304:37, + inlined from 'ipmi_ekanalyzer_ekeying_match' at ipmi_ekanalyzer.c:1194:40: +ipmi_ekanalyzer.c:1668:28: warning: 'pcarrier_p2p' may be used uninitialized [-Wmaybe-uninitialized] + 1668 | result = ipmi_ek_check_physical_connectivity ( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1669 | record1, index_ch_desc1, record2, index_ch_desc2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1670 | physic_record, file_type1, file_type2, opt ); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': +ipmi_ekanalyzer.c:1141:43: note: 'pcarrier_p2p' was declared here + 1141 | struct ipmi_ek_multi_header * pcarrier_p2p; + | ^~~~~~~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fc': ipmi_sdr.c:1851:77: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1851 | snprintf(sval, sizeof (sval), "%s %s", @@ -1213,94 +1475,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -ipmi_picmg.c: In function 'ipmi_picmg_clk_set': -ipmi_picmg.c:1852:44: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] - 1852 | if (is_clk_resid(argv[6], &msg_data[10]) != 0) { - | ^~~~~~~~~~~~~ - | | - | unsigned char * -ipmi_picmg.c:422:44: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' - 422 | is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) - | ~~~~~~~~^~~~~~~~~~~~~ -ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': -ipmi_fwum.c:365:63: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 365 | modulus, pFileHandle) == modulus) { - | ^~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_gendev.lo ipmi_gendev.c -ipmi_tsol.c: In function 'ipmi_tsol_command': -ipmi_tsol.c:87:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] - 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { - | ~^ ~~~~ - | | | - | int * unsigned int * - | %d -ipmi_tsol.c:87:33: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] - 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { - | ~^ ~~~~ - | | | - | int * unsigned int * - | %d -ipmi_tsol.c:87:36: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] - 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { - | ~^ ~~~~ - | | | - | int * unsigned int * - | %d -ipmi_tsol.c:87:39: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] - 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { - | ~^ ~~~~ - | | | - | int * unsigned int * - | %d -ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': -ipmi_hpmfwupg.c:1430:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1430 | if (ret != pFwupgCtx->imageSize) { - | ^~ -ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': -ipmi_hpmfwupg.c:2353:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 2353 | for (dataIdx = 0; dataIdx < length; dataIdx++) { - | ^ -ipmi_sunoem.c: In function 'ipmi_sunoem_main': -ipmi_sunoem.c:1904:25: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 1904 | strncpy(setval_req.luapi_data, &(prop_name[i]), - | ^ -In function 'send_luapi_prop_name', - inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2052:6, - inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2411:8: -ipmi_sunoem.c:1900:21: note: length computed here - 1900 | if (strlen(&(prop_name[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { - | ^~~~~~~~~~~~~~~~~~~~~~~ -ipmi_sunoem.c: In function 'ipmi_sunoem_main': -ipmi_sunoem.c:1976:25: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 1976 | strncpy(setval_req.luapi_data, &(prop_value[i]), - | ^ -In function 'send_luapi_prop_value', - inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2057:6, - inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2411:8: -ipmi_sunoem.c:1971:21: note: length computed here - 1971 | if (strlen(&(prop_value[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_sunoem.c: In function 'ipmi_sunoem_main': -ipmi_sunoem.c:1811:9: warning: '__builtin_strncpy' specified bound 79 equals destination size [-Wstringop-truncation] - 1811 | strncpy((char*) getval_req.luapi_value, argv[0], MAX_SUNOEM_VAL_PAYLOAD); - | ^ -ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': -ipmi_ekanalyzer.c:487:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 487 | for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { - | ^ -ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': -ipmi_ekanalyzer.c:3435:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 3435 | for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { - | ^ -ipmi_ekanalyzer.c: At top level: -ipmi_ekanalyzer.c:3380:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] - 3380 | ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_gendev.c: In function 'ipmi_gendev_write_file': -ipmi_gendev.c:382:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 382 | if(fileLength != eeprom_size) - | ^~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_ime.lo ipmi_ime.c ipmi_fru.c: In function 'ipmi_fru_edit_multirec': ipmi_fru.c:3494:80: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3494 | if ((last_off < (i + sizeof(*h))) || (last_off < (i + h->len))) @@ -1361,7 +1535,6 @@ | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_delloem.lo ipmi_delloem.c ipmi_fru.c:1800:33: warning: array subscript [1, 858993460] is outside array bounds of 'void[1]' [-Warray-bounds=] 1800 | version = oh->record_version; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ @@ -1442,7 +1615,6 @@ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_dcmi.lo ipmi_dcmi.c ipmi_fru.c:3483:28: note: at offset [21, 22] into object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ @@ -1572,7 +1744,6 @@ 2051 | lprintf(LOG_DEBUG,"Final header checksum : %x",h->header_checksum); | ~^~~~~~~~~~~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_edit_multirec': -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o hpm2.lo hpm2.c ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ @@ -1591,7 +1762,6 @@ ipmi_fru.c:3568:29: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds=] 3568 | } while (!(h->format & 0x80) && (error != 1)); | ^~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_vita.lo ipmi_vita.c ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ @@ -1607,148 +1777,14 @@ ipmi_fru.c:3483:28: note: at offset 1 into destination object of size 1 allocated by '__builtin_calloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ -ipmi_ime.c: In function 'ImeImageCtxFromFile': -ipmi_ime.c:887:30: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] - 887 | if (pImageCtx->size < 0) - | ^ -ipmi_ime.c: At top level: -ipmi_ime.c:793:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] - 793 | static int ImeUpdateShowStatus(struct ipmi_intf *intf) - | ^~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_lanp6.lo ipmi_lanp6.c -In function 'ipmi_ek_compare_link', - inlined from 'ipmi_ek_matching_process' at ipmi_ekanalyzer.c:1304:37, - inlined from 'ipmi_ekanalyzer_ekeying_match' at ipmi_ekanalyzer.c:1194:40: -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_cfgp.lo ipmi_cfgp.c -ipmi_ekanalyzer.c:1668:28: warning: 'pcarrier_p2p' may be used uninitialized [-Wmaybe-uninitialized] - 1668 | result = ipmi_ek_check_physical_connectivity ( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1669 | record1, index_ch_desc1, record2, index_ch_desc2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1670 | physic_record, file_type1, file_type2, opt ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': -ipmi_ekanalyzer.c:1141:43: note: 'pcarrier_p2p' was declared here - 1141 | struct ipmi_ek_multi_header * pcarrier_p2p; - | ^~~~~~~~~~~~ -ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': -ipmi_delloem.c:1582:17: warning: unused variable 'j' [-Wunused-variable] - 1582 | uint8_t j; - | ^ -ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_mac': -ipmi_delloem.c:1672:17: warning: unused variable 'j' [-Wunused-variable] - 1672 | uint8_t j; - | ^ -ipmi_delloem.c: In function 'ipmi_macinfo_10g': -ipmi_delloem.c:1740:17: warning: unused variable 'j' [-Wunused-variable] - 1740 | uint8_t j; - | ^ -ipmi_delloem.c: In function 'ipmi_macinfo_11g': -ipmi_delloem.c:1803:17: warning: unused variable 'j' [-Wunused-variable] - 1803 | uint8_t j; - | ^ -ipmi_delloem.c: In function 'ipmi_delloem_lan_main': -ipmi_delloem.c:1995:66: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] - 1995 | rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); - | ^~~~~~~ - | | - | char * -ipmi_delloem.c:199:26: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 199 | uint8_t *nic_selection); - | ~~~~~~~~~^~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_quantaoem.lo ipmi_quantaoem.c -ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': -ipmi_delloem.c:3312:24: warning: too many arguments for format [-Wformat-extra-args] - 3312 | printf("Peak power consmhistory Data : " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': -ipmi_dcmi.c:1956:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 1956 | val.limit = *(uint16_t*)(&lvalue); - | ^~~~~~~~~~~~~~~~~~~~ -ipmi_dcmi.c:1974:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 1974 | val.sample = *(uint16_t*)(&lvalue); - | ^~~~~~~~~~~~~~~~~~~~ -ipmi_delloem.c: In function 'ipmi_get_power_cap': -ipmi_delloem.c:3493:24: warning: too many arguments for format [-Wformat-extra-args] - 3493 | printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_delloem.c: In function 'ipmi_delloem_setled_main': -ipmi_delloem.c:4161:52: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] - 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { - | ~^ ~~ - | | | - | | int * - | unsigned int * - | %x -ipmi_dcmi.c: In function 'ipmi_nm_thresh': -ipmi_delloem.c:4161:55: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] - 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { - | ~^ ~~ - | | | - | | int * - | unsigned int * - | %x -ipmi_dcmi.c:3260:49: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] - 3260 | if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) { - | ^~~~~~~~~~~~~~~~~~~~~~~ -ipmi_delloem.c:4161:58: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] - 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { - | ~^ ~~ - | | | - | | int * - | unsigned int * - | %x ipmi_fru.c: In function 'ipmi_fru_print_all': ipmi_fru.c:3227:16: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] 3227 | return rc; | ^~ -ipmi_delloem.c:4165:48: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] - 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { - | ~^ ~~ - | | | - | | int * - | unsigned int * - | %x ipmi_fru.c:3132:13: note: 'rc' was declared here 3132 | int rc; | ^~ -ipmi_delloem.c:4165:51: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] - 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { - | ~^ ~~ - | | | - | | int * - | unsigned int * - | %x -ipmi_delloem.c:4165:54: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] - 4165 | } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { - | ~^ ~~ - | | | - | | int * - | unsigned int * - | %x -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmi_time.lo ipmi_time.c -ipmi_lanp6.c: In function 'lanp_parse_cfgp': -ipmi_lanp6.c:596:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 596 | if (set > 2) { - | ^ -ipmi_lanp6.c:601:9: note: here - 601 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: - | ^~~~ -ipmi_lanp6.c: In function 'lanp_get_cfgp': -ipmi_lanp6.c:703:25: warning: this statement may fall through [-Wimplicit-fallthrough=] - 703 | data[0] = data[17] = data[24] = data[26] = set; - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_lanp6.c:705:9: note: here - 705 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: - | ^~~~ -ipmi_lanp6.c: In function 'lanp_set_cfgp': -ipmi_lanp6.c:653:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 653 | off = 1; - | ~~~~^~~ -ipmi_lanp6.c:655:9: note: here - 655 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: - | ^~~~ -/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ipmi_lanp6.lo ipmi_cfgp.lo ipmi_quantaoem.lo ipmi_time.lo -lm -lreadline -lcrypto +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ipmi_lanp6.lo ipmi_cfgp.lo ipmi_quantaoem.lo ipmi_time.lo -lm -lreadline -lcrypto make[3]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/lib' Making all in src make[3]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src' @@ -1756,9 +1792,9 @@ make[4]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins' Making all in lan make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/lan' -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o lan.lo lan.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o auth.lo auth.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o md5.lo md5.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o lan.lo lan.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o auth.lo auth.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o md5.lo md5.c auth.c: In function 'ipmi_auth_md5': auth.c:80:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 80 | MD5_Init(&ctx); @@ -1840,15 +1876,15 @@ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/lan' Making all in lanplus make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/lanplus' -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o lanplus.lo lanplus.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o lanplus_strings.lo lanplus_strings.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o lanplus_crypt.lo lanplus_crypt.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o lanplus_dump.lo lanplus_dump.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o lanplus.lo lanplus.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o lanplus_strings.lo lanplus_strings.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o lanplus_crypt.lo lanplus_crypt.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o lanplus_dump.lo lanplus_dump.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c lanplus.c: In function 'ipmi_lanplus_open': lanplus.c:3493:13: warning: '*(long unsigned int *)((char *)&auth_cap + offsetof(struct get_channel_auth_cap_rsp, channel_number))' may be used uninitialized [-Wmaybe-uninitialized] 3493 | !auth_cap.v20_data_available) @@ -1856,11 +1892,11 @@ lanplus.c:3429:41: note: '*(long unsigned int *)((char *)&auth_cap + offsetof(struct get_channel_auth_cap_rsp, channel_number))' was declared here 3429 | struct get_channel_auth_cap_rsp auth_cap; | ^~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/lanplus' Making all in open make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/open' -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o open.lo open.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o open.lo open.c open.c: In function 'ipmi_openipmi_send_cmd': open.c:173:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] 173 | struct ipmi_recv recv = {}; @@ -1880,23 +1916,34 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/open' Making all in imb make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/imb' -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o imbapi.lo imbapi.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o imb.lo imb.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o imbapi.lo imbapi.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o imb.lo imb.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/imb' Making all in free make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/free' -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o free.lo free.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -lfreeipmi -Wl,-z,relro -Wl,-z,now -o libintf_free.la free.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o free.lo free.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -lfreeipmi -Wl,-z,relro -Wl,-z,now -o libintf_free.la free.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/free' Making all in serial make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/serial' -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o serial_terminal.lo serial_terminal.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o serial_basic.lo serial_basic.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o serial_terminal.lo serial_terminal.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o serial_basic.lo serial_basic.c +serial_terminal.c:89:29: warning: invalid use of structure with flexible array member [-Wpedantic] + 89 | struct ipmb_msg_hdr msg; + | ^~~ +serial_terminal.c: In function 'ipmi_serial_term_open': +serial_terminal.c:192:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 192 | if (rates[i].baudrate == rate) { + | ^~ +serial_terminal.c: In function 'serial_term_build_msg': +serial_terminal.c:479:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 479 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { + | ^ serial_basic.c:91:29: warning: invalid use of structure with flexible array member [-Wpedantic] 91 | struct ipmb_msg_hdr msg; | ^~~ @@ -1918,17 +1965,6 @@ serial_basic.c:618:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 618 | if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { | ^ -serial_terminal.c:89:29: warning: invalid use of structure with flexible array member [-Wpedantic] - 89 | struct ipmb_msg_hdr msg; - | ^~~ -serial_terminal.c: In function 'ipmi_serial_term_open': -serial_terminal.c:192:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 192 | if (rates[i].baudrate == rate) { - | ^~ -serial_terminal.c: In function 'serial_term_build_msg': -serial_terminal.c:479:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 479 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { - | ^ In function 'serial_bm_parse_buffer', inlined from 'serial_bm_recv_msg' at serial_basic.c:581:8, inlined from 'serial_bm_wait_response.constprop' at serial_basic.c:747:20: @@ -1953,16 +1989,16 @@ serial_basic.c:890:24: note: 'msg_len' was declared here 890 | int retry, rv, msg_len, bridging_level; | ^~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/serial' Making all in dummy make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/dummy' -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o dummy.lo dummy.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_dummy.la dummy.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o dummy.lo dummy.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_dummy.la dummy.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/dummy' Making all in usb make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/usb' -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o usb.lo usb.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o usb.lo usb.c usb.c: In function 'ipmi_usb_send_cmd': usb.c:577:16: warning: array subscript 'IPMIUSBRequest_T[0]' is partly outside array bounds of 'char[65536]' [-Warray-bounds=] 577 | pReqPkt->byNetFnLUN += req->msg.lun; @@ -1976,18 +2012,18 @@ usb.c:572:14: note: object 'ReqBuff' of size 65536 572 | char ReqBuff[MAX_REQUEST_SIZE] = {0}; | ^~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins/usb' make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins' -/bin/bash ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DDEFAULT_INTF='"open"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o libintf_la-ipmi_intf.lo `test -f 'ipmi_intf.c' || echo './'`ipmi_intf.c -/bin/bash ../../libtool --silent --tag=CC --mode=link gcc -DDEFAULT_INTF='"open"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o libintf.la libintf_la-ipmi_intf.lo lan/libintf_lan.la usb/libintf_usb.la lanplus/libintf_lanplus.la serial/libintf_serial.la free/libintf_free.la open/libintf_open.la imb/libintf_imb.la dummy/libintf_dummy.la -lreadline -lcrypto +/bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DDEFAULT_INTF='"open"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o libintf_la-ipmi_intf.lo `test -f 'ipmi_intf.c' || echo './'`ipmi_intf.c +/bin/sh ../../libtool --silent --tag=CC --mode=link gcc -DDEFAULT_INTF='"open"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o libintf.la libintf_la-ipmi_intf.lo lan/libintf_lan.la usb/libintf_usb.la lanplus/libintf_lanplus.la serial/libintf_serial.la free/libintf_free.la open/libintf_open.la imb/libintf_imb.la dummy/libintf_dummy.la -lreadline -lcrypto copying selected object files to avoid basename conflicts... make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins' make[4]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src/plugins' make[4]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src' -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmitool.o ipmitool.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmishell.o ipmishell.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -c -o ipmievd.o ipmievd.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmitool.o ipmitool.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmishell.o ipmishell.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -c -o ipmievd.o ipmievd.c ipmishell.c: In function 'ipmi_shell_main': ipmishell.c:99:49: warning: unused parameter 'argc' [-Wunused-parameter] 99 | int ipmi_shell_main(struct ipmi_intf *intf, int argc, char **argv) @@ -2009,8 +2045,8 @@ ../include/ipmitool/helper.h:215:25: note: in definition of macro '__min' 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ -/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto -/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.6.13+bpo-amd64/build/include -Wl,-z,relro -Wl,-z,now -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto make[4]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src' make[3]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src' Making all in include @@ -2040,7 +2076,7 @@ make[2]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19' make[1]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19' dh_auto_test - make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/ipmitool-1.8.19' Making check in lib make[2]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/lib' @@ -2199,9 +2235,9 @@ make[4]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src' make[5]: Entering directory '/build/reproducible-path/ipmitool-1.8.19/src' /usr/bin/mkdir -p '/build/reproducible-path/ipmitool-1.8.19/debian/ipmitool/usr/bin' - /bin/bash ../libtool --silent --mode=install /usr/bin/install -c ipmitool '/build/reproducible-path/ipmitool-1.8.19/debian/ipmitool/usr/bin' + /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmitool '/build/reproducible-path/ipmitool-1.8.19/debian/ipmitool/usr/bin' /usr/bin/mkdir -p '/build/reproducible-path/ipmitool-1.8.19/debian/ipmitool/usr/sbin' - /bin/bash ../libtool --silent --mode=install /usr/bin/install -c ipmievd '/build/reproducible-path/ipmitool-1.8.19/debian/ipmitool/usr/sbin' + /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmievd '/build/reproducible-path/ipmitool-1.8.19/debian/ipmitool/usr/sbin' make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src' make[4]: Leaving directory '/build/reproducible-path/ipmitool-1.8.19/src' @@ -2300,12 +2336,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2845769/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2845769/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3015939 and its subdirectories -I: Current time: Fri May 10 06:33:05 -12 2024 -I: pbuilder-time-stamp: 1715365985 +I: removing directory /srv/workspace/pbuilder/2845769 and its subdirectories +I: Current time: Fri Jun 13 14:58:13 +14 2025 +I: pbuilder-time-stamp: 1749776293