DC-Build-Header: drbd-utils 8.9.10-2 / 2018-05-02 13:23:04 +0000 DC-Task: type:rebuild-binarch-only source:drbd-utils version:8.9.10-2 chroot:unstable esttime:56 logfile:/tmp/drbd-utils_8.9.10-2_unstable_clang60.log modes:clang60:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang60 drbd-utils_8.9.10-2' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-7-134.eu-central-1.compute.internal +==============================================================================+ | drbd-utils 8.9.10-2 (amd64) Wed, 02 May 2018 13:23:04 +0000 | +==============================================================================+ Package: drbd-utils Version: 8.9.10-2 Source Version: 8.9.10-2 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-6fc8f793-7de5-4d28-b853-95ce8252aee7' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang60 ------------ + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=6.0 + echo 'Install of clang-6.0' Install of clang-6.0 + apt-get update Get:1 http://127.0.0.1:9999/debian unstable InRelease [242 kB] Get:2 http://127.0.0.1:9999/debian unstable/main Sources.diff/Index [27.9 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://127.0.0.1:9999/debian unstable/main Sources 2018-05-02-0830.09.pdiff [16.2 kB] Get:4 http://127.0.0.1:9999/debian unstable/main Sources 2018-05-02-0830.09.pdiff [16.2 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2018-05-02-0830.09.pdiff [1781 B] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2018-05-02-0830.09.pdiff [1781 B] Get:6 http://127.0.0.1:9999/debian unstable/main Translation-en [6016 kB] Fetched 6332 kB in 2s (3404 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-6.0 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: lib32gcc1 lib32stdc++6 libbsd0 libc6-i386 libclang-common-6.0-dev libclang1-6.0 libedit2 libjsoncpp1 libllvm6.0 libncurses5 libobjc-7-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-6.0-doc Recommended packages: llvm-6.0-dev python libomp-dev libgpm2 The following NEW packages will be installed: clang-6.0 lib32gcc1 lib32stdc++6 libbsd0 libc6-i386 libclang-common-6.0-dev libclang1-6.0 libedit2 libjsoncpp1 libllvm6.0 libncurses5 libobjc-7-dev libobjc4 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 37.7 MB of archives. After this operation, 187 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.7-1 [92.1 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5 amd64 6.1+20180210-2 [95.7 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libedit2 amd64 3.1-20170329-1 [85.2 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libllvm6.0 amd64 1:6.0-3 [14.5 MB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 8-20180425-1 [52.4 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-7-dev amd64 7.3.0-17 [204 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libc6-i386 amd64 2.27-3 [2855 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 lib32gcc1 amd64 1:8-20180425-1 [47.8 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 lib32stdc++6 amd64 8-20180425-1 [406 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-6.0-dev amd64 1:6.0-3 [3102 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-6.0 amd64 1:6.0-3 [6995 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 clang-6.0 amd64 1:6.0-3 [9175 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 37.7 MB in 0s (97.8 MB/s) Selecting previously unselected package libjsoncpp1:amd64. (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 ... 10022 files and directories currently installed.) Preparing to unpack .../00-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../01-libbsd0_0.8.7-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.7-1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../02-libncurses5_6.1+20180210-2_amd64.deb ... Unpacking libncurses5:amd64 (6.1+20180210-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../03-libedit2_3.1-20170329-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20170329-1) ... Selecting previously unselected package libllvm6.0:amd64. Preparing to unpack .../04-libllvm6.0_1%3a6.0-3_amd64.deb ... Unpacking libllvm6.0:amd64 (1:6.0-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../05-libobjc4_8-20180425-1_amd64.deb ... Unpacking libobjc4:amd64 (8-20180425-1) ... Selecting previously unselected package libobjc-7-dev:amd64. Preparing to unpack .../06-libobjc-7-dev_7.3.0-17_amd64.deb ... Unpacking libobjc-7-dev:amd64 (7.3.0-17) ... Selecting previously unselected package libc6-i386. Preparing to unpack .../07-libc6-i386_2.27-3_amd64.deb ... Unpacking libc6-i386 (2.27-3) ... Selecting previously unselected package lib32gcc1. Preparing to unpack .../08-lib32gcc1_1%3a8-20180425-1_amd64.deb ... Unpacking lib32gcc1 (1:8-20180425-1) ... Selecting previously unselected package lib32stdc++6. Preparing to unpack .../09-lib32stdc++6_8-20180425-1_amd64.deb ... Unpacking lib32stdc++6 (8-20180425-1) ... Selecting previously unselected package libclang-common-6.0-dev. Preparing to unpack .../10-libclang-common-6.0-dev_1%3a6.0-3_amd64.deb ... Unpacking libclang-common-6.0-dev (1:6.0-3) ... Selecting previously unselected package libclang1-6.0:amd64. Preparing to unpack .../11-libclang1-6.0_1%3a6.0-3_amd64.deb ... Unpacking libclang1-6.0:amd64 (1:6.0-3) ... Selecting previously unselected package clang-6.0. Preparing to unpack .../12-clang-6.0_1%3a6.0-3_amd64.deb ... Unpacking clang-6.0 (1:6.0-3) ... Setting up libncurses5:amd64 (6.1+20180210-2) ... Setting up libobjc4:amd64 (8-20180425-1) ... Setting up libc6-i386 (2.27-3) ... Setting up libbsd0:amd64 (0.8.7-1) ... Setting up libobjc-7-dev:amd64 (7.3.0-17) ... Processing triggers for libc-bin (2.27-3) ... Setting up lib32gcc1 (1:8-20180425-1) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up libedit2:amd64 (3.1-20170329-1) ... Setting up libllvm6.0:amd64 (1:6.0-3) ... Setting up libclang1-6.0:amd64 (1:6.0-3) ... Setting up lib32stdc++6 (8-20180425-1) ... Setting up libclang-common-6.0-dev (1:6.0-3) ... Setting up clang-6.0 (1:6.0-3) ... Processing triggers for libc-bin (2.27-3) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7 8' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-6.0 g++-4.6 + ln -s clang-6.0 gcc-4.6 + ln -s clang-6.0 cpp-4.6 + ln -s clang-6.0 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-6.0 g++-4.7 + ln -s clang-6.0 gcc-4.7 + ln -s clang-6.0 cpp-4.7 + ln -s clang-6.0 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-6.0 g++-4.8 + ln -s clang-6.0 gcc-4.8 + ln -s clang-6.0 cpp-4.8 + ln -s clang-6.0 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-6.0 g++-4.9 + ln -s clang-6.0 gcc-4.9 + ln -s clang-6.0 cpp-4.9 + ln -s clang-6.0 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-6.0 g++-5 + ln -s clang-6.0 gcc-5 + ln -s clang-6.0 cpp-5 + ln -s clang-6.0 gcc + echo 'gcc-5 hold' + dpkg --set-selections + echo 'g++-5 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-6 gcc-6 cpp-6 gcc + ln -s clang++-6.0 g++-6 + ln -s clang-6.0 gcc-6 + ln -s clang-6.0 cpp-6 + ln -s clang-6.0 gcc + echo 'gcc-6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-7 gcc-7 cpp-7 gcc + ln -s clang++-6.0 g++-7 + ln -s clang-6.0 gcc-7 + ln -s clang-6.0 cpp-7 + ln -s clang-6.0 gcc + echo 'gcc-7 hold' + dpkg --set-selections + echo 'g++-7 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-8 gcc-8 cpp-8 gcc + ln -s clang++-6.0 g++-8 + ln -s clang-6.0 gcc-8 + ln -s clang-6.0 cpp-8 + ln -s clang-6.0 gcc + echo 'gcc-8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + cd - /build/drbd-utils-3r1hDV + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/clang60'. Finished processing commands. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian unstable InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... NOTICE: 'drbd-utils' packaging is maintained in the 'Git' version control system at: https://anonscm.debian.org/git/debian-ha/drbd-utils/ Please use: git clone https://anonscm.debian.org/git/debian-ha/drbd-utils/ to retrieve the latest (possibly unreleased) updates to the package. Need to get 855 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main drbd-utils 8.9.10-2 (dsc) [2238 B] Get:2 http://127.0.0.1:9999/debian unstable/main drbd-utils 8.9.10-2 (tar) [835 kB] Get:3 http://127.0.0.1:9999/debian unstable/main drbd-utils 8.9.10-2 (diff) [18.0 kB] Fetched 855 kB in 0s (5445 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/drbd-utils-3r1hDV/drbd-utils-8.9.10' with '<>' I: NOTICE: Log filtering will replace 'build/drbd-utils-3r1hDV' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-n8EwQz/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-n8EwQz/apt_archive ./ InRelease Get:2 copy:/<>/resolver-n8EwQz/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-n8EwQz/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-n8EwQz/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-n8EwQz/apt_archive ./ Packages [433 B] Fetched 1739 B in 0s (0 B/s) Reading package lists... Reading package lists... Install core build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 856 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-n8EwQz/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [856 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 856 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10771 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in linux-any) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9), flex, xsltproc, docbook-xsl, docbook-xml, udev, bash-completion, dh-autoreconf Filtered Build-Depends: debhelper (>= 9), flex, xsltproc, docbook-xsl, docbook-xml, udev, bash-completion, dh-autoreconf dpkg-deb: building package 'sbuild-build-depends-drbd-utils-dummy' in '/<>/resolver-n8EwQz/apt_archive/sbuild-build-depends-drbd-utils-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-drbd-utils-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-n8EwQz/apt_archive ./ InRelease Get:2 copy:/<>/resolver-n8EwQz/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-n8EwQz/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-n8EwQz/apt_archive ./ Sources [540 B] Get:5 copy:/<>/resolver-n8EwQz/apt_archive ./ Packages [621 B] Fetched 2124 B in 0s (0 B/s) Reading package lists... Reading package lists... Install drbd-utils build dependencies (apt-based resolver) ---------------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bash-completion bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism docbook-xml docbook-xsl file flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libkmod2 libmagic-mgc libmagic1 libpipeline1 libprocps6 libsigsegv2 libtimedate-perl libtool libxml2 libxslt1.1 lsb-base m4 man-db po-debconf procps sgml-base sgml-data udev xml-core xsltproc Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make dwz docbook docbook-dsssl docbook-defguide dbtoepub docbook-xsl-doc-html | docbook-xsl-doc-pdf | docbook-xsl-doc-text | docbook-xsl-doc docbook-xsl-saxon fop libsaxon-java libxalan2-java libxslthl-java xalan bison flex-doc gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl sgml-base-doc perlsgml w3-recs opensp libxml2-utils Recommended packages: libfl-dev curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl psmisc The following NEW packages will be installed: autoconf automake autopoint autotools-dev bash-completion bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism docbook-xml docbook-xsl file flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libkmod2 libmagic-mgc libmagic1 libpipeline1 libprocps6 libsigsegv2 libtimedate-perl libtool libxml2 libxslt1.1 lsb-base m4 man-db po-debconf procps sbuild-build-depends-drbd-utils-dummy sgml-base sgml-data udev xml-core xsltproc 0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded. Need to get 23.9 MB of archives. After this operation, 97.9 MB of additional disk space will be used. Get:1 copy:/<>/resolver-n8EwQz/apt_archive ./ sbuild-build-depends-drbd-utils-dummy 0.invalid.0 [908 B] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 bsdmainutils amd64 11.1.2 [190 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 groff-base amd64 1.22.3-10 [1176 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libpipeline1 amd64 1.5.0-1 [29.0 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 man-db amd64 2.8.3-2 [1180 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.18-1 [202 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 flex amd64 2.6.4-6.1 [454 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 sgml-base all 1.29 [14.8 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libprocps6 amd64 2:3.3.14-1 [60.4 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 lsb-base all 9.20170808 [28.1 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 procps amd64 2:3.3.14-1 [257 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 libkmod2 amd64 25-1 [50.7 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 udev amd64 238-4 [1182 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 bash-completion all 1:2.8-1 [207 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 libmagic-mgc amd64 1:5.33-2 [234 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.33-2 [113 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.33-2 [65.6 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 gettext-base amd64 0.19.8.1-6 [122 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-11 [341 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15.1-3.1 [736 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-6 [434 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2.1 [547 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 17 [16.5 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.60-1 [95.6 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.041-1 [19.9 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.041-1 [12.0 kB] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.56.1-2 [2928 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 libicu57 amd64 57.1-9 [7698 kB] Get:32 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-6.1 [725 kB] Get:33 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.12-2 [144 kB] Get:34 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-6 [1302 kB] Get:35 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:36 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.20 [247 kB] Get:37 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 11.2.1 [1013 kB] Get:38 http://127.0.0.1:9999/debian unstable/main amd64 xml-core all 0.18 [23.4 kB] Get:39 http://127.0.0.1:9999/debian unstable/main amd64 sgml-data all 2.0.10 [181 kB] Get:40 http://127.0.0.1:9999/debian unstable/main amd64 docbook-xml all 4.5-8 [84.7 kB] Get:41 http://127.0.0.1:9999/debian unstable/main amd64 docbook-xsl all 1.79.1+dfsg-2 [1249 kB] Get:42 http://127.0.0.1:9999/debian unstable/main amd64 libxslt1.1 amd64 1.1.29-5 [236 kB] Get:43 http://127.0.0.1:9999/debian unstable/main amd64 xsltproc amd64 1.1.29-5 [121 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 23.9 MB in 0s (98.8 MB/s) Selecting previously unselected package bsdmainutils. (Reading database ... 10771 files and directories currently installed.) Preparing to unpack .../00-bsdmainutils_11.1.2_amd64.deb ... Unpacking bsdmainutils (11.1.2) ... Selecting previously unselected package groff-base. Preparing to unpack .../01-groff-base_1.22.3-10_amd64.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../02-libpipeline1_1.5.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../03-man-db_2.8.3-2_amd64.deb ... Unpacking man-db (2.8.3-2) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../04-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../05-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package flex. Preparing to unpack .../06-flex_2.6.4-6.1_amd64.deb ... Unpacking flex (2.6.4-6.1) ... Selecting previously unselected package sgml-base. Preparing to unpack .../07-sgml-base_1.29_all.deb ... Unpacking sgml-base (1.29) ... Selecting previously unselected package libprocps6:amd64. Preparing to unpack .../08-libprocps6_2%3a3.3.14-1_amd64.deb ... Unpacking libprocps6:amd64 (2:3.3.14-1) ... Selecting previously unselected package lsb-base. Preparing to unpack .../09-lsb-base_9.20170808_all.deb ... Unpacking lsb-base (9.20170808) ... Selecting previously unselected package procps. Preparing to unpack .../10-procps_2%3a3.3.14-1_amd64.deb ... Unpacking procps (2:3.3.14-1) ... Selecting previously unselected package libkmod2:amd64. Preparing to unpack .../11-libkmod2_25-1_amd64.deb ... Unpacking libkmod2:amd64 (25-1) ... Selecting previously unselected package udev. Preparing to unpack .../12-udev_238-4_amd64.deb ... Unpacking udev (238-4) ... Selecting previously unselected package bash-completion. Preparing to unpack .../13-bash-completion_1%3a2.8-1_all.deb ... Unpacking bash-completion (1:2.8-1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../14-libmagic-mgc_1%3a5.33-2_amd64.deb ... Unpacking libmagic-mgc (1:5.33-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../15-libmagic1_1%3a5.33-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.33-2) ... Selecting previously unselected package file. Preparing to unpack .../16-file_1%3a5.33-2_amd64.deb ... Unpacking file (1:5.33-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../17-gettext-base_0.19.8.1-6_amd64.deb ... Unpacking gettext-base (0.19.8.1-6) ... Selecting previously unselected package autoconf. Preparing to unpack .../18-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../19-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../20-automake_1%3a1.15.1-3.1_all.deb ... Unpacking automake (1:1.15.1-3.1) ... Selecting previously unselected package autopoint. Preparing to unpack .../21-autopoint_0.19.8.1-6_all.deb ... Unpacking autopoint (0.19.8.1-6) ... Selecting previously unselected package libtool. Preparing to unpack .../22-libtool_2.4.6-2.1_all.deb ... Unpacking libtool (2.4.6-2.1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../23-dh-autoreconf_17_all.deb ... Unpacking dh-autoreconf (17) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../24-libarchive-zip-perl_1.60-1_all.deb ... Unpacking libarchive-zip-perl (1.60-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../25-libfile-stripnondeterminism-perl_0.041-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.041-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../26-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../27-dh-strip-nondeterminism_0.041-1_all.deb ... Unpacking dh-strip-nondeterminism (0.041-1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../28-libglib2.0-0_2.56.1-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.56.1-2) ... Selecting previously unselected package libicu57:amd64. Preparing to unpack .../29-libicu57_57.1-9_amd64.deb ... Unpacking libicu57:amd64 (57.1-9) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../30-libxml2_2.9.4+dfsg1-6.1_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-6.1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../31-libcroco3_0.6.12-2_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.19.8.1-6_amd64.deb ... Unpacking gettext (0.19.8.1-6) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../33-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../34-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../35-debhelper_11.2.1_all.deb ... Unpacking debhelper (11.2.1) ... Selecting previously unselected package xml-core. Preparing to unpack .../36-xml-core_0.18_all.deb ... Unpacking xml-core (0.18) ... Selecting previously unselected package sgml-data. Preparing to unpack .../37-sgml-data_2.0.10_all.deb ... Unpacking sgml-data (2.0.10) ... Selecting previously unselected package docbook-xml. Preparing to unpack .../38-docbook-xml_4.5-8_all.deb ... Unpacking docbook-xml (4.5-8) ... Selecting previously unselected package docbook-xsl. Preparing to unpack .../39-docbook-xsl_1.79.1+dfsg-2_all.deb ... Unpacking docbook-xsl (1.79.1+dfsg-2) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../40-libxslt1.1_1.1.29-5_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.29-5) ... Selecting previously unselected package xsltproc. Preparing to unpack .../41-xsltproc_1.1.29-5_amd64.deb ... Unpacking xsltproc (1.1.29-5) ... Selecting previously unselected package sbuild-build-depends-drbd-utils-dummy. Preparing to unpack .../42-sbuild-build-depends-drbd-utils-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-drbd-utils-dummy (0.invalid.0) ... Setting up libarchive-zip-perl (1.60-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up bash-completion (1:2.8-1) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:amd64 (2.56.1-2) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-6) ... Setting up libpipeline1:amd64 (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up sgml-base (1.29) ... Setting up libicu57:amd64 (57.1-9) ... Setting up libprocps6:amd64 (2:3.3.14-1) ... Setting up libkmod2:amd64 (25-1) ... Setting up libxml2:amd64 (2.9.4+dfsg1-6.1) ... Setting up libmagic-mgc (1:5.33-2) ... Setting up libmagic1:amd64 (1:5.33-2) ... Setting up lsb-base (9.20170808) ... Setting up procps (2:3.3.14-1) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Setting up libcroco3:amd64 (0.6.12-2) ... Setting up libxslt1.1:amd64 (1.1.29-5) ... Processing triggers for libc-bin (2.27-3) ... Setting up autotools-dev (20180224.1) ... Setting up udev (238-4) ... A chroot environment has been detected, udev not started. Setting up xml-core (0.18) ... Setting up bsdmainutils (11.1.2) ... 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 autopoint (0.19.8.1-6) ... Setting up libfile-stripnondeterminism-perl (0.041-1) ... Setting up gettext (0.19.8.1-6) ... Setting up flex (2.6.4-6.1) ... Setting up xsltproc (1.1.29-5) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.33-2) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15.1-3.1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.8.3-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2.1) ... Setting up po-debconf (1.0.20) ... Processing triggers for sgml-base (1.29) ... Setting up sgml-data (2.0.10) ... Setting up docbook-xsl (1.79.1+dfsg-2) ... Processing triggers for sgml-base (1.29) ... Setting up docbook-xml (4.5-8) ... Processing triggers for sgml-base (1.29) ... Setting up dh-autoreconf (17) ... Setting up debhelper (11.2.1) ... Setting up dh-strip-nondeterminism (0.041-1) ... Setting up sbuild-build-depends-drbd-utils-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.27-3) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.30-16 dpkg-dev_1.19.0.5 g++-7_7.3.0-17 gcc-7_7.3.0-17 libc6-dev_2.27-3 libstdc++-7-dev_7.3.0-17 libstdc++6_8-20180425-1 linux-libc-dev_4.15.17-1 Package versions: adduser_3.117 apt_1.6.1 autoconf_2.69-11 automake_1:1.15.1-3.1 autopoint_0.19.8.1-6 autotools-dev_20180224.1 base-files_10.1 base-passwd_3.5.45 bash_4.4.18-2 bash-completion_1:2.8-1 binutils_2.30-16 binutils-common_2.30-16 binutils-x86-64-linux-gnu_2.30-16 bsdmainutils_11.1.2 bsdutils_1:2.31.1-0.5 build-essential_12.5 bzip2_1.0.6-8.1 clang-6.0_1:6.0-3 coreutils_8.28-1 cpp_4:7.3.0-3 cpp-7_7.3.0-17 dash_0.5.8-2.10 debconf_1.5.66 debfoster_2.7-2.1+b1 debhelper_11.2.1 debian-archive-keyring_2017.7 debianutils_4.8.4 dh-autoreconf_17 dh-strip-nondeterminism_0.041-1 diffutils_1:3.6-1 docbook-xml_4.5-8 docbook-xsl_1.79.1+dfsg-2 dpkg_1.19.0.5 dpkg-dev_1.19.0.5 e2fslibs_1.44.1-2 e2fsprogs_1.44.1-2 eatmydata_105-6 fakeroot_1.22-2 fdisk_2.31.1-0.5 file_1:5.33-2 findutils_4.6.0+git+20171230-2 flex_2.6.4-6.1 g++_4:7.3.0-3 g++-7_7.3.0-17 gcc_4:7.3.0-3 gcc-6-base_6.4.0-17 gcc-7_7.3.0-17 gcc-7-base_7.3.0-17 gcc-8-base_8-20180425-1 gettext_0.19.8.1-6 gettext-base_0.19.8.1-6 gpgv_2.2.5-1 grep_3.1-2 groff-base_1.22.3-10 gzip_1.6-5+b1 hostname_3.20 init-system-helpers_1.51 intltool-debian_0.35.0+20060710.4 lib32gcc1_1:8-20180425-1 lib32stdc++6_8-20180425-1 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.6.1 libarchive-zip-perl_1.60-1 libasan4_7.3.0-17 libatomic1_8-20180425-1 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.8.3-1 libaudit1_1:2.8.3-1 libbinutils_2.30-16 libblkid1_2.31.1-0.5 libbsd0_0.8.7-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.27-3 libc-dev-bin_2.27-3 libc6_2.27-3 libc6-dev_2.27-3 libc6-i386_2.27-3 libcap-ng0_0.7.9-1 libcc1-0_8-20180425-1 libcilkrts5_7.3.0-17 libclang-common-6.0-dev_1:6.0-3 libclang1-6.0_1:6.0-3 libcom-err2_1.44.1-2 libcomerr2_1.44.1-2 libcroco3_0.6.12-2 libdb5.3_5.3.28-13.1+b1 libdebconfclient0_0.243 libdpkg-perl_1.19.0.5 libeatmydata1_105-6 libedit2_3.1-20170329-1 libext2fs2_1.44.1-2 libfakeroot_1.22-2 libfdisk1_2.31.1-0.5 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.041-1 libgc1c2_1:7.4.2-8.2 libgcc-7-dev_7.3.0-17 libgcc1_1:8-20180425-1 libgcrypt20_1.8.2-2 libgdbm-compat4_1.14.1-6 libgdbm3_1.8.3-14 libgdbm5_1.14.1-6 libglib2.0-0_2.56.1-2 libgmp10_2:6.1.2+dfsg-3 libgnutls30_3.5.18-1 libgomp1_8-20180425-1 libgpg-error0_1.29-4 libhogweed4_3.4-1 libicu57_57.1-9 libidn2-0_2.0.4-1.1 libisl15_0.18-4 libisl19_0.19-1 libitm1_8-20180425-1 libjsoncpp1_1.7.4-3 libkmod2_25-1 libllvm6.0_1:6.0-3 liblsan0_8-20180425-1 liblz4-1_1.8.1.2-1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.33-2 libmagic1_1:5.33-2 libmount1_2.31.1-0.5 libmpc3_1.1.0-1 libmpfr4_3.1.6-1 libmpfr6_4.0.1-1 libmpx2_8-20180425-1 libncurses5_6.1+20180210-2 libncursesw5_6.1+20180210-2 libnettle6_3.4-1 libobjc-7-dev_7.3.0-17 libobjc4_8-20180425-1 libp11-kit0_0.23.10-2 libpam-modules_1.1.8-3.7 libpam-modules-bin_1.1.8-3.7 libpam-runtime_1.1.8-3.7 libpam0g_1.1.8-3.7 libpcre3_2:8.39-9 libperl5.26_5.26.2-3 libpipeline1_1.5.0-1 libprocps6_2:3.3.14-1 libquadmath0_8-20180425-1 libseccomp2_2.3.3-1 libselinux1_2.7-2+b2 libsemanage-common_2.7-2 libsemanage1_2.7-2+b2 libsepol1_2.7-1 libsigsegv2_2.12-2 libsmartcols1_2.31.1-0.5 libss2_1.44.1-2 libstdc++-7-dev_7.3.0-17 libstdc++6_8-20180425-1 libsystemd0_238-4 libtasn1-6_4.13-2 libtimedate-perl_2.3000-2 libtinfo5_6.1+20180210-2 libtinfo6_6.1+20180210-2 libtool_2.4.6-2.1 libtsan0_8-20180425-1 libubsan0_7.3.0-17 libudev1_238-4 libunistring2_0.9.8-1 libustr-1.0-1_1.0.4-6 libuuid1_2.31.1-0.5 libxml2_2.9.4+dfsg1-6.1 libxslt1.1_1.1.29-5 libzstd1_1.3.4+dfsg-1 linux-libc-dev_4.15.17-1 login_1:4.5-1 lsb-base_9.20170808 m4_1.4.18-1 make_4.2.1-1 man-db_2.8.3-2 mawk_1.3.3-17+b3 mount_2.31.1-0.5 multiarch-support_2.27-3 ncurses-base_6.1+20180210-2 ncurses-bin_6.1+20180210-2 passwd_1:4.5-1 patch_2.7.6-2 perl_5.26.2-3 perl-base_5.26.2-3 perl-modules-5.26_5.26.2-3 po-debconf_1.0.20 procps_2:3.3.14-1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-drbd-utils-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.12 sgml-base_1.29 sgml-data_2.0.10 sysvinit-utils_2.88dsf-59.10 tar_1.30+dfsg-1 udev_238-4 util-linux_2.31.1-0.5 xml-core_0.18 xsltproc_1.1.29-5 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Fri May 12 18:20:55 2017 UTC gpgv: using RSA key 3E02FD6656295952110BAB99F51B18C720248224 gpgv: issuer "apoikos@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./drbd-utils_8.9.10-2.dsc dpkg-source: info: extracting drbd-utils in /<> dpkg-source: info: unpacking drbd-utils_8.9.10.orig.tar.gz dpkg-source: info: unpacking drbd-utils_8.9.10-2.debian.tar.xz dpkg-source: info: applying 0002-dpkg-statoverride-instead-of-chgrp-chmod.patch dpkg-source: info: applying udev-rules-name dpkg-source: info: applying disable-version-warning dpkg-source: info: applying disable-automatic-user-survey.patch dpkg-source: info: applying initscript-remove-path.patch dpkg-source: info: applying reproducible-build dpkg-source: info: applying initscript-add-start-runlevels.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=unstable-amd64-sbuild-6fc8f793-7de5-4d28-b853-95ce8252aee7 SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package drbd-utils dpkg-buildpackage: info: source version 8.9.10-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Apollon Oikonomopoulos dpkg-source --before-build drbd-utils-8.9.10 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with bash-completion,autoreconf debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' dh_auto_clean rm -f debian/drbd-utils.drbd.init make[1]: Leaving directory '/<>' dh_clean debian/rules build-arch dh build-arch --with bash-completion,autoreconf dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --sbindir=/sbin --with-utils --with-udev --with-xen \ --with-pacemaker --with-rgmanager --with-bashcompletion \ --with-initscripttype=sysv \ --with-bashcompletion=no configure: WARNING: unrecognized options: --with-utils ./configure: line 2009: PKG_PROG_PKG_CONFIG: command not found configure: Could not detect systemd unit directory Using systemd unit directory: configure: Could not detect udev rules directory, using default Using udev rules directory: /lib/udev checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether ln -s works... yes checking for sed... /bin/sed checking for grep... /bin/grep checking for flex... /usr/bin/flex checking for rpmbuild... no checking for xsltproc... /usr/bin/xsltproc checking for tar... /bin/tar checking for git... no checking for dpkg-buildpackage... /usr/bin/dpkg-buildpackage checking for udevadm... /sbin/udevadm checking for udevinfo... false checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ supports C++11 features by default... yes configure: WARNING: No rpmbuild found, building RPM packages is disabled. configure: WARNING: Cannot update buildtag without git. You may safely ignore this warning when building from a tarball. checking for /etc/redhat-release... no checking for /etc/debian_version... yes checking for /etc/SuSE-release... no configure: configured for Debian (includes Ubuntu). configure: creating ./config.status config.status: creating Makefile config.status: creating user/shared/Makefile config.status: creating user/v9/Makefile config.status: creating user/v83/Makefile config.status: creating user/v84/Makefile config.status: creating scripts/Makefile config.status: creating documentation/v9/Makefile config.status: creating documentation/v83/Makefile config.status: creating documentation/v84/Makefile config.status: creating scripts/drbd.rules config.status: creating user/drbdmon/Makefile config.status: creating user/shared/config.h configure: WARNING: unrecognized options: --with-utils make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' dh_auto_build make -j1 make[2]: Entering directory '/<>' make[3]: Entering directory '/<>/user/shared' flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl make[3]: Leaving directory '/<>/user/shared' make[3]: Entering directory '/<>/user/v9' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_scanner.o drbdadm_scanner.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_parser.o drbdadm_parser.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_postparse.o drbdadm_postparse.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_main.o drbdadm_main.c drbdadm_main.c:380:101: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] /* */ struct adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, }; ^ drbdadm_main.c:380:68: note: previous initialization is here /* */ struct adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, }; ^~~~~~~~~~~~~~~ drbdadm_main.c:193:19: note: expanded from macro 'ACF1_MINOR_ONLY' .show_in_usage = 1, \ ^ drbdadm_main.c:380:121: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] /* */ struct adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, }; ^ drbdadm_main.c:380:68: note: previous initialization is here /* */ struct adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, }; ^~~~~~~~~~~~~~~ drbdadm_main.c:199:19: note: expanded from macro 'ACF1_MINOR_ONLY' .disk_required = 1, \ ^ drbdadm_main.c:396:105: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] static struct adm_cmd suspend_io_cmd = {"suspend-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 }; ^ drbdadm_main.c:396:70: note: previous initialization is here static struct adm_cmd suspend_io_cmd = {"suspend-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 }; ^~~~~~~~~~~~~ drbdadm_main.c:260:22: note: expanded from macro 'ACF4_ADVANCED' .backend_res_name = 1, \ ^ drbdadm_main.c:397:103: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] static struct adm_cmd resume_io_cmd = {"resume-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 }; ^ drbdadm_main.c:397:68: note: previous initialization is here static struct adm_cmd resume_io_cmd = {"resume-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 }; ^~~~~~~~~~~~~ drbdadm_main.c:260:22: note: expanded from macro 'ACF4_ADVANCED' .backend_res_name = 1, \ ^ drbdadm_main.c:399:152: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] static struct adm_cmd new_current_uuid_cmd = {"new-current-uuid", adm_drbdsetup, &new_current_uuid_cmd_ctx, ACF4_ADVANCED_NEED_VOL .backend_res_name = 0}; ^ drbdadm_main.c:399:109: note: previous initialization is here static struct adm_cmd new_current_uuid_cmd = {"new-current-uuid", adm_drbdsetup, &new_current_uuid_cmd_ctx, ACF4_ADVANCED_NEED_VOL .backend_res_name = 0}; ^~~~~~~~~~~~~~~~~~~~~~ drbdadm_main.c:268:22: note: expanded from macro 'ACF4_ADVANCED_NEED_VOL' .backend_res_name = 1, \ ^ 5 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_adjust.o drbdadm_adjust.c drbdadm_adjust.c:396:15: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value] (!run_o || abs(v1-v2)/(float)minimum > 0.02)) ^ drbdadm_adjust.c:396:15: note: remove the call to 'abs' since unsigned values cannot be negative (!run_o || abs(v1-v2)/(float)minimum > 0.02)) ^~~ drbdadm_adjust.c:508:6: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-W#pragma-messages] if (major(sbuf.st_rdev) != DRBD_MAJOR) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major' # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :2:6: note: expanded from here GCC warning "In the GNU C Library, \"major\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"major\", include \n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including ." ^ drbdadm_adjust.c:510:6: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . [-W#pragma-messages] if (minor(sbuf.st_rdev) != STAILQ_FIRST(&res->me->volumes)->device_minor) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor' # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :7:6: note: expanded from here GCC warning "In the GNU C Library, \"minor\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"minor\", include \n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including ." ^ 3 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_dump.o drbdadm_dump.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdtool_common.o drbdtool_common.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbd_buildtag.o ../shared/drbd_buildtag.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o registry.o registry.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o config_flags.o config_flags.c In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: ../../drbd-headers/linux/genl_magic_struct.h:209:10: warning: no case matching constant switch condition '0' switch (0) { ^ ../../drbd-headers/linux/genl_magic_struct.h:227:10: warning: no case matching constant switch condition '0' switch (0) { ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:133:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:146:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:182:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:186:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:194:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:203:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:207:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:211:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:215:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:226:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:230:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:243:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:264:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:279:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:288:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:292:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:296:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:306:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:311:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:12: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:316:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ 31 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -DHAVE_CTRL_ATTR_VERSION -DHAVE_CTRL_ATTR_HDRSIZE -DHAVE_CTRL_ATTR_MCAST_GROUPS -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libgenl.o ../shared/libgenl.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbd_nla.o drbd_nla.c In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: ../../drbd-headers/linux/genl_magic_struct.h:209:10: warning: no case matching constant switch condition '0' switch (0) { ^ ../../drbd-headers/linux/genl_magic_struct.h:227:10: warning: no case matching constant switch condition '0' switch (0) { ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:133:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:146:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:182:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:186:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:194:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:203:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:207:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:211:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:215:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:226:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:230:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:243:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:264:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:279:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:288:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:292:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:296:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:306:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:311:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:316:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ 31 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_tool.o ../shared/shared_tool.c ../shared/shared_tool.c:590:5: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-W#pragma-messages] major(sb.st_rdev) == LANANA_DRBD_MAJOR) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major' # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :3:6: note: expanded from here GCC warning "In the GNU C Library, \"major\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"major\", include \n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including ." ^ ../shared/shared_tool.c:591:11: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . [-W#pragma-messages] return minor(sb.st_rdev); ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor' # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :8:6: note: expanded from here GCC warning "In the GNU C Library, \"minor\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"minor\", include \n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including ." ^ 2 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_main.o ../shared/shared_main.c ../shared/shared_main.c:65:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF, ^~~~~~~~~~~~~~~~~~~~ ../shared/shared_main.h:29:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF' #define CMD_TIMEOUT_LONG_DEF 600 ^~~ ../shared/shared_main.c:64:24: note: previous initialization is here .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF, ^~~~~~~~~~~~~~~~~~~~~~ ../shared/shared_main.h:28:32: note: expanded from macro 'CMD_TIMEOUT_MEDIUM_DEF' #define CMD_TIMEOUT_MEDIUM_DEF 121 ^~~ 1 warning generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_parser.o ../shared/shared_parser.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_postparse.o drbdadm_main.o drbdadm_adjust.o drbdadm_dump.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libgenl.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdmeta.o ../shared/drbdmeta.c ../shared/drbdmeta.c:410:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] unsigned long bm_bytes(const struct md_cpu const *md, uint64_t sectors); ^ ../shared/drbdmeta.c:442:72: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void md_cpu_to_disk_07(struct md_on_disk_07 *disk, const struct md_cpu const *cpu) ^ ../shared/drbdmeta.c:458:22: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const struct md_cpu const *md, const int md_index, const uint64_t ll_size) ^ ../shared/drbdmeta.c:2418:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] unsigned long bm_bytes(const struct md_cpu const *md, uint64_t sectors) ^ 4 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdmeta_scanner.o ../shared/drbdmeta_scanner.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbd_strings.o ../../drbd-headers/drbd_strings.c ../../drbd-headers/drbd_strings.c:177:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [P_RETRY_WRITE] = "P_RETRY_WRITE", ^~~~~~~~~~~~~~~ ../../drbd-headers/drbd_strings.c:173:21: note: previous initialization is here [P_RETRY_WRITE] = "P_RETRY_WRITE", ^~~~~~~~~~~~~~~ 1 warning generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -o drbdmeta drbdmeta.o drbdmeta_scanner.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdsetup.o drbdsetup.c In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: ../../drbd-headers/linux/genl_magic_struct.h:209:10: warning: no case matching constant switch condition '0' switch (0) { ^ ../../drbd-headers/linux/genl_magic_struct.h:227:10: warning: no case matching constant switch condition '0' switch (0) { ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:133:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:146:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:182:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:186:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:194:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:203:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:207:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:211:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:215:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:226:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:230:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:243:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:264:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:279:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:288:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:292:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:296:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:306:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:311:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:75: In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: In file included from ../../drbd-headers/linux/genl_magic_struct.h:253: ../../drbd-headers/linux/drbd_genl.h:316:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:237:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ drbdsetup.c:2218:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",user" + (*buffer == 0)); ~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2218:26: note: use array indexing to silence this warning strcat(buffer, ",user" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2220:29: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",no-data" + (*buffer == 0)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2220:29: note: use array indexing to silence this warning strcat(buffer, ",no-data" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2222:29: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",fencing" + (*buffer == 0)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2222:29: note: use array indexing to silence this warning strcat(buffer, ",fencing" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2301:18: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int] x1 = ",upper" + first; ~~~~~~~~~^~~~~~~ drbdsetup.c:2301:18: note: use array indexing to silence this warning x1 = ",upper" + first; ^ & [ ] drbdsetup.c:2305:18: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int] x2 = ",lower" + first; ~~~~~~~~~^~~~~~~ drbdsetup.c:2305:18: note: use array indexing to silence this warning x2 = ",lower" + first; ^ & [ ] drbdsetup.c:2532:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",user" + (*buffer == 0)); ~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2532:26: note: use array indexing to silence this warning strcat(buffer, ",user" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2534:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",peer" + (*buffer == 0)); ~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2534:26: note: use array indexing to silence this warning strcat(buffer, ",peer" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2536:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",dependency" + (*buffer == 0)); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2536:32: note: use array indexing to silence this warning strcat(buffer, ",dependency" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2909:10: warning: address of array 'cfg.ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (cfg.ctx_resource_name) { ~~ ~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:3088:10: warning: address of array 'ctx.ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ctx.ctx_resource_name) { ~~ ~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:3197:10: warning: address of array 'ctx.ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ctx.ctx_resource_name) { ~~ ~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:3277:26: warning: address of array 'device->disk_conf.backing_dev' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!device->disk_conf.backing_dev) { ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ drbdsetup.c:3446:11: warning: address of array 'ctx->ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ctx->ctx_resource_name) ~~ ~~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:3606:17: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] (int)((abs(tm->tm_gmtoff) / 60) % 60)); ^ drbdsetup.c:3606:17: note: use function 'labs' instead (int)((abs(tm->tm_gmtoff) / 60) % 60)); ^~~ labs /usr/include/x86_64-linux-gnu/bits/stdio2.h:108:42: note: expanded from macro 'printf' __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__) ^ drbdsetup.c:3936:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] const char *indent = "\t\t" + !more_than_one_choice; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ drbdsetup.c:3936:32: note: use array indexing to silence this warning const char *indent = "\t\t" + !more_than_one_choice; ^ & [ ] 46 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wrap_printf.o ../shared/wrap_printf.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdsetup_colors.o drbdsetup_colors.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../../drbd-headers -I.. -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -o drbdsetup libgenl.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o make[3]: Leaving directory '/<>/user/v9' make[3]: Entering directory '/<>/user/v84' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_scanner.o drbdadm_scanner.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_parser.o drbdadm_parser.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_main.o drbdadm_main.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_adjust.o drbdadm_adjust.c drbdadm_adjust.c:321:15: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value] (!run_o || abs(v1-v2)/(float)minimum > 0.02)) ^ drbdadm_adjust.c:321:15: note: remove the call to 'abs' since unsigned values cannot be negative (!run_o || abs(v1-v2)/(float)minimum > 0.02)) ^~~ drbdadm_adjust.c:433:6: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-W#pragma-messages] if (major(sbuf.st_rdev) != DRBD_MAJOR) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major' # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :2:6: note: expanded from here GCC warning "In the GNU C Library, \"major\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"major\", include \n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including ." ^ drbdadm_adjust.c:435:6: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . [-W#pragma-messages] if (minor(sbuf.st_rdev) != res->me->volumes->device_minor) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor' # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :7:6: note: expanded from here GCC warning "In the GNU C Library, \"minor\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"minor\", include \n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including ." ^ 3 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdtool_common.o drbdtool_common.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbd_buildtag.o ../shared/drbd_buildtag.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o registry.o registry.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o config_flags.o config_flags.c In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: ./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch condition '0' switch (0) { ^ ./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch condition '0' switch (0) { ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:138:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:143:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:183:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:187:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:195:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:235:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:240:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:244:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:248:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:252:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:256:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:264:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:273:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:281:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:285:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:302:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:306:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:317:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from config_flags.c:19: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:321:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ 25 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -DHAVE_CTRL_ATTR_VERSION -DHAVE_CTRL_ATTR_HDRSIZE -DHAVE_CTRL_ATTR_MCAST_GROUPS -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libgenl.o ../shared/libgenl.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbd_nla.o drbd_nla.c In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: ./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch condition '0' switch (0) { ^ ./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch condition '0' switch (0) { ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:138:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:143:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:183:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:187:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:195:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:235:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:240:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:244:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:248:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:252:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:256:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:264:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:273:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:281:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:285:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:302:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:306:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:317:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbd_nla.c:3: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:321:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ 25 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_tool.o ../shared/shared_tool.c ../shared/shared_tool.c:590:5: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-W#pragma-messages] major(sb.st_rdev) == LANANA_DRBD_MAJOR) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major' # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :3:6: note: expanded from here GCC warning "In the GNU C Library, \"major\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"major\", include \n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including ." ^ ../shared/shared_tool.c:591:11: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . [-W#pragma-messages] return minor(sb.st_rdev); ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor' # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :8:6: note: expanded from here GCC warning "In the GNU C Library, \"minor\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"minor\", include \n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including ." ^ 2 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_main.o ../shared/shared_main.c ../shared/shared_main.c:65:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF, ^~~~~~~~~~~~~~~~~~~~ ../shared/shared_main.h:29:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF' #define CMD_TIMEOUT_LONG_DEF 600 ^~~ ../shared/shared_main.c:64:24: note: previous initialization is here .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF, ^~~~~~~~~~~~~~~~~~~~~~ ../shared/shared_main.h:28:32: note: expanded from macro 'CMD_TIMEOUT_MEDIUM_DEF' #define CMD_TIMEOUT_MEDIUM_DEF 121 ^~~ 1 warning generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_parser.o ../shared/shared_parser.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -o drbdadm-84 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libgenl.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdsetup.o drbdsetup.c In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: ./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch condition '0' switch (0) { ^ ./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch condition '0' switch (0) { ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:138:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:143:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:183:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:187:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:195:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:235:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:240:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:244:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:248:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:252:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:256:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:264:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:273:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:281:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:285:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:302:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:306:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:317:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ In file included from drbdsetup.c:73: In file included from ./linux/drbd_genl_api.h:53: In file included from ./linux/genl_magic_struct.h:231: ./linux/drbd_genl.h:321:1: warning: no case matching constant switch condition '0' GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' switch (0) { \ ^ drbdsetup.c:1629:10: warning: address of array 'cfg.ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (cfg.ctx_resource_name) { ~~ ~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:1788:10: warning: address of array 'ctx.ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ctx.ctx_resource_name) { ~~ ~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:1888:10: warning: address of array 'ctx.ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ctx.ctx_resource_name) { ~~ ~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:2049:10: warning: address of array 'dc.backing_dev' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!dc.backing_dev) { ~~~~^~~~~~~~~~~ drbdsetup.c:2098:10: warning: address of array 'cfg.ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (cfg.ctx_resource_name) ~~ ~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:2329:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",user" + (*buffer == 0)); ~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2329:26: note: use array indexing to silence this warning strcat(buffer, ",user" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2331:29: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",no-data" + (*buffer == 0)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2331:29: note: use array indexing to silence this warning strcat(buffer, ",no-data" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2333:29: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",fencing" + (*buffer == 0)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2333:29: note: use array indexing to silence this warning strcat(buffer, ",fencing" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2412:18: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int] x1 = ",upper" + first; ~~~~~~~~~^~~~~~~ drbdsetup.c:2412:18: note: use array indexing to silence this warning x1 = ",upper" + first; ^ & [ ] drbdsetup.c:2416:18: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int] x2 = ",lower" + first; ~~~~~~~~~^~~~~~~ drbdsetup.c:2416:18: note: use array indexing to silence this warning x2 = ",lower" + first; ^ & [ ] drbdsetup.c:2521:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",user" + (*buffer == 0)); ~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2521:26: note: use array indexing to silence this warning strcat(buffer, ",user" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2523:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",peer" + (*buffer == 0)); ~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2523:26: note: use array indexing to silence this warning strcat(buffer, ",peer" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2525:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat(buffer, ",dependency" + (*buffer == 0)); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ drbdsetup.c:2525:32: note: use array indexing to silence this warning strcat(buffer, ",dependency" + (*buffer == 0)); ^ & [ ] drbdsetup.c:2763:11: warning: address of array 'ctx->ctx_resource_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ctx->ctx_resource_name) { ~~ ~~~~~^~~~~~~~~~~~~~~~~ drbdsetup.c:2948:17: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] (int)((abs(tm->tm_gmtoff) / 60) % 60)); ^ drbdsetup.c:2948:17: note: use function 'labs' instead (int)((abs(tm->tm_gmtoff) / 60) % 60)); ^~~ labs /usr/include/x86_64-linux-gnu/bits/stdio2.h:108:42: note: expanded from macro 'printf' __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__) ^ drbdsetup.c:3339:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] const char *indent = "\t\t" + !more_than_one_choice; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ drbdsetup.c:3339:32: note: use array indexing to silence this warning const char *indent = "\t\t" + !more_than_one_choice; ^ & [ ] drbdsetup.c:3410:39: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int] wrap_printf(4, "%s", "|resource" + first); ~~~~~~~~~~~~^~~~~~~ drbdsetup.c:3410:39: note: use array indexing to silence this warning wrap_printf(4, "%s", "|resource" + first); ^ & [ ] drbdsetup.c:3414:36: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int] wrap_printf(4, "%s", "|minor" + first); ~~~~~~~~~^~~~~~~ drbdsetup.c:3414:36: note: use array indexing to silence this warning wrap_printf(4, "%s", "|minor" + first); ^ & [ ] drbdsetup.c:3418:34: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int] wrap_printf(4, "%s", "|all" + first); ~~~~~~~^~~~~~~ drbdsetup.c:3418:34: note: use array indexing to silence this warning wrap_printf(4, "%s", "|all" + first); ^ & [ ] 44 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbd_strings.o drbd_strings.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wrap_printf.o ../shared/wrap_printf.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdsetup_colors.o drbdsetup_colors.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -o drbdsetup-84 libgenl.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o make[3]: Leaving directory '/<>/user/v84' make[3]: Entering directory '/<>/user/v83' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_scanner.o drbdadm_scanner.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_parser.o drbdadm_parser.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_main.o drbdadm_main.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_adjust.o drbdadm_adjust.c drbdadm_adjust.c:286:15: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value] (!run_o || abs(v1-v2)/(float)minimum > 0.02)) ^ drbdadm_adjust.c:286:15: note: remove the call to 'abs' since unsigned values cannot be negative (!run_o || abs(v1-v2)/(float)minimum > 0.02)) ^~~ drbdadm_adjust.c:397:6: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-W#pragma-messages] if (major(sbuf.st_rdev) != DRBD_MAJOR) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major' # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :211:6: note: expanded from here GCC warning "In the GNU C Library, \"major\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"major\", include \n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including ." ^ drbdadm_adjust.c:399:6: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . [-W#pragma-messages] if (minor(sbuf.st_rdev) != res->me->device_minor) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor' # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :4:6: note: expanded from here GCC warning "In the GNU C Library, \"minor\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"minor\", include \n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including ." ^ 3 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdtool_common.o drbdtool_common.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbd_buildtag.o ../shared/drbd_buildtag.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdadm_minor_table.o drbdadm_minor_table.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_tool.o ../shared/shared_tool.c ../shared/shared_tool.c:590:5: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-W#pragma-messages] major(sb.st_rdev) == LANANA_DRBD_MAJOR) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major' # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :3:6: note: expanded from here GCC warning "In the GNU C Library, \"major\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"major\", include \n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including ." ^ ../shared/shared_tool.c:591:11: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . [-W#pragma-messages] return minor(sb.st_rdev); ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor' # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :8:6: note: expanded from here GCC warning "In the GNU C Library, \"minor\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"minor\", include \n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including ." ^ 2 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_main.o ../shared/shared_main.c ../shared/shared_main.c:65:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF, ^~~~~~~~~~~~~~~~~~~~ ../shared/shared_main.h:29:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF' #define CMD_TIMEOUT_LONG_DEF 600 ^~~ ../shared/shared_main.c:64:24: note: previous initialization is here .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF, ^~~~~~~~~~~~~~~~~~~~~~ ../shared/shared_main.h:28:32: note: expanded from macro 'CMD_TIMEOUT_MEDIUM_DEF' #define CMD_TIMEOUT_MEDIUM_DEF 121 ^~~ 1 warning generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shared_parser.o ../shared/shared_parser.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -o drbdadm-83 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o drbdadm_minor_table.o shared_tool.o shared_main.o shared_parser.o gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdsetup.o drbdsetup.c drbdsetup.c:782:14: warning: implicit conversion from 'int' to 'short' changes value from 41020 to -24516 [-Wconstant-conversion] add_tag(tl,T_mind_af,&bit,sizeof(bit)); ~~~~~~~ ^~~~~~~~~ drbdsetup.c:889:14: warning: implicit conversion from 'int' to 'short' changes value from 41022 to -24514 [-Wconstant-conversion] add_tag(tl, T_auto_sndbuf_size, &bit, sizeof(bit)); ~~~~~~~ ^~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbd_strings.o drbd_strings.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I../shared -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -o drbdsetup-83 drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o make[3]: Leaving directory '/<>/user/v83' make[3]: Entering directory '/<>/scripts' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/scripts' make[3]: Entering directory '/<>/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drbdmon_main.o drbdmon_main.cpp g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wdate-time -D_FORTIFY_SOURCE=2 -c -o DrbdMon.o DrbdMon.cpp g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wdate-time -D_FORTIFY_SOURCE=2 -c -o MessageLog.o MessageLog.cpp g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wdate-time -D_FORTIFY_SOURCE=2 -c -o CompactDisplay.o CompactDisplay.cpp In file included from CompactDisplay.cpp:4: ./CompactDisplay.h:159:19: error: private field 'out' is not used [-Werror,-Wunused-private-field] std::ostream& out; ^ 1 error generated. make[3]: *** [: CompactDisplay.o] Error 1 make[3]: Leaving directory '/<>/user/drbdmon' make[2]: *** [Makefile:78: tools] Error 2 make[2]: Leaving directory '/<>' dh_auto_build: make -j1 returned exit code 2 make[1]: *** [debian/rules:25: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<>' make: *** [debian/rules:11: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2018-05-02T13:23:54Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: any Build-Space: 13064 Build-Time: 26 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 10 Job: drbd-utils_8.9.10-2 Machine Architecture: amd64 Package: drbd-utils Package-Time: 50 Source-Version: 8.9.10-2 Space: 13064 Status: attempted Version: 8.9.10-2 -------------------------------------------------------------------------------- Finished at 2018-05-02T13:23:54Z Build needed 00:00:50, 13064k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 50.2614609s