Diff of the two buildlogs: -- --- b1/build.log 2022-03-01 09:20:47.089516193 +0000 +++ b2/build.log 2022-03-01 09:21:48.871605205 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Feb 28 21:15:05 -12 2022 -I: pbuilder-time-stamp: 1646126105 +I: Current time: Tue Apr 4 05:43:55 +14 2023 +I: pbuilder-time-stamp: 1680536635 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./raidutils_0.0.6-23.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.Yz2T19Ov/trustedkeys.kbx': General error -gpgv: Signature made Sat May 2 06:34:15 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.cqgZ1nlU/trustedkeys.kbx': General error +gpgv: Signature made Sun May 3 08:34:15 2020 +14 gpgv: using RSA key 64F429E36EA11CC2D966546F125B57475E190D18 gpgv: issuer "bap@debian.org" gpgv: Can't check signature: No public key @@ -29,135 +29,169 @@ dpkg-source: info: applying debian-changes I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/362802/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2706470/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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/2706470/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2706470/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='3078065a46d14ccdaccacfde0c0eecc5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='362802' - PS1='# ' - PS2='> ' + INVOCATION_ID=26eed08d3f214907a9ed41c2c3ad41be + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2706470 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.NmoA3Jnokk/pbuilderrc_Uvkq --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.NmoA3Jnokk/b1 --logfile b1/build.log raidutils_0.0.6-23.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.NmoA3Jnokk/pbuilderrc_Op65 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.NmoA3Jnokk/b2 --logfile b2/build.log raidutils_0.0.6-23.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.15.0-0.bpo.3-amd64 #1 SMP Debian 5.15.15-2~bpo11+1 (2022-02-03) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/362802/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Apr 4 05:44 sh -> bash + lrwxrwxrwx 1 root root 4 Mar 27 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/2706470/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -227,7 +261,7 @@ Get: 30 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 32 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] -Fetched 19.1 MB in 1s (27.3 MB/s) +Fetched 19.1 MB in 0s (64.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19655 files and directories currently installed.) @@ -371,7 +405,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/raidutils-0.0.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../raidutils_0.0.6-23_source.changes +hostname: Name or service not known +I: Running cd /build/raidutils-0.0.6/ && 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 > ../raidutils_0.0.6-23_source.changes dpkg-buildpackage: info: source package raidutils dpkg-buildpackage: info: source version 0.0.6-23 dpkg-buildpackage: info: source distribution unstable @@ -624,30 +659,30 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/raidutils-0.0.6' make all-recursive make[2]: Entering directory '/build/raidutils-0.0.6' Making all in lib make[3]: Entering directory '/build/raidutils-0.0.6/lib' -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-ctlr_map.lo `test -f 'ctlr_map.cpp' || echo './'`ctlr_map.cpp -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dpt_buff.lo `test -f 'dpt_buff.cpp' || echo './'`dpt_buff.cpp -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engcalls.lo `test -f 'engcalls.cpp' || echo './'`engcalls.cpp -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engmsg.lo `test -f 'engmsg.c' || echo './'`engmsg.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-findpath.lo `test -f 'findpath.c' || echo './'`findpath.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-funcs.lo `test -f 'funcs.c' || echo './'`funcs.c -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-hba_log.lo `test -f 'hba_log.cpp' || echo './'`hba_log.cpp -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-lockunix.lo `test -f 'lockunix.c' || echo './'`lockunix.c -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-scsi_log.lo `test -f 'scsi_log.cpp' || echo './'`scsi_log.cpp -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dptalign.lo `test -f 'dptalign.c' || echo './'`dptalign.c -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -fPIC -DPIC -o .libs/libraidutil_la-ctlr_map.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c findpath.c -fPIC -DPIC -o .libs/libraidutil_la-findpath.o +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-ctlr_map.lo `test -f 'ctlr_map.cpp' || echo './'`ctlr_map.cpp +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dpt_buff.lo `test -f 'dpt_buff.cpp' || echo './'`dpt_buff.cpp +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engcalls.lo `test -f 'engcalls.cpp' || echo './'`engcalls.cpp +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engmsg.lo `test -f 'engmsg.c' || echo './'`engmsg.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-findpath.lo `test -f 'findpath.c' || echo './'`findpath.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-funcs.lo `test -f 'funcs.c' || echo './'`funcs.c +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-hba_log.lo `test -f 'hba_log.cpp' || echo './'`hba_log.cpp +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-lockunix.lo `test -f 'lockunix.c' || echo './'`lockunix.c +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-scsi_log.lo `test -f 'scsi_log.cpp' || echo './'`scsi_log.cpp +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dptalign.lo `test -f 'dptalign.c' || echo './'`dptalign.c +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -fPIC -DPIC -o .libs/libraidutil_la-engmsg.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c lockunix.c -fPIC -DPIC -o .libs/libraidutil_la-lockunix.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c funcs.c -fPIC -DPIC -o .libs/libraidutil_la-funcs.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c findpath.c -fPIC -DPIC -o .libs/libraidutil_la-findpath.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -fPIC -DPIC -o .libs/libraidutil_la-ctlr_map.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dptalign.c -fPIC -DPIC -o .libs/libraidutil_la-dptalign.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -fPIC -DPIC -o .libs/libraidutil_la-dpt_buff.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engcalls.cpp -fPIC -DPIC -o .libs/libraidutil_la-engcalls.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -fPIC -DPIC -o .libs/libraidutil_la-engmsg.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c lockunix.c -fPIC -DPIC -o .libs/libraidutil_la-lockunix.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -fPIC -DPIC -o .libs/libraidutil_la-dpt_buff.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-scsi_log.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c hba_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-hba_log.o lockunix.c: In function 'MkLock': @@ -670,7 +705,6 @@ engcalls.cpp:586:65: warning: missing sentinel in function call [-Wformat=] 586 | execle(EngineLoadString,EngineLoadString, 0, environ); | ^ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dptalign.c -o libraidutil_la-dptalign.o >/dev/null 2>&1 engcalls.cpp: In function 'void I2oPrintMem(char*, long int)': engcalls.cpp:1194:16: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 1194 | while(Offset < Count) @@ -681,15 +715,16 @@ engcalls.cpp:1223:23: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 1223 | if(Offset + i >= Count) | ~~~~~~~~~~~^~~~~~~~ +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -o libraidutil_la-dpt_buff.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c lockunix.c -o libraidutil_la-lockunix.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dptalign.c -o libraidutil_la-dptalign.o >/dev/null 2>&1 +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -o libraidutil_la-ctlr_map.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c funcs.c -o libraidutil_la-funcs.o >/dev/null 2>&1 -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -o libraidutil_la-dpt_buff.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c findpath.c -o libraidutil_la-findpath.o >/dev/null 2>&1 -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -o libraidutil_la-ctlr_map.o >/dev/null 2>&1 -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -o libraidutil_la-scsi_log.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engcalls.cpp -o libraidutil_la-engcalls.o >/dev/null 2>&1 +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -o libraidutil_la-scsi_log.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c hba_log.cpp -o libraidutil_la-hba_log.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o libraidutil.la -rpath /usr/lib/x86_64-linux-gnu libraidutil_la-ctlr_map.lo libraidutil_la-dpt_buff.lo libraidutil_la-engcalls.lo libraidutil_la-engmsg.lo libraidutil_la-findpath.lo libraidutil_la-funcs.lo libraidutil_la-hba_log.lo libraidutil_la-lockunix.lo libraidutil_la-scsi_log.lo libraidutil_la-dptalign.lo +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o libraidutil.la -rpath /usr/lib/x86_64-linux-gnu libraidutil_la-ctlr_map.lo libraidutil_la-dpt_buff.lo libraidutil_la-engcalls.lo libraidutil_la-engmsg.lo libraidutil_la-findpath.lo libraidutil_la-funcs.lo libraidutil_la-hba_log.lo libraidutil_la-lockunix.lo libraidutil_la-scsi_log.lo libraidutil_la-dptalign.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o .libs/libraidutil_la-ctlr_map.o .libs/libraidutil_la-dpt_buff.o .libs/libraidutil_la-engcalls.o .libs/libraidutil_la-engmsg.o .libs/libraidutil_la-findpath.o .libs/libraidutil_la-funcs.o .libs/libraidutil_la-hba_log.o .libs/libraidutil_la-lockunix.o .libs/libraidutil_la-scsi_log.o .libs/libraidutil_la-dptalign.o -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/10/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libraidutil.so.0 -o .libs/libraidutil.so.0.0.0 /usr/bin/ld: .libs/libraidutil_la-lockunix.o: in function `MkLock': ./lib/lockunix.c:85: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' @@ -717,18 +752,8 @@ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-forcest.o `test -f 'forcest.cpp' || echo './'`forcest.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-id_list.o `test -f 'id_list.cpp' || echo './'`id_list.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-intlist.o `test -f 'intlist.cpp' || echo './'`intlist.cpp -alarm.cpp: In member function 'Command::Dpt_Error AlarmStatus::SendCommandToEngine(DPT_TAG_T, String_List**)': -alarm.cpp:229:9: warning: enumeration value 'None' not handled in switch [-Wswitch] - 229 | switch ( alarmCmd ) - | ^ -deletrad.cpp: In member function 'Command::Dpt_Error Delete_Raid::CheckForSuppressed(DPT_TAG_T)': -deletrad.cpp:407:9: warning: variable 'devChannel' set but not used [-Wunused-but-set-variable] - 407 | int devChannel; // channel number of this device - | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-listdev.o `test -f 'listdev.cpp' || echo './'`listdev.cpp -engiface.cpp:51:18: warning: 'engineTimeOut' initialized and declared 'extern' - 51 | extern "C" uLONG engineTimeOut = 0; - | ^~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-lzssdon.o `test -f 'lzssdon.cpp' || echo './'`lzssdon.cpp In file included from creatrad.cpp:51: creatrad.hpp: In constructor 'Create_Raid::Create_Raid(SCSI_Addr_List*, Command::Raid_Type, uLONG, uLONG, bool, bool, int, SCSI_Addr_List*)': creatrad.hpp:97:19: warning: 'Create_Raid::address_List' will be initialized after [-Wreorder] @@ -771,21 +796,10 @@ creatrad.cpp:87:1: warning: when initialized here [-Wreorder] 87 | Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): | ^~~~~~~~~~~ -config.cpp: In member function 'Command::Dpt_Error Config::LoadConfig(FILE*)': -config.cpp:310:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 310 | else if ((engine->devInfo_P->level == 1) && - | ^~ -config.cpp:313:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 313 | tempBuff_P->writeIndex = sizeof (smUserBuff_S); - | ^~~~~~~~~~ -expand.cpp: In member function 'Command::Dpt_Error Expand::RaidExpandable()': -expand.cpp:110:42: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 110 | if ((engine->devInfo_P->raidParent == -1) && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -expand.cpp: In member function 'virtual Command::Dpt_Error Expand::execute(String_List**)': -expand.cpp:170:7: warning: unused variable 'first_time_through' [-Wunused-variable] - 170 | bool first_time_through = true; - | ^~~~~~~~~~~~~~~~~~ +deletrad.cpp: In member function 'Command::Dpt_Error Delete_Raid::CheckForSuppressed(DPT_TAG_T)': +deletrad.cpp:407:9: warning: variable 'devChannel' set but not used [-Wunused-but-set-variable] + 407 | int devChannel; // channel number of this device + | ^~~~~~~~~~ In file included from eventlog.cpp:53: eventlog.hpp: In constructor 'EventLog::EventLog(SCSI_Addr_List*, EventLogOptions)': eventlog.hpp:100:23: warning: 'EventLog::devsToCtrl' will be initialized after [-Wreorder] @@ -797,12 +811,6 @@ eventlog.cpp:305:1: warning: when initialized here [-Wreorder] 305 | EventLog::EventLog (SCSI_Addr_List *deviceList, EventLogOptions cmd) | ^~~~~~~~ -config.cpp:235:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 235 | fread (&readHdr, sizeof(dsmHdr_S), 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -config.cpp:263:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 263 | fread(config_P->data,config_P->writeIndex,1,fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': eventlog.cpp:570:34: warning: unused variable 'of' [-Wunused-variable] 570 | hl_Overflow_S *of = (hl_Overflow_S *) datap; @@ -811,21 +819,6 @@ command.cpp:121:7: warning: deleting object of polymorphic class type 'DPT_EngineIO_C' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 121 | delete engine; | ^~~~~~~~~~~~~~ -In file included from forcest.cpp:50: -forcest.hpp: In constructor 'ForceState::ForceState(SCSI_Addr_List*, ForceStateOptions)': -forcest.hpp:80:19: warning: 'ForceState::objsToCtrl' will be initialized after [-Wreorder] - 80 | SCSI_Addr_List *objsToCtrl; - | ^~~~~~~~~~ -forcest.hpp:79:21: warning: 'ForceStateOptions ForceState::toState' [-Wreorder] - 79 | ForceStateOptions toState; - | ^~~~~~~ -forcest.cpp:63:1: warning: when initialized here [-Wreorder] - 63 | ForceState::ForceState( - | ^~~~~~~~~~ -forcest.cpp: In member function 'virtual Command::Dpt_Error ForceState::execute(String_List**)': -forcest.cpp:148:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 148 | if (parentTag != -1) - | ~~~~~~~~~~^~~~~ eventlog.cpp:755:34: warning: unused variable 'da' [-Wunused-variable] 755 | hl_decArray_S *da = (hl_decArray_S *) datap; | ^~ @@ -838,30 +831,6 @@ eventlog.cpp:789:37: warning: unused variable 'tc' [-Wunused-variable] 789 | hl_temperature_S *tc = (hl_temperature_S *) datap; | ^~ -forcest.cpp:197:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 197 | if (parentTag == -1) - | ~~~~~~~~~~^~~~~ -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] - 142 | switch (devs_Type) - | ^ -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -forcest.cpp:110:8: warning: unused variable 'devFound' [-Wunused-variable] - 110 | bool devFound = true; - | ^~~~~~~~ command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address(SCSI_Address&, Command::get_Devs_Type*, bool*)': command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] 1416 | switch (this_Devs_Type) @@ -894,6 +863,14 @@ command.cpp:1668:15: warning: unused variable 'addr' [-Wunused-variable] 1668 | dptCaddr_S addr = | ^~~~ +alarm.cpp: In member function 'Command::Dpt_Error AlarmStatus::SendCommandToEngine(DPT_TAG_T, String_List**)': +alarm.cpp:229:9: warning: enumeration value 'None' not handled in switch [-Wswitch] + 229 | switch ( alarmCmd ) + | ^ +command.cpp: In member function 'char Command::PrintAQuestion(char*)': +command.cpp:2153:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2153 | fgets(Buffer, sizeof(Buffer), stdin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp: In function 'void LogRaidStatus(uCHAR, uCHAR, char*)': eventlog.cpp:2153:10: warning: unused variable 'LOGLOGICAL' [-Wunused-variable] 2153 | uCHAR LOGLOGICAL = 1; @@ -904,23 +881,78 @@ eventlog.cpp:2158:8: warning: variable 'maxsub' set but not used [-Wunused-but-set-variable] 2158 | int maxsub[2]; | ^~~~~~ -command.cpp: In member function 'char Command::PrintAQuestion(char*)': -command.cpp:2153:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2153 | fgets(Buffer, sizeof(Buffer), stdin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-lzssdon.o `test -f 'lzssdon.cpp' || echo './'`lzssdon.cpp -deletrad.cpp:498:19: warning: 'newChan' may be used uninitialized in this function [-Wmaybe-uninitialized] - 498 | rh.addr.chan = newChan; - | ~~~~~~~~~~~~~^~~~~~~~~ +expand.cpp: In member function 'Command::Dpt_Error Expand::RaidExpandable()': +expand.cpp:110:42: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 110 | if ((engine->devInfo_P->raidParent == -1) && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +expand.cpp: In member function 'virtual Command::Dpt_Error Expand::execute(String_List**)': +expand.cpp:170:7: warning: unused variable 'first_time_through' [-Wunused-variable] + 170 | bool first_time_through = true; + | ^~~~~~~~~~~~~~~~~~ eventlog.cpp: At global scope: eventlog.cpp:1768:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' defined but not used [-Wunused-function] 1768 | static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out) | ^~~~~~~ +In file included from forcest.cpp:50: +forcest.hpp: In constructor 'ForceState::ForceState(SCSI_Addr_List*, ForceStateOptions)': +forcest.hpp:80:19: warning: 'ForceState::objsToCtrl' will be initialized after [-Wreorder] + 80 | SCSI_Addr_List *objsToCtrl; + | ^~~~~~~~~~ +forcest.hpp:79:21: warning: 'ForceStateOptions ForceState::toState' [-Wreorder] + 79 | ForceStateOptions toState; + | ^~~~~~~ +forcest.cpp:63:1: warning: when initialized here [-Wreorder] + 63 | ForceState::ForceState( + | ^~~~~~~~~~ +forcest.cpp: In member function 'virtual Command::Dpt_Error ForceState::execute(String_List**)': +forcest.cpp:148:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 148 | if (parentTag != -1) + | ~~~~~~~~~~^~~~~ +forcest.cpp:197:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 197 | if (parentTag == -1) + | ~~~~~~~~~~^~~~~ +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] + 142 | switch (devs_Type) + | ^ +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +forcest.cpp:110:8: warning: unused variable 'devFound' [-Wunused-variable] + 110 | bool devFound = true; + | ^~~~~~~~ +engiface.cpp:51:18: warning: 'engineTimeOut' initialized and declared 'extern' + 51 | extern "C" uLONG engineTimeOut = 0; + | ^~~~~~~~~~~~~ +deletrad.cpp:498:19: warning: 'newChan' may be used uninitialized in this function [-Wmaybe-uninitialized] + 498 | rh.addr.chan = newChan; + | ~~~~~~~~~~~~~^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-lzstrbuf.o `test -f 'lzstrbuf.cpp' || echo './'`lzstrbuf.cpp +config.cpp: In member function 'Command::Dpt_Error Config::LoadConfig(FILE*)': +config.cpp:310:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 310 | else if ((engine->devInfo_P->level == 1) && + | ^~ +config.cpp:313:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 313 | tempBuff_P->writeIndex = sizeof (smUserBuff_S); + | ^~~~~~~~~~ +config.cpp:235:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 235 | fread (&readHdr, sizeof(dsmHdr_S), 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +config.cpp:263:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 263 | fread(config_P->data,config_P->writeIndex,1,fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-modnvram.o `test -f 'modnvram.cpp' || echo './'`modnvram.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-namarray.o `test -f 'namarray.cpp' || echo './'`namarray.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-nvrambit.o `test -f 'nvrambit.cpp' || echo './'`nvrambit.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parsargv.o `test -f 'parsargv.cpp' || echo './'`parsargv.cpp creatrad.cpp: In member function 'Command::Dpt_Error Create_Raid::MakeGroupLists(String_List**)': creatrad.cpp:714:3: warning: 'this_RAID_Type' may be used uninitialized in this function [-Wmaybe-uninitialized] 714 | if ( this_RAID_Type >= 10 ) @@ -931,10 +963,20 @@ creatrad.cpp:464:24: warning: 'hbaTag' may be used uninitialized in this function [-Wmaybe-uninitialized] 464 | err = engine->Send (MSG_RAID_NEW, hbaTag); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-namarray.o `test -f 'namarray.cpp' || echo './'`namarray.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-nvrambit.o `test -f 'nvrambit.cpp' || echo './'`nvrambit.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parsargv.o `test -f 'parsargv.cpp' || echo './'`parsargv.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parser.o `test -f 'parser.cpp' || echo './'`parser.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parserr.o `test -f 'parserr.cpp' || echo './'`parserr.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-raidutil.o `test -f 'raidutil.cpp' || echo './'`raidutil.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rawdata.o `test -f 'rawdata.cpp' || echo './'`rawdata.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rdutlosd.o `test -f 'rdutlosd.cpp' || echo './'`rdutlosd.cpp +eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': +eventlog.cpp:909:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + 909 | SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rmwflash.o `test -f 'rmwflash.cpp' || echo './'`rmwflash.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rstnvram.o `test -f 'rstnvram.cpp' || echo './'`rstnvram.cpp In file included from flashmem.cpp:71: flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] @@ -950,12 +992,7 @@ flashmem.cpp:471:12: warning: enumeration value 'Unknown' not handled in switch [-Wswitch] 471 | switch ( GetCompressionState() ) | ^ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rdutlosd.o `test -f 'rdutlosd.cpp' || echo './'`rdutlosd.cpp -eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': -eventlog.cpp:909:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - 909 | SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rmwflash.o `test -f 'rmwflash.cpp' || echo './'`rmwflash.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-scsilist.o `test -f 'scsilist.cpp' || echo './'`scsilist.cpp namarray.cpp: In member function 'virtual Command::Dpt_Error NameArray::execute(String_List**)': namarray.cpp:105:43: warning: 'arrayName' may be used uninitialized in this function [-Wmaybe-uninitialized] 105 | engine->Insert(arrayName,strlen(arrayName+1)); @@ -971,36 +1008,6 @@ lzstrbuf.cpp:76:1: warning: when initialized here [-Wreorder] 76 | LzInStreamBuf::LzInStreamBuf( | ^~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rstnvram.o `test -f 'rstnvram.cpp' || echo './'`rstnvram.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-scsilist.o `test -f 'scsilist.cpp' || echo './'`scsilist.cpp -rawdata.cpp: In member function 'virtual Command::Dpt_Error RawData::execute(String_List**)': -rawdata.cpp:87:17: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] - 87 | memset(rtnBuff,NULL,sizeof(rtnBuff)); - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from debug.hpp:53, - from command.hpp:56, - from rawdata.hpp:53, - from rawdata.cpp:50: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: declared here - 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) - | ^~~~~ -rawdata.cpp:127:21: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] - 127 | memset(rtnBuff,NULL,sizeof(rtnBuff)); - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from debug.hpp:53, - from command.hpp:56, - from rawdata.hpp:53, - from rawdata.cpp:50: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: declared here - 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) - | ^~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setcache.o `test -f 'setcache.cpp' || echo './'`setcache.cpp In file included from listdev.cpp:56: flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] @@ -1012,6 +1019,10 @@ flashmem.h:109:12: warning: when initialized here [-Wreorder] 109 | inline FlashMemory( | ^~~~~~~~~~~ +rdutlosd.cpp: In function 'unsigned int* Load_Engine(DPT_RTN_T (**)(DPT_TAG_T, DPT_MSG_T, DPT_TAG_T, void*, void*, uLONG))': +rdutlosd.cpp:108:9: warning: unused variable 'fname_and_Path_Buf' [-Wunused-variable] + 108 | char fname_and_Path_Buf[ 256 ]; + | ^~~~~~~~~~~~~~~~~~ In file included from listdev.cpp:51: listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type, SCSI_Address&)': listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] @@ -1052,14 +1063,7 @@ listdev.cpp:136:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 136 | switch( list_What ) | ^~~~~~ -raidutil.cpp: In function 'int main(int, char**)': -raidutil.cpp:309:14: warning: unused variable 'pageMode' [-Wunused-variable] - 309 | bool pageMode = mode.GetPagenationMode(); - | ^~~~~~~~ -raidutil.cpp: In function 'void Flush(String_List*)': -raidutil.cpp:466:17: warning: unused variable 'key' [-Wunused-variable] - 466 | int key = getchar(); - | ^~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setcache.o `test -f 'setcache.cpp' || echo './'`setcache.cpp listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Log_Devices(String_List&, Command::get_Devs_Type)': listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] 789 | switch( devs_Type ) @@ -1107,6 +1111,7 @@ 1109 | if (hba_Tag != -1) | ~~~~~~~~^~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setrate.o `test -f 'setrate.cpp' || echo './'`setrate.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setspeed.o `test -f 'setspeed.cpp' || echo './'`setspeed.cpp listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': listdev.cpp:2003:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2003 | k < sizeof(build) && @@ -1121,26 +1126,47 @@ listdev.cpp:2252:86: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2252 | ((devs_Type == GET_ARRAY) && (i == 0) && (engine->devInfo_P->raidParent != -1)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setspeed.o `test -f 'setspeed.cpp' || echo './'`setspeed.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-showinq.o `test -f 'showinq.cpp' || echo './'`showinq.cpp -rdutlosd.cpp: In function 'unsigned int* Load_Engine(DPT_RTN_T (**)(DPT_TAG_T, DPT_MSG_T, DPT_TAG_T, void*, void*, uLONG))': -rdutlosd.cpp:108:9: warning: unused variable 'fname_and_Path_Buf' [-Wunused-variable] - 108 | char fname_and_Path_Buf[ 256 ]; - | ^~~~~~~~~~~~~~~~~~ +raidutil.cpp: In function 'int main(int, char**)': +raidutil.cpp:309:14: warning: unused variable 'pageMode' [-Wunused-variable] + 309 | bool pageMode = mode.GetPagenationMode(); + | ^~~~~~~~ +raidutil.cpp: In function 'void Flush(String_List*)': +raidutil.cpp:466:17: warning: unused variable 'key' [-Wunused-variable] + 466 | int key = getchar(); + | ^~~ +rawdata.cpp: In member function 'virtual Command::Dpt_Error RawData::execute(String_List**)': +rawdata.cpp:87:17: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] + 87 | memset(rtnBuff,NULL,sizeof(rtnBuff)); + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from debug.hpp:53, + from command.hpp:56, + from rawdata.hpp:53, + from rawdata.cpp:50: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: declared here + 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) + | ^~~~~ +rawdata.cpp:127:21: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] + 127 | memset(rtnBuff,NULL,sizeof(rtnBuff)); + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from debug.hpp:53, + from command.hpp:56, + from rawdata.hpp:53, + from rawdata.cpp:50: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: declared here + 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) + | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-status.o `test -f 'status.cpp' || echo './'`status.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-strlist.o `test -f 'strlist.cpp' || echo './'`strlist.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-taskctrl.o `test -f 'taskctrl.cpp' || echo './'`taskctrl.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-uartdmp.o `test -f 'uartdmp.cpp' || echo './'`uartdmp.cpp -setcache.cpp: In member function 'virtual Command::Dpt_Error SetCache::execute(String_List**)': -setcache.cpp:128:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 128 | if ((devs_Type != GET_SCSI_DASD) && - | ^~ -setcache.cpp:131:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 131 | engine->Reset(); - | ^~~~~~ -setcache.cpp:134:26: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 134 | if ((tempTag == -1) && (!err.Is_Error())) - | ~~~~~~~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-usage.o `test -f 'usage.cpp' || echo './'`usage.cpp setrate.cpp: In member function 'virtual Command::Dpt_Error SetRate::execute(String_List**)': setrate.cpp:173:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 173 | if (devs_Type == GET_RAID_HOT_SPARE) @@ -1148,31 +1174,21 @@ setrate.cpp:176:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | if ((devs_Type != GET_SCSI_HBA) && | ^~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-usage.o `test -f 'usage.cpp' || echo './'`usage.cpp listdev.cpp: In member function 'Command::Dpt_Error List_Device::GetSpeedFromHW(int)': listdev.cpp:767:14: warning: 'parmLen' may be used uninitialized in this function [-Wmaybe-uninitialized] 767 | temp_Buf[parmLen] = '\0'; | ^~~~~~~ +setcache.cpp: In member function 'virtual Command::Dpt_Error SetCache::execute(String_List**)': +setcache.cpp:128:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 128 | if ((devs_Type != GET_SCSI_DASD) && + | ^~ +setcache.cpp:131:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 131 | engine->Reset(); + | ^~~~~~ +setcache.cpp:134:26: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 134 | if ((tempTag == -1) && (!err.Is_Error())) + | ~~~~~~~~^~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-zap.o `test -f 'zap.cpp' || echo './'`zap.cpp -In file included from parser.cpp:70: -eventlog.hpp:67:13: warning: 'void GetSesTypeAndStatus(uCHAR, char*, uCHAR, char*)' declared 'static' but never defined [-Wunused-function] - 67 | static void GetSesTypeAndStatus(uCHAR SesType, char *TypeString, - | ^~~~~~~~~~~~~~~~~~~ -eventlog.hpp:69:13: warning: 'void DoTime(uLONG, uSHORT, String_List*)' declared 'static' but never defined [-Wunused-function] - 69 | static void DoTime(uLONG ti, uSHORT level, String_List *out); - | ^~~~~~ -eventlog.hpp:70:13: warning: 'void GetGen5HbaErrorString(uCHAR, char*)' declared 'static' but never defined [-Wunused-function] - 70 | static void GetGen5HbaErrorString(uCHAR ErrorCode, char *ErrorString); - | ^~~~~~~~~~~~~~~~~~~~~ -eventlog.hpp:71:13: warning: 'void DoBytes(uSHORT, uCHAR*, String_List*)' declared 'static' but never defined [-Wunused-function] - 71 | static void DoBytes (uSHORT numbytes, uCHAR *bytes, String_List *out); - | ^~~~~~~ -eventlog.hpp:72:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' declared 'static' but never defined [-Wunused-function] - 72 | static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out); - | ^~~~~~~ -eventlog.hpp:73:12: warning: 'int bufcat(String_List*, char*, ...)' declared 'static' but never defined [-Wunused-function] - 73 | static int bufcat(String_List *out, char *source, ...); - | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setscfg.o `test -f 'setscfg.cpp' || echo './'`setscfg.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-segment.o `test -f 'segment.cpp' || echo './'`segment.cpp showinq.cpp: In member function 'Command::Dpt_Error Show_Inquiry::Show_Inq_on_This_Dev(String_List&, DPT_TAG_T, Command::get_Devs_Type)': @@ -1201,14 +1217,34 @@ showinq.cpp:178:9: warning: variable 'capacity_in_Mb' set but not used [-Wunused-but-set-variable] 178 | long capacity_in_Mb; | ^~~~~~~~~~~~~~ -flash.cpp: In member function 'Command::Dpt_Error Flash::Flash_This_HBA(String_List&, std::istream&)': -flash.cpp:1691:44: warning: 'Old_PCI_ID' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1691 | fileBuf[BIOSsize - 1] -= 0x11 - Old_PCI_ID; - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +In file included from parser.cpp:70: +eventlog.hpp:67:13: warning: 'void GetSesTypeAndStatus(uCHAR, char*, uCHAR, char*)' declared 'static' but never defined [-Wunused-function] + 67 | static void GetSesTypeAndStatus(uCHAR SesType, char *TypeString, + | ^~~~~~~~~~~~~~~~~~~ +eventlog.hpp:69:13: warning: 'void DoTime(uLONG, uSHORT, String_List*)' declared 'static' but never defined [-Wunused-function] + 69 | static void DoTime(uLONG ti, uSHORT level, String_List *out); + | ^~~~~~ +eventlog.hpp:70:13: warning: 'void GetGen5HbaErrorString(uCHAR, char*)' declared 'static' but never defined [-Wunused-function] + 70 | static void GetGen5HbaErrorString(uCHAR ErrorCode, char *ErrorString); + | ^~~~~~~~~~~~~~~~~~~~~ +eventlog.hpp:71:13: warning: 'void DoBytes(uSHORT, uCHAR*, String_List*)' declared 'static' but never defined [-Wunused-function] + 71 | static void DoBytes (uSHORT numbytes, uCHAR *bytes, String_List *out); + | ^~~~~~~ +eventlog.hpp:72:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' declared 'static' but never defined [-Wunused-function] + 72 | static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out); + | ^~~~~~~ +eventlog.hpp:73:12: warning: 'int bufcat(String_List*, char*, ...)' declared 'static' but never defined [-Wunused-function] + 73 | static int bufcat(String_List *out, char *source, ...); + | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-swap_em.o `test -f 'swap_em.c' || echo './'`swap_em.c status.cpp: In member function 'Dpt_Status::operator char*()': status.cpp:873:59: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 873 | (Command::engine->devInfo_P->raidParent != -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +flash.cpp: In member function 'Command::Dpt_Error Flash::Flash_This_HBA(String_List&, std::istream&)': +flash.cpp:1691:44: warning: 'Old_PCI_ID' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1691 | fileBuf[BIOSsize - 1] -= 0x11 - Old_PCI_ID; + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from taskctrl.cpp:52: taskctrl.hpp: In constructor 'TaskControl::TaskControl(SCSI_Addr_List*, TaskCommandOptions)': taskctrl.hpp:76:19: warning: 'TaskControl::raidsToCtrl' will be initialized after [-Wreorder] @@ -1243,19 +1279,14 @@ taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -taskctrl.cpp: In member function 'Command::Dpt_Error TaskControl::ControlEachArray(DPT_TAG_T, String_List*)': -taskctrl.cpp:363:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 363 | fgets (Buffer, sizeof(Buffer), stdin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-swap_em.o `test -f 'swap_em.c' || echo './'`swap_em.c uartdmp.cpp: In member function 'Command::Dpt_Error UartDmp::ViewUartDmp(String_List*, DPT_TAG_T)': uartdmp.cpp:240:25: warning: comparison of integer expressions of different signedness: 'int' and 'uLONG' {aka 'long unsigned int'} [-Wsign-compare] 240 | for (int i = 0; i < bytesSent; i++) | ~~^~~~~~~~~~~ -zap.cpp: In member function 'void Zap::AddRaid(Int_List*, DPT_TAG_T)': -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] - 135 | switch ( devs_Type ) - | ^ +taskctrl.cpp: In member function 'Command::Dpt_Error TaskControl::ControlEachArray(DPT_TAG_T, String_List*)': +taskctrl.cpp:363:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 363 | fgets (Buffer, sizeof(Buffer), stdin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ swap_em.c: In function 'trueSwap4': swap_em.c:218:17: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 218 | *(uLONG *)src = *inLong; @@ -1263,6 +1294,10 @@ swap_em.c:215:8: note: at offset 0 to object 'src' with size 4 declared here 215 | char src[4], *dst; | ^~~ +zap.cpp: In member function 'void Zap::AddRaid(Int_List*, DPT_TAG_T)': +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] + 135 | switch ( devs_Type ) + | ^ zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] @@ -1328,7 +1363,7 @@ parser.cpp:1940:23: warning: 'currSegOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 1940 | segOffset[ct] = currSegOffset; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/libraidutil.la +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/libraidutil.la libtool: link: g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/.libs/libraidutil.so make[3]: Leaving directory '/build/raidutils-0.0.6/raidutil' Making all in raideng @@ -1348,24 +1383,20 @@ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-driver.o `test -f 'driver.cpp' || echo './'`driver.cpp gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eata2i2o.o `test -f 'eata2i2o.c' || echo './'`eata2i2o.c gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_sig.o `test -f 'eng_sig.c' || echo './'`eng_sig.c +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_std.o `test -f 'eng_std.cpp' || echo './'`eng_std.cpp eng_sig.c:64:23: warning: missing braces around initializer [-Wmissing-braces] 64 | dpt_sig_S engineSig = { 'd','P','t','S','i','G', SIG_VERSION, | ^ | { } -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_std.o `test -f 'eng_std.cpp' || echo './'`eng_std.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_unix.o `test -f 'eng_unix.cpp' || echo './'`eng_unix.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-engine.o `test -f 'engine.cpp' || echo './'`engine.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-englists.o `test -f 'englists.cpp' || echo './'`englists.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-gbl_fns.o `test -f 'gbl_fns.cpp' || echo './'`gbl_fns.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-hba.o `test -f 'hba.cpp' || echo './'`hba.cpp eng_unix.cpp: In function 'uSHORT ParseCommandLine(int, char**)': eng_unix.cpp:768:18: warning: comparison of integer expressions of different signedness: 'uINT' {aka 'unsigned int'} and 'int' [-Wsign-compare] 768 | for(i = 1; i < argc; ++i) | ~~^~~~~~ -engine.cpp:108:29: warning: 'engineSig_P' initialized and declared 'extern' - 108 | extern "C" dpt_sig_S const *engineSig_P = &engineSig; - | ^~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-hba.o `test -f 'hba.cpp' || echo './'`hba.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-manager.o `test -f 'manager.cpp' || echo './'`manager.cpp device.cpp: In member function 'DPT_RTN_T dptDevice_C::fmtHandler(dptBuffer_S*, dptBuffer_S*)': device.cpp:3753:15: warning: unused variable 'is_Cheetah' [-Wunused-variable] 3753 | int is_Cheetah = FALSE; @@ -1374,10 +1405,29 @@ device.cpp:4072:39: warning: taking address of packed member of 'dptBasic_S' may result in an unaligned pointer value [-Waddress-of-packed-member] 4072 | reverseBytes((uLONG &) basic_P->attachedTo); | ~~~~~~~~~^~~~~~~~~~ +engine.cpp:108:29: warning: 'engineSig_P' initialized and declared 'extern' + 108 | extern "C" dpt_sig_S const *engineSig_P = &engineSig; + | ^~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-manager.o `test -f 'manager.cpp' || echo './'`manager.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-msg_str.o `test -f 'msg_str.cpp' || echo './'`msg_str.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-object.o `test -f 'object.cpp' || echo './'`object.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-osd_unix.o `test -f 'osd_unix.cpp' || echo './'`osd_unix.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-ptrarray.o `test -f 'ptrarray.cpp' || echo './'`ptrarray.cpp +hba.cpp: In member function 'void dptHBA_C::useDriveSizeTable(driveSizeTable_S*)': +hba.cpp:2513:15: warning: unused variable 'retVal' [-Wunused-variable] + 2513 | DPT_RTN_T retVal = MSG_RTN_FAILED | ERR_GET_CCB; + | ^~~~~~ +hba.cpp: In member function 'DPT_RTN_T dptHBA_C::flashStatus(dptBuffer_S*)': +hba.cpp:3513:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 3513 | else if (fromEng_P->insert(fwStatus)) + | ^~ +hba.cpp:3516:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 3516 | flashStablize(); + | ^~~~~~~~~~~~~ +hba.cpp: In member function 'DPT_RTN_T dptHBA_C::switchToFlashMode(engCCB_C*)': +hba.cpp:3681:17: warning: unused variable 'inq_P' [-Wunused-variable] + 3681 | sdInquiry_S *inq_P = (sdInquiry_S *) ccb_P->defData; + | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid.o `test -f 'raid.cpp' || echo './'`raid.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_bcd.o `test -f 'raid_bcd.cpp' || echo './'`raid_bcd.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_dev.o `test -f 'raid_dev.cpp' || echo './'`raid_dev.cpp @@ -1411,6 +1461,7 @@ osd_unix.cpp:2220:36: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2220 | for(i = 0; i < sizeof(drvrHBAinfo_S); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_ccb.o `test -f 'scsi_ccb.cpp' || echo './'`scsi_ccb.cpp osd_unix.cpp: In function 'DPT_RTN_T osdCheckBLED(uSHORT, uSHORT*)': osd_unix.cpp:3613:65: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'NodeFiles_S' [-Wformat=] 3613 | else printf("\nosdCheckBLED : %s File %s Could Not Be Opened", @@ -1421,34 +1472,23 @@ | ~~~~~~~~~~~~~~~~ | | | NodeFiles_S +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_con.o `test -f 'scsi_con.cpp' || echo './'`scsi_con.cpp osd_unix.cpp: At global scope: osd_unix.cpp:248:14: warning: 'DebugFileName' defined but not used [-Wunused-variable] 248 | static char *DebugFileName = "EngLog"; | ^~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_ccb.o `test -f 'scsi_ccb.cpp' || echo './'`scsi_ccb.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_con.o `test -f 'scsi_con.cpp' || echo './'`scsi_con.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_dev.o `test -f 'scsi_dev.cpp' || echo './'`scsi_dev.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_hba.o `test -f 'scsi_hba.cpp' || echo './'`scsi_hba.cpp object.cpp: In member function 'DPT_RTN_T dptObject_C::modeLogSense(dptBuffer_S*, dptBuffer_S*, uSHORT)': object.cpp:458:10: warning: unused variable 'unused' [-Wunused-variable] 458 | uCHAR unused = 0; | ^~~~~~ -hba.cpp: In member function 'void dptHBA_C::useDriveSizeTable(driveSizeTable_S*)': -hba.cpp:2513:15: warning: unused variable 'retVal' [-Wunused-variable] - 2513 | DPT_RTN_T retVal = MSG_RTN_FAILED | ERR_GET_CCB; - | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_hba.o `test -f 'scsi_hba.cpp' || echo './'`scsi_hba.cpp -hba.cpp: In member function 'DPT_RTN_T dptHBA_C::flashStatus(dptBuffer_S*)': -hba.cpp:3513:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 3513 | else if (fromEng_P->insert(fwStatus)) - | ^~ -hba.cpp:3516:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 3516 | flashStablize(); - | ^~~~~~~~~~~~~ -hba.cpp: In member function 'DPT_RTN_T dptHBA_C::switchToFlashMode(engCCB_C*)': -hba.cpp:3681:17: warning: unused variable 'inq_P' [-Wunused-variable] - 3681 | sdInquiry_S *inq_P = (sdInquiry_S *) ccb_P->defData; - | ^~~~~ +raid_bcd.cpp: In member function 'virtual uSHORT dptRAIDbcd_C::findMyPhysicals()': +raid_bcd.cpp:603:11: warning: variable 'maxID' set but not used [-Wunused-but-set-variable] + 603 | uCHAR maxID,maxChan; + | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_mgr.o `test -f 'scsi_mgr.cpp' || echo './'`scsi_mgr.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_obj.o `test -f 'scsi_obj.cpp' || echo './'`scsi_obj.cpp object.cpp: In member function 'DPT_RTN_T dptObject_C::addRWstats(uLONG*, uCHAR)': object.cpp:826:15: warning: 'numLongs' may be used uninitialized in this function [-Wmaybe-uninitialized] 826 | for (i=0;iwriteIndex; @@ -1502,7 +1537,7 @@ scsi_obj.cpp:426:17: warning: variable 'oldidx' set but not used [-Wunused-but-set-variable] 426 | int oldidx; | ^~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/libraidutil.la +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/libraidutil.la libtool: link: g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/.libs/libraidutil.so make[3]: Leaving directory '/build/raidutils-0.0.6/raideng' make[3]: Entering directory '/build/raidutils-0.0.6' @@ -1510,7 +1545,7 @@ make[2]: Leaving directory '/build/raidutils-0.0.6' make[1]: Leaving directory '/build/raidutils-0.0.6' dh_auto_test - make -j15 check VERBOSE=1 + make -j16 check VERBOSE=1 make[1]: Entering directory '/build/raidutils-0.0.6' Making check in lib make[2]: Entering directory '/build/raidutils-0.0.6/lib' @@ -1536,7 +1571,7 @@ make[2]: Entering directory '/build/raidutils-0.0.6/lib' make[3]: Entering directory '/build/raidutils-0.0.6/lib' /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/lib/x86_64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libraidutil.la '/build/raidutils-0.0.6/debian/tmp/usr/lib/x86_64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libraidutil.la '/build/raidutils-0.0.6/debian/tmp/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libraidutil.so.0.0.0 /build/raidutils-0.0.6/debian/tmp/usr/lib/x86_64-linux-gnu/libraidutil.so.0.0.0 libtool: install: (cd /build/raidutils-0.0.6/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libraidutil.so.0.0.0 libraidutil.so.0 || { rm -f libraidutil.so.0 && ln -s libraidutil.so.0.0.0 libraidutil.so.0; }; }) libtool: install: (cd /build/raidutils-0.0.6/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libraidutil.so.0.0.0 libraidutil.so || { rm -f libraidutil.so && ln -s libraidutil.so.0.0.0 libraidutil.so; }; }) @@ -1552,7 +1587,7 @@ make[2]: Entering directory '/build/raidutils-0.0.6/raidutil' make[3]: Entering directory '/build/raidutils-0.0.6/raidutil' /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/sbin' - /bin/bash ../libtool --mode=install /usr/bin/install -c raidutil '/build/raidutils-0.0.6/debian/tmp/usr/sbin' + /bin/sh ../libtool --mode=install /usr/bin/install -c raidutil '/build/raidutils-0.0.6/debian/tmp/usr/sbin' libtool: warning: '../lib/libraidutil.la' has not been installed in '/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/raidutil /build/raidutils-0.0.6/debian/tmp/usr/sbin/raidutil make[3]: Nothing to be done for 'install-data-am'. @@ -1562,7 +1597,7 @@ make[2]: Entering directory '/build/raidutils-0.0.6/raideng' make[3]: Entering directory '/build/raidutils-0.0.6/raideng' /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/sbin' - /bin/bash ../libtool --mode=install /usr/bin/install -c raideng '/build/raidutils-0.0.6/debian/tmp/usr/sbin' + /bin/sh ../libtool --mode=install /usr/bin/install -c raideng '/build/raidutils-0.0.6/debian/tmp/usr/sbin' libtool: warning: '../lib/libraidutil.la' has not been installed in '/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/raideng /build/raidutils-0.0.6/debian/tmp/usr/sbin/raideng make[3]: Nothing to be done for 'install-data-am'. @@ -1610,17 +1645,17 @@ dh_strip dh_makeshlibs dh_shlibdeps -dpkg-shlibdeps: warning: symbol Argv used by debian/dpt-i2o-raidutils/usr/lib/x86_64-linux-gnu/libraidutil.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol osdSwap4 used by debian/dpt-i2o-raidutils/usr/lib/x86_64-linux-gnu/libraidutil.so.0.0.0 found in none of the libraries +dpkg-shlibdeps: warning: symbol Argv used by debian/dpt-i2o-raidutils/usr/lib/x86_64-linux-gnu/libraidutil.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol osdSwap2 used by debian/dpt-i2o-raidutils/usr/lib/x86_64-linux-gnu/libraidutil.so.0.0.0 found in none of the libraries dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Depends field of package raidutils: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb +dpkg-deb: building package 'dpt-i2o-raidutils-dbgsym' in '../dpt-i2o-raidutils-dbgsym_0.0.6-23_amd64.deb'. dpkg-deb: building package 'dpt-i2o-raidutils' in '../dpt-i2o-raidutils_0.0.6-23_amd64.deb'. dpkg-deb: building package 'raidutils' in '../raidutils_0.0.6-23_all.deb'. -dpkg-deb: building package 'dpt-i2o-raidutils-dbgsym' in '../dpt-i2o-raidutils-dbgsym_0.0.6-23_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../raidutils_0.0.6-23_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1628,12 +1663,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2706470/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2706470/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/362802 and its subdirectories -I: Current time: Mon Feb 28 21:20:46 -12 2022 -I: pbuilder-time-stamp: 1646126446 +I: removing directory /srv/workspace/pbuilder/2706470 and its subdirectories +I: Current time: Tue Apr 4 05:44:55 +14 2023 +I: pbuilder-time-stamp: 1680536695