Diff of the two buildlogs: -- --- b1/build.log 2021-06-01 01:47:28.317818420 +0000 +++ b2/build.log 2021-06-01 01:48:15.407985769 +0000 @@ -1,8 +1,6 @@ -unshare: unshare failed: Cannot allocate memory -W: pbuilder: unshare CLONE_NEWNET not available -I: pbuilder: network access is available during build! -I: Current time: Mon May 31 13:41:44 -12 2021 -I: pbuilder-time-stamp: 1622511704 +I: pbuilder: network access will be disabled during build +I: Current time: Mon Jul 4 22:10:29 +14 2022 +I: pbuilder-time-stamp: 1656922229 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -19,8 +17,8 @@ I: copying [./ipmitool_1.8.18-10.1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.n0n6dRjJ/trustedkeys.kbx': General error -gpgv: Signature made Thu Feb 18 22:08:08 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.DHVVqUuB/trustedkeys.kbx': General error +gpgv: Signature made Sat Feb 20 00:08:08 2021 +14 gpgv: using RSA key A0B1A9F3508956130E7A425CD416AD15AC6B43FE gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ipmitool_1.8.18-10.1.dsc @@ -47,137 +45,171 @@ dpkg-source: info: applying CVE-2020-5208_6-fru-sdr-Fix-id_string-buffer-overflows.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/12137/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/31501/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/31501/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/31501/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='8c4dd62789cb457da24b99f13e1ee5f8' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='12137' - PS1='# ' - PS2='> ' + INVOCATION_ID=6f975784d17849329c67acfb3cd7f52b + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=31501 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/tmp.YQc69JBeXE/pbuilderrc_ueqm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.YQc69JBeXE/b1 --logfile b1/build.log ipmitool_1.8.18-10.1.dsc' - SUDO_GID='112' - SUDO_UID='107' - 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/tmp.YQc69JBeXE/pbuilderrc_O9CV --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.YQc69JBeXE/b2 --logfile b2/build.log --extrapackages usrmerge ipmitool_1.8.18-10.1.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos12-i386 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux I: ls -l /bin - total 5820 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 01:23 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 May 27 21:26 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/12137/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 4 22:10 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 29 04:13 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/31501/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -261,7 +293,7 @@ Get: 38 http://deb.debian.org/debian bullseye/main i386 libncurses-dev i386 6.2+20201114-2 [373 kB] Get: 39 http://deb.debian.org/debian bullseye/main i386 libreadline-dev i386 8.1-1 [161 kB] Get: 40 http://deb.debian.org/debian bullseye/main i386 libssl-dev i386 1.1.1k-1 [1841 kB] -Fetched 23.8 MB in 7s (3546 kB/s) +Fetched 23.8 MB in 0s (90.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19674 files and directories currently installed.) @@ -436,8 +468,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (4085 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 22134 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/ipmitool-1.8.18/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ipmitool-1.8.18/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ipmitool dpkg-buildpackage: info: source version 1.8.18-10.1 dpkg-buildpackage: info: source distribution unstable @@ -472,7 +540,7 @@ checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -494,8 +562,8 @@ checking for rpmbuild... rpm checking for sed... sed checking how to run the C preprocessor... gcc -E -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 ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -560,7 +628,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 @@ -579,8 +647,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 @@ -684,30 +752,44 @@ make[1]: Leaving directory '/build/ipmitool-1.8.18' dh_auto_build - make -j10 + make -j18 make[1]: Entering directory '/build/ipmitool-1.8.18' make all-recursive make[2]: Entering directory '/build/ipmitool-1.8.18' Making all in lib make[3]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o log.lo log.c -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from helper.c:39: +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_strings.lo ipmi_strings.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_user.lo ipmi_user.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_raw.lo ipmi_raw.c +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from ipmi_sdr.c:37: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from ipmi_sel.c:34: + from /usr/include/stdlib.h:25, + from ipmi_sol.c:38: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from helper.c:39: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -718,22 +800,153 @@ | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, - from ipmi_sol.c:38: + from ipmi_chassis.c:35: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, - from ipmi_chassis.c:35: + from ipmi_event.c:34: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, - from ipmi_sdr.c:37: + from ipmi_sel.c:34: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +ipmi_mc.c: In function 'ipmi_sysinfo_main': +ipmi_mc.c:1063:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 1063 | strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); + | ~~~~~~~~~~^~~ + | | + | unsigned char * +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from ipmi_mc.c:33: +/usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +ipmi_mc.c:1067:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 1067 | strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); + | ~~~~~~~~~~^~~ + | | + | unsigned char * +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from ipmi_mc.c:33: +/usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +In file included from ../include/ipmitool/ipmi_fru.h:38, + from ipmi_fru.c:37: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +ipmi_raw.c: In function 'ipmi_raw_main': +ipmi_raw.c:334:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 334 | else if (argc > sizeof(data)) + | ^ +In file included from ipmi_fru.c:37: +../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 84 | }; + | ^ +In file included from ../include/ipmitool/ipmi_fru.h:38, + from dimm_spd.c:37: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +In file included from ../include/ipmitool/ipmi_sensor.h:39, + from ipmi_strings.c:36: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +ipmi_channel.c: In function 'ipmi_get_channel_cipher_suites': +ipmi_channel.c:418:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 418 | || rsp->data_len > sizeof(uint8_t) + MAX_CIPHER_SUITE_DATA_LEN) + | ^ +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from ipmi_user.c:37: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': +ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] + 659 | int base, + | ~~~~^~~~ +In file included from ../include/ipmitool/ipmi.h:41, + from ipmi_session.c:44: +ipmi_session.c: In function 'ipmi_get_session_info': +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_session.c:313:11: note: in expansion of macro '__min' + 313 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_session.c:313:11: note: in expansion of macro '__min' + 313 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_session.c:315:23: note: in expansion of macro '__min' + 315 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_session.c:315:23: note: in expansion of macro '__min' + 315 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +In file included from ipmi_sdr.c:48: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_session.c:347:11: note: in expansion of macro '__min' + 347 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_session.c:347:11: note: in expansion of macro '__min' + 347 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +In file included from ../include/ipmitool/ipmi_sel.h:38, + from ipmi_pef.c:44: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_session.c:349:23: note: in expansion of macro '__min' + 349 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_session.c:349:23: note: in expansion of macro '__min' + 349 | __min(rsp->data_len, sizeof(session_info))); + | ^~~~~ +In file included from dimm_spd.c:37: +../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 84 | }; + | ^ +In file included from ../include/ipmitool/ipmi_sel.h:38, + from ipmi_sel.c:47: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ In file included from ../include/ipmitool/ipmi.h:41, from helper.c:66: helper.c: In function 'str2val': @@ -743,35 +956,37 @@ helper.c:567:35: note: in expansion of macro '__maxlen' 567 | if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) | ^~~~~~~~ +In file included from ipmi_sensor.c:40: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +ipmi_fru.c: In function 'write_fru_area': +ipmi_fru.c:474:26: warning: implicit declaration of function 'ipmi_intf_get_max_request_data_size'; did you mean 'ipmi_intf_set_max_request_data_size'? [-Wimplicit-function-declaration] + 474 | uint16_t max_rq_size = ipmi_intf_get_max_request_data_size(intf); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ipmi_intf_set_max_request_data_size +ipmi_fru.c: In function 'read_fru_area': +ipmi_fru.c:649:26: warning: implicit declaration of function 'ipmi_intf_get_max_response_data_size'; did you mean 'ipmi_intf_set_max_response_data_size'? [-Wimplicit-function-declaration] + 649 | uint16_t max_rs_size = ipmi_intf_get_max_response_data_size(intf) - 1; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ipmi_intf_set_max_response_data_size +ipmi_fru.c:717:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 717 | || tmp > rsp->data_len - 1 + | ^ helper.c: In function 'ipmi_start_daemon': +ipmi_fru.c: In function 'read_fru_area_section': helper.c:831:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 831 | chdir("/"); | ^~~~~~~~~~ +ipmi_fru.c:829:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 829 | || tmp > rsp->data_len - 1 + | ^ helper.c:840:2: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 840 | dup(fd); | ^~~~~~~ helper.c:841:2: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 841 | dup(fd); | ^~~~~~~ -ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': -ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] - 659 | int base, - | ~~~~^~~~ -In file included from ../include/ipmitool/ipmi_sel.h:38, - from ipmi_sel.c:47: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -In file included from ../include/ipmitool/ipmi_sel.h:38, - from ipmi_pef.c:44: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -In file included from ../include/ipmitool/ipmi_fru.h:38, - from ipmi_fru.c:37: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ ipmi_pef.c: In function 'ipmi_pef_bit_desc': ipmi_pef.c:103:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 103 | sprintf(p, listitem[index], pmap->desc); @@ -790,58 +1005,56 @@ ipmi_pef.c:150:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 150 | printf(fmt[1], val); | ^~~~~~ -In file included from ipmi_fru.c:37: -../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 84 | }; - | ^ -ipmi_pef.c: In function 'ipmi_pef_print_oem_lan_dest': -ipmi_pef.c:605:61: warning: unused parameter 'ch' [-Wunused-parameter] - 605 | ipmi_pef_print_oem_lan_dest(struct ipmi_intf *intf, uint8_t ch, uint8_t dest) - | ~~~~~~~~^~ -In file included from ipmi_sel.c:50: -../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 84 | }; - | ^ -ipmi_pef.c: In function 'ipmi_pef_print_dest': -ipmi_pef.c:906:40: warning: unused parameter 'intf' [-Wunused-parameter] - 906 | ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) - | ~~~~~~~~~~~~~~~~~~~^~~~ -ipmi_fru.c: In function 'write_fru_area': -ipmi_fru.c:474:26: warning: implicit declaration of function 'ipmi_intf_get_max_request_data_size'; did you mean 'ipmi_intf_set_max_request_data_size'? [-Wimplicit-function-declaration] - 474 | uint16_t max_rq_size = ipmi_intf_get_max_request_data_size(intf); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | ipmi_intf_set_max_request_data_size -ipmi_pef.c:906:54: warning: unused parameter 'ch' [-Wunused-parameter] - 906 | ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) - | ~~~~~~~~^~ -ipmi_pef.c: In function 'ipmi_pef_print_event_info': -ipmi_pef.c:952:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 952 | if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { - | ^~ -ipmi_fru.c: In function 'read_fru_area': -ipmi_fru.c:649:26: warning: implicit declaration of function 'ipmi_intf_get_max_response_data_size'; did you mean 'ipmi_intf_set_max_response_data_size'? [-Wimplicit-function-declaration] - 649 | uint16_t max_rs_size = ipmi_intf_get_max_response_data_size(intf) - 1; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | ipmi_intf_set_max_response_data_size -ipmi_fru.c:717:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 717 | || tmp > rsp->data_len - 1 - | ^ -ipmi_fru.c: In function 'read_fru_area_section': -ipmi_fru.c:829:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 829 | || tmp > rsp->data_len - 1 - | ^ ipmi_fru.c: In function 'fru_area_print_chassis': ipmi_fru.c:1001:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1001 | if (i == j) { | ^~ +In file included from ../include/ipmitool/ipmi_sel.h:38, + from ipmi_event.c:50: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ ipmi_fru.c: In function 'fru_area_print_board': ipmi_fru.c:1126:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1126 | if (i == j) | ^~ +In file included from ipmi_sel.c:50: +../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 84 | }; + | ^ +ipmi_pef.c: In function 'ipmi_pef_print_oem_lan_dest': +ipmi_pef.c:605:61: warning: unused parameter 'ch' [-Wunused-parameter] + 605 | ipmi_pef_print_oem_lan_dest(struct ipmi_intf *intf, uint8_t ch, uint8_t dest) + | ~~~~~~~~^~ ipmi_fru.c: In function 'fru_area_print_product': ipmi_fru.c:1261:9: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == j) | ^~ +In file included from ../include/ipmitool/ipmi.h:41, + from ipmi_lanp.c:48: +ipmi_lanp.c: In function 'ipmi_lan_alert_set': +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_lanp.c:1812:25: note: in expansion of macro '__min' + 1812 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_lanp.c:1812:25: note: in expansion of macro '__min' + 1812 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_lanp.c:1827:25: note: in expansion of macro '__min' + 1827 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +dimm_spd.c: In function 'ipmi_spd_print_fru': +dimm_spd.c:1701:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1701 | || len > rsp->data_len - 1 + | ^ ipmi_sel.c: In function 'ipmi_sel_oem_readval': ipmi_sel.c:87:22: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] 87 | if (sscanf(str, "0x%x", &ret) != 1) { @@ -851,23 +1064,86 @@ | unsigned int * | %x ipmi_fru.c: In function 'ipmi_fru_query_new_value': +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_lanp.c:1827:25: note: in expansion of macro '__min' + 1827 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +ipmi_pef.c: In function 'ipmi_pef_print_dest': +ipmi_sensor.c: In function 'print_thresh_setting': +ipmi_sensor.c:235:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 235 | printf(na_fmt, "na"); + | ^~~~~~ +ipmi_pef.c:906:40: warning: unused parameter 'intf' [-Wunused-parameter] + 906 | ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) + | ~~~~~~~~~~~~~~~~~~~^~~~ +ipmi_sensor.c:239:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] + 239 | printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); + | ^~~~~~ ipmi_fru.c:1494:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1494 | for( i=0;idata, __min(p->data_len, sizeof(data))); + | ^~~~~ ipmi_fru.c:1501:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1501 | for( i=0;idata, __min(p->data_len, sizeof(data))); + | ^~~~~ +ipmi_pef.c: In function 'ipmi_pef_print_event_info': +ipmi_pef.c:952:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 952 | if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { + | ^~ ipmi_sel.c: In function 'ipmi_sel_oem_message': ipmi_sel.c:196:69: warning: unused parameter 'verbose' [-Wunused-parameter] 196 | static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) | ~~~~^~~~~~~ ipmi_fru.c: In function 'ipmi_fru_oemkontron_get': +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_lanp.c:1867:25: note: in expansion of macro '__min' + 1867 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ ipmi_fru.c:1605:25: warning: unused parameter 'len' [-Wunused-parameter] 1605 | int off,int len, | ~~~~^~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_lanp.c:1867:25: note: in expansion of macro '__min' + 1867 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ ipmi_fru.c:1606:41: warning: unused parameter 'h' [-Wunused-parameter] 1606 | struct fru_multirec_header *h, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_lanp.c:1892:25: note: in expansion of macro '__min' + 1892 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_lanp.c:1892:25: note: in expansion of macro '__min' + 1892 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ ipmi_fru.c: In function 'ipmi_fru_oemkontron_edit': ipmi_fru.c:1910:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1910 | for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ @@ -876,10 +1152,50 @@ ipmi_sel.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] 457 | get_kontron_evt_desc(struct ipmi_intf *intf, struct sel_event_record * rec) | ~~~~~~~~~~~~~~~~~~^~~~ +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_lanp.c:1920:25: note: in expansion of macro '__min' + 1920 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_lanp.c:1920:25: note: in expansion of macro '__min' + 1920 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^ +ipmi_lanp.c:1936:25: note: in expansion of macro '__min' + 1936 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] + 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) + | ^~~ +ipmi_lanp.c:1936:25: note: in expansion of macro '__min' + 1936 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); + | ^~~~~ +In file included from ../include/ipmitool/ipmi.h:41, + from ipmi_event.c:46: +ipmi_event.c: In function 'ipmi_event_find_offset': +../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) + | ^ +ipmi_event.c:221:33: note: in expansion of macro '__maxlen' + 221 | strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) { + | ^~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_edit': ipmi_fru.c:2027:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2027 | for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ | ^ +ipmi_event.c: In function 'ipmi_event_fromsensor': +ipmi_event.c:407:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 407 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { + | ^ +ipmi_event.c:414:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 414 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { + | ^ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_print': ipmi_fru.c:2294:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2294 | for (j=0; j < sizeof(struct fru_picmgext_guid); @@ -917,39 +1233,53 @@ | ~~~~~~~~ | | | unsigned int -ipmi_mc.c: In function 'ipmi_sysinfo_main': -ipmi_mc.c:1063:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 1063 | strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); - | ~~~~~~~~~~^~~ - | | - | unsigned char * -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from ipmi_mc.c:33: -/usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -ipmi_mc.c:1067:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 1067 | strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); - | ~~~~~~~~~~^~~ - | | - | unsigned char * -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from ipmi_mc.c:33: -/usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ +ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_mc_locator': +ipmi_sdr.c:2129:52: warning: unused parameter 'intf' [-Wunused-parameter] + 2129 | ipmi_sdr_print_sensor_mc_locator(struct ipmi_intf *intf, + | ~~~~~~~~~~~~~~~~~~^~~~ +ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_generic_locator': +ipmi_sdr.c:2225:57: warning: unused parameter 'intf' [-Wunused-parameter] + 2225 | ipmi_sdr_print_sensor_generic_locator(struct ipmi_intf *intf, + | ~~~~~~~~~~~~~~~~~~^~~~ +ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fru_locator': +ipmi_sdr.c:2282:53: warning: unused parameter 'intf' [-Wunused-parameter] + 2282 | ipmi_sdr_print_sensor_fru_locator(struct ipmi_intf *intf, + | ~~~~~~~~~~~~~~~~~~^~~~ +ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_entity_assoc': +ipmi_sdr.c:2341:54: warning: unused parameter 'intf' [-Wunused-parameter] + 2341 | ipmi_sdr_print_sensor_entity_assoc(struct ipmi_intf *intf, + | ~~~~~~~~~~~~~~~~~~^~~~ +ipmi_user.c: In function '_ipmi_set_user_password': +ipmi_user.c:212:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 212 | if (copy_len > (data_len - 2)) { + | ^ +ipmi_sdr.c:2342:40: warning: unused parameter 'assoc' [-Wunused-parameter] + 2342 | struct sdr_record_entity_assoc *assoc) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_oem_intel': +ipmi_sdr.c:2356:51: warning: unused parameter 'intf' [-Wunused-parameter] + 2356 | ipmi_sdr_print_sensor_oem_intel(struct ipmi_intf *intf, + | ~~~~~~~~~~~~~~~~~~^~~~ +ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': +ipmi_sdr.c:2500:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2500 | id_string = record.full->id_string; + | ^ ipmi_fru.c: In function 'ipmi_fru_get_multirec_size_from_file': +ipmi_sdr.c:2506:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2506 | id_string = record.compact->id_string; + | ^ +ipmi_sdr.c:2512:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2512 | id_string = record.eventonly->id_string; + | ^ ipmi_fru.c:3867:36: warning: self-comparison always evaluates to false [-Wtautological-compare] 3867 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && | ^ -In file included from ipmi_sdr.c:48: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ +ipmi_sdr.c:2518:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] + 2518 | id_string = record.mcloc->id_string; + | ^ +ipmi_sdr.c:2476:53: warning: unused parameter 'intf' [-Wunused-parameter] + 2476 | ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf, uint16_t id, + | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_fru.c:3871:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 3871 | if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && | ^ @@ -959,6 +1289,10 @@ ipmi_fru.c:3879:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 3879 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ +ipmi_sdr.c: In function 'ipmi_sdr_end': +ipmi_sdr.c:3087:32: warning: unused parameter 'intf' [-Wunused-parameter] + 3087 | ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) + | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': ipmi_fru.c:4054:36: warning: self-comparison always evaluates to false [-Wtautological-compare] 4054 | if (((header.offset.internal * 8) > (header.offset.internal * 8)) && @@ -972,126 +1306,6 @@ ipmi_fru.c:4066:35: warning: self-comparison always evaluates to false [-Wtautological-compare] 4066 | if (((header.offset.product * 8) > (header.offset.product * 8)) && | ^ -In file included from ../include/ipmitool/ipmi.h:41, - from ipmi_lanp.c:48: -ipmi_lanp.c: In function 'ipmi_lan_alert_set': -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_lanp.c:1812:25: note: in expansion of macro '__min' - 1812 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -ipmi_fru.c: In function 'ipmi_fru_set_field_string': -ipmi_fru.c:4835:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] - 4835 | for (i = 0; i < fru_section_len - 1; i++) - | ^ -ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': -ipmi_fru.c:5018:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 5018 | num_byte_change = strlen(f_string) - strlen(fru_area); - | ^~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from ../include/ipmitool/helper.h:39, - from ../include/ipmitool/ipmi.h:41, - from ipmi_fru.c:33: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -ipmi_fru.c:5139:73: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] - 5139 | if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) - | ^ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_lanp.c:1812:25: note: in expansion of macro '__min' - 1812 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_lanp.c:1827:25: note: in expansion of macro '__min' - 1827 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_lanp.c:1827:25: note: in expansion of macro '__min' - 1827 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_lanp.c:1841:25: note: in expansion of macro '__min' - 1841 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_lanp.c:1841:25: note: in expansion of macro '__min' - 1841 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -ipmi_fru.c:5184:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 5184 | strlen(fru_area)), - | ^~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from ../include/ipmitool/helper.h:39, - from ../include/ipmitool/ipmi.h:41, - from ipmi_fru.c:33: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -ipmi_fru.c:5189:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 5189 | for(counter = 0; counter < padding_len; counter ++) - | ^ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_lanp.c:1867:25: note: in expansion of macro '__min' - 1867 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_lanp.c:1867:25: note: in expansion of macro '__min' - 1867 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_lanp.c:1892:25: note: in expansion of macro '__min' - 1892 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_lanp.c:1892:25: note: in expansion of macro '__min' - 1892 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_lanp.c:1920:25: note: in expansion of macro '__min' - 1920 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_lanp.c:1920:25: note: in expansion of macro '__min' - 1920 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_lanp.c:1936:25: note: in expansion of macro '__min' - 1936 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_lanp.c:1936:25: note: in expansion of macro '__min' - 1936 | memcpy(data, p->data, __min(p->data_len, sizeof(data))); - | ^~~~~ In file included from ipmi_sel.c:48: At top level: ../include/ipmitool/ipmi_sel_supermicro.h:114:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] @@ -1124,57 +1338,43 @@ ../include/ipmitool/ipmi_sel_supermicro.h:37:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] 37 | static uint16_t supermicro_x11[] = { | ^~~~~~~~~~~~~~ -ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_mc_locator': -At top level: -ipmi_fru.c:855:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] - 855 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_sdr.c:2129:52: warning: unused parameter 'intf' [-Wunused-parameter] - 2129 | ipmi_sdr_print_sensor_mc_locator(struct ipmi_intf *intf, - | ~~~~~~~~~~~~~~~~~~^~~~ -ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_generic_locator': -ipmi_sdr.c:2225:57: warning: unused parameter 'intf' [-Wunused-parameter] - 2225 | ipmi_sdr_print_sensor_generic_locator(struct ipmi_intf *intf, - | ~~~~~~~~~~~~~~~~~~^~~~ -ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fru_locator': -ipmi_sdr.c:2282:53: warning: unused parameter 'intf' [-Wunused-parameter] - 2282 | ipmi_sdr_print_sensor_fru_locator(struct ipmi_intf *intf, - | ~~~~~~~~~~~~~~~~~~^~~~ -ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_entity_assoc': -ipmi_sdr.c:2341:54: warning: unused parameter 'intf' [-Wunused-parameter] - 2341 | ipmi_sdr_print_sensor_entity_assoc(struct ipmi_intf *intf, - | ~~~~~~~~~~~~~~~~~~^~~~ -ipmi_sdr.c:2342:40: warning: unused parameter 'assoc' [-Wunused-parameter] - 2342 | struct sdr_record_entity_assoc *assoc) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_oem_intel': -ipmi_sdr.c:2356:51: warning: unused parameter 'intf' [-Wunused-parameter] - 2356 | ipmi_sdr_print_sensor_oem_intel(struct ipmi_intf *intf, - | ~~~~~~~~~~~~~~~~~~^~~~ -ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': -ipmi_sdr.c:2500:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] - 2500 | id_string = record.full->id_string; - | ^ -ipmi_sdr.c:2506:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] - 2506 | id_string = record.compact->id_string; - | ^ -ipmi_sdr.c:2512:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] - 2512 | id_string = record.eventonly->id_string; - | ^ -ipmi_sdr.c:2518:17: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] - 2518 | id_string = record.mcloc->id_string; - | ^ -ipmi_sdr.c:2476:53: warning: unused parameter 'intf' [-Wunused-parameter] - 2476 | ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf, uint16_t id, - | ~~~~~~~~~~~~~~~~~~^~~~ -ipmi_sdr.c: In function 'ipmi_sdr_end': -ipmi_sdr.c:3087:32: warning: unused parameter 'intf' [-Wunused-parameter] - 3087 | ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) - | ~~~~~~~~~~~~~~~~~~^~~~ ipmi_sdr.c: In function 'ipmi_sdr_list_cache_fromfile': ipmi_sdr.c:3933:48: warning: unused parameter 'intf' [-Wunused-parameter] 3933 | ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) | ~~~~~~~~~~~~~~~~~~^~~~ +ipmi_fru.c: In function 'ipmi_fru_set_field_string': +ipmi_fru.c:4835:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] + 4835 | for (i = 0; i < fru_section_len - 1; i++) + | ^ +ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': +ipmi_fru.c:5018:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 5018 | num_byte_change = strlen(f_string) - strlen(fru_area); + | ^~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from ../include/ipmitool/helper.h:39, + from ../include/ipmitool/ipmi.h:41, + from ipmi_fru.c:33: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +ipmi_fru.c:5139:73: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] + 5139 | if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) + | ^ +ipmi_fru.c:5184:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 5184 | strlen(fru_area)), + | ^~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from ../include/ipmitool/helper.h:39, + from ../include/ipmitool/ipmi.h:41, + from ipmi_fru.c:33: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +ipmi_fru.c:5189:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 5189 | for(counter = 0; counter < padding_len; counter ++) + | ^ In file included from ../include/ipmitool/ipmi.h:41, from ipmi_sdr.c:45: ipmi_sdr.c: In function 'ipmi_sdr_get_info': @@ -1225,6 +1425,10 @@ ipmi_sdr.c:364:2: note: here 364 | case 2: | ^~~~ +At top level: +ipmi_fru.c:855:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] + 855 | fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ipmi_mc.c:34: In function 'strncpy', @@ -1237,163 +1441,7 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o dimm_spd.lo dimm_spd.c -In file included from ../include/ipmitool/ipmi_fru.h:38, - from dimm_spd.c:37: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -In file included from dimm_spd.c:37: -../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 84 | }; - | ^ -dimm_spd.c: In function 'ipmi_spd_print_fru': -dimm_spd.c:1701:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1701 | || len > rsp->data_len - 1 - | ^ -ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fc': -ipmi_sdr.c:1680:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 1680 | snprintf(sval, sizeof (sval), "%s %s", - | ^ -In file included from /usr/include/stdio.h:867, - from ipmi_sdr.c:40: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_sdr.c:1626:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 1626 | snprintf(sval, sizeof (sval), "%s %s", - | ^ -In file included from /usr/include/stdio.h:867, - from ipmi_sdr.c:40: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_event.lo ipmi_event.c -In file included from ipmi_sensor.c:40: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from ipmi_event.c:34: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -ipmi_channel.c: In function 'ipmi_get_channel_cipher_suites': -ipmi_channel.c:418:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 418 | || rsp->data_len > sizeof(uint8_t) + MAX_CIPHER_SUITE_DATA_LEN) - | ^ -ipmi_sensor.c: In function 'print_thresh_setting': -ipmi_sensor.c:235:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 235 | printf(na_fmt, "na"); - | ^~~~~~ -ipmi_sensor.c:239:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 239 | printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); - | ^~~~~~ -ipmi_sensor.c:241:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] - 241 | printf(discrete_fmt, setting); - | ^~~~~~ -In file included from ../include/ipmitool/ipmi_sel.h:38, - from ipmi_event.c:50: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -In file included from ../include/ipmitool/ipmi.h:41, - from ipmi_event.c:46: -ipmi_event.c: In function 'ipmi_event_find_offset': -../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) - | ^ -ipmi_event.c:221:33: note: in expansion of macro '__maxlen' - 221 | strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) { - | ^~~~~~~~ -ipmi_event.c: In function 'ipmi_event_fromsensor': -ipmi_event.c:407:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 407 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { - | ^ -ipmi_event.c:414:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 414 | for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { - | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_session.lo ipmi_session.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_strings.lo ipmi_strings.c -ipmi_fru.c: In function 'ipmi_fru_print_all': -ipmi_fru.c:3116:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] - 3116 | int rc; - | ^~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_user.lo ipmi_user.c -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from ipmi_user.c:37: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from ../include/ipmitool/ipmi.h:41, - from ipmi_session.c:44: -ipmi_session.c: In function 'ipmi_get_session_info': -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_session.c:313:11: note: in expansion of macro '__min' - 313 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_session.c:313:11: note: in expansion of macro '__min' - 313 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_session.c:315:23: note: in expansion of macro '__min' - 315 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_session.c:315:23: note: in expansion of macro '__min' - 315 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_session.c:347:11: note: in expansion of macro '__min' - 347 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_session.c:347:11: note: in expansion of macro '__min' - 347 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^ -ipmi_session.c:349:23: note: in expansion of macro '__min' - 349 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -../include/ipmitool/helper.h:116:36: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] - 116 | # define __min(a, b) ((a) < (b) ? (a) : (b)) - | ^~~ -ipmi_session.c:349:23: note: in expansion of macro '__min' - 349 | __min(rsp->data_len, sizeof(session_info))); - | ^~~~~ -In file included from ../include/ipmitool/ipmi_sensor.h:39, - from ipmi_strings.c:36: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -ipmi_user.c: In function '_ipmi_set_user_password': -ipmi_user.c:212:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 212 | 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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_raw.lo ipmi_raw.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_oem.lo ipmi_oem.c In file included from /usr/include/string.h:495, from ipmi_user.c:38: In function 'strncpy', @@ -1405,7 +1453,16 @@ ipmi_user.c:211:21: note: length computed here 211 | size_t copy_len = strlen(password); | ^~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_isol.lo ipmi_isol.c +In file included from ../include/ipmitool/ipmi_sel.h:38, + from ipmi_oem.c:38: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +ipmi_oem.c: In function 'ipmi_oem_ibm': +ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] + 86 | ipmi_oem_ibm(struct ipmi_intf * intf) + | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/string.h:495, from ipmi_user.c:38: In function 'strncpy', @@ -1418,22 +1475,6 @@ ipmi_user.c:376:2: note: length computed here 376 | strncpy((char *)(msg_data + 1), name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_raw.c: In function 'ipmi_raw_main': -ipmi_raw.c:334:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 334 | 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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_isol.lo ipmi_isol.c -In file included from ../include/ipmitool/ipmi_sel.h:38, - from ipmi_oem.c:38: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -ipmi_oem.c: In function 'ipmi_oem_ibm': -ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] - 86 | ipmi_oem_ibm(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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_sunoem.lo ipmi_sunoem.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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_fwum.lo ipmi_fwum.c ipmi_isol.c: In function 'ipmi_isol_red_pill': ipmi_isol.c:618:42: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] 618 | int rc = processiSolUserInput(intf, buffer, numRead); @@ -1443,12 +1484,19 @@ ipmi_isol.c:458:17: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 458 | 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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_picmg.lo ipmi_picmg.c +ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': +ipmi_fwum.c:365:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 365 | modulus, pFileHandle) == modulus) { + | ^~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_main.lo ipmi_main.c In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmi_sunoem.c:57: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_picmg.lo ipmi_picmg.c ipmi_sunoem.c: In function 'ipmi_sunoem_echo': ipmi_sunoem.c:1439:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] 1439 | printf("Receive %lu Bytes - Seq. # %d time=%d ms\n", @@ -1473,12 +1521,7 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ -ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': -ipmi_fwum.c:365:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka '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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_tsol.lo ipmi_tsol.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_tsol.lo ipmi_tsol.c In file included from ../include/ipmitool/ipmi_fru.h:38, from ipmi_picmg.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] @@ -1537,6 +1580,7 @@ ipmi_picmg.c:328:44: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' 328 | is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) | ~~~~~~~~^~~~~~~~~~~~~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_firewall.lo ipmi_firewall.c In file included from ipmi_main.c:57: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; @@ -1545,6 +1589,7 @@ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; | ^ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_kontronoem.lo ipmi_kontronoem.c In file included from ipmi_main.c:52: ipmi_main.c: In function 'ipmi_cmd_run': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] @@ -1578,6 +1623,27 @@ | | | | int * unsigned int * | %d +ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fc': +ipmi_sdr.c:1680:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 1680 | snprintf(sval, sizeof (sval), "%s %s", + | ^ +In file included from /usr/include/stdio.h:867, + from ipmi_sdr.c:40: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_sdr.c:1626:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 1626 | snprintf(sval, sizeof (sval), "%s %s", + | ^ +In file included from /usr/include/stdio.h:867, + from ipmi_sdr.c:40: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_tsol.c: In function 'ipmi_tsol_main': ipmi_tsol.c:540:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 540 | if ((fds[0].revents & POLLIN) && (sizeof(out_buff) > out_buff_fill)) { @@ -1588,42 +1654,17 @@ ipmi_tsol.c:561:53: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 561 | if ((fds[1].revents & POLLIN) && (sizeof(in_buff) > in_buff_fill)) { | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_firewall.lo ipmi_firewall.c -In file included from /usr/include/string.h:495, - from ipmi_sunoem.c:36: -In function 'strncpy', - inlined from 'send_luapi_prop_name' at ipmi_sunoem.c:1907:4, - inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2055:6, - inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2412:8: -/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_sunoem.c: In function 'ipmi_sunoem_main': -ipmi_sunoem.c:1903:7: note: length computed here - 1903 | if (strlen(&(prop_name[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from ipmi_sunoem.c:36: -In function 'strncpy', - inlined from 'send_luapi_prop_value' at ipmi_sunoem.c:1979:4, - inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2060:6, - inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2412:8: -/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipmi_sunoem.c: In function 'ipmi_sunoem_main': -ipmi_sunoem.c:1974:7: note: length computed here - 1974 | if (strlen(&(prop_value[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from ipmi_sunoem.c:36: -In function 'strncpy', - inlined from 'ipmi_sunoem_getval' at ipmi_sunoem.c:1814:2, - inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2406:8: -/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 79 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from ../include/ipmitool/ipmi.h:36, + from ../include/ipmitool/ipmi_intf.h:36, + from ipmi_hpmfwupg.c:38: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ In file included from ../include/ipmitool/ipmi_fru.h:38, from ipmi_kontronoem.c:47: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] @@ -1637,15 +1678,6 @@ ipmi_kontronoem.c:659:55: warning: unused parameter 'argc' [-Wunused-parameter] 659 | ipmi_kontron_nextboot_set(struct ipmi_intf *intf, int argc, char **argv) | ~~~~^~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from ../include/ipmitool/ipmi.h:36, - from ../include/ipmitool/ipmi_intf.h:36, - from ipmi_hpmfwupg.c:38: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ipmi_hpmfwupg.c: In function 'HpmfwupgPreUpgradeCheck': ipmi_hpmfwupg.c:840:43: warning: unused parameter 'intf' [-Wunused-parameter] 840 | HpmfwupgPreUpgradeCheck(struct ipmi_intf *intf, @@ -1658,27 +1690,11 @@ ipmi_hpmfwupg.c:2345:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2345 | 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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_sdradd.lo ipmi_sdradd.c In file included from ipmi_sdradd.c:51: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_gendev.lo ipmi_gendev.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_delloem.lo ipmi_delloem.c -In file included from ipmi_gendev.c:44: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -ipmi_gendev.c: In function 'ipmi_gendev_get_eeprom_size': -ipmi_gendev.c:74:43: warning: unused parameter 'intf' [-Wunused-parameter] - 74 | struct ipmi_intf *intf, - | ~~~~~~~~~~~~~~~~~~^~~~ -ipmi_gendev.c: In function 'ipmi_gendev_write_file': -ipmi_gendev.c:385:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 385 | if(fileLength != eeprom_size) - | ^~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_gendev.lo ipmi_gendev.c In file included from ../include/ipmitool/ipmi_fru.h:38, from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: @@ -1709,10 +1725,67 @@ ipmi_ekanalyzer.c:3371:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3371 | for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { | ^ +In file included from /usr/include/string.h:495, + from ipmi_sunoem.c:36: +In function 'strncpy', + inlined from 'send_luapi_prop_name' at ipmi_sunoem.c:1907:4, + inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2055:6, + inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2412:8: +/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_sunoem.c: In function 'ipmi_sunoem_main': +ipmi_sunoem.c:1903:7: note: length computed here + 1903 | if (strlen(&(prop_name[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from ipmi_sunoem.c:36: +In function 'strncpy', + inlined from 'send_luapi_prop_value' at ipmi_sunoem.c:1979:4, + inlined from 'ipmi_sunoem_setval' at ipmi_sunoem.c:2060:6, + inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2412:8: +/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipmi_sunoem.c: In function 'ipmi_sunoem_main': +ipmi_sunoem.c:1974:7: note: length computed here + 1974 | if (strlen(&(prop_value[i])) > MAX_SUNOEM_VAL_COMPACT_PAYLOAD) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from ipmi_sunoem.c:36: +In function 'strncpy', + inlined from 'ipmi_sunoem_getval' at ipmi_sunoem.c:1814:2, + inlined from 'ipmi_sunoem_main' at ipmi_sunoem.c:2406:8: +/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 79 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: ipmi_ekanalyzer.c:3316:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] 3316 | ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ipmi_gendev.c:44: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +ipmi_gendev.c: In function 'ipmi_gendev_get_eeprom_size': +ipmi_gendev.c:74:43: warning: unused parameter 'intf' [-Wunused-parameter] + 74 | struct ipmi_intf *intf, + | ~~~~~~~~~~~~~~~~~~^~~~ +ipmi_gendev.c: In function 'ipmi_gendev_write_file': +ipmi_gendev.c:385:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 385 | if(fileLength != eeprom_size) + | ^~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_ime.lo ipmi_ime.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o hpm2.lo hpm2.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_vita.lo ipmi_vita.c +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from ipmi_dcmi.c:41: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ipmi_ime.c: In function 'ImeImageCtxFromFile': ipmi_ime.c:895:30: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 895 | if (pImageCtx->size < 0) @@ -1721,11 +1794,52 @@ ipmi_ime.c:799:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] 799 | static int ImeUpdateShowStatus(struct ipmi_intf *intf) | ^~~~~~~~~~~~~~~~~~~ +In file included from ../include/ipmitool/ipmi_sensor.h:39, + from ipmi_dcmi.c:59: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +In file included from ../include/ipmitool/ipmi.h:41, + from ../include/ipmitool/ipmi_dcmi.h:23, + from ipmi_dcmi.c:50: +ipmi_dcmi.c: In function 'str2val2': +../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) + | ^ +ipmi_dcmi.c:598:6: note: in expansion of macro '__maxlen' + 598 | __maxlen(str, vs[i].str)) == 0) { + | ^~~~~~~~ +ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': +ipmi_dcmi.c:1891:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 1891 | val.limit = *(uint16_t*)(&lvalue); + | ^~~~~~~~~~~~~~~~~~~~ +ipmi_dcmi.c:1909:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 1909 | val.sample = *(uint16_t*)(&lvalue); + | ^~~~~~~~~~~~~~~~~~~~ +ipmi_fru.c: In function 'ipmi_fru_print_all': +ipmi_fru.c:3116:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] + 3116 | int rc; + | ^~ +ipmi_dcmi.c: In function 'ipmi_nm_thresh': +ipmi_dcmi.c:3156:28: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] + 3156 | 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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_lanp6.lo ipmi_lanp6.c +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_cfgp.lo ipmi_cfgp.c In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmi_delloem.c:53: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ +In file included from ../include/ipmitool/ipmi_fru.h:38, + from ipmi_vita.c:37: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ +In file included from ipmi_vita.c:37: +../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 84 | }; + | ^ In file included from ipmi_delloem.c:55: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; @@ -1817,47 +1931,6 @@ | | int * | unsigned int * | %x -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_dcmi.lo ipmi_dcmi.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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o hpm2.lo hpm2.c -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from ipmi_dcmi.c:41: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from ../include/ipmitool/ipmi_sensor.h:39, - from ipmi_dcmi.c:59: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -In file included from ../include/ipmitool/ipmi.h:41, - from ../include/ipmitool/ipmi_dcmi.h:23, - from ipmi_dcmi.c:50: -ipmi_dcmi.c: In function 'str2val2': -../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) - | ^ -ipmi_dcmi.c:598:6: note: in expansion of macro '__maxlen' - 598 | __maxlen(str, vs[i].str)) == 0) { - | ^~~~~~~~ -ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': -ipmi_dcmi.c:1891:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 1891 | val.limit = *(uint16_t*)(&lvalue); - | ^~~~~~~~~~~~~~~~~~~~ -ipmi_dcmi.c:1909:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 1909 | val.sample = *(uint16_t*)(&lvalue); - | ^~~~~~~~~~~~~~~~~~~~ -ipmi_dcmi.c: In function 'ipmi_nm_thresh': -ipmi_dcmi.c:3156:28: warning: taking address of packed member of 'struct nm_thresh' may result in an unaligned pointer value [-Waddress-of-packed-member] - 3156 | if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) { - | ^~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_lanp6.lo ipmi_lanp6.c -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_cfgp.lo ipmi_cfgp.c -ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': -ipmi_ekanalyzer.c:1133:43: warning: 'pcarrier_p2p' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1133 | struct ipmi_ek_multi_header * pcarrier_p2p; - | ^~~~~~~~~~~~ ipmi_lanp6.c: In function 'lanp_parse_cfgp': ipmi_lanp6.c:596:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 596 | if (set > 2) { @@ -1879,17 +1952,12 @@ ipmi_lanp6.c:655:2: note: here 655 | case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: | ^~~~ -In file included from ../include/ipmitool/ipmi_fru.h:38, - from ipmi_vita.c:37: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ -In file included from ipmi_vita.c:37: -../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 84 | }; - | ^ -/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ../src/plugins/lan/md5.lo ../src/plugins/lan/md5.c -/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 ../src/plugins/lan/md5.lo -lm -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': +ipmi_ekanalyzer.c:1133:43: warning: 'pcarrier_p2p' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1133 | struct ipmi_ek_multi_header * pcarrier_p2p; + | ^~~~~~~~~~~~ +/bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ../src/plugins/lan/md5.lo ../src/plugins/lan/md5.c +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 ../src/plugins/lan/md5.lo -lm -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[3]: Leaving directory '/build/ipmitool-1.8.18/lib' Making all in src make[3]: Entering directory '/build/ipmitool-1.8.18/src' @@ -1897,8 +1965,8 @@ make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins' Making all in lan make[5]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o auth.lo auth.c auth.c: In function 'ipmi_auth_md2': auth.c:129:47: warning: unused parameter 's' [-Wunused-parameter] 129 | uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) @@ -1922,16 +1990,16 @@ lan.c:1445:50: warning: unused parameter 'intf' [-Wunused-parameter] 1445 | check_sol_packet_for_new_data(struct ipmi_intf * intf, | ~~~~~~~~~~~~~~~~~~~^~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/lan' Making all in lanplus make[5]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c lanplus_crypt.c: In function 'lanplus_rakp2_hmac_matches': lanplus_crypt.c:89:1: warning: embedding a directive within macro arguments is not portable 89 | #ifdef HAVE_CRYPTO_SHA256 @@ -2001,11 +2069,11 @@ lanplus.c:3513:45: warning: 'auth_cap' may be used uninitialized in this function [-Wmaybe-uninitialized] 3513 | if (!ipmi_oem_active(intf, "i82571spt") && ! auth_cap.v20_data_available) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/lanplus' Making all in open make[5]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o open.lo open.c In file included from ../../../include/ipmitool/ipmi_sel.h:38, from open.c:47: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] @@ -2022,17 +2090,12 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -Wl,-z,relro -Wl,-z,now -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/open' Making all in imb make[5]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o imb.lo imb.c -In file included from ../../../include/ipmitool/ipmi_sel.h:38, - from imb.c:46: -../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o imb.lo imb.c imbapi.c: In function 'open_imb': imbapi.c:173:47: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 173 | lprintf(LOG_DEBUG, "%s: opening the driver", __FUNCTION__); @@ -2083,6 +2146,11 @@ imbapi.c:501:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 501 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, | ^~~~~~~~~~~~ +In file included from ../../../include/ipmitool/ipmi_sel.h:38, + from imb.c:46: +../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ imbapi.c: In function 'SendTimedEmpMessageResponse_Ex': imbapi.c:629:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 629 | lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, @@ -2111,10 +2179,6 @@ 1002 | __FUNCTION__, status); | ^~~~~~~~~~~~ imbapi.c: In function 'GetAsyncImbpMessage_Ex': -imb.c: In function 'ipmi_imb_send_cmd': -imb.c:78:62: warning: unused parameter 'intf' [-Wunused-parameter] - 78 | static struct ipmi_rs * ipmi_imb_send_cmd(struct ipmi_intf * intf, struct ipmi_rq * req) - | ~~~~~~~~~~~~~~~~~~~^~~~ imbapi.c:1099:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1099 | __FUNCTION__, status); | ^~~~~~~~~~~~ @@ -2154,11 +2218,15 @@ imbapi.c:1462:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 1462 | lprintf(LOG_DEBUG, "%s: munmap(0x%x,%d) success", __FUNCTION__, | ^~~~~~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -Wl,-z,relro -Wl,-z,now -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +imb.c: In function 'ipmi_imb_send_cmd': +imb.c:78:62: warning: unused parameter 'intf' [-Wunused-parameter] + 78 | static struct ipmi_rs * ipmi_imb_send_cmd(struct ipmi_intf * intf, struct ipmi_rq * req) + | ~~~~~~~~~~~~~~~~~~~^~~~ +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/imb' Making all in free make[5]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o free.lo free.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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o free.lo free.c free.c: In function 'ipmi_free_open': free.c:66:13: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] 66 | if (getuid() != 0) { @@ -2192,50 +2260,50 @@ free.c:316:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 316 | target_addr: IPMI_BMC_SLAVE_ADDR, | ^ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -lfreeipmi -Wl,-z,relro -Wl,-z,now -o libintf_free.la free.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -lfreeipmi -Wl,-z,relro -Wl,-z,now -o libintf_free.la free.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/free' Making all in serial make[5]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o serial_basic.lo serial_basic.c -serial_basic.c:92:22: warning: invalid use of structure with flexible array member [-Wpedantic] - 92 | struct ipmb_msg_hdr msg; - | ^~~ +/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o serial_basic.lo serial_basic.c serial_terminal.c:90:22: warning: invalid use of structure with flexible array member [-Wpedantic] 90 | struct ipmb_msg_hdr msg; | ^~~ +serial_basic.c:92:22: warning: invalid use of structure with flexible array member [-Wpedantic] + 92 | struct ipmb_msg_hdr msg; + | ^~~ serial_terminal.c: In function 'ipmi_serial_term_open': serial_terminal.c:192:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 192 | for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { | ^ -serial_terminal.c:193:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 193 | if (rates[i].baudrate == rate) { - | ^~ -serial_terminal.c:197:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 197 | if (i >= sizeof(rates) / sizeof(rates[0])) { - | ^~ serial_basic.c: In function 'serial_bm_open': serial_basic.c:245:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 245 | for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { | ^ +serial_terminal.c:193:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 193 | if (rates[i].baudrate == rate) { + | ^~ serial_basic.c:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 246 | if (rates[i].baudrate == rate) { | ^~ +serial_terminal.c:197:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 197 | if (i >= sizeof(rates) / sizeof(rates[0])) { + | ^~ serial_basic.c:250:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 250 | if (i >= sizeof(rates) / sizeof(rates[0])) { | ^~ serial_basic.c: In function 'serial_bm_recv_msg': +serial_terminal.c: In function 'serial_term_build_msg': serial_basic.c:585:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (rv < recv_ctx->buffer_size) { | ^ +serial_terminal.c:491:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 491 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { + | ^ serial_basic.c: In function 'serial_bm_build_msg': serial_basic.c:630:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 630 | if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { | ^ -serial_terminal.c: In function 'serial_term_build_msg': -serial_terminal.c:491:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 491 | if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { - | ^ serial_terminal.c: In function 'serial_term_send_msg': serial_terminal.c:639:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 639 | buf += sprintf( buf, "%02x", msg[i]); @@ -2249,20 +2317,20 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -serial_basic.c: In function 'serial_bm_get_message': -serial_basic.c:888:14: warning: comparison of integer expressions of different signedness: 'clock_t' {aka 'long int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] - 888 | } while (tm < intf->ssn_params.timeout); - | ^ -serial_basic.c:825:25: warning: unused parameter 'max_len' [-Wunused-parameter] - 825 | uint8_t * msg, size_t max_len) - | ~~~~~~~^~~~~~~ serial_terminal.c: In function 'serial_term_get_message': serial_terminal.c:777:14: warning: comparison of integer expressions of different signedness: 'clock_t' {aka 'long int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 777 | } while (tm < intf->ssn_params.timeout); | ^ +serial_basic.c: In function 'serial_bm_get_message': +serial_basic.c:888:14: warning: comparison of integer expressions of different signedness: 'clock_t' {aka 'long int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] + 888 | } while (tm < intf->ssn_params.timeout); + | ^ serial_terminal.c:722:25: warning: unused parameter 'max_len' [-Wunused-parameter] 722 | uint8_t * msg, size_t max_len) | ~~~~~~~^~~~~~~ +serial_basic.c:825:25: warning: unused parameter 'max_len' [-Wunused-parameter] + 825 | uint8_t * msg, size_t max_len) + | ~~~~~~~^~~~~~~ serial_basic.c: In function 'serial_bm_wait_response.constprop': serial_basic.c:535:25: warning: 'parse_ctx.msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 535 | ctx->msg[ctx->msg_len++] = data[i]; @@ -2278,38 +2346,38 @@ serial_basic.c:921:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 921 | serial_bm_send_msg(intf, msg, msg_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -Wl,-z,relro -Wl,-z,now -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/serial' Making all in dummy make[5]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o dummy.lo dummy.c -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -Wl,-z,relro -Wl,-z,now -o libintf_dummy.la dummy.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o dummy.lo dummy.c +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_dummy.la dummy.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/dummy' Making all in usb make[5]: Entering directory '/build/ipmitool-1.8.18/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o usb.lo usb.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ../../../include/ipmitool/helper.h:36, from usb.c:35: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -/bin/bash ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -Wl,-z,relro -Wl,-z,now -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -Wl,-z,relro -Wl,-z,now -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/usb' make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins' -/bin/bash ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmi_intf.lo ipmi_intf.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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmi_intf.lo ipmi_intf.c In file included from ipmi_intf.c:56: ../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 312 | } ATTRIBUTE_PACKING; | ^ -/bin/bash ../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o 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 -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -export-dynamic -Wl,-z,relro -Wl,-z,now -o 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 -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins' make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins' make[4]: Entering directory '/build/ipmitool-1.8.18/src' -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmitool.o ipmitool.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmishell.o ipmishell.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -c -o ipmievd.o ipmievd.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-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 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -c -o ipmievd.o ipmievd.c In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ipmishell.c:36: @@ -2322,6 +2390,10 @@ /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +In file included from ipmitool.c:40: +../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] + 312 | } ATTRIBUTE_PACKING; + | ^ ipmishell.c: In function 'ipmi_shell_main': ipmishell.c:102:50: warning: unused parameter 'argc' [-Wunused-parameter] 102 | int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) @@ -2333,10 +2405,6 @@ ipmishell.c:228:39: warning: unused parameter 'intf' [-Wunused-parameter] 228 | int ipmi_echo_main(struct ipmi_intf * intf, int argc, char ** argv) | ~~~~~~~~~~~~~~~~~~~^~~~ -In file included from ipmitool.c:40: -../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] - 312 | } ATTRIBUTE_PACKING; - | ^ In file included from ipmitool.c:43: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] 84 | }; @@ -2354,8 +2422,8 @@ ipmievd.c:686:21: warning: unused parameter 'signal' [-Wunused-parameter] 686 | ipmievd_cleanup(int signal) | ~~~~^~~~~~ -/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -Wl,-z,relro -Wl,-z,now -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto -/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-686-pae/build/include -Wl,-z,relro -Wl,-z,now -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -Wl,-z,relro -Wl,-z,now -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto +/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.19.0-16-amd64/build/include -Wl,-z,relro -Wl,-z,now -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory '/build/ipmitool-1.8.18/src' make[3]: Leaving directory '/build/ipmitool-1.8.18/src' Making all in include @@ -2385,7 +2453,7 @@ make[2]: Leaving directory '/build/ipmitool-1.8.18' make[1]: Leaving directory '/build/ipmitool-1.8.18' dh_auto_test - make -j10 check VERBOSE=1 + make -j18 check VERBOSE=1 make[1]: Entering directory '/build/ipmitool-1.8.18' Making check in lib make[2]: Entering directory '/build/ipmitool-1.8.18/lib' @@ -2543,10 +2611,10 @@ make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins' make[4]: Entering directory '/build/ipmitool-1.8.18/src' make[5]: Entering directory '/build/ipmitool-1.8.18/src' - /bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/bin' - /bin/bash ../libtool --silent --mode=install /usr/bin/install -c ipmitool '/build/ipmitool-1.8.18/debian/ipmitool/usr/bin' - /bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/sbin' - /bin/bash ../libtool --silent --mode=install /usr/bin/install -c ipmievd '/build/ipmitool-1.8.18/debian/ipmitool/usr/sbin' + /usr/bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/bin' + /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmitool '/build/ipmitool-1.8.18/debian/ipmitool/usr/bin' + /usr/bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/sbin' + /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmievd '/build/ipmitool-1.8.18/debian/ipmitool/usr/sbin' make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/ipmitool-1.8.18/src' make[4]: Leaving directory '/build/ipmitool-1.8.18/src' @@ -2571,9 +2639,9 @@ make[3]: Entering directory '/build/ipmitool-1.8.18/doc' make[4]: Entering directory '/build/ipmitool-1.8.18/doc' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/man/man1' + /usr/bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/man/man1' /usr/bin/install -c -m 644 ipmitool.1 '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/man/man1' - /bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/man/man8' + /usr/bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/man/man8' /usr/bin/install -c -m 644 ipmievd.8 '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/man/man8' make[4]: Leaving directory '/build/ipmitool-1.8.18/doc' make[3]: Leaving directory '/build/ipmitool-1.8.18/doc' @@ -2581,7 +2649,7 @@ make[3]: Entering directory '/build/ipmitool-1.8.18/contrib' make[4]: Entering directory '/build/ipmitool-1.8.18/contrib' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/ipmitool' + /usr/bin/mkdir -p '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/ipmitool' /usr/bin/install -c -m 644 oem_ibm_sel_map '/build/ipmitool-1.8.18/debian/ipmitool/usr/share/ipmitool' make[4]: Leaving directory '/build/ipmitool-1.8.18/contrib' make[3]: Leaving directory '/build/ipmitool-1.8.18/contrib' @@ -2637,12 +2705,15 @@ dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) +I: copying local configuration +I: user script /srv/workspace/pbuilder/31501/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31501/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/12137 and its subdirectories -I: Current time: Mon May 31 13:47:27 -12 2021 -I: pbuilder-time-stamp: 1622512047 +I: removing directory /srv/workspace/pbuilder/31501 and its subdirectories +I: Current time: Mon Jul 4 22:11:14 +14 2022 +I: pbuilder-time-stamp: 1656922274