Diff of the two buildlogs: -- --- b1/build.log 2024-08-31 14:39:16.915215505 +0000 +++ b2/build.log 2024-08-31 14:40:36.267846869 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 31 02:38:10 -12 2024 -I: pbuilder-time-stamp: 1725115090 +I: Current time: Sun Sep 1 04:39:20 +14 2024 +I: pbuilder-time-stamp: 1725115160 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ipmitool_1.8.19.orig.tar.gz] I: copying [./ipmitool_1.8.19-4+deb12u1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Aug 1 03:07:03 2024 -12 +gpgv: Signature made Fri Aug 2 05:07:03 2024 +14 gpgv: using RSA key A0B1A9F3508956130E7A425CD416AD15AC6B43FE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ipmitool_1.8.19-4+deb12u1.dsc: no acceptable signature found @@ -33,135 +33,167 @@ dpkg-source: info: applying 0115-hurd_PATH_MAX.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/142240/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/327435/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Sep 1 04:39 /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/327435/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/327435/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='680ec8b2cfae4425965cc596a90a13bc' - 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='142240' - PS1='# ' - PS2='> ' + INVOCATION_ID=dc7b01558f6b47869603bc33e6963929 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=327435 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.uGQk0SpG/pbuilderrc_Sgwv --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uGQk0SpG/b1 --logfile b1/build.log ipmitool_1.8.19-4+deb12u1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.uGQk0SpG/pbuilderrc_wLmU --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uGQk0SpG/b2 --logfile b2/build.log ipmitool_1.8.19-4+deb12u1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux I: ls -l /bin total 7104 - -rwxr-xr-x 1 root root 1346480 Mar 29 09:21 bash - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67664 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 68536 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68616 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 68552 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 68632 Sep 20 2022 chown - -rwxr-xr-x 1 root root 200264 Sep 20 2022 cp - -rwxr-xr-x 1 root root 133640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 134144 Sep 20 2022 date - -rwxr-xr-x 1 root root 134248 Sep 20 2022 dd - -rwxr-xr-x 1 root root 134888 Sep 20 2022 df - -rwxr-xr-x 1 root root 200440 Sep 20 2022 dir - -rwxr-xr-x 1 root root 141720 Mar 27 21:52 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 68408 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 68384 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 134584 Mar 27 21:52 findmnt - -rwsr-xr-x 1 root root 67744 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 198880 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 93752 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67592 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 68664 Sep 20 2022 ln - -rwxr-xr-x 1 root root 69208 Mar 22 2023 login - -rwxr-xr-x 1 root root 200440 Sep 20 2022 ls - -rwxr-xr-x 1 root root 264360 Mar 27 21:52 lsblk - -rwxr-xr-x 1 root root 134384 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 68768 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 68472 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 67752 Mar 27 21:52 more - -rwsr-xr-x 1 root root 67744 Mar 27 21:52 mount - -rwxr-xr-x 1 root root 67744 Mar 27 21:52 mountpoint - -rwxr-xr-x 1 root root 134728 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 68496 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Mar 29 09:21 rbash -> bash - -rwxr-xr-x 1 root root 68456 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 68592 Sep 20 2022 rm - -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 68392 Jul 28 2023 run-parts - -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty - -rwsr-xr-x 1 root root 133312 Mar 27 21:52 su - -rwxr-xr-x 1 root root 68448 Sep 20 2022 sync - -rwxr-xr-x 1 root root 539896 Jan 19 2024 tar - -rwxr-xr-x 1 root root 67904 Jul 28 2023 tempfile - -rwxr-xr-x 1 root root 134160 Sep 20 2022 touch - -rwxr-xr-x 1 root root 68384 Sep 20 2022 true - -rwxr-xr-x 1 root root 67664 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 67744 Mar 27 21:52 umount - -rwxr-xr-x 1 root root 68416 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 200440 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 133312 Mar 27 21:52 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/142240/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1346480 Mar 30 11:21 bash + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67664 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 68536 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68616 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 68552 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 68632 Sep 21 2022 chown + -rwxr-xr-x 1 root root 200264 Sep 21 2022 cp + -rwxr-xr-x 1 root root 133640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 134144 Sep 21 2022 date + -rwxr-xr-x 1 root root 134248 Sep 21 2022 dd + -rwxr-xr-x 1 root root 134888 Sep 21 2022 df + -rwxr-xr-x 1 root root 200440 Sep 21 2022 dir + -rwxr-xr-x 1 root root 141720 Mar 28 23:52 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 68408 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 68384 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 134584 Mar 28 23:52 findmnt + -rwsr-xr-x 1 root root 67744 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 198880 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 93752 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67592 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 68664 Sep 21 2022 ln + -rwxr-xr-x 1 root root 69208 Mar 24 2023 login + -rwxr-xr-x 1 root root 200440 Sep 21 2022 ls + -rwxr-xr-x 1 root root 264360 Mar 28 23:52 lsblk + -rwxr-xr-x 1 root root 134384 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 68768 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 68472 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 67752 Mar 28 23:52 more + -rwsr-xr-x 1 root root 67744 Mar 28 23:52 mount + -rwxr-xr-x 1 root root 67744 Mar 28 23:52 mountpoint + -rwxr-xr-x 1 root root 134728 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 68496 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Mar 30 11:21 rbash -> bash + -rwxr-xr-x 1 root root 68456 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 68592 Sep 21 2022 rm + -rwxr-xr-x 1 root root 68480 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 68392 Jul 29 2023 run-parts + -rwxr-xr-x 1 root root 134536 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Sep 1 04:39 sh -> /bin/bash + -rwxr-xr-x 1 root root 68432 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 134088 Sep 21 2022 stty + -rwsr-xr-x 1 root root 133312 Mar 28 23:52 su + -rwxr-xr-x 1 root root 68448 Sep 21 2022 sync + -rwxr-xr-x 1 root root 539896 Jan 20 2024 tar + -rwxr-xr-x 1 root root 67904 Jul 29 2023 tempfile + -rwxr-xr-x 1 root root 134160 Sep 21 2022 touch + -rwxr-xr-x 1 root root 68384 Sep 21 2022 true + -rwxr-xr-x 1 root root 67664 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 67744 Mar 28 23:52 umount + -rwxr-xr-x 1 root root 68416 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 200440 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 133312 Mar 28 23:52 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/327435/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -244,7 +276,7 @@ Get: 37 http://deb.debian.org/debian bookworm/main arm64 libreadline8 arm64 8.2-1.3 [155 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 libreadline-dev arm64 8.2-1.3 [151 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 libssl-dev arm64 3.0.14-1~deb12u1 [2307 kB] -Fetched 23.1 MB in 0s (58.7 MB/s) +Fetched 23.1 MB in 0s (101 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 ... 19569 files and directories currently installed.) @@ -415,7 +447,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-4+deb12u1_source.changes +I: user script /srv/workspace/pbuilder/327435/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/327435/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-4+deb12u1_source.changes dpkg-buildpackage: info: source package ipmitool dpkg-buildpackage: info: source version 1.8.19-4+deb12u1 dpkg-buildpackage: info: source distribution bookworm @@ -783,18 +819,18 @@ 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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_sensor.lo ipmi_sensor.c 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 @@ -822,95 +858,37 @@ 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;i (header.offset.internal * 8)) && - | ^ -ipmi_fru.c:3867:42: warning: self-comparison always evaluates to false [-Wtautological-compare] - 3867 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && - | ^ -dimm_spd.c: In function 'ipmi_spd_print_fru': In file included from ../include/ipmitool/ipmi.h:40, from ipmi_lanp.c:48: ipmi_lanp.c: In function 'ipmi_lan_alert_set': -ipmi_fru.c:3871:40: warning: self-comparison always evaluates to false [-Wtautological-compare] - 3871 | if (((header.offset.board * 8) > (header.offset.board * 8)) && - | ^ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1888:39: note: in expansion of macro '__min' 1888 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ -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:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1888:39: note: in expansion of macro '__min' 1888 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ -ipmi_fru.c:3875:42: warning: self-comparison always evaluates to false [-Wtautological-compare] - 3875 | if (((header.offset.product * 8) > (header.offset.product * 8)) && - | ^ ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ ipmi_lanp.c:1903:39: note: in expansion of macro '__min' 1903 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c: In function 'ipmi_fru_oemkontron_edit': ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:1903:39: note: in expansion of macro '__min' 1903 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_fru.c:1924:42: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 1924 | for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ + | ^ ../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)) | ^ @@ -923,68 +901,50 @@ 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 'ipmi_fru_picmg_ext_edit': ../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 'ipmi_fru_get_multirec_location_from_fru': +ipmi_fru.c:2043:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 2043 | for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ + | ^ ../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:4050:43: warning: self-comparison always evaluates to false [-Wtautological-compare] - 4050 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && - | ^ -ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': ../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:4054:42: warning: self-comparison always evaluates to false [-Wtautological-compare] - 4054 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && - | ^ -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 'ipmi_fru_picmg_ext_print': ../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_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:4058:40: warning: self-comparison always evaluates to false [-Wtautological-compare] - 4058 | if (((header.offset.board * 8) > (header.offset.board * 8)) && - | ^ -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_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); + | ^ ../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_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; - | ^ ../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_fru.c:4062:42: warning: self-comparison always evaluates to false [-Wtautological-compare] - 4062 | if (((header.offset.product * 8) > (header.offset.product * 8)) && - | ^ ../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)) | ^ @@ -997,6 +957,127 @@ ipmi_lanp.c:2012:39: note: in expansion of macro '__min' 2012 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +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_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", + | ~~~~^ + | | + | long int + | %-9d + 2867 | freq, min_freq, max_freq); + | ~~~~ + | | + | unsigned int +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", + | ~~~~^ + | | + | long int + | %-9d + 2867 | freq, min_freq, max_freq); + | ~~~~~~~~ + | | + | unsigned int +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", + | ~~~~^ + | | + | long int + | %-9d + 2867 | freq, min_freq, max_freq); + | ~~~~~~~~ + | | + | unsigned int +ipmi_pef.c: In function 'ipmi_pef_bit_desc': +ipmi_pef.c:405:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 405 | sprintf(p, listitem[index], pmap->desc); + | ^~~~~~~ +ipmi_pef.c: In function 'ipmi_pef_print_flags': +ipmi_pef.c:436:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 436 | printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); + | ^~~~~~ +ipmi_pef.c: In function 'ipmi_pef_print_field': +ipmi_pef.c:448:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 448 | printf(fmt[0], KYWD_LENGTH, label, val); + | ^~~~~~ +ipmi_pef.c:450:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 450 | printf(&fmt[1][2], val); /* skip field separator */ + | ^~~~~~ +ipmi_pef.c:452:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 452 | printf(fmt[1], val); + | ^~~~~~ +ipmi_pef.c: In function 'ipmi_pef_print_event_info': +ipmi_pef.c:1255:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 1255 | if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { + | ^~ +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 'ipmi_fru_get_multirec_size_from_file': +ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': +ipmi_fru.c:3863:43: warning: self-comparison always evaluates to false [-Wtautological-compare] + 3863 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && + | ^ +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:3867:42: warning: self-comparison always evaluates to false [-Wtautological-compare] + 3867 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && + | ^ +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_fru.c:3871:40: warning: self-comparison always evaluates to false [-Wtautological-compare] + 3871 | if (((header.offset.board * 8) > (header.offset.board * 8)) && + | ^ +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:3875:42: warning: self-comparison always evaluates to false [-Wtautological-compare] + 3875 | if (((header.offset.product * 8) > (header.offset.product * 8)) && + | ^ +ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': +ipmi_fru.c:4050:43: warning: self-comparison always evaluates to false [-Wtautological-compare] + 4050 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && + | ^ +ipmi_fru.c:4054:42: warning: self-comparison always evaluates to false [-Wtautological-compare] + 4054 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && + | ^ +ipmi_fru.c:4058:40: warning: self-comparison always evaluates to false [-Wtautological-compare] + 4058 | if (((header.offset.board * 8) > (header.offset.board * 8)) && + | ^ +ipmi_fru.c:4062:42: warning: self-comparison always evaluates to false [-Wtautological-compare] + 4062 | if (((header.offset.product * 8) > (header.offset.product * 8)) && + | ^ +ipmi_sel.c: In function 'ipmi_sel_oem_readval': +ipmi_sel.c:88:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] + 88 | if (sscanf(str, "0x%x", &ret) != 1) { + | ~^ ~~~~ + | | | + | | int * + | unsigned int * + | %x +In file included from ../include/ipmitool/ipmi.h:40, + from ipmi_sdr.c:45: +ipmi_sdr.c: In function 'ipmi_sdr_get_info': +../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_sdr.c:4338:16: note: in expansion of macro '__min' + 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), + | ^~~~~ +../include/ipmitool/helper.h:215:42: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] + 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_sdr.c:4338:16: note: in expansion of macro '__min' + 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), + | ^~~~~ ipmi_fru.c: In function 'ipmi_fru_set_field_string': ipmi_fru.c:4824:31: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 4824 | for (i = 0; i < fru_section_len - 1; i++) @@ -1013,21 +1094,6 @@ /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) | ~~~~~~~~~~~~^~~ -In file included from ../include/ipmitool/ipmi.h:40, - from ipmi_sdr.c:45: -ipmi_sdr.c: In function 'ipmi_sdr_get_info': -../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_sdr.c:4338:16: note: in expansion of macro '__min' - 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), - | ^~~~~ -../include/ipmitool/helper.h:215:42: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] - 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_sdr.c:4338:16: note: in expansion of macro '__min' - 4338 | __min(sizeof (struct get_sdr_repository_info_rsp), - | ^~~~~ 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) | ^ @@ -1036,19 +1102,9 @@ | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} -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"); - | ^~~~~~ /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_sensor.c:257:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 257 | printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); - | ^~~~~~ -ipmi_sensor.c:259:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 259 | printf(discrete_fmt, setting); - | ^~~~~~ 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 ++) | ^ @@ -1056,43 +1112,16 @@ ipmi_fru.c:904:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] 904 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_sel.c: In function 'ipmi_sel_oem_readval': -ipmi_sel.c:88:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] - 88 | if (sscanf(str, "0x%x", &ret) != 1) { - | ~^ ~~~~ - | | | - | | int * - | unsigned int * - | %x -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_sensor.c: In function 'print_thresh_setting': +ipmi_sensor.c:253:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 253 | printf(na_fmt, "na"); | ^~~~~~ -ipmi_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_sensor.c:257:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 257 | printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); | ^~~~~~ -ipmi_pef.c:452:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 452 | printf(fmt[1], val); +ipmi_sensor.c:259:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 259 | printf(discrete_fmt, setting); | ^~~~~~ -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_mc.c: In function 'ipmi_sysinfo_main': -ipmi_mc.c:1573:33: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 1573 | strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); - | ^ -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); - | ^ 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] @@ -1125,6 +1154,14 @@ ../include/ipmitool/ipmi_sel_supermicro.h:35:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] 35 | static uint16_t supermicro_x11[] = { | ^~~~~~~~~~~~~~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_channel.lo ipmi_channel.c +ipmi_mc.c: In function 'ipmi_sysinfo_main': +ipmi_mc.c:1573:33: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 1573 | strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); + | ^ +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_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); @@ -1138,7 +1175,18 @@ 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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_event.lo ipmi_event.c +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_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_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", @@ -1167,21 +1215,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_event.lo ipmi_event.c -ipmi_channel.c: In function 'ipmi_get_channel_cipher_suites': -ipmi_channel.c:503:38: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 503 | || rsp->data_len > sizeof(uint8_t) + MAX_CIPHER_SUITE_DATA_LEN) - | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_strings.lo ipmi_strings.c -ipmi_event.c: In function 'ipmi_event_fromsensor': -ipmi_event.c:421:39: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 421 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { - | ^ -ipmi_event.c:428:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 428 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { - | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_raw.lo ipmi_raw.c In file included from ../include/ipmitool/ipmi.h:40, from ipmi_session.c:44: ipmi_session.c: In function 'ipmi_get_session_info': @@ -1233,8 +1270,6 @@ ipmi_session.c:351:44: note: in expansion of macro '__min' 351 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_oem.lo ipmi_oem.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))) @@ -1245,7 +1280,7 @@ ipmi_fru.c:3505:30: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds] 3505 | if( h->type == FRU_RECORD_TYPE_OEM_EXTENSION ){ | ^~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_oem.lo ipmi_oem.c ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ @@ -1287,10 +1322,6 @@ | ^~~~~~~~~~~~~~~~~~~~ In function 'ipmi_fru_oemkontron_edit', inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: -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_fru.c:1787:22: warning: array subscript [1, 858993460] is outside array bounds of 'void[1]' [-Warray-bounds] 1787 | if(oh->record_id == OEM_KONTRON_INFORMATION_RECORD ) { | ~~^~~~~~~~~~~ @@ -1313,7 +1344,6 @@ 1915 | lprintf(LOG_DEBUG,"Initial record checksum : %x",h->record_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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_sunoem.lo ipmi_sunoem.c ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ @@ -1346,7 +1376,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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_fwum.lo ipmi_fwum.c ipmi_fru.c:1932:73: warning: array subscript 'struct fru_multirec_header[0]' is partly outside array bounds of 'unsigned char[1]' [-Warray-bounds] 1932 | lprintf(LOG_DEBUG,"Final header checksum : %x",h->header_checksum); | ~^~~~~~~~~~~~~~~~~ @@ -1544,17 +1573,23 @@ 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_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_user.c: In function '_ipmi_set_user_password': +ipmi_user.c:208:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 208 | if (copy_len > (data_len - 2)) { + | ^ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_sunoem.lo ipmi_sunoem.c 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); | ^~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_picmg.lo ipmi_picmg.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)) + | ^ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_fwum.lo ipmi_fwum.c 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)); @@ -1564,25 +1599,7 @@ ipmi_user.c:374:9: note: length computed here 374 | strncpy((char *)(msg_data + 1), name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_main.lo ipmi_main.c -ipmi_isol.c: In function 'ipmi_isol_red_pill': -ipmi_isol.c:617:77: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] - 617 | int rc = processiSolUserInput(intf, buffer, numRead); - | ^~~~~~ - | | - | char * -ipmi_isol.c:457:31: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 457 | uint8_t * input, - | ~~~~~~~~~~^~~~~ -ipmi_fru.c: In function 'ipmi_fru_print_all': -ipmi_fru.c:3132:13: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] - 3132 | int rc; - | ^~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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); @@ -1596,6 +1613,21 @@ /usr/include/aarch64-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_fru.c: In function 'ipmi_fru_print_all': +ipmi_fru.c:3132:13: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] + 3132 | int rc; + | ^~ +ipmi_isol.c: In function 'ipmi_isol_red_pill': +ipmi_isol.c:617:77: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] + 617 | int rc = processiSolUserInput(intf, buffer, numRead); + | ^~~~~~ + | | + | char * +ipmi_isol.c:457:31: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 457 | uint8_t * input, + | ~~~~~~~~~~^~~~~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_tsol.lo ipmi_tsol.c 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) { @@ -1605,9 +1637,36 @@ ipmi_picmg.c:422:44: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' 422 | is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) | ~~~~~~~~^~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c +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/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_kontronoem.lo ipmi_kontronoem.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); + | ^ 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) { @@ -1633,32 +1692,11 @@ | | | | int * unsigned int * | %d -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); - | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_ime.lo ipmi_ime.c 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) { @@ -1667,27 +1705,20 @@ ipmi_hpmfwupg.c:2353:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2353 | for (dataIdx = 0; dataIdx < length; dataIdx++) { | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_gendev.lo ipmi_gendev.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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_ime.lo ipmi_ime.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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_delloem.lo ipmi_delloem.c 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++ ) { | ^ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_delloem.lo ipmi_delloem.c ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_dcmi.lo ipmi_dcmi.c 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++) { | ^ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_dcmi.lo ipmi_dcmi.c 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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o hpm2.lo hpm2.c 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) @@ -1696,7 +1727,11 @@ 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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_vita.lo ipmi_vita.c +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/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o hpm2.lo hpm2.c 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); @@ -1784,24 +1819,10 @@ | | 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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_lanp6.lo ipmi_lanp6.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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_cfgp.lo ipmi_cfgp.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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_quantaoem.lo ipmi_quantaoem.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: -ipmi_ekanalyzer.c:1607:28: warning: 'pcarrier_p2p' may be used uninitialized [-Wmaybe-uninitialized] - 1607 | result = ipmi_ek_check_physical_connectivity ( record1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1608 | index_ch_desc1, record2, index_ch_desc2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1609 | physic_record, file_type1, file_type2, opt ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': -ipmi_ekanalyzer.c:1141:43: note: 'pcarrier_p2p' was declared here - 1141 | struct ipmi_ek_multi_header * pcarrier_p2p; - | ^~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_time.lo ipmi_time.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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_quantaoem.lo ipmi_quantaoem.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) { @@ -1823,7 +1844,22 @@ 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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 +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:1607:28: warning: 'pcarrier_p2p' may be used uninitialized [-Wmaybe-uninitialized] + 1607 | result = ipmi_ek_check_physical_connectivity ( record1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1608 | index_ch_desc1, record2, index_ch_desc2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1609 | physic_record, file_type1, file_type2, opt ); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': +ipmi_ekanalyzer.c:1141:43: note: 'pcarrier_p2p' was declared here + 1141 | struct ipmi_ek_multi_header * pcarrier_p2p; + | ^~~~~~~~~~~~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o ipmi_time.lo ipmi_time.c +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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' @@ -1831,9 +1867,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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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); @@ -1915,15 +1951,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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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) @@ -1931,11 +1967,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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 [-Wpedantic] 173 | struct ipmi_recv recv = {}; @@ -1955,34 +1991,23 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o imb.lo imb.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o imb.lo imb.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o free.lo free.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o free.lo free.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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) { - | ^ +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o serial_basic.lo serial_basic.c serial_basic.c:91:29: warning: invalid use of structure with flexible array member [-Wpedantic] 91 | struct ipmb_msg_hdr msg; | ^~~ @@ -2000,10 +2025,21 @@ serial_basic.c:584:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 584 | if (rv < recv_ctx->buffer_size) { | ^ +serial_terminal.c:89:29: warning: invalid use of structure with flexible array member [-Wpedantic] + 89 | struct ipmb_msg_hdr msg; + | ^~~ serial_basic.c: In function 'serial_bm_build_msg': serial_basic.c:618:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 618 | if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { | ^ +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: @@ -2028,16 +2064,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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o dummy.lo dummy.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -c -o dummy.lo dummy.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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; @@ -2051,11 +2087,11 @@ 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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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' @@ -2084,8 +2120,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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/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 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -Wl,-z,relro -Wl,-z,now -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/6.1.0-25-cloud-arm64/build/include -Wl,-z,relro -Wl,-z,now -o ipmievd ipmievd.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 @@ -2274,9 +2310,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' /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' /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' @@ -2371,12 +2407,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/327435/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/327435/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/142240 and its subdirectories -I: Current time: Sat Aug 31 02:39:15 -12 2024 -I: pbuilder-time-stamp: 1725115155 +I: removing directory /srv/workspace/pbuilder/327435 and its subdirectories +I: Current time: Sun Sep 1 04:40:35 +14 2024 +I: pbuilder-time-stamp: 1725115235