W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build I: Current time: Sat Jul 23 08:14:51 +14 2022 I: pbuilder-time-stamp: 1658513691 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [ipmitool_1.8.18-6+deb10u1.dsc] I: copying [./ipmitool_1.8.18.orig.tar.bz2] I: copying [./ipmitool_1.8.18-6+deb10u1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sun Mar 28 14:32:38 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-6+deb10u1.dsc dpkg-source: info: extracting ipmitool in ipmitool-1.8.18 dpkg-source: info: unpacking ipmitool_1.8.18.orig.tar.bz2 dpkg-source: info: unpacking ipmitool_1.8.18-6+deb10u1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0120-openssl1.1.patch dpkg-source: info: applying 0100-fix_buf_overflow.patch dpkg-source: info: applying 0500-fix_CVE-2011-4339.patch dpkg-source: info: applying 0600-manpage_longlines.patch dpkg-source: info: applying 0110-getpass-prototype.patch dpkg-source: info: applying 0115-typo.patch dpkg-source: info: applying 0125-nvidia-iana.patch dpkg-source: info: applying CVE-2020-5208_1_Fix_buffer_overflow_vulnerabilities.patch dpkg-source: info: applying CVE-2020-5208_2-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch dpkg-source: info: applying CVE-2020-5208_3-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch dpkg-source: info: applying CVE-2020-5208_4-channel-Fix-buffer-overflow.patch dpkg-source: info: applying CVE-2020-5208_5_lanp-Fix-buffer-overflows-in-get_lan_param_select.patch dpkg-source: info: applying CVE-2020-5208_6-fru-sdr-Fix-id_string-buffer-overflows.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2178/tmp/hooks/D01_modify_environment starting debug: Running on codethink9-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash 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/2178/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/2178/tmp/hooks/D02_print_environment starting I: set 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]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=2178 PS4='+ ' 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.E1w6nL8vtE/pbuilderrc_KMBc --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.E1w6nL8vtE/b2 --logfile b2/build.log ipmitool_1.8.18-6+deb10u1.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.15.0-144-generic #148-Ubuntu SMP Sat May 8 02:34:06 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 35576 Mar 1 2019 cat -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash -rwxr-xr-x 1 root root 97136 Mar 1 2019 date -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd -rwxr-xr-x 1 root root 93752 Mar 1 2019 df -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir -rwxr-xr-x 1 root root 75984 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 27256 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 23 2020 fusermount -rwxr-xr-x 1 root root 174304 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 6 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln -rwxr-xr-x 1 root root 52544 Jul 27 2018 login -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 10 2019 more -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 138736 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Jul 23 08:15 sh -> bash lrwxrwxrwx 1 root root 4 Jul 11 04:47 sh.distrib -> dash -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty -rwsr-xr-x 1 root root 59424 Jan 10 2019 su -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch -rwxr-xr-x 1 root root 27256 Mar 1 2019 true -rwxr-xr-x 1 root root 14264 Apr 23 2020 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/2178/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>> 11), libncurses-dev, libfreeipmi-dev, libreadline-dev, libssl-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>> 11); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libncurses-dev; however: Package libncurses-dev is not installed. pbuilder-satisfydepends-dummy depends on libfreeipmi-dev; however: Package libfreeipmi-dev is not installed. pbuilder-satisfydepends-dummy depends on libreadline-dev; however: Package libreadline-dev is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} freeipmi-common{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libfreeipmi-dev{a} libfreeipmi17{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses6{a} libpipeline1{a} libreadline-dev{a} libreadline7{a} libsigsegv2{a} libssl-dev{a} libssl1.1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} readline-common{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 42 newly installed, 0 to remove and 0 not upgraded. Need to get 24.4 MB of archives. After unpacking 99.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2+deb10u1 [97.6 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3+deb10u1 [870 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 freeipmi-common all 1.6.3-1.1 [349 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 readline-common all 7.0-5 [70.6 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u2 [242 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u2 [115 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u2 [66.5 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 14 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u3 [1185 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+deb10u2 [625 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 34 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 35 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Get: 36 http://deb.debian.org/debian buster/main arm64 libfreeipmi17 arm64 1.6.3-1.1 [800 kB] Get: 37 http://deb.debian.org/debian buster/main arm64 libfreeipmi-dev arm64 1.6.3-1.1 [960 kB] Get: 38 http://deb.debian.org/debian buster/main arm64 libncurses-dev arm64 6.1+20181013-2+deb10u2 [324 kB] Get: 39 http://deb.debian.org/debian buster/main arm64 libreadline7 arm64 7.0-5 [134 kB] Get: 40 http://deb.debian.org/debian buster/main arm64 libreadline-dev arm64 7.0-5 [128 kB] Get: 41 http://deb.debian.org/debian buster/main arm64 libssl1.1 arm64 1.1.1d-0+deb10u6 [1382 kB] Get: 42 http://deb.debian.org/debian buster/main arm64 libssl-dev arm64 1.1.1d-0+deb10u6 [1686 kB] Fetched 24.4 MB in 1s (47.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (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 ... 19168 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2+deb10u1_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2+deb10u1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../02-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3+deb10u1_arm64.deb ... Unpacking groff-base (1.22.4-3+deb10u1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../04-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package freeipmi-common. Preparing to unpack .../06-freeipmi-common_1.6.3-1.1_all.deb ... Unpacking freeipmi-common (1.6.3-1.1) ... Selecting previously unselected package readline-common. Preparing to unpack .../07-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../08-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../09-libmagic-mgc_1%3a5.35-4+deb10u2_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u2) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../10-libmagic1_1%3a5.35-4+deb10u2_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u2) ... Selecting previously unselected package file. Preparing to unpack .../11-file_1%3a5.35-4+deb10u2_arm64.deb ... Unpacking file (1:5.35-4+deb10u2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../12-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../13-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../14-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../15-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../16-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../17-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../18-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../22-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../23-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../24-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../25-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../26-libglib2.0-0_2.58.3-2+deb10u3_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u3) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../27-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../28-libxml2_2.9.4+dfsg1-7+deb10u2_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+deb10u2) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../29-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../30-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../31-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../32-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../33-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../34-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libfreeipmi17. Preparing to unpack .../35-libfreeipmi17_1.6.3-1.1_arm64.deb ... Unpacking libfreeipmi17 (1.6.3-1.1) ... Selecting previously unselected package libfreeipmi-dev. Preparing to unpack .../36-libfreeipmi-dev_1.6.3-1.1_arm64.deb ... Unpacking libfreeipmi-dev (1.6.3-1.1) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../37-libncurses-dev_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses-dev:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libreadline7:arm64. Preparing to unpack .../38-libreadline7_7.0-5_arm64.deb ... Unpacking libreadline7:arm64 (7.0-5) ... Selecting previously unselected package libreadline-dev:arm64. Preparing to unpack .../39-libreadline-dev_7.0-5_arm64.deb ... Unpacking libreadline-dev:arm64 (7.0-5) ... Selecting previously unselected package libssl1.1:arm64. Preparing to unpack .../40-libssl1.1_1.1.1d-0+deb10u6_arm64.deb ... Unpacking libssl1.1:arm64 (1.1.1d-0+deb10u6) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../41-libssl-dev_1.1.1d-0+deb10u6_arm64.deb ... Unpacking libssl-dev:arm64 (1.1.1d-0+deb10u6) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u2) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u3) ... No schema files found: doing nothing. Setting up freeipmi-common (1.6.3-1.1) ... Setting up libssl1.1:arm64 (1.1.1d-0+deb10u6) ... Setting up libmagic1:arm64 (1:5.35-4+deb10u2) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u2) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up libssl-dev:arm64 (1.1.1d-0+deb10u6) ... Setting up autopoint (0.19.8.1-9) ... Setting up libfreeipmi17 (1.6.3-1.1) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up libfreeipmi-dev (1.6.3-1.1) ... Setting up libbsd0:arm64 (0.9.1-2+deb10u1) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up readline-common (7.0-5) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+deb10u2) ... Setting up libreadline7:arm64 (7.0-5) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libncurses-dev:arm64 (6.1+20181013-2+deb10u2) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up libreadline-dev:arm64 (7.0-5) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:arm64 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3+deb10u1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package hostname: Temporary failure in name resolution 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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ipmitool_1.8.18-6+deb10u1_source.changes dpkg-buildpackage: info: source package ipmitool dpkg-buildpackage: info: source version 1.8.18-6+deb10u1 dpkg-buildpackage: info: source distribution buster dpkg-buildpackage: info: source changed by Thomas Goirand dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:13: installing './compile' configure.ac:7: installing './missing' Makefile.am:65: warning: shell cd $(top_builddir) ; pwd | sed -e 's,^[^:\\/]:[\\/],/,': non-POSIX variable name Makefile.am:65: (probably a GNU make extension) Makefile.am:66: warning: shell cd $(top_srcdir) ; pwd | sed -e 's,^[^:\\/]:[\\/],/,': non-POSIX variable name Makefile.am:66: (probably a GNU make extension) lib/Makefile.am: installing './depcomp' debian/rules override_dh_auto_configure make[1]: Entering directory '/build/ipmitool-1.8.18' dh_auto_configure -- --prefix=/usr --with-kerneldir --mandir=/usr/share/man --enable-intf-dummy --enable-intf-usb ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --libexecdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --with-kerneldir --mandir=/usr/share/man --enable-intf-dummy --enable-intf-usb configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-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 gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for rpmbuild... 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 ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strtod... yes checking for alarm... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for getifaddrs... yes checking for socket... yes checking for select... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for getpassphrase... no checking how to print strings... printf checking for a sed that does not truncate output... sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip 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 mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for library containing gethostbyname... none required checking for library containing getaddrinfo... none required checking for library containing getifaddrs... none required checking for library containing socket... none required checking for EVP_aes_128_cbc in -lcrypto... yes checking for EVP_sha256 in -lcrypto... yes checking for MD5_Init in -lcrypto... yes checking for MD2_Init in -lcrypto... no checking for linux/compiler.h... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking linux/ipmi.h usability... yes checking linux/ipmi.h presence... yes checking for linux/ipmi.h... yes checking for ipmi_open_inband in -lfreeipmi... no checking for ipmi_ctx_open_inband in -lfreeipmi... yes checking for libfreeipmi version 0.3.0... no checking for libfreeipmi version 0.4.0... no checking for libfreeipmi version 0.5.0... no checking for libfreeipmi version 0.6.0... yes checking for ipmi_cmd_raw_ipmb in -lfreeipmi... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for OpenIPMI dual bridge support... no checking sys/lipmi/lipmi_intf.h usability... no checking sys/lipmi/lipmi_intf.h presence... no checking for sys/lipmi/lipmi_intf.h... no ** Unable to build Solaris 9 x86 IPMI interface support! checking for library containing tgetent... -ltinfo checking for library containing initscr... -lncurses checking for library containing readline... -lreadline checking for library containing tgetent... (cached) -ltinfo checking for library containing initscr... (cached) -lncurses checking for library containing readline... (cached) -lreadline checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating contrib/Makefile config.status: creating control/Makefile config.status: creating control/pkginfo config.status: creating control/prototype config.status: creating control/rpmmacros config.status: creating control/ipmitool.spec config.status: creating lib/Makefile config.status: creating include/Makefile config.status: creating include/ipmitool/Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/lan/Makefile config.status: creating src/plugins/lanplus/Makefile config.status: creating src/plugins/open/Makefile config.status: creating src/plugins/free/Makefile config.status: creating src/plugins/imb/Makefile config.status: creating src/plugins/bmc/Makefile config.status: creating src/plugins/usb/Makefile config.status: creating src/plugins/lipmi/Makefile config.status: creating src/plugins/serial/Makefile config.status: creating src/plugins/dummy/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-maintainer-mode ipmitool 1.8.18 Interfaces lan : yes lanplus : yes open : yes free : yes imb : yes bmc : no usb : yes lipmi : no serial : yes dummy : yes Extra tools ipmievd : yes ipmishell : yes make[1]: Leaving directory '/build/ipmitool-1.8.18' dh_auto_build make -j8 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/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o helper.lo helper.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_sdr.lo ipmi_sdr.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_sel.lo ipmi_sel.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_sol.lo ipmi_sol.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_pef.lo ipmi_pef.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_lanp.lo ipmi_lanp.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_fru.lo ipmi_fru.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_chassis.lo ipmi_chassis.c In file included from /usr/include/aarch64-linux-gnu/sys/types.h:25, from helper.c:39: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ipmi_sel.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ipmi_sdr.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_sol.c:38: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ 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] } ATTRIBUTE_PACKING; ^ In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_chassis.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../include/ipmitool/ipmi.h:41, from helper.c:66: helper.c: In function 'str2val': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ helper.c:567:35: note: in expansion of macro '__maxlen' if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) ^~~~~~~~ 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] } ATTRIBUTE_PACKING; ^ helper.c: In function 'ipmi_start_daemon': helper.c:831:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ helper.c:840:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^~~~~~~ helper.c:841:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^~~~~~~ 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] sprintf(p, listitem[index], pmap->desc); ^~~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_flags': ipmi_pef.c:134:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); ^~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_field': ipmi_pef.c:146:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[0], KYWD_LENGTH, label, val); ^~~~~~ ipmi_pef.c:148:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(&fmt[1][2], val); /* skip field separator */ ^~~~~~ ipmi_pef.c:150:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[1], val); ^~~~~~ 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] }; ^ ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] int base, ~~~~^~~~ 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=] if (sscanf(str, "0x%x", &ret) != 1) { ~^ ~~~~ %x ipmi_pef.c: In function 'ipmi_pef_print_oem_lan_dest': ipmi_pef.c:605:61: warning: unused parameter 'ch' [-Wunused-parameter] ipmi_pef_print_oem_lan_dest(struct ipmi_intf *intf, uint8_t ch, uint8_t dest) ~~~~~~~~^~ ipmi_sel.c: In function 'ipmi_sel_oem_message': ipmi_sel.c:196:69: warning: unused parameter 'verbose' [-Wunused-parameter] static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) ~~~~^~~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_dest': ipmi_pef.c:906:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) ~~~~~~~~~~~~~~~~~~~^~~~ ipmi_pef.c:906:54: warning: unused parameter 'ch' [-Wunused-parameter] 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 'long unsigned int' [-Wsign-compare] if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { ^~ ipmi_sel.c: In function 'get_kontron_evt_desc': ipmi_sel.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] get_kontron_evt_desc(struct ipmi_intf *intf, struct sel_event_record * rec) ~~~~~~~~~~~~~~~~~~^~~~ 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] } ATTRIBUTE_PACKING; ^ 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 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1812:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_lanp.c:1812:25: note: in expansion of macro '__min' 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 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1827:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_lanp.c:1827:25: note: in expansion of macro '__min' 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 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1841:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_lanp.c:1841:25: note: in expansion of macro '__min' 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 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1867:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_lanp.c:1867:25: note: in expansion of macro '__min' 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 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1892:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_lanp.c:1892:25: note: in expansion of macro '__min' 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 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1920:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_lanp.c:1920:25: note: in expansion of macro '__min' 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 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1936:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_lanp.c:1936:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^~~~~ 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] } ATTRIBUTE_PACKING; ^ 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] }; ^ 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] 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] 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] || 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] || 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] if (i == j) { ^~ 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] if (i == j) ^~ 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] if (i == j) ^~ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1494:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for( i=0;iid_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] 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] 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] id_string = record.mcloc->id_string; ^ ipmi_sdr.c:2476:53: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf, uint16_t id, ~~~~~~~~~~~~~~~~~~^~~~ 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 'long unsigned int' [-Wsign-compare] for (j=0; j < sizeof(struct fru_picmgext_guid); ^ ipmi_fru.c:2539:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (j=0; j < sizeof(struct fru_picmgext_guid); ^ ipmi_sdr.c: In function 'ipmi_sdr_end': ipmi_sdr.c:3087:32: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) ~~~~~~~~~~~~~~~~~~^~~~ ipmi_fru.c:2850:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=] printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", ~~~~^ %-9d freq, min_freq, max_freq); ~~~~ ipmi_fru.c:2850:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", ~~~~^ %-9d freq, min_freq, max_freq); ~~~~~~~~ ipmi_fru.c:2850:61: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", ~~~~^ %-9d freq, min_freq, max_freq); ~~~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_list_cache_fromfile': ipmi_sdr.c:3933:48: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) ~~~~~~~~~~~~~~~~~~^~~~ In file included from ../include/ipmitool/ipmi.h:41, from ipmi_sdr.c:45: ipmi_sdr.c: In function 'ipmi_sdr_get_info': ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4215:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^~~~~ ../include/ipmitool/helper.h:116:42: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_sdr.c:4215:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_type': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_sdr.c:4485:6: note: in expansion of macro '__maxlen' __maxlen(type, ^~~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_entity': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_sdr.c:4550:7: note: in expansion of macro '__maxlen' __maxlen(entitystr, entity_id_vals[i].str)) == 0) { ^~~~~~~~ ipmi_fru.c: In function 'ipmi_fru_get_multirec_size_from_file': ipmi_fru.c:3867:36: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.internal * 8) > (header.offset.internal * 8)) && ^ ipmi_fru.c:3871:35: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && ^ ipmi_fru.c:3875:33: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.board * 8) > (header.offset.board * 8)) && ^ ipmi_fru.c:3879:35: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.product * 8) > (header.offset.product * 8)) && ^ ipmi_sdr.c: In function 'sdr_convert_sensor_reading': ipmi_sdr.c:206:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (val & 0x80) ^ ipmi_sdr.c:209:2: note: here case 2: ^~~~ ipmi_sdr.c: In function 'sdr_convert_sensor_hysterisis': ipmi_sdr.c:286:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (val & 0x80) ^ ipmi_sdr.c:289:2: note: here case 2: ^~~~ ipmi_sdr.c: In function 'sdr_convert_sensor_tolerance': ipmi_sdr.c:361:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (val & 0x80) ^ ipmi_sdr.c:364:2: note: here case 2: ^~~~ 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] if (((header.offset.internal * 8) > (header.offset.internal * 8)) && ^ ipmi_fru.c:4058:35: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && ^ ipmi_fru.c:4062:33: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.board * 8) > (header.offset.board * 8)) && ^ ipmi_fru.c:4066:35: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.product * 8) > (header.offset.product * 8)) && ^ 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] 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] num_byte_change = strlen(f_string) - strlen(fru_area); ^~~~~~~~ In file included from ../include/ipmitool/helper.h:39, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ipmi_fru.c:5139:73: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 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] strlen(fru_area)), ^~~~~~~~ In file included from ../include/ipmitool/helper.h:39, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 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] for(counter = 0; counter < padding_len; counter ++) ^ At top level: ipmi_fru.c:855:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] snprintf(sval, sizeof (sval), "%s %s", ^ In file included from /usr/include/stdio.h:873, from ipmi_sdr.c:40: /usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] snprintf(sval, sizeof (sval), "%s %s", ^ In file included from /usr/include/stdio.h:873, from ipmi_sdr.c:40: /usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_mc.lo ipmi_mc.c 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] strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_mc.c:33: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_mc.c:33: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o log.lo log.c In file included from /usr/include/unistd.h:25, from log.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o dimm_spd.lo dimm_spd.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_sensor.lo ipmi_sensor.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_channel.lo ipmi_channel.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] } 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] }; ^ In file included from /usr/include/string.h:494, from ../include/ipmitool/helper.h:39, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit.isra.0' at ipmi_fru.c:1824:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3545:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [2, 8] is out of the bounds [0, 1] [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit.isra.0' at ipmi_fru.c:1828:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3545:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [2, 8] is out of the bounds [0, 1] [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit.isra.0' at ipmi_fru.c:1832:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3545:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [2, 8] is out of the bounds [0, 1] [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit.isra.0' at ipmi_fru.c:1836:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3545:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [2, 8] is out of the bounds [0, 1] [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit.isra.0' at ipmi_fru.c:1847:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3545:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [2, 8] is out of the bounds [0, 1] [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit.isra.0' at ipmi_fru.c:1851:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3545:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [2, 8] is out of the bounds [0, 1] [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'ipmi_fru_oemkontron_edit.isra.0' at ipmi_fru.c:1855:9, inlined from 'ipmi_fru_edit_multirec' at ipmi_fru.c:3545:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [2, 8] is out of the bounds [0, 1] [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] || len > rsp->data_len - 1 ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] } 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 'long unsigned int' [-Wsign-compare] || 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] printf(na_fmt, "na"); ^~~~~~ ipmi_sensor.c:239:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 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] printf(discrete_fmt, setting); ^~~~~~ In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_event.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ 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] } 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] # 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' 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 'long unsigned int' [-Wsign-compare] 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 'long unsigned int' [-Wsign-compare] for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { ^ 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] int rc; ^~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_session.lo ipmi_session.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_strings.lo ipmi_strings.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_user.lo ipmi_user.c 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] } ATTRIBUTE_PACKING; ^ 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 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:313:11: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_session.c:313:11: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:315:23: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_session.c:315:23: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:347:11: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_session.c:347:11: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^~~~~ ../include/ipmitool/helper.h:116:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:349:23: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^~~~~ ../include/ipmitool/helper.h:116:36: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^~~ ipmi_session.c:349:23: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^~~~~ In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_user.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ 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 'long unsigned int'} and 'int' [-Wsign-compare] if (copy_len > (data_len - 2)) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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 -ffile-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.15.0-144-generic/build/include -c -o ipmi_oem.lo ipmi_oem.c ipmi_raw.c: In function 'ipmi_raw_main': ipmi_raw.c:334:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] else if (argc > sizeof(data)) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] } ATTRIBUTE_PACKING; ^ ipmi_oem.c: In function 'ipmi_oem_ibm': ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_oem_ibm(struct ipmi_intf * intf) ~~~~~~~~~~~~~~~~~~~^~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_sunoem.lo ipmi_sunoem.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] int rc = processiSolUserInput(intf, buffer, numRead); ^~~~~~ ipmi_isol.c:457:1: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' processiSolUserInput(struct ipmi_intf * intf, ^~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_fwum.lo ipmi_fwum.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] } ATTRIBUTE_PACKING; ^ ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': ipmi_sunoem.c:2293:25: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_sunoem.c:34: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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 'long unsigned int'} and 'int' [-Wsign-compare] modulus, pFileHandle) == modulus) { ^~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_picmg.lo ipmi_picmg.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_main.lo ipmi_main.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] } ATTRIBUTE_PACKING; ^ In file included from ipmi_picmg.c:36: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation': ipmi_picmg.c:664:56: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation(struct ipmi_intf * intf, int argc, char ** argv, unsigned char state) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_get': ipmi_picmg.c:698:67: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation_policy_get(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_set': ipmi_picmg.c:737:67: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation_policy_set(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_properties': ipmi_picmg.c:1161:60: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_properties(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_capabilities': ipmi_picmg.c:1200:62: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_capabilities(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_state': ipmi_picmg.c:1250:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_state(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_set_led_state': ipmi_picmg.c:1337:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_led_state(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_power_level': ipmi_picmg.c:1413:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_power_level(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_set_power_level': ipmi_picmg.c:1464:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_power_level(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_fru_control': ipmi_picmg.c:1568:53: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_control(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_picmg.c: In function 'ipmi_picmg_clk_set': ipmi_picmg.c:1754:30: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] if (is_clk_resid(argv[6], &msg_data[10]) != 0) { ^~~~~~~~~~~~~ ipmi_picmg.c:328:1: note: expected 'int8_t *' {aka 'signed char *'} but argument is of type 'unsigned char *' is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) ^~~~~~~~~~~~ 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] } ATTRIBUTE_PACKING; ^ In file included from ipmi_main.c:60: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ 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] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_main.c:208:32: note: in expansion of macro '__maxlen' if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) ^~~~~~~~ ipmi_tsol.c: In function 'ipmi_tsol_command': ipmi_tsol.c:88:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ~^ ~~~~ %d ipmi_tsol.c:88:26: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ~^ ~~~~ %d ipmi_tsol.c:88:29: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ~^ ~~~~ %d ipmi_tsol.c:88:32: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ~^ ~~~~ %d ipmi_tsol.c: In function 'ipmi_tsol_main': ipmi_tsol.c:540:54: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if ((fds[0].revents & POLLIN) && (sizeof(out_buff) > out_buff_fill)) { ^ ipmi_tsol.c:543:47: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if ((sizeof(out_buff) - out_buff_fill + 4) < buff_size) { ^ ipmi_tsol.c:561:53: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if ((fds[1].revents & POLLIN) && (sizeof(in_buff) > in_buff_fill)) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_firewall.lo ipmi_firewall.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_kontronoem.lo ipmi_kontronoem.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c In file included from /usr/include/aarch64-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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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] } ATTRIBUTE_PACKING; ^ In file included from ipmi_kontronoem.c:47: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_kontronoem.c: In function 'ipmi_kontron_nextboot_set': ipmi_kontronoem.c:659:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_kontron_nextboot_set(struct ipmi_intf *intf, int argc, char **argv) ~~~~^~~~ ipmi_hpmfwupg.c: In function 'HpmfwupgPreUpgradeCheck': ipmi_hpmfwupg.c:837:43: warning: unused parameter 'intf' [-Wunused-parameter] HpmfwupgPreUpgradeCheck(struct ipmi_intf *intf, ~~~~~~~~~~~~~~~~~~^~~~ ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': ipmi_hpmfwupg.c:1420:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ret != pFwupgCtx->imageSize) { ^~ ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': ipmi_hpmfwupg.c:2342:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (dataIdx = 0; dataIdx < length; dataIdx++) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] } 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 -ffile-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.15.0-144-generic/build/include -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c In file included from ../include/ipmitool/ipmi_fru.h:38, from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': ipmi_ekanalyzer.c:483:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { ^ ipmi_ekanalyzer.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_ekanalyzer_main(struct ipmi_intf *intf, int argc, char **argv) ~~~~~~~~~~~~~~~~~~^~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_matching_process': ipmi_ekanalyzer.c:1241:38: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header ** list_last, char * opt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_record': ipmi_ekanalyzer.c:2939:32: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header *list_last) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': ipmi_ekanalyzer.c:3371:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { ^ At top level: ipmi_ekanalyzer.c:3316:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_gendev.lo ipmi_gendev.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_ime.lo ipmi_ime.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] } ATTRIBUTE_PACKING; ^ ipmi_gendev.c: In function 'ipmi_gendev_get_eeprom_size': ipmi_gendev.c:74:43: warning: unused parameter 'intf' [-Wunused-parameter] 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] if(fileLength != eeprom_size) ^~ ipmi_ime.c: In function 'ImeImageCtxFromFile': ipmi_ime.c:895:30: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (pImageCtx->size < 0) ^ At top level: ipmi_ime.c:799:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] static int ImeUpdateShowStatus(struct ipmi_intf *intf) ^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_delloem.lo ipmi_delloem.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_dcmi.lo ipmi_dcmi.c In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_dcmi.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ 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] } ATTRIBUTE_PACKING; ^ 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] }; ^ 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] } ATTRIBUTE_PACKING; ^ ipmi_delloem.c: In function 'ipmi_lcd_set_text': ipmi_delloem.c:1341:61: warning: unused parameter 'line_number' [-Wunused-parameter] ipmi_lcd_set_text(struct ipmi_intf * intf, char * text, int line_number) ~~~~^~~~~~~~~~~ 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] # 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' __maxlen(str, vs[i].str)) == 0) { ^~~~~~~~ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': ipmi_delloem.c:1582:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_mac': ipmi_delloem.c:1674:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_10g': ipmi_delloem.c:1742:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_11g': ipmi_delloem.c:1805:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_delloem_lan_main': ipmi_delloem.c:1997:45: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); ^~~~~~~ ipmi_delloem.c:199:12: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' static int ipmi_lan_set_nic_selection_12g(struct ipmi_intf *intf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c:1961:52: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_delloem_lan_main(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ 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] val.limit = *(uint16_t*)(&lvalue); ^~~~~~~~~~~~~~~~~~~~ ipmi_dcmi.c:1909:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] val.sample = *(uint16_t*)(&lvalue); ^~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': ipmi_delloem.c:3364:10: warning: too many arguments for format [-Wformat-extra-args] printf("Peak power consmhistory Data : " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_get_power_cap': ipmi_delloem.c:3560:10: warning: too many arguments for format [-Wformat-extra-args] printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_delloem_vFlash_main': ipmi_delloem.c:3819:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_delloem_vFlash_main(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmi_delloem.c: In function 'ipmi_delloem_setled_main': ipmi_delloem.c:4228:45: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4228:48: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4228:51: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4232:41: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4232:44: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4232:47: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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 -ffile-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.15.0-144-generic/build/include -c -o ipmi_vita.lo ipmi_vita.c ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': ipmi_ekanalyzer.c:1601:28: warning: 'pcarrier_p2p' may be used uninitialized in this function [-Wmaybe-uninitialized] result = ipmi_ek_check_physical_connectivity ( record1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ index_ch_desc1, record2, index_ch_desc2, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ physic_record, file_type1, file_type2, opt ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_ekanalyzer.c:1133:43: note: 'pcarrier_p2p' was declared here struct ipmi_ek_multi_header * pcarrier_p2p; ^~~~~~~~~~~~ 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] } 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] }; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_lanp6.lo ipmi_lanp6.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmi_cfgp.lo ipmi_cfgp.c ipmi_lanp6.c: In function 'lanp_parse_cfgp': ipmi_lanp6.c:596:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (set > 2) { ^ ipmi_lanp6.c:601:2: note: here case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: ^~~~ ipmi_lanp6.c: In function 'lanp_get_cfgp': ipmi_lanp6.c:703:11: warning: this statement may fall through [-Wimplicit-fallthrough=] data[0] = data[17] = data[24] = data[26] = set; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_lanp6.c:705:2: note: here case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: ^~~~ ipmi_lanp6.c: In function 'lanp_set_cfgp': ipmi_lanp6.c:653:7: warning: this statement may fall through [-Wimplicit-fallthrough=] off = 1; ~~~~^~~ ipmi_lanp6.c:655:2: note: here case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: ^~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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 -ffile-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.15.0-144-generic/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 ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/ipmitool-1.8.18/lib' Making all in src make[3]: Entering directory '/build/ipmitool-1.8.18/src' Making all in plugins 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/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o lan.lo lan.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) ~~~~~~~~~~~~~~~~~~~~~~^ auth.c:129:60: warning: unused parameter 'data' [-Wunused-parameter] uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) ~~~~~~~~~~^~~~ auth.c:129:70: warning: unused parameter 'data_len' [-Wunused-parameter] uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) ~~~~^~~~~~~~ In file included from ../../../include/ipmitool/ipmi_sel.h:38, from lan.c:53: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ lan.c: In function 'ipmi_handle_pong': lan.c:344:37: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) ~~~~~~~~~~~~~~~~~~~^~~~ lan.c: In function 'check_sol_packet_for_new_data': lan.c:1445:50: warning: unused parameter 'intf' [-Wunused-parameter] check_sol_packet_for_new_data(struct ipmi_intf * intf, ~~~~~~~~~~~~~~~~~~~^~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-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.15.0-144-generic/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... ar: `u' modifier ignored since `D' is the default (see `U') 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/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o lanplus.lo lanplus.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o lanplus_strings.lo lanplus_strings.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o lanplus_crypt.lo lanplus_crypt.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o lanplus_dump.lo lanplus_dump.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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 #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:91:1: warning: embedding a directive within macro arguments is not portable #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_rakp4_hmac_matches': lanplus_crypt.c:256:1: warning: embedding a directive within macro arguments is not portable #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:258:1: warning: embedding a directive within macro arguments is not portable #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_generate_rakp3_authcode': lanplus_crypt.c:422:1: warning: embedding a directive within macro arguments is not portable #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:424:1: warning: embedding a directive within macro arguments is not portable #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_generate_sik': lanplus_crypt.c:544:1: warning: embedding a directive within macro arguments is not portable #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:546:1: warning: embedding a directive within macro arguments is not portable #endif /* HAVE_CRYPTO_SHA256 */ ^ In file included from ../../../include/ipmitool/ipmi_sel.h:38, from lanplus.c:60: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ lanplus.c: In function 'ipmi_handle_pong': lanplus.c:526:37: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) ~~~~~~~~~~~~~~~~~~~^~~~ lanplus.c: In function 'ipmi_lan_poll_single': lanplus.c:773:12: warning: unused variable 'target_cmd' [-Wunused-variable] uint8_t target_cmd = entry->req.msg.target_cmd; ^~~~~~~~~~ lanplus.c: In function 'read_session_data_v2x': lanplus.c:1222:30: warning: unused parameter 's' [-Wunused-parameter] struct ipmi_session * s) ~~~~~~~~~~~~~~~~~~~~~~^ lanplus.c: In function 'read_session_data_v15': lanplus.c:1276:30: warning: unused parameter 's' [-Wunused-parameter] struct ipmi_session * s) ~~~~~~~~~~~~~~~~~~~~~~^ lanplus.c: In function 'getSolPayloadWireRep': lanplus.c:1540:34: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf * intf, /* in out */ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ lanplus.c: In function 'ipmi_lanplus_build_v2x_ipmi_cmd': lanplus.c:1974:17: warning: unused variable 'backup_cmd' [-Wunused-variable] unsigned char backup_cmd; ^~~~~~~~~~ lanplus.c: In function 'check_sol_packet_for_new_data': lanplus.c:2587:29: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf * intf, ~~~~~~~~~~~~~~~~~~~^~~~ lanplus.c: In function 'ipmi_lanplus_open': lanplus.c:3452:34: warning: 'auth_cap' may be used uninitialized in this function [-Wmaybe-uninitialized] struct get_channel_auth_cap_rsp auth_cap; ^~~~~~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-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.15.0-144-generic/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 ar: `u' modifier ignored since `D' is the default (see `U') 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/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] } ATTRIBUTE_PACKING; ^ open.c: In function 'ipmi_openipmi_open': open.c:106:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(ipmi_devfs2, "/dev/ipmidev/%d", devnum); ^ In file included from /usr/include/stdio.h:873, from open.c:34: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 17 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-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.15.0-144-generic/build/include -Wl,-z,relro -Wl,-z,now -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto ar: `u' modifier ignored since `D' is the default (see `U') 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/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o imbapi.lo imbapi.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] } ATTRIBUTE_PACKING; ^ imbapi.c: In function 'open_imb': imbapi.c:173:47: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: opening the driver", __FUNCTION__); ^~~~~~~~~~~~ imbapi.c:195:16: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FILE__, __FUNCTION__, IMB_DEVICE); ^~~~~~~~~~~~ imbapi.c:215:64: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: opened driver, getting IPMI version", __FUNCTION__); ^~~~~~~~~~~~ imbapi.c:222:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, my_ret_code, completionCode); ^~~~~~~~~~~~ imbapi.c:236:46: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: IPMI version 0x%x", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'DeviceIoControl': imbapi.c:301:46: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: ioctl cmd = 0x%lx", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c:322:15: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FILE__, __FUNCTION__, dwIoControlCode); ^~~~~~~~~~~~ imbapi.c:326:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, ioctl_status, *lpcbBytesReturned); ^~~~~~~~~~~~ imbapi.c:328:43: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s returning true", __FUNCTION__); ^~~~~~~~~~~~ imbapi.c:331:44: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s returning false", __FUNCTION__); ^~~~~~~~~~~~ imbapi.c:288:24: warning: unused parameter 'dummey_hDevice' [-Wunused-parameter] DeviceIoControl(HANDLE dummey_hDevice, DWORD dwIoControlCode, LPVOID ~~~~~~~^~~~~~~~~~~~~~ imbapi.c: In function 'StartAsyncMesgPoll': imbapi.c:344:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, IOCTL_IMB_POLL_ASYNC); ^~~~~~~~~~~~ imbapi.c:349:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedI2cRequest': imbapi.c:410:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedEmpMessageResponse': imbapi.c:501:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedEmpMessageResponse_Ex': imbapi.c:629:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedLanMessageResponse': imbapi.c:714:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedLanMessageResponse_Ex': imbapi.c:842:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'SendTimedImbpRequest': imbapi.c:885:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, req->req.rsSa, req->req.cmd, ^~~~~~~~~~~~ imbapi.c:893:4: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, status); ^~~~~~~~~~~~ imbapi.c: In function 'SendAsyncImbpRequest': imbapi.c:952:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'GetAsyncImbpMessage': imbapi.c:1002:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, status); ^~~~~~~~~~~~ imbapi.c: In function 'GetAsyncImbpMessage_Ex': imbapi.c:1099:5: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, status); ^~~~~~~~~~~~ imbapi.c: In function 'IsAsyncMessageAvailable': imbapi.c:1197:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'RegisterForImbAsyncMessageNotification': imbapi.c:1229:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'UnRegisterForImbAsyncMessageNotification': imbapi.c:1268:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'SetShutDownCode': imbapi.c:1298:56: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: DeviceIoControl status = %d", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'MapPhysicalMemory': imbapi.c:1405:15: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FILE__, __FUNCTION__, IMB_DEVICE); ^~~~~~~~~~~~ imbapi.c:1416:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] sprintf(buf, "%s %s: mmap failed", __FILE__, __FUNCTION__); ^~~~~~~~~~~~ imbapi.c:1421:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: mmap of 0x%x success", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c: In function 'UnmapPhysicalMemory': imbapi.c:1454:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: calling munmap(0x%x,%d)", __FUNCTION__, ^~~~~~~~~~~~ imbapi.c:1458:50: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] sprintf(buf, "%s %s: munmap failed", __FILE__, __FUNCTION__); ^~~~~~~~~~~~ imbapi.c:1462:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] lprintf(LOG_DEBUG, "%s: munmap(0x%x,%d) success", __FUNCTION__, ^~~~~~~~~~~~ imb.c: In function 'ipmi_imb_send_cmd': imb.c:78:62: warning: unused parameter 'intf' [-Wunused-parameter] 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 -ffile-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.15.0-144-generic/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 ar: `u' modifier ignored since `D' is the default (see `U') 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/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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'; did you mean 'getenv'? [-Wimplicit-function-declaration] if (getuid() != 0) { ^~~~~~ getenv free.c:170:26: warning: implicit declaration of function 'ipmi_get_oem'; did you mean 'ipmi_get_oem_id'? [-Wimplicit-function-declaration] intf->manufacturer_id = ipmi_get_oem(intf); ^~~~~~~~~~~~ ipmi_get_oem_id free.c:64:27: warning: unused variable 'ssif_ret' [-Wunused-variable] int kcs_ret = -1, ssif_ret = -1; ^~~~~~~~ free.c:64:13: warning: unused variable 'kcs_ret' [-Wunused-variable] int kcs_ret = -1, ssif_ret = -1; ^~~~~~~ free.c: At top level: free.c:311:6: warning: obsolete use of designated initializer with ':' [-Wpedantic] name: "free", ^ free.c:312:6: warning: obsolete use of designated initializer with ':' [-Wpedantic] desc: "FreeIPMI IPMI Interface", ^ free.c:313:6: warning: obsolete use of designated initializer with ':' [-Wpedantic] open: ipmi_free_open, ^ free.c:314:7: warning: obsolete use of designated initializer with ':' [-Wpedantic] close: ipmi_free_close, ^ free.c:315:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] sendrecv: ipmi_free_send_cmd, ^ free.c:316:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] target_addr: IPMI_BMC_SLAVE_ADDR, ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-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.15.0-144-generic/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 ar: `u' modifier ignored since `D' is the default (see `U') 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/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o serial_terminal.lo serial_terminal.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] 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 'long unsigned int' [-Wsign-compare] 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] if (rates[i].baudrate == rate) { ^~ serial_terminal.c:197:8: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (i >= sizeof(rates) / sizeof(rates[0])) { ^~ 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 'long unsigned int'} [-Wsign-compare] 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] buf += sprintf( buf, "%02x", msg[i]); ^~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from serial_terminal.c:39: /usr/include/aarch64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ serial_terminal.c: In function 'serial_term_get_message': serial_terminal.c:722:25: warning: unused parameter 'max_len' [-Wunused-parameter] uint8_t * msg, size_t max_len) ~~~~~~~^~~~~~~ serial_basic.c:92:22: warning: invalid use of structure with flexible array member [-Wpedantic] struct ipmb_msg_hdr msg; ^~~ serial_basic.c: In function 'serial_bm_open': serial_basic.c:245:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { ^ serial_basic.c:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (rates[i].baudrate == rate) { ^~ serial_basic.c:250:8: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (i >= sizeof(rates) / sizeof(rates[0])) { ^~ serial_basic.c: In function 'serial_bm_recv_msg': serial_basic.c:585:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (rv < recv_ctx->buffer_size) { ^ 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 'long unsigned int'} [-Wsign-compare] if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { ^ serial_basic.c: In function 'serial_bm_get_message': serial_basic.c:825:25: warning: unused parameter 'max_len' [-Wunused-parameter] uint8_t * msg, size_t max_len) ~~~~~~~^~~~~~~ serial_terminal.c: In function 'ipmi_serial_term_send_cmd': serial_terminal.c:805:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] serial_term_send_msg(intf, msg, msg_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] ctx->msg[ctx->msg_len++] = data[i]; ~~~~~~~~~~~~^~ serial_basic.c:551:29: note: 'parse_ctx.msg_len' was declared here struct serial_bm_parse_ctx parse_ctx; ^~~~~~~~~ serial_basic.c: In function 'serial_bm_send_request': serial_basic.c:921:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] serial_bm_send_msg(intf, msg, msg_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-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.15.0-144-generic/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 ar: `u' modifier ignored since `D' is the default (see `U') 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/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o dummy.lo dummy.c /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -Wl,-z,relro -Wl,-z,now -o libintf_dummy.la dummy.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto ar: `u' modifier ignored since `D' is the default (see `U') 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/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o usb.lo usb.c In file included from /usr/include/aarch64-linux-gnu/sys/types.h:25, from ../../../include/ipmitool/helper.h:36, from usb.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-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.15.0-144-generic/build/include -Wl,-z,relro -Wl,-z,now -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto ar: `u' modifier ignored since `D' is the default (see `U') make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/usb' make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins' /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/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] } ATTRIBUTE_PACKING; ^ /bin/sh ../../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-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.15.0-144-generic/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... ar: `u' modifier ignored since `D' is the default (see `U') 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 -ffile-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.15.0-144-generic/build/include -c -o ipmitool.o ipmitool.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmishell.o ipmishell.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ipmitool-1.8.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -I /lib/modules/4.15.0-144-generic/build/include -c -o ipmievd.o ipmievd.c In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ipmishell.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ipmievd.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ipmishell.c: In function 'ipmi_shell_main': ipmishell.c:102:50: warning: unused parameter 'argc' [-Wunused-parameter] int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) ~~~~^~~~ ipmishell.c:102:64: warning: unused parameter 'argv' [-Wunused-parameter] int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) ~~~~~~~~^~~~ ipmishell.c: In function 'ipmi_echo_main': ipmishell.c:228:39: warning: unused parameter 'intf' [-Wunused-parameter] 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] } 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] }; ^ In file included from ../include/ipmitool/ipmi_sel.h:38, from ipmievd.c:81: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmitool.c:63: ../include/ipmitool/ipmi_hpmfwupg.h:85:12: warning: 'errorCount' defined but not used [-Wunused-variable] static int errorCount; ^~~~~~~~~~ ipmievd.c: In function 'ipmievd_cleanup': ipmievd.c:686:21: warning: unused parameter 'signal' [-Wunused-parameter] ipmievd_cleanup(int signal) ~~~~^~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -ffile-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.15.0-144-generic/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 -ffile-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.15.0-144-generic/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 make[3]: Entering directory '/build/ipmitool-1.8.18/include' Making all in ipmitool make[4]: Entering directory '/build/ipmitool-1.8.18/include/ipmitool' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/build/ipmitool-1.8.18/include/ipmitool' make[4]: Entering directory '/build/ipmitool-1.8.18/include' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/build/ipmitool-1.8.18/include' make[3]: Leaving directory '/build/ipmitool-1.8.18/include' Making all in doc make[3]: Entering directory '/build/ipmitool-1.8.18/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/ipmitool-1.8.18/doc' Making all in contrib make[3]: Entering directory '/build/ipmitool-1.8.18/contrib' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/ipmitool-1.8.18/contrib' Making all in control make[3]: Entering directory '/build/ipmitool-1.8.18/control' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/ipmitool-1.8.18/control' make[3]: Entering directory '/build/ipmitool-1.8.18' make[3]: Leaving directory '/build/ipmitool-1.8.18' make[2]: Leaving directory '/build/ipmitool-1.8.18' make[1]: Leaving directory '/build/ipmitool-1.8.18' dh_auto_test make -j8 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' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/ipmitool-1.8.18/lib' Making check in src make[2]: Entering directory '/build/ipmitool-1.8.18/src' Making check in plugins make[3]: Entering directory '/build/ipmitool-1.8.18/src/plugins' Making check in lan make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins/lan' make[4]: Nothing to be done for 'check'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/lan' Making check in lanplus make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins/lanplus' make[4]: Nothing to be done for 'check'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/lanplus' Making check in open make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins/open' make[4]: Nothing to be done for 'check'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/open' Making check in imb make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins/imb' make[4]: Nothing to be done for 'check'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/imb' Making check in free make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins/free' make[4]: Nothing to be done for 'check'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/free' Making check in serial make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins/serial' make[4]: Nothing to be done for 'check'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/serial' Making check in dummy make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins/dummy' make[4]: Nothing to be done for 'check'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/dummy' Making check in usb make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins/usb' make[4]: Nothing to be done for 'check'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/usb' make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins' make[4]: Nothing to be done for 'check-am'. make[4]: Leaving directory '/build/ipmitool-1.8.18/src/plugins' make[3]: Leaving directory '/build/ipmitool-1.8.18/src/plugins' make[3]: Entering directory '/build/ipmitool-1.8.18/src' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/ipmitool-1.8.18/src' make[2]: Leaving directory '/build/ipmitool-1.8.18/src' Making check in include make[2]: Entering directory '/build/ipmitool-1.8.18/include' Making check in ipmitool make[3]: Entering directory '/build/ipmitool-1.8.18/include/ipmitool' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/build/ipmitool-1.8.18/include/ipmitool' make[3]: Entering directory '/build/ipmitool-1.8.18/include' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/ipmitool-1.8.18/include' make[2]: Leaving directory '/build/ipmitool-1.8.18/include' Making check in doc make[2]: Entering directory '/build/ipmitool-1.8.18/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/ipmitool-1.8.18/doc' Making check in contrib make[2]: Entering directory '/build/ipmitool-1.8.18/contrib' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/ipmitool-1.8.18/contrib' Making check in control make[2]: Entering directory '/build/ipmitool-1.8.18/control' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/ipmitool-1.8.18/control' make[2]: Entering directory '/build/ipmitool-1.8.18' make[2]: Leaving directory '/build/ipmitool-1.8.18' make[1]: Leaving directory '/build/ipmitool-1.8.18' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/ipmitool-1.8.18' dh_auto_install make -j1 install DESTDIR=/build/ipmitool-1.8.18/debian/ipmitool AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/ipmitool-1.8.18' Making install in lib make[3]: Entering directory '/build/ipmitool-1.8.18/lib' make[4]: Entering directory '/build/ipmitool-1.8.18/lib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/ipmitool-1.8.18/lib' make[3]: Leaving directory '/build/ipmitool-1.8.18/lib' Making install in src make[3]: Entering directory '/build/ipmitool-1.8.18/src' Making install in plugins make[4]: Entering directory '/build/ipmitool-1.8.18/src/plugins' Making install in lan make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins/lan' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins/lan' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/lan' make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/lan' Making install in lanplus make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins/lanplus' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins/lanplus' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/lanplus' make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/lanplus' Making install in open make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins/open' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins/open' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/open' make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/open' Making install in imb make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins/imb' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins/imb' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/imb' make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/imb' Making install in free make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins/free' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins/free' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/free' make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/free' Making install in serial make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins/serial' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins/serial' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/serial' make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/serial' Making install in dummy make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins/dummy' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins/dummy' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/dummy' make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/dummy' Making install in usb make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins/usb' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins/usb' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/usb' make[5]: Leaving directory '/build/ipmitool-1.8.18/src/plugins/usb' make[5]: Entering directory '/build/ipmitool-1.8.18/src/plugins' make[6]: Entering directory '/build/ipmitool-1.8.18/src/plugins' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/build/ipmitool-1.8.18/src/plugins' 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' make[5]: Entering directory '/build/ipmitool-1.8.18/src' /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' /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' make[3]: Leaving directory '/build/ipmitool-1.8.18/src' Making install in include make[3]: Entering directory '/build/ipmitool-1.8.18/include' Making install in ipmitool make[4]: Entering directory '/build/ipmitool-1.8.18/include/ipmitool' make[5]: Entering directory '/build/ipmitool-1.8.18/include/ipmitool' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/ipmitool-1.8.18/include/ipmitool' make[4]: Leaving directory '/build/ipmitool-1.8.18/include/ipmitool' make[4]: Entering directory '/build/ipmitool-1.8.18/include' make[5]: Entering directory '/build/ipmitool-1.8.18/include' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/ipmitool-1.8.18/include' make[4]: Leaving directory '/build/ipmitool-1.8.18/include' make[3]: Leaving directory '/build/ipmitool-1.8.18/include' Making install in doc 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/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/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' Making install in contrib 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/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' Making install in control make[3]: Entering directory '/build/ipmitool-1.8.18/control' make[4]: Entering directory '/build/ipmitool-1.8.18/control' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/ipmitool-1.8.18/control' make[3]: Leaving directory '/build/ipmitool-1.8.18/control' make[3]: Entering directory '/build/ipmitool-1.8.18' make[4]: Entering directory '/build/ipmitool-1.8.18' make[4]: Nothing to be done for 'install-exec-am'. mkdir -p /build/ipmitool-1.8.18/debian/ipmitool/usr/share/doc/ipmitool /usr/bin/install -c -m 644 ./README ./COPYING ./AUTHORS ./ChangeLog /build/ipmitool-1.8.18/debian/ipmitool/usr/share/doc/ipmitool make[4]: Leaving directory '/build/ipmitool-1.8.18' make[3]: Leaving directory '/build/ipmitool-1.8.18' make[2]: Leaving directory '/build/ipmitool-1.8.18' # No need to have two copies of the license text/changelog in the package. rm -f /build/ipmitool-1.8.18/debian/ipmitool/usr/share/doc/ipmitool/COPYING rm -f /build/ipmitool-1.8.18/debian/ipmitool/usr/share/doc/ipmitool/ChangeLog make[1]: Leaving directory '/build/ipmitool-1.8.18' dh_installdocs dh_installchangelogs dh_installman debian/rules override_dh_installinit make[1]: Entering directory '/build/ipmitool-1.8.18' dh_installinit --no-enable --name ipmievd --error-handler=ipmievd_initd_failed make[1]: Leaving directory '/build/ipmitool-1.8.18' debian/rules override_dh_installsystemd make[1]: Entering directory '/build/ipmitool-1.8.18' dh_installsystemd --no-enable --name ipmievd make[1]: Leaving directory '/build/ipmitool-1.8.18' dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ipmitool/usr/bin/ipmitool debian/ipmitool/usr/sbin/ipmievd were not linked against libncurses.so.6 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ipmitool/usr/bin/ipmitool debian/ipmitool/usr/sbin/ipmievd were not linked against libtinfo.so.6 (they use none of the library's symbols) dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'ipmitool-dbgsym' in '../ipmitool-dbgsym_1.8.18-6+deb10u1_arm64.deb'. dpkg-deb: building package 'ipmitool' in '../ipmitool_1.8.18-6+deb10u1_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../ipmitool_1.8.18-6+deb10u1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/2178/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/2178/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/2178 and its subdirectories I: Current time: Sat Jul 23 08:17:48 +14 2022 I: pbuilder-time-stamp: 1658513868