Diff of the two buildlogs: -- --- b1/build.log 2023-05-01 01:04:27.517266410 +0000 +++ b2/build.log 2023-05-01 01:05:42.701960908 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 30 12:59:34 -12 2023 -I: pbuilder-time-stamp: 1682902774 +I: Current time: Sun Jun 2 21:27:30 +14 2024 +I: pbuilder-time-stamp: 1717313250 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.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Dec 30 16:19:23 2022 -12 +gpgv: Signature made Sat Dec 31 18:19:23 2022 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ipmitool_1.8.19-4.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/2140718/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3666830/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 2 21:27 /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/3666830/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3666830/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='1bcff85f6dd346cb9076883569527433' - 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='2140718' - PS1='# ' - PS2='> ' + INVOCATION_ID=0ac23bae03304410bce998c56d9021be + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3666830 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.sw5Tmktr/pbuilderrc_nmpo --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.sw5Tmktr/b1 --logfile b1/build.log ipmitool_1.8.19-4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.sw5Tmktr/pbuilderrc_ZhpQ --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.sw5Tmktr/b2 --logfile b2/build.log --extrapackages usrmerge ipmitool_1.8.19-4.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 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 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 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/2140718/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 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 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 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 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 2 21:27 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 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/3666830/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 amd64 libreadline8 amd64 8.2-1.3 [166 kB] Get: 38 http://deb.debian.org/debian bookworm/main amd64 libreadline-dev amd64 8.2-1.3 [151 kB] Get: 39 http://deb.debian.org/debian bookworm/main amd64 libssl-dev amd64 3.0.8-1 [2427 kB] -Fetched 23.7 MB in 1s (32.6 MB/s) +Fetched 23.7 MB in 0s (64.1 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 ... 19596 files and directories currently installed.) @@ -414,8 +446,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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_source.changes +I: user script /srv/workspace/pbuilder/3666830/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/3666830/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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_source.changes dpkg-buildpackage: info: source package ipmitool dpkg-buildpackage: info: source version 1.8.19-4 dpkg-buildpackage: info: source distribution unstable @@ -589,7 +632,7 @@ checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -623,8 +666,8 @@ checking for unistd.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes @@ -657,7 +700,7 @@ checking for getpassphrase... no checking how to print strings... printf checking for a sed that does not truncate output... sed -checking for fgrep... /bin/grep -F +checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B @@ -677,8 +720,8 @@ checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no -checking for a working dd... /bin/dd -checking how to truncate binary pipes... /bin/dd bs=4096 count=1 +checking for a working dd... /usr/bin/dd +checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes @@ -777,39 +820,62 @@ make[1]: Leaving directory '/build/ipmitool-1.8.19' dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/ipmitool-1.8.19' make all-recursive make[2]: Entering directory '/build/ipmitool-1.8.19' Making all in lib make[3]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o helper.lo helper.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_sdr.lo ipmi_sdr.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_sel.lo ipmi_sel.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_sol.lo ipmi_sol.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_pef.lo ipmi_pef.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_lanp.lo ipmi_lanp.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_fru.lo ipmi_fru.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_chassis.lo ipmi_chassis.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_mc.lo ipmi_mc.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o log.lo log.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o dimm_spd.lo dimm_spd.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_sensor.lo ipmi_sensor.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_channel.lo ipmi_channel.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_event.lo ipmi_event.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_session.lo ipmi_session.c -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 +/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/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-0.deb11.6-amd64/build/include -c -o helper.lo helper.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_sdr.lo ipmi_sdr.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_sel.lo ipmi_sel.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_sol.lo ipmi_sol.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_pef.lo ipmi_pef.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_lanp.lo ipmi_lanp.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_fru.lo ipmi_fru.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_chassis.lo ipmi_chassis.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_mc.lo ipmi_mc.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o log.lo log.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o dimm_spd.lo dimm_spd.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_sensor.lo ipmi_sensor.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_channel.lo ipmi_channel.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_event.lo ipmi_event.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_session.lo ipmi_session.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_strings.lo ipmi_strings.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_fru.c: In function 'read_fru_area': +ipmi_fru.c:766:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 766 | || tmp > rsp->data_len - 1 + | ^ +ipmi_fru.c: In function 'read_fru_area_section': +ipmi_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_fru.c:878:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 878 | || tmp > rsp->data_len - 1 + | ^ +ipmi_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: In function 'fru_area_print_chassis': +ipmi_fru.c:1045:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1045 | if (i == j) { + | ^~ +ipmi_fru.c: In function 'fru_area_print_board': +ipmi_fru.c:1157:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1157 | if (i == j) + | ^~ +ipmi_fru.c: In function 'fru_area_print_product': +ipmi_fru.c:1279:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1279 | if (i == j) + | ^~ ipmi_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); @@ -828,13 +894,40 @@ ipmi_pef.c:452:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 452 | printf(fmt[1], val); | ^~~~~~ -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: In function 'ipmi_fru_query_new_value': +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_fru.c:1511:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 1511 | for( i=0;i= PEF_B2S_GENERIC_ER_ENTRIES) { | ^~ +ipmi_fru.c: In function 'ipmi_fru_picmg_ext_print': +ipmi_fru.c:2310:45: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 2310 | for (j=0; j < sizeof(struct fru_picmgext_guid); + | ^ +In file included from ../include/ipmitool/ipmi.h:40, + from ipmi_lanp.c:48: +ipmi_lanp.c: In function 'ipmi_lan_alert_set': ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ @@ -847,6 +940,16 @@ ipmi_lanp.c:1888:39: note: in expansion of macro '__min' 1888 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ +ipmi_event.c: In function 'ipmi_event_fromsensor': +ipmi_event.c:421:39: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 421 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { + | ^ +ipmi_event.c:428:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 428 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { + | ^ +ipmi_fru.c: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); + | ^ ../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)) | ^ @@ -889,22 +992,38 @@ 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: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 ../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: 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:1996:39: note: in expansion of macro '__min' 1996 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ -In file included from ../include/ipmitool/ipmi.h:40, - from ipmi_session.c:44: -ipmi_session.c: In function 'ipmi_get_session_info': +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 ../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)) | ^~~ @@ -917,18 +1036,42 @@ 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: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 ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_lanp.c:2012:39: note: in expansion of macro '__min' 2012 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); | ^~~~~ -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: In function 'ipmi_fru_get_multirec_size_from_file': +ipmi_fru.c:3863:43: warning: self-comparison always evaluates to false [-Wtautological-compare] + 3863 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && + | ^ +ipmi_fru.c:3867:42: warning: self-comparison always evaluates to false [-Wtautological-compare] + 3867 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && + | ^ +ipmi_fru.c:3871:40: warning: self-comparison always evaluates to false [-Wtautological-compare] + 3871 | if (((header.offset.board * 8) > (header.offset.board * 8)) && + | ^ +ipmi_fru.c:3875:42: warning: self-comparison always evaluates to false [-Wtautological-compare] + 3875 | if (((header.offset.product * 8) > (header.offset.product * 8)) && + | ^ +ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': +ipmi_fru.c:4050:43: warning: self-comparison always evaluates to false [-Wtautological-compare] + 4050 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && + | ^ +In file included from ../include/ipmitool/ipmi.h:40, + from ipmi_session.c:44: +ipmi_session.c: In function 'ipmi_get_session_info': ../include/ipmitool/helper.h:215:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^ @@ -947,9 +1090,6 @@ ipmi_session.c:317:44: note: in expansion of macro '__min' 317 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ -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; - | ^ ../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)) | ^~~ @@ -962,15 +1102,15 @@ ipmi_session.c:349:32: note: in expansion of macro '__min' 349 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ +ipmi_fru.c:4054:42: warning: self-comparison always evaluates to false [-Wtautological-compare] + 4054 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && + | ^ ../include/ipmitool/helper.h:215:36: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 215 | # define __min(a, b) ((a) < (b) ? (a) : (b)) | ^~~ ipmi_session.c:349:32: note: in expansion of macro '__min' 349 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ -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: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)) | ^ @@ -983,74 +1123,20 @@ ipmi_session.c:351:44: note: in expansion of macro '__min' 351 | __min(rsp->data_len, sizeof(session_info))); | ^~~~~ -ipmi_fru.c: In function 'read_fru_area': -ipmi_fru.c:766:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 766 | || tmp > rsp->data_len - 1 - | ^ -ipmi_fru.c: In function 'read_fru_area_section': -ipmi_fru.c:878:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 878 | || tmp > rsp->data_len - 1 - | ^ -ipmi_fru.c: In function 'fru_area_print_chassis': -ipmi_fru.c:1045:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1045 | if (i == j) { - | ^~ +ipmi_fru.c: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)) && + | ^ 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 'fru_area_print_board': -ipmi_fru.c:1157:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1157 | if (i == j) - | ^~ -ipmi_fru.c: In function 'fru_area_print_product': -ipmi_fru.c:1279:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1279 | if (i == j) - | ^~ -ipmi_fru.c: In function 'ipmi_fru_query_new_value': -ipmi_fru.c:1511:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 1511 | for( i=0;iid_string; + | ^ 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] @@ -1083,76 +1169,34 @@ ../include/ipmitool/ipmi_sel_supermicro.h:35:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] 35 | static uint16_t supermicro_x11[] = { | ^~~~~~~~~~~~~~ -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_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_fru.c: In function 'ipmi_fru_get_multirec_size_from_file': -ipmi_fru.c:3863:43: warning: self-comparison always evaluates to false [-Wtautological-compare] - 3863 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && - | ^ -ipmi_fru.c:3867:42: warning: self-comparison always evaluates to false [-Wtautological-compare] - 3867 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && - | ^ -ipmi_fru.c:3871:40: warning: self-comparison always evaluates to false [-Wtautological-compare] - 3871 | if (((header.offset.board * 8) > (header.offset.board * 8)) && - | ^ -ipmi_fru.c:3875:42: warning: self-comparison always evaluates to false [-Wtautological-compare] - 3875 | if (((header.offset.product * 8) > (header.offset.product * 8)) && - | ^ -ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': -ipmi_fru.c:4050:43: warning: self-comparison always evaluates to false [-Wtautological-compare] - 4050 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && - | ^ -ipmi_fru.c:4054:42: warning: self-comparison always evaluates to false [-Wtautological-compare] - 4054 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && - | ^ -ipmi_fru.c:4058:40: warning: self-comparison always evaluates to false [-Wtautological-compare] - 4058 | if (((header.offset.board * 8) > (header.offset.board * 8)) && - | ^ -ipmi_fru.c:4062:42: warning: self-comparison always evaluates to false [-Wtautological-compare] - 4062 | if (((header.offset.product * 8) > (header.offset.product * 8)) && - | ^ +ipmi_sdr.c:2652:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2652 | id_string = record.compact->id_string; + | ^ +ipmi_sdr.c:2658:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2658 | id_string = record.eventonly->id_string; + | ^ +ipmi_sdr.c:2664:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2664 | id_string = record.mcloc->id_string; + | ^ ipmi_fru.c: In function 'ipmi_fru_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++) | ^ +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_rebuild': ipmi_fru.c:4997:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4997 | num_byte_change = strlen(f_string) - strlen(fru_area); @@ -1179,7 +1223,6 @@ ipmi_fru.c:5168:42: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 5168 | for(counter = 0; counter < padding_len; counter ++) | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_strings.lo ipmi_strings.c ipmi_fru.c: At top level: ipmi_fru.c:904:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] 904 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, @@ -1191,6 +1234,7 @@ 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); | ^ +/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/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-0.deb11.6-amd64/build/include -c -o ipmi_user.lo ipmi_user.c 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); @@ -1204,21 +1248,42 @@ 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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_user.lo ipmi_user.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_raw.lo ipmi_raw.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_oem.lo ipmi_oem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_raw.lo ipmi_raw.c ipmi_user.c: In function '_ipmi_set_user_password': ipmi_user.c:208:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 208 | if (copy_len > (data_len - 2)) { | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_isol.lo ipmi_isol.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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_sunoem.lo ipmi_sunoem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_oem.lo ipmi_oem.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); | ^~~~~~~~~~~~~~~~ +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/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-0.deb11.6-amd64/build/include -c -o ipmi_isol.lo ipmi_isol.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_sunoem.lo ipmi_sunoem.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)); + | ^ +In function 'ipmi_user_set_username', + inlined from 'ipmi_user_name' at ipmi_user.c:726:9: +ipmi_user.c:374:9: note: length computed here + 374 | strncpy((char *)(msg_data + 1), name, strlen(name)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_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_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", @@ -1247,29 +1312,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -ipmi_raw.c: In function 'ipmi_raw_main': -ipmi_raw.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 337 | else if (argc > sizeof(data)) - | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/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)); - | ^ -In function 'ipmi_user_set_username', - inlined from 'ipmi_user_name' at ipmi_user.c:726:9: -ipmi_user.c:374:9: note: length computed here - 374 | strncpy((char *)(msg_data + 1), name, strlen(name)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_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/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-0.deb11.6-amd64/build/include -c -o ipmi_fwum.lo ipmi_fwum.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_picmg.lo ipmi_picmg.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_main.lo ipmi_main.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); @@ -1283,13 +1328,11 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_picmg.lo ipmi_picmg.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_tsol.lo ipmi_tsol.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/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_main.lo ipmi_main.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/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) { @@ -1299,8 +1342,7 @@ 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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_firewall.lo ipmi_firewall.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_kontronoem.lo ipmi_kontronoem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_firewall.lo ipmi_firewall.c ipmi_tsol.c: In function 'ipmi_tsol_command': ipmi_tsol.c:87:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] 87 | if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { @@ -1326,32 +1368,10 @@ | | | | int * unsigned int * | %d -/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_sdradd.lo ipmi_sdradd.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); - | ^ +/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/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-0.deb11.6-amd64/build/include -c -o ipmi_kontronoem.lo ipmi_kontronoem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_sdradd.lo ipmi_sdradd.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.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))) @@ -1362,10 +1382,10 @@ 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/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/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-0.deb11.6-amd64/build/include -c -o ipmi_gendev.lo ipmi_gendev.c ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c ipmi_fru.c:3509:51: warning: array subscript [1, 858993460] is outside array bounds of 'void[1]' [-Warray-bounds] 3509 | uint32_t iana = oh->mfg_id[0] | oh->mfg_id[1]<<8 | oh->mfg_id[2]<<16; | ^~ @@ -1643,15 +1663,46 @@ ipmi_fru.c:3483:28: note: object of size 1 allocated by 'malloc' 3483 | fru_data = malloc(fru.size + 1); | ^~~~~~~~~~~~~~~~~~~~ +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_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': +ipmi_ekanalyzer.c:487:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 487 | for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { + | ^ +ipmi_sunoem.c: In function 'ipmi_sunoem_main': +ipmi_sunoem.c:1811:9: warning: '__builtin_strncpy' specified bound 79 equals destination size [-Wstringop-truncation] + 1811 | strncpy((char*) getval_req.luapi_value, argv[0], MAX_SUNOEM_VAL_PAYLOAD); + | ^ +ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': ipmi_hpmfwupg.c:1430:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1430 | if (ret != pFwupgCtx->imageSize) { | ^~ +ipmi_ekanalyzer.c:3435:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 3435 | for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { + | ^ ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': ipmi_hpmfwupg.c:2353:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2353 | for (dataIdx = 0; dataIdx < length; dataIdx++) { | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_gendev.lo ipmi_gendev.c In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit' at ipmi_fru.c:1857:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3551:11: @@ -1664,40 +1715,30 @@ 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_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': -ipmi_ekanalyzer.c:487:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 487 | for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { - | ^ -ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': -ipmi_ekanalyzer.c:3435:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 3435 | for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { - | ^ +/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/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-0.deb11.6-amd64/build/include -c -o ipmi_ime.lo ipmi_ime.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_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_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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_delloem.lo ipmi_delloem.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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_dcmi.lo ipmi_dcmi.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) | ^ ipmi_ime.c: At top level: -/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o hpm2.lo hpm2.c 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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_vita.lo ipmi_vita.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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_lanp6.lo ipmi_lanp6.c +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/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/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-0.deb11.6-amd64/build/include -c -o ipmi_delloem.lo ipmi_delloem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmi_dcmi.lo ipmi_dcmi.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o hpm2.lo hpm2.c ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': ipmi_delloem.c:1582:17: warning: unused variable 'j' [-Wunused-variable] 1582 | uint8_t j; @@ -1723,6 +1764,7 @@ ipmi_delloem.c:199:26: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 199 | uint8_t *nic_selection); | ~~~~~~~~~^~~~~~~~~~~~~ +/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/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-0.deb11.6-amd64/build/include -c -o ipmi_vita.lo ipmi_vita.c ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': ipmi_delloem.c:3312:24: warning: too many arguments for format [-Wformat-extra-args] 3312 | printf("Peak power consmhistory Data : " @@ -1746,6 +1788,7 @@ | | int * | unsigned int * | %x +/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/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-0.deb11.6-amd64/build/include -c -o ipmi_lanp6.lo ipmi_lanp6.c ipmi_delloem.c:4161:58: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] 4161 | } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { | ~^ ~~ @@ -1774,6 +1817,21 @@ | | int * | unsigned int * | %x +/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/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-0.deb11.6-amd64/build/include -c -o ipmi_cfgp.lo ipmi_cfgp.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; + | ^~~~~~~~~~~~ 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); @@ -1781,10 +1839,6 @@ ipmi_dcmi.c:1974:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1974 | val.sample = *(uint16_t*)(&lvalue); | ^~~~~~~~~~~~~~~~~~~~ -ipmi_dcmi.c: In function 'ipmi_nm_thresh': -ipmi_dcmi.c:3260:49: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] - 3260 | if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) { - | ^~~~~~~~~~~~~~~~~~~~~~~ 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) { @@ -1806,24 +1860,13 @@ ipmi_lanp6.c:655:9: note: here 655 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: | ^~~~ -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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_quantaoem.lo ipmi_quantaoem.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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmi_time.lo ipmi_time.c -/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ipmi_lanp6.lo ipmi_cfgp.lo ipmi_quantaoem.lo ipmi_time.lo -lm -lreadline -lcrypto +ipmi_dcmi.c: In function 'ipmi_nm_thresh': +ipmi_dcmi.c:3260:49: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] + 3260 | if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) { + | ^~~~~~~~~~~~~~~~~~~~~~~ +/bin/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/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-0.deb11.6-amd64/build/include -c -o ipmi_quantaoem.lo ipmi_quantaoem.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/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/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-0.deb11.6-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ipmi_lanp6.lo ipmi_cfgp.lo ipmi_quantaoem.lo ipmi_time.lo -lm -lreadline -lcrypto make[3]: Leaving directory '/build/ipmitool-1.8.19/lib' Making all in src make[3]: Entering directory '/build/ipmitool-1.8.19/src' @@ -1831,9 +1874,9 @@ make[4]: Entering directory '/build/ipmitool-1.8.19/src/plugins' Making all in lan make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o lan.lo lan.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o auth.lo auth.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o md5.lo md5.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o lan.lo lan.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o auth.lo auth.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o md5.lo md5.c auth.c: In function 'ipmi_auth_md5': auth.c:80:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 80 | MD5_Init(&ctx); @@ -1915,15 +1958,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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins/lan' Making all in lanplus make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o lanplus.lo lanplus.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o lanplus_strings.lo lanplus_strings.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o lanplus_crypt.lo lanplus_crypt.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o lanplus_dump.lo lanplus_dump.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o lanplus.lo lanplus.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o lanplus_strings.lo lanplus_strings.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o lanplus_crypt.lo lanplus_crypt.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o lanplus_dump.lo lanplus_dump.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c lanplus.c: In function 'ipmi_lanplus_open': lanplus.c:3493:13: warning: '*(long unsigned int *)((char *)&auth_cap + offsetof(struct get_channel_auth_cap_rsp, channel_number))' may be used uninitialized [-Wmaybe-uninitialized] 3493 | !auth_cap.v20_data_available) @@ -1931,11 +1974,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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins/lanplus' Making all in open make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o open.lo open.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o open.lo open.c open.c: In function 'ipmi_openipmi_send_cmd': open.c:173:33: warning: ISO C forbids empty initializer braces [-Wpedantic] 173 | struct ipmi_recv recv = {}; @@ -1955,23 +1998,30 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins/open' Making all in imb make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o imbapi.lo imbapi.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o imb.lo imb.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o imbapi.lo imbapi.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o imb.lo imb.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins/imb' Making all in free make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o free.lo free.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -lfreeipmi -Wl,-z,relro -Wl,-z,now -o libintf_free.la free.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o free.lo free.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -lfreeipmi -Wl,-z,relro -Wl,-z,now -o libintf_free.la free.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins/free' Making all in serial make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o serial_terminal.lo serial_terminal.c -/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o serial_basic.lo serial_basic.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o serial_terminal.lo serial_terminal.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o serial_basic.lo serial_basic.c +serial_terminal.c:89:29: warning: invalid use of structure with flexible array member [-Wpedantic] + 89 | struct ipmb_msg_hdr msg; + | ^~~ +serial_terminal.c: In function 'ipmi_serial_term_open': +serial_terminal.c:192:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 192 | if (rates[i].baudrate == rate) { + | ^~ serial_basic.c:91:29: warning: invalid use of structure with flexible array member [-Wpedantic] 91 | struct ipmb_msg_hdr msg; | ^~~ @@ -1985,6 +2035,10 @@ serial_basic.c:249:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 249 | if (i >= ARRAY_SIZE(rates)) { | ^~ +serial_terminal.c: In function 'serial_term_build_msg': +serial_terminal.c:479:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 479 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { + | ^ serial_basic.c: In function 'serial_bm_recv_msg': serial_basic.c:584:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 584 | if (rv < recv_ctx->buffer_size) { @@ -1993,17 +2047,6 @@ serial_basic.c:618:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 618 | if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { | ^ -serial_terminal.c:89:29: warning: invalid use of structure with flexible array member [-Wpedantic] - 89 | struct ipmb_msg_hdr msg; - | ^~~ -serial_terminal.c: In function 'ipmi_serial_term_open': -serial_terminal.c:192:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 192 | if (rates[i].baudrate == rate) { - | ^~ -serial_terminal.c: In function 'serial_term_build_msg': -serial_terminal.c:479:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 479 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { - | ^ In function 'serial_bm_parse_buffer', inlined from 'serial_bm_recv_msg' at serial_basic.c:581:8, inlined from 'serial_bm_wait_response.constprop' at serial_basic.c:747:20: @@ -2028,16 +2071,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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins/serial' Making all in dummy make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o dummy.lo dummy.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_dummy.la dummy.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o dummy.lo dummy.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_dummy.la dummy.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins/dummy' Making all in usb make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o usb.lo usb.c +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o usb.lo usb.c usb.c: In function 'ipmi_usb_send_cmd': usb.c:577:16: warning: array subscript 'IPMIUSBRequest_T[0]' is partly outside array bounds of 'char[65536]' [-Warray-bounds] 577 | pReqPkt->byNetFnLUN += req->msg.lun; @@ -2051,18 +2094,18 @@ usb.c:572:14: note: object 'ReqBuff' of size 65536 572 | char ReqBuff[MAX_REQUEST_SIZE] = {0}; | ^~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins/usb' make[5]: Entering directory '/build/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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o libintf_la-ipmi_intf.lo `test -f 'ipmi_intf.c' || echo './'`ipmi_intf.c -/bin/bash ../../libtool --silent --tag=CC --mode=link gcc -DDEFAULT_INTF='"open"' -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o libintf.la libintf_la-ipmi_intf.lo lan/libintf_lan.la usb/libintf_usb.la lanplus/libintf_lanplus.la serial/libintf_serial.la free/libintf_free.la open/libintf_open.la imb/libintf_imb.la dummy/libintf_dummy.la -lreadline -lcrypto +/bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DDEFAULT_INTF='"open"' -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o libintf_la-ipmi_intf.lo `test -f 'ipmi_intf.c' || echo './'`ipmi_intf.c +/bin/sh ../../libtool --silent --tag=CC --mode=link gcc -DDEFAULT_INTF='"open"' -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o libintf.la libintf_la-ipmi_intf.lo lan/libintf_lan.la usb/libintf_usb.la lanplus/libintf_lanplus.la serial/libintf_serial.la free/libintf_free.la open/libintf_open.la imb/libintf_imb.la dummy/libintf_dummy.la -lreadline -lcrypto copying selected object files to avoid basename conflicts... make[5]: Leaving directory '/build/ipmitool-1.8.19/src/plugins' make[4]: Leaving directory '/build/ipmitool-1.8.19/src/plugins' make[4]: Entering directory '/build/ipmitool-1.8.19/src' -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmitool.o ipmitool.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmishell.o ipmishell.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -c -o ipmievd.o ipmievd.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmitool.o ipmitool.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmishell.o ipmishell.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/build/include -c -o ipmievd.o ipmievd.c ipmishell.c: In function 'ipmi_shell_main': ipmishell.c:99:49: warning: unused parameter 'argc' [-Wunused-parameter] 99 | int ipmi_shell_main(struct ipmi_intf *intf, int argc, char **argv) @@ -2084,8 +2127,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/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto -/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.19=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/5.10.0-21-amd64/build/include -Wl,-z,relro -Wl,-z,now -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lcrypto +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/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-0.deb11.6-amd64/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/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-0.deb11.6-amd64/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/ipmitool-1.8.19/src' make[3]: Leaving directory '/build/ipmitool-1.8.19/src' Making all in include @@ -2115,7 +2158,7 @@ make[2]: Leaving directory '/build/ipmitool-1.8.19' make[1]: Leaving directory '/build/ipmitool-1.8.19' dh_auto_test - make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 + make -j16 check "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 make[1]: Entering directory '/build/ipmitool-1.8.19' Making check in lib make[2]: Entering directory '/build/ipmitool-1.8.19/lib' @@ -2273,10 +2316,10 @@ make[4]: Leaving directory '/build/ipmitool-1.8.19/src/plugins' make[4]: Entering directory '/build/ipmitool-1.8.19/src' make[5]: Entering directory '/build/ipmitool-1.8.19/src' - /bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/bin' - /bin/bash ../libtool --silent --mode=install /usr/bin/install -c ipmitool '/build/ipmitool-1.8.19/debian/ipmitool/usr/bin' - /bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/sbin' - /bin/bash ../libtool --silent --mode=install /usr/bin/install -c ipmievd '/build/ipmitool-1.8.19/debian/ipmitool/usr/sbin' + /usr/bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/bin' + /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmitool '/build/ipmitool-1.8.19/debian/ipmitool/usr/bin' + /usr/bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/sbin' + /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmievd '/build/ipmitool-1.8.19/debian/ipmitool/usr/sbin' make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/ipmitool-1.8.19/src' make[4]: Leaving directory '/build/ipmitool-1.8.19/src' @@ -2301,9 +2344,9 @@ make[3]: Entering directory '/build/ipmitool-1.8.19/doc' make[4]: Entering directory '/build/ipmitool-1.8.19/doc' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/man/man1' + /usr/bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/man/man1' /usr/bin/install -c -m 644 ipmitool.1 '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/man/man1' - /bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/man/man8' + /usr/bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/man/man8' /usr/bin/install -c -m 644 ipmievd.8 '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/man/man8' make[4]: Leaving directory '/build/ipmitool-1.8.19/doc' make[3]: Leaving directory '/build/ipmitool-1.8.19/doc' @@ -2311,7 +2354,7 @@ make[3]: Entering directory '/build/ipmitool-1.8.19/contrib' make[4]: Entering directory '/build/ipmitool-1.8.19/contrib' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/ipmitool' + /usr/bin/mkdir -p '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/ipmitool' /usr/bin/install -c -m 644 oem_ibm_sel_map '/build/ipmitool-1.8.19/debian/ipmitool/usr/share/ipmitool' make[4]: Leaving directory '/build/ipmitool-1.8.19/contrib' make[3]: Leaving directory '/build/ipmitool-1.8.19/contrib' @@ -2370,12 +2413,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/3666830/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3666830/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/2140718 and its subdirectories -I: Current time: Sun Apr 30 13:04:26 -12 2023 -I: pbuilder-time-stamp: 1682903066 +I: removing directory /srv/workspace/pbuilder/3666830 and its subdirectories +I: Current time: Sun Jun 2 21:28:43 +14 2024 +I: pbuilder-time-stamp: 1717313323