unshare: unshare failed: Cannot allocate memory W: pbuilder: unshare CLONE_NEWNET not available I: pbuilder: network access is available during build! I: Current time: Wed Mar 18 09:00:23 -12 2020 I: pbuilder-time-stamp: 1584565223 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [raidutils_0.0.6-22.dsc] I: copying [./raidutils_0.0.6.orig.tar.gz] I: copying [./raidutils_0.0.6-22.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Jan 31 00:02:05 2017 -12 gpgv: using RSA key 64F429E36EA11CC2D966546F125B57475E190D18 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./raidutils_0.0.6-22.dsc dpkg-source: info: extracting raidutils in raidutils-0.0.6 dpkg-source: info: unpacking raidutils_0.0.6.orig.tar.gz dpkg-source: info: unpacking raidutils_0.0.6-22.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying debian-changes I: using fakeroot in build. I: Installing the build-deps -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 10), autoconf-archive, linux-libc-dev | linux-kernel-headers dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19231 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 10); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on autoconf-archive; however: Package autoconf-archive is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} autoconf-archive{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 34 newly installed, 0 to remove and 0 not upgraded. Need to get 20.1 MB of archives. After unpacking 76.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://deb.debian.org/debian buster/main i386 autoconf-archive all 20180313-1 [749 kB] Get: 8 http://deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 9 http://deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4+deb10u1 [242 kB] Get: 10 http://deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4+deb10u1 [124 kB] Get: 11 http://deb.debian.org/debian buster/main i386 file i386 1:5.35-4+deb10u1 [66.3 kB] Get: 12 http://deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 13 http://deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 14 http://deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 15 http://deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 16 http://deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 17 http://deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 18 http://deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 19 http://deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 20 http://deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 21 http://deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 22 http://deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 23 http://deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 24 http://deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 25 http://deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 26 http://deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2+deb10u2 [1334 kB] Get: 27 http://deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6 [8443 kB] Get: 28 http://deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 29 http://deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 30 http://deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2+deb10u2 [109 kB] Get: 31 http://deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 32 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 33 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 34 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Fetched 20.1 MB in 6s (3530 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19231 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package autoconf-archive. Preparing to unpack .../06-autoconf-archive_20180313-1_all.deb ... Unpacking autoconf-archive (20180313-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../07-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../08-libmagic-mgc_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../09-libmagic1_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../10-file_1%3a5.35-4+deb10u1_i386.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../11-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../12-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../18-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../19-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../20-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../23-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../25-libglib2.0-0_2.58.3-2+deb10u2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../26-libicu63_63.1-6_i386.deb ... Unpacking libicu63:i386 (63.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../27-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../28-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../29-libncurses6_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../31-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../32-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../33-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libmagic1:i386 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up autoconf-archive (20180313-1) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libicu63:i386 (63.1-6) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:i386 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up libxml2:i386 (2.9.4+dfsg1-7+b3) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:i386 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package 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 dpkg-buildpackage: info: source package raidutils dpkg-buildpackage: info: source version 0.0.6-22 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Barak A. Pearlmutter dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf autoreconf: 'configure.ac' and 'configure.in' both present. autoreconf: proceeding with 'configure.ac' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: 'configure.ac' and 'configure.in' both present. aclocal: proceeding with 'configure.ac' aclocal: warning: couldn't open directory 'm4': No such file or directory autoconf: warning: both `configure.ac' and `configure.in' are present. autoconf: warning: proceeding with `configure.ac'. libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: 'configure.ac' and 'configure.in' both present. aclocal: proceeding with 'configure.ac' autoconf: warning: both `configure.ac' and `configure.in' are present. autoconf: warning: proceeding with `configure.ac'. autoheader: 'configure.ac' and 'configure.in' both present. autoheader: proceeding with 'configure.ac' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: 'configure.ac' and 'configure.in' both present. automake: proceeding with 'configure.ac' configure.ac:15: installing './ar-lib' configure.ac:13: installing './compile' configure.ac:9: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: 'configure.ac' and 'configure.in' both present. automake: proceeding with 'configure.ac' lib/Makefile.am: installing './depcomp' dh_auto_configure ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking configure: WARNING: unrecognized options: --disable-maintainer-mode checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for ar... ar checking the archiver (ar) interface... ar checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking CFLAGS for maximum warnings... -Wall checking whether C compiler accepts -Wno-write-strings... yes checking whether C compiler accepts -Wno-comments... yes checking CXXFLAGS for maximum warnings... -Wall checking whether C++ compiler accepts -Wno-write-strings... yes checking whether C++ compiler accepts -Wno-comments... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for inttypes.h... (cached) yes checking strstream.h usability... no checking strstream.h presence... no checking for strstream.h... no checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking fstream.h usability... no checking fstream.h presence... no checking for fstream.h... no checking fstream usability... yes checking fstream presence... yes checking for fstream... yes checking iostream.h usability... no checking iostream.h presence... no checking for iostream.h... no checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking iomanip.h usability... no checking iomanip.h presence... no checking for iomanip.h... no checking iomanip usability... yes checking iomanip presence... yes checking for iomanip... yes checking whether stat file-mode macros are broken... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking whether closedir returns void... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for alarm... yes checking for atexit... yes checking for dup2... yes checking for memset... yes checking for strchr... yes checking for strcspn... yes checking for strpbrk... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for sysinfo... yes checking for uname... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating raideng/Makefile config.status: creating raidutil/Makefile config.status: creating lib/Makefile config.status: creating distribution/raidutils.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-maintainer-mode dh_auto_build make -j10 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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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: 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 -ffile-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: 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 -ffile-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 -ffile-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: 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 -ffile-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': lockunix.c:91:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, buffer, strlen(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockunix.c:102:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, buffer, sizeof(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockunix.c: In function 'ChLock': lockunix.c:157:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, buffer, strlen(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockunix.c: In function 'IsLock': lockunix.c:185:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, buffer, sizeof(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engcalls.cpp: In function 'uLONG DPT_OpenEngine()': engcalls.cpp:586:65: warning: missing sentinel in function call [-Wformat=] execle(EngineLoadString,EngineLoadString, 0, environ); ^ 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] while(Offset < Count) ~~~~~~~^~~~~~~ engcalls.cpp:1205:23: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] if(Offset + i >= Count) ~~~~~~~~~~~^~~~~~~~ engcalls.cpp:1223:23: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] if(Offset + i >= Count) ~~~~~~~~~~~^~~~~~~~ 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 -ffile-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: 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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -o libraidutil_la-engmsg.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 -ffile-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: 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 -ffile-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 -ffile-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 -ffile-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 -ffile-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: 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 -ffile-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 -ffile-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 -ffile-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 -ffile-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/i386-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/i686-linux-gnu/8/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/8/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/i686-linux-gnu/8 -L/usr/lib/gcc/i686-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/8/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-linux-gnu/8/crtendS.o /usr/lib/gcc/i686-linux-gnu/8/../../../i386-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' libtool: link: (cd ".libs" && rm -f "libraidutil.so.0" && ln -s "libraidutil.so.0.0.0" "libraidutil.so.0") libtool: link: (cd ".libs" && rm -f "libraidutil.so" && ln -s "libraidutil.so.0.0.0" "libraidutil.so") libtool: link: ar cru .libs/libraidutil.a libraidutil_la-ctlr_map.o libraidutil_la-dpt_buff.o libraidutil_la-engcalls.o libraidutil_la-engmsg.o libraidutil_la-findpath.o libraidutil_la-funcs.o libraidutil_la-hba_log.o libraidutil_la-lockunix.o libraidutil_la-scsi_log.o libraidutil_la-dptalign.o ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libraidutil.a libtool: link: ( cd ".libs" && rm -f "libraidutil.la" && ln -s "../libraidutil.la" "libraidutil.la" ) make[3]: Leaving directory '/build/raidutils-0.0.6/lib' Making all in raidutil make[3]: Entering directory '/build/raidutils-0.0.6/raidutil' 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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-alarm.o `test -f 'alarm.cpp' || echo './'`alarm.cpp 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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-bufiolsb.o `test -f 'bufiolsb.c' || echo './'`bufiolsb.c 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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-cmdlist.o `test -f 'cmdlist.cpp' || echo './'`cmdlist.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-command.o `test -f 'command.cpp' || echo './'`command.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-config.o `test -f 'config.cpp' || echo './'`config.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-creatrad.o `test -f 'creatrad.cpp' || echo './'`creatrad.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-deletrad.o `test -f 'deletrad.cpp' || echo './'`deletrad.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-dynsize.o `test -f 'dynsize.cpp' || echo './'`dynsize.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-engiface.o `test -f 'engiface.cpp' || echo './'`engiface.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-eventlog.o `test -f 'eventlog.cpp' || echo './'`eventlog.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-expand.o `test -f 'expand.cpp' || echo './'`expand.cpp engiface.cpp:51:18: warning: 'engineTimeOut' initialized and declared 'extern' extern "C" uLONG engineTimeOut = 0; ^~~~~~~~~~~~~ command.cpp: In destructor 'virtual Command::~Command()': command.cpp:121:15: warning: deleting object of polymorphic class type 'DPT_EngineIO_C' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete engine; ^~~~~~ 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] int devChannel; // channel number of this device ^~~~~~~~~~ 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] SCSI_Addr_List *address_List; ^~~~~~~~~~~~ creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] uLONG desired_Raid_Size_in_Blocks; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ creatrad.cpp:64:1: warning: when initialized here [-Wreorder] Create_Raid::Create_Raid( ^~~~~~~~~~~ In file included from creatrad.cpp:51: creatrad.hpp:96:15: warning: 'Create_Raid::ignoreNonfatalErrors' will be initialized after [-Wreorder] const bool ignoreNonfatalErrors; ^~~~~~~~~~~~~~~~~~~~ creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] int drivesPerArray; ^~~~~~~~~~~~~~ creatrad.cpp:64:1: warning: when initialized here [-Wreorder] Create_Raid::Create_Raid( ^~~~~~~~~~~ In file included from creatrad.cpp:51: creatrad.hpp: In copy constructor 'Create_Raid::Create_Raid(const Create_Raid&)': creatrad.hpp:97:19: warning: 'Create_Raid::address_List' will be initialized after [-Wreorder] SCSI_Addr_List *address_List; ^~~~~~~~~~~~ creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] uLONG desired_Raid_Size_in_Blocks; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ creatrad.cpp:87:1: warning: when initialized here [-Wreorder] Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): ^~~~~~~~~~~ In file included from creatrad.cpp:51: creatrad.hpp:96:15: warning: 'Create_Raid::ignoreNonfatalErrors' will be initialized after [-Wreorder] const bool ignoreNonfatalErrors; ^~~~~~~~~~~~~~~~~~~~ creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] int drivesPerArray; ^~~~~~~~~~~~~~ creatrad.cpp:87:1: warning: when initialized here [-Wreorder] Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): ^~~~~~~~~~~ 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] switch (this_Devs_Type) ^ command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] command.cpp:1416:20: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address_and_Type(Command::get_Devs_Type, SCSI_Address&, bool*)': command.cpp:1670:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::hba' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] obj_Address.hba, ~~~~~~~~~~~~^~~ command.cpp:1671:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::bus' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] obj_Address.bus, ~~~~~~~~~~~~^~~ command.cpp:1672:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::id' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] obj_Address.id, ~~~~~~~~~~~~^~ command.cpp:1673:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::lun' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] obj_Address.lun ~~~~~~~~~~~~^~~ command.cpp:1668:15: warning: unused variable 'addr' [-Wunused-variable] dptCaddr_S addr = ^~~~ 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] SCSI_Addr_List *devsToCtrl; ^~~~~~~~~~ eventlog.hpp:99:23: warning: 'EventLogOptions EventLog::eventCmd' [-Wreorder] EventLogOptions eventCmd; ^~~~~~~~ eventlog.cpp:305:1: warning: when initialized here [-Wreorder] EventLog::EventLog (SCSI_Addr_List *deviceList, EventLogOptions cmd) ^~~~~~~~ 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] fgets(Buffer, sizeof(Buffer), stdin); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] hl_Overflow_S *of = (hl_Overflow_S *) datap; ^~ eventlog.cpp:755:34: warning: unused variable 'da' [-Wunused-variable] hl_decArray_S *da = (hl_decArray_S *) datap; ^~ eventlog.cpp:763:38: warning: unused variable 'df' [-Wunused-variable] hl_driveFailure_S *df = (hl_driveFailure_S *) datap; ^~ eventlog.cpp:775:33: warning: unused variable 'vc' [-Wunused-variable] hl_voltage_S *vc = (hl_voltage_S *) datap; ^~ eventlog.cpp:789:37: warning: unused variable 'tc' [-Wunused-variable] hl_temperature_S *tc = (hl_temperature_S *) datap; ^~ eventlog.cpp: In function 'void LogRaidStatus(uCHAR, uCHAR, char*)': eventlog.cpp:2153:10: warning: unused variable 'LOGLOGICAL' [-Wunused-variable] uCHAR LOGLOGICAL = 1; ^~~~~~~~~~ eventlog.cpp:2157:8: warning: variable 'maxmain' set but not used [-Wunused-but-set-variable] int maxmain[2]; ^~~~~~~ eventlog.cpp:2158:8: warning: variable 'maxsub' set but not used [-Wunused-but-set-variable] int maxsub[2]; ^~~~~~ eventlog.cpp: At global scope: eventlog.cpp:1768:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' defined but not used [-Wunused-function] static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out) ^~~~~~~ config.cpp: In member function 'Command::Dpt_Error Config::LoadConfig(FILE*)': config.cpp:310:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] 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] fread(config_P->data,config_P->writeIndex,1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] switch ( alarmCmd ) ^ 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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flash.o `test -f 'flash.cpp' || echo './'`flash.cpp deletrad.cpp:498:19: warning: 'newChan' may be used uninitialized in this function [-Wmaybe-uninitialized] 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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flashmem.o `test -f 'flashmem.cpp' || echo './'`flashmem.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] if ( this_RAID_Type >= 10 ) ^~ creatrad.cpp:631:34: warning: 'blksPerComp' may be used uninitialized in this function [-Wmaybe-uninitialized] calcRaidSize = blksPerComp * numInThisGroup; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ creatrad.cpp:464:24: warning: 'hbaTag' may be used uninitialized in this function [-Wmaybe-uninitialized] err = engine->Send (MSG_RAID_NEW, hbaTag); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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] if ((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 -ffile-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 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] bool first_time_through = true; ^~~~~~~~~~~~~~~~~~ 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 -ffile-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 eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': eventlog.cpp:1604:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] SCSI_Addr_List *objsToCtrl; ^~~~~~~~~~ forcest.hpp:79:21: warning: 'ForceStateOptions ForceState::toState' [-Wreorder] ForceStateOptions toState; ^~~~~~~ forcest.cpp:63:1: warning: when initialized here [-Wreorder] 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] 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] if (parentTag == -1) ~~~~~~~~~~^~~~~ forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] 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] bool devFound = true; ^~~~~~~~ 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 -ffile-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 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 -ffile-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 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 -ffile-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 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] Region m_Region; ^~~~~~~~ flashmem.h:157:21: warning: 'const DPT_TAG_T FlashMemory::m_Tag' [-Wreorder] const DPT_TAG_T m_Tag; ^~~~~ flashmem.h:109:12: warning: when initialized here [-Wreorder] inline FlashMemory( ^~~~~~~~~~~ flashmem.cpp: In member function 'virtual dpt_sig_S SmorFlashMemory::GetSignature()': flashmem.cpp:471:12: warning: enumeration value 'Unknown' not handled in switch [-Wswitch] 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 -ffile-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 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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 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] Region m_Region; ^~~~~~~~ flashmem.h:157:21: warning: 'const DPT_TAG_T FlashMemory::m_Tag' [-Wreorder] const DPT_TAG_T m_Tag; ^~~~~ flashmem.h:109:12: warning: when initialized here [-Wreorder] inline FlashMemory( ^~~~~~~~~~~ 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] list_Type list_What; ^~~~~~~~~ listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] SCSI_Address obj_Root; ^~~~~~~~ listdev.cpp:85:1: warning: when initialized here [-Wreorder] List_Device::List_Device( ^~~~~~~~~~~ In file included from listdev.cpp:51: listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type)': listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] list_Type list_What; ^~~~~~~~~ listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] SCSI_Address obj_Root; ^~~~~~~~ listdev.cpp:96:1: warning: when initialized here [-Wreorder] List_Device::List_Device( list_Type what ): list_What( what ), ^~~~~~~~~~~ In file included from listdev.cpp:51: listdev.hpp: In copy constructor 'List_Device::List_Device(const List_Device&)': listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] list_Type list_What; ^~~~~~~~~ listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] SCSI_Address obj_Root; ^~~~~~~~ listdev.cpp:105:1: warning: when initialized here [-Wreorder] List_Device::List_Device( const List_Device &right ): ^~~~~~~~~~~ listdev.cpp: In member function 'virtual Command::Dpt_Error List_Device::execute(String_List**)': listdev.cpp:133:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ listdev.cpp:136:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' switch( list_What ) ^~~~~~ 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] switch( devs_Type ) ^ listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] listdev.cpp:789:8: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] listdev.cpp:815:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] (engine->devInfo_P->raidParent != -1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_LSU_Devices(String_List&)': listdev.cpp:1030:44: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (engine->devInfo_P->raidParent != -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] switch(dev_Type) ^ listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] listdev.cpp:1033:13: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Devices(String_List&)': listdev.cpp:1109:17: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (hba_Tag != -1) ~~~~~~~~^~~~~ 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 'unsigned int' [-Wsign-compare] k < sizeof(build) && ~~^~~~~~~~~~~~~~~ listdev.cpp:2037:15: warning: deleting 'void*' is undefined [-Wdelete-incomplete] delete [] saveData; ^~~~~~~~ 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] engine->Insert(arrayName,strlen(arrayName+1)); ~~~~~~~~~^~ listdev.cpp: In member function 'void List_Device::Show_Cache_Mode(DPT_TAG_T, Command::get_Devs_Type, String_List&)': listdev.cpp:2251:85: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (((devs_Type == GET_ARRAY) && (i > 0) && (engine->devInfo_P->raidParent == -1)) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ listdev.cpp:2252:86: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ((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 -ffile-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 In file included from lzstrbuf.cpp:53: lzstrbuf.h: In constructor 'LzInStreamBuf::LzInStreamBuf(std::istream&)': lzstrbuf.h:156:19: warning: 'LzInStreamBuf::m_Mask' will be initialized after [-Wreorder] unsigned char m_Mask; ^~~~~~ lzstrbuf.h:152:19: warning: 'long unsigned int LzInStreamBuf::m_Rack' [-Wreorder] unsigned long m_Rack; ^~~~~~ lzstrbuf.cpp:76:1: warning: when initialized here [-Wreorder] 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 -ffile-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 -ffile-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 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] fileBuf[BIOSsize - 1] -= 0x11 - Old_PCI_ID; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 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 -ffile-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 listdev.cpp: In member function 'Command::Dpt_Error List_Device::GetSpeedFromHW(int)': listdev.cpp:767:21: warning: 'parmLen' may be used uninitialized in this function [-Wmaybe-uninitialized] temp_Buf[parmLen] = '\0'; ~~~~~~~~~~~~~~~~^ rawdata.cpp: In member function 'virtual Command::Dpt_Error RawData::execute(String_List**)': rawdata.cpp:87:37: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(rtnBuff,NULL,sizeof(rtnBuff)); ^ rawdata.cpp:127:41: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(rtnBuff,NULL,sizeof(rtnBuff)); ^ raidutil.cpp: In function 'int main(int, char**)': raidutil.cpp:309:14: warning: unused variable 'pageMode' [-Wunused-variable] bool pageMode = mode.GetPagenationMode(); ^~~~~~~~ raidutil.cpp: In function 'void Flush(String_List*)': raidutil.cpp:466:17: warning: unused variable 'key' [-Wunused-variable] int key = getchar(); ^~~ 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] char fname_and_Path_Buf[ 256 ]; ^~~~~~~~~~~~~~~~~~ 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 -ffile-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 -ffile-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 -ffile-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 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 -ffile-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 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 -ffile-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 -ffile-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 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] 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] 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] 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] 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] 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] 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 -ffile-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 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 -ffile-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 -ffile-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 listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': listdev.cpp:2020:26: warning: '%s' directive writing up to 7 bytes into a region of size between 4 and 6 [-Wformat-overflow=] sprintf(version, "%d.%c%c%s", sig.dsVersion, sig.dsRevision, ^~~~~~~~~~~ sig.dsSubRevision, build); ~~~~~ In file included from /usr/include/stdio.h:873, from debug.hpp:53, from command.hpp:56, from listdev.cpp:50: /usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 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' 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] if ((tempTag == -1) && (!err.Is_Error())) ~~~~~~~~^~~~~ 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] if (devs_Type == GET_RAID_HOT_SPARE) ^~ setrate.cpp:176:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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 -ffile-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 showinq.cpp: In member function 'Command::Dpt_Error Show_Inquiry::Show_Inq_on_This_Dev(String_List&, DPT_TAG_T, Command::get_Devs_Type)': showinq.cpp:195:9: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] switch( devs_Type ) ^ showinq.cpp:195:9: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] showinq.cpp:171:9: warning: variable 'address_Buf' set but not used [-Wunused-but-set-variable] char address_Buf[ BUF_LEN ]; ^~~~~~~~~~~ showinq.cpp:172:9: warning: variable 'vendor_Product_Info_Buf' set but not used [-Wunused-but-set-variable] char vendor_Product_Info_Buf[ BUF_LEN ]; ^~~~~~~~~~~~~~~~~~~~~~~ showinq.cpp:173:9: warning: variable 'bus_Type_and_Address_Buf' set but not used [-Wunused-but-set-variable] char bus_Type_and_Address_Buf[ BUF_LEN ]; ^~~~~~~~~~~~~~~~~~~~~~~~ showinq.cpp:174:9: warning: variable 'fw_Revision_Buf' set but not used [-Wunused-but-set-variable] char fw_Revision_Buf[ BUF_LEN ]; ^~~~~~~~~~~~~~~ showinq.cpp:176:10: warning: variable 'raid_Type_Ptr' set but not used [-Wunused-but-set-variable] char *raid_Type_Ptr = 0; ^~~~~~~~~~~~~ showinq.cpp:177:9: warning: variable 'show_Capacity' set but not used [-Wunused-but-set-variable] bool show_Capacity = false; ^~~~~~~~~~~~~ showinq.cpp:178:9: warning: variable 'capacity_in_Mb' set but not used [-Wunused-but-set-variable] long capacity_in_Mb; ^~~~~~~~~~~~~~ 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 -ffile-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 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 -ffile-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 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] (Command::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 -ffile-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 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 -ffile-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 -ffile-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 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 -ffile-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 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] SCSI_Addr_List *raidsToCtrl; ^~~~~~~~~~~ taskctrl.hpp:75:22: warning: 'TaskCommandOptions TaskControl::taskCmd' [-Wreorder] TaskCommandOptions taskCmd; ^~~~~~~ taskctrl.cpp:70:1: warning: when initialized here [-Wreorder] TaskControl::TaskControl( ^~~~~~~~~~~ taskctrl.cpp: In member function 'virtual Command::Dpt_Error TaskControl::execute(String_List**)': taskctrl.cpp:127:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (parentTag == -1) ~~~~~~~~~~^~~~~ taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] switch (devs_Type) ^ taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] 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] 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] for (int i = 0; i < bytesSent; i++) ~~^~~~~~~~~~~ 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] fgets (Buffer, sizeof(Buffer), stdin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 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] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] zap.cpp:135:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] zap.cpp: In member function 'virtual Command::Dpt_Error Zap::execute(String_List**)': zap.cpp:189:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] switch ( devs_Type ) ^ zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] zap.cpp:189:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] zap.cpp:252:47: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (engine->devInfo_P->raidParent != -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ zap.cpp:216:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (Buffer, sizeof(Buffer), stdin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.cpp:284:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (Buffer, sizeof(Buffer), stdin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ segment.cpp: In constructor 'arraySegment::arraySegment(SCSI_Address, uLONG*, uLONG*, bool)': segment.cpp:64:46: warning: 'sizeof' on array function parameter 'segSize' will return size of 'uLONG*' {aka 'long unsigned int*'} [-Wsizeof-array-argument] memcpy(segSizeArray,segSize, (sizeof(segSize)*ARRAY_SEGMENTS_MAX)); ^ segment.cpp:58:14: note: declared here uLONG segSize[ARRAY_SEGMENTS_MAX], ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ segment.cpp:66:52: warning: 'sizeof' on array function parameter 'segOffset' will return size of 'uLONG*' {aka 'long unsigned int*'} [-Wsizeof-array-argument] memcpy(segOffsetArray,segOffset, (sizeof(segOffset)*ARRAY_SEGMENTS_MAX)); ^ segment.cpp:59:14: note: declared here uLONG segOffset[ARRAY_SEGMENTS_MAX], ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ segment.cpp: In member function 'virtual Command::Dpt_Error arraySegment::execute(String_List**)': segment.cpp:224:28: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (segSizeArray[count] == -1){ ~~~~~~~~~~~~~~~~~~~~^~~~~ segment.cpp:118:8: warning: variable 'lastValidSegment' set but not used [-Wunused-but-set-variable] uLONG lastValidSegment; ^~~~~~~~~~~~~~~~ parser.cpp: In constructor 'Parser::Parser(char*, bool*)': parser.cpp:1940:23: warning: 'currSegOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] segOffset[ct] = currSegOffset; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-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 -ffile-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 make[3]: Entering directory '/build/raidutils-0.0.6/raideng' 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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-addr_rng.o `test -f 'addr_rng.cpp' || echo './'`addr_rng.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-array.o `test -f 'array.cpp' || echo './'`array.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-connect.o `test -f 'connect.cpp' || echo './'`connect.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core.o `test -f 'core.cpp' || echo './'`core.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_ccb.o `test -f 'core_ccb.cpp' || echo './'`core_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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_con.o `test -f 'core_con.cpp' || echo './'`core_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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_dev.o `test -f 'core_dev.cpp' || echo './'`core_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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_mgr.o `test -f 'core_mgr.cpp' || echo './'`core_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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_obj.o `test -f 'core_obj.cpp' || echo './'`core_obj.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-debug.o `test -f 'debug.cpp' || echo './'`debug.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-device.o `test -f 'device.cpp' || echo './'`device.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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-dptcbuff.o `test -f 'dptcbuff.c' || echo './'`dptcbuff.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 -ffile-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 -ffile-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 -ffile-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 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] int is_Cheetah = FALSE; ^~~~~~~~~~ eng_sig.c:64:23: warning: missing braces around initializer [-Wmissing-braces] 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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 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] for(i = 1; i < argc; ++i) ~~^~~~~~ engine.cpp:108:29: warning: 'engineSig_P' initialized and declared 'extern' 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 -ffile-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 hba.cpp: In member function 'void dptHBA_C::useDriveSizeTable(driveSizeTable_S*)': hba.cpp:2513:15: warning: unused variable 'retVal' [-Wunused-variable] 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 -ffile-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 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] 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' 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] 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 -ffile-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 -ffile-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 osd_unix.cpp: In function 'DPT_RTN_T osdGetDrvrSig(uSHORT, dpt_sig_S*, uLONG*)': osd_unix.cpp:640:30: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'int' [-Wsign-compare] for(Count = 0; Count < NumHBAs; ++Count) ~~~~~~^~~~~~~~~ osd_unix.cpp: In function 'DPT_RTN_T osdSendMessage(uLONG, PI2O_MESSAGE_FRAME, PI2O_SCSI_ERROR_REPLY_MESSAGE_FRAME)': osd_unix.cpp:1047:14: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if((HbaNum >= NumHBAs) || (!HbaDevs[HbaNum].IoAddress)) ~~~~~~~^~~~~~~~~~ osd_unix.cpp: In function 'DPT_RTN_T osdRescan(uLONG, uLONG)': osd_unix.cpp:1583:19: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(Operation != Successful) ~~~~~~~~~~^~~~~~~~~~~~~ osd_unix.cpp:1455:7: warning: unused variable 'Index' [-Wunused-variable] int Index; ^~~~~ osd_unix.cpp: In function 'DPT_RTN_T osdIoAccess(uLONG, uLONG, uLONG, uLONG, uLONG, uLONG, uCHAR*)': osd_unix.cpp:1821:7: warning: unused variable 'Index' [-Wunused-variable] int Index; ^~~~~ osd_unix.cpp: In function 'DPT_RTN_T osdGetCtlrs(uSHORT, uSHORT*, drvrHBAinfo_S*)': osd_unix.cpp:2184:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < sizeof(drvrHBAinfo_S); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~~ osd_unix.cpp:2220:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < sizeof(drvrHBAinfo_S); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~~ osd_unix.cpp: In function 'DPT_RTN_T osdCheckBLED(uSHORT, uSHORT*)': osd_unix.cpp:3613:36: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'NodeFiles_S' [-Wformat=] else printf("\nosdCheckBLED : %s File %s Could Not Be Opened", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TimeString,HbaDevs[ctlrNum]); ~~~~~~~~~~~~~~~~ osd_unix.cpp: At global scope: osd_unix.cpp:248:14: warning: 'DebugFileName' defined but not used [-Wunused-variable] 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 -ffile-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 -ffile-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 -ffile-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 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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_hba.o `test -f 'raid_hba.cpp' || echo './'`raid_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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_mgr.o `test -f 'raid_mgr.cpp' || echo './'`raid_mgr.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] uCHAR unused = 0; ^~~~~~ 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] for (i=0;iwriteIndex; ^~~~~~~~~~~ scsi_obj.cpp: In member function 'virtual DPT_RTN_T dptSCSIobj_C::rtnConfigInfo(dptBuffer_S*)': scsi_obj.cpp:426:17: warning: variable 'oldidx' set but not used [-Wunused-but-set-variable] int oldidx; ^~~~~~ /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-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 -ffile-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' make[3]: Leaving directory '/build/raidutils-0.0.6' make[2]: Leaving directory '/build/raidutils-0.0.6' make[1]: Leaving directory '/build/raidutils-0.0.6' dh_auto_test make -j10 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' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/raidutils-0.0.6/lib' Making check in raidutil make[2]: Entering directory '/build/raidutils-0.0.6/raidutil' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/raidutils-0.0.6/raidutil' Making check in raideng make[2]: Entering directory '/build/raidutils-0.0.6/raideng' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/raidutils-0.0.6/raideng' make[2]: Entering directory '/build/raidutils-0.0.6' make[2]: Leaving directory '/build/raidutils-0.0.6' make[1]: Leaving directory '/build/raidutils-0.0.6' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_auto_install make -j1 install DESTDIR=/build/raidutils-0.0.6/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/raidutils-0.0.6' Making install in lib 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/i386-linux-gnu' /bin/bash ../libtool --mode=install /usr/bin/install -c libraidutil.la '/build/raidutils-0.0.6/debian/tmp/usr/lib/i386-linux-gnu' libtool: install: /usr/bin/install -c .libs/libraidutil.so.0.0.0 /build/raidutils-0.0.6/debian/tmp/usr/lib/i386-linux-gnu/libraidutil.so.0.0.0 libtool: install: (cd /build/raidutils-0.0.6/debian/tmp/usr/lib/i386-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/i386-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; }; }) libtool: install: /usr/bin/install -c .libs/libraidutil.lai /build/raidutils-0.0.6/debian/tmp/usr/lib/i386-linux-gnu/libraidutil.la libtool: install: /usr/bin/install -c .libs/libraidutil.a /build/raidutils-0.0.6/debian/tmp/usr/lib/i386-linux-gnu/libraidutil.a libtool: install: chmod 644 /build/raidutils-0.0.6/debian/tmp/usr/lib/i386-linux-gnu/libraidutil.a libtool: install: ranlib /build/raidutils-0.0.6/debian/tmp/usr/lib/i386-linux-gnu/libraidutil.a libtool: warning: remember to run 'libtool --finish /usr/lib/i386-linux-gnu' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/raidutils-0.0.6/lib' make[2]: Leaving directory '/build/raidutils-0.0.6/lib' Making install in raidutil 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' libtool: warning: '../lib/libraidutil.la' has not been installed in '/usr/lib/i386-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'. make[3]: Leaving directory '/build/raidutils-0.0.6/raidutil' make[2]: Leaving directory '/build/raidutils-0.0.6/raidutil' Making install in raideng 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' libtool: warning: '../lib/libraidutil.la' has not been installed in '/usr/lib/i386-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'. make[3]: Leaving directory '/build/raidutils-0.0.6/raideng' make[2]: Leaving directory '/build/raidutils-0.0.6/raideng' make[2]: Entering directory '/build/raidutils-0.0.6' make[3]: Entering directory '/build/raidutils-0.0.6' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/raidutils-0.0.6' make[2]: Leaving directory '/build/raidutils-0.0.6' make[1]: Leaving directory '/build/raidutils-0.0.6' dh_install dh_installdocs debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/raidutils-0.0.6' dh_installchangelogs --package=raidutils -XChangeLog dh_installchangelogs --no-package=raidutils make[1]: Leaving directory '/build/raidutils-0.0.6' dh_installmenu dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dpkg-shlibdeps: warning: symbol Argv used by debian/dpt-i2o-raidutils/usr/lib/i386-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/i386-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/i386-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 'raidutils' in '../raidutils_0.0.6-22_all.deb'. dpkg-deb: building package 'dpt-i2o-raidutils-dbgsym' in '../dpt-i2o-raidutils-dbgsym_0.0.6-22_i386.deb'. dpkg-deb: building package 'dpt-i2o-raidutils' in '../dpt-i2o-raidutils_0.0.6-22_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../raidutils_0.0.6-22_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) 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/19886 and its subdirectories I: Current time: Wed Mar 18 09:06:20 -12 2020 I: pbuilder-time-stamp: 1584565580