DC-Build-Header: libnftnl 1.0.3-4 / 2015-03-26 02:58:05 +0000 DC-Task: source:libnftnl version:1.0.3-4 architecture:any chroot:unstable esttime: logfile:/tmp/libnftnl_1.0.3-4_unstable_clang.log modes:binary-only:parallel:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang libnftnl_1.0.3-4' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-4-224.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ libnftnl 1.0.3-4 (amd64) 26 Mar 2015 02:58 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: libnftnl Version: 1.0.3-4 Source Version: 1.0.3-4 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/libnftnl-bnvhIx/libnftnl-1.0.3' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/libnftnl-bnvhIx' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-047b5504-9665-4d3d-b55f-73e9a51dfd7d' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [257 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2015-03-25-1448.37.pdiff [3021 B] Get:6 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [5545 B] Get:7 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [5545 B] Get:8 http://localhost:9999 unstable/main amd64 2015-03-25-1448.37.pdiff [4095 B] Get:9 http://localhost:9999 unstable/main amd64 2015-03-25-2049.47.pdiff [4595 B] Get:10 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [2032 B] Get:11 http://localhost:9999 unstable/main amd64 2015-03-25-2049.47.pdiff [4595 B] Get:12 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [2032 B] Fetched 300 kB in 5s (56.1 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 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... Building dependency tree... Reading state information... NOTICE: 'libnftnl' packaging is maintained in the 'Git' version control system at: git://github.com/aborrero/pkg-libnftnl.git Need to get 367 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main libnftnl 1.0.3-4 (dsc) [2056 B] Get:2 http://localhost:9999/debian/ unstable/main libnftnl 1.0.3-4 (tar) [356 kB] Get:3 http://localhost:9999/debian/ unstable/main libnftnl 1.0.3-4 (diff) [8676 B] Fetched 367 kB in 0s (1402 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/clang ────────── + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=3.6 + echo 'Install of clang-3.6' Install of clang-3.6 + apt-get update Hit http://localhost:9999 unstable InRelease Get:1 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:2 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Fetched 23.6 kB in 2s (11.3 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.6 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libbsd0 libclang-common-3.6-dev libclang1-3.6 libedit2 libffi6 libllvm3.6 libobjc-4.9-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-3.6-doc Recommended packages: llvm-3.6-dev python The following NEW packages will be installed: clang-3.6 libbsd0 libclang-common-3.6-dev libclang1-3.6 libedit2 libffi6 libllvm3.6 libobjc-4.9-dev libobjc4 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 39.2 MB of archives. After this operation, 153 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libbsd0 amd64 0.7.0-2 [67.9 kB] Get:2 http://localhost:9999/debian/ unstable/main libedit2 amd64 3.1-20140620-2 [85.1 kB] Get:3 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.1-2+b2 [20.1 kB] Get:4 http://localhost:9999/debian/ unstable/main libllvm3.6 amd64 1:3.6-2 [8137 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.9.2-10 [112 kB] Get:6 http://localhost:9999/debian/ unstable/main libobjc-4.9-dev amd64 4.9.2-10 [372 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.6 amd64 1:3.6-2 [3839 kB] Get:8 http://localhost:9999/debian/ unstable/main libclang-common-3.6-dev amd64 1:3.6-2 [706 kB] Get:9 http://localhost:9999/debian/ unstable/main clang-3.6 amd64 1:3.6-2 [25.8 MB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 39.2 MB in 1s (35.5 MB/s) Selecting previously unselected package libbsd0: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 ... 11980 files and directories currently installed.) Preparing to unpack .../libbsd0_0.7.0-2_amd64.deb ... Unpacking libbsd0:amd64 (0.7.0-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../libedit2_3.1-20140620-2_amd64.deb ... Unpacking libedit2:amd64 (3.1-20140620-2) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.1-2+b2_amd64.deb ... Unpacking libffi6:amd64 (3.1-2+b2) ... Selecting previously unselected package libllvm3.6:amd64. Preparing to unpack .../libllvm3.6_1%3a3.6-2_amd64.deb ... Unpacking libllvm3.6:amd64 (1:3.6-2) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../libobjc4_4.9.2-10_amd64.deb ... Unpacking libobjc4:amd64 (4.9.2-10) ... Selecting previously unselected package libobjc-4.9-dev:amd64. Preparing to unpack .../libobjc-4.9-dev_4.9.2-10_amd64.deb ... Unpacking libobjc-4.9-dev:amd64 (4.9.2-10) ... Selecting previously unselected package libclang1-3.6:amd64. Preparing to unpack .../libclang1-3.6_1%3a3.6-2_amd64.deb ... Unpacking libclang1-3.6:amd64 (1:3.6-2) ... Selecting previously unselected package libclang-common-3.6-dev. Preparing to unpack .../libclang-common-3.6-dev_1%3a3.6-2_amd64.deb ... Unpacking libclang-common-3.6-dev (1:3.6-2) ... Selecting previously unselected package clang-3.6. Preparing to unpack .../clang-3.6_1%3a3.6-2_amd64.deb ... Unpacking clang-3.6 (1:3.6-2) ... Setting up libbsd0:amd64 (0.7.0-2) ... Setting up libedit2:amd64 (3.1-20140620-2) ... Setting up libffi6:amd64 (3.1-2+b2) ... Setting up libllvm3.6:amd64 (1:3.6-2) ... Setting up libobjc4:amd64 (4.9.2-10) ... Setting up libobjc-4.9-dev:amd64 (4.9.2-10) ... Setting up libclang1-3.6:amd64 (1:3.6-2) ... Setting up libclang-common-3.6-dev (1:3.6-2) ... Setting up clang-3.6 (1:3.6-2) ... Processing triggers for libc-bin (2.19-17) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-3.6 g++-4.6 + ln -s clang-3.6 gcc-4.6 + ln -s clang-3.6 cpp-4.6 + ln -s clang-3.6 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-3.6 g++-4.7 + ln -s clang-3.6 gcc-4.7 + ln -s clang-3.6 cpp-4.7 + ln -s clang-3.6 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-3.6 g++-4.8 + ln -s clang-3.6 gcc-4.8 + ln -s clang-3.6 cpp-4.8 + ln -s clang-3.6 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in 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 + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in 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 + for VERSION in '$VERSIONS' + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-3.6 g++-4.9 + ln -s clang-3.6 gcc-4.9 + ln -s clang-3.6 cpp-4.9 + ln -s clang-3.6 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections + echo 'g++-4.9 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-3.6 g++-5 + ln -s clang-3.6 gcc-5 + ln -s clang-3.6 cpp-5 + ln -s clang-3.6 gcc + echo 'gcc-5 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: gcc-5 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + echo 'g++-5 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: g++-5 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + cd - /«BUILDDIR» + 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/clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-p0WmUe/apt_archive/sbuild-build-depends-core-dummy.deb'. OK 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 0 B/818 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (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 ... 12200 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-autoreconf, libjansson-dev, libmnl-dev, libmxml-dev, libtool, pkg-config Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-autoreconf, libjansson-dev, libmnl-dev, libmxml-dev, libtool, pkg-config dpkg-deb: building package `sbuild-build-depends-libnftnl-dummy' in `/«BUILDDIR»/resolver-6V25PW/apt_archive/sbuild-build-depends-libnftnl-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install libnftnl build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libicu52 libjansson-dev libjansson4 libmagic1 libmnl-dev libmnl0 libmxml-dev libmxml1 libpipeline1 libsigsegv2 libtool libunistring0 libxml2 m4 man-db pkg-config po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican wordlist whois vacation dh-make gettext-doc groff libtool-doc automaken gfortran fortran95-compiler gcj-jdk www-browser libmail-box-perl Recommended packages: curl wget lynx-cur libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libicu52 libjansson-dev libjansson4 libmagic1 libmnl-dev libmnl0 libmxml-dev libmxml1 libpipeline1 libsigsegv2 libtool libunistring0 libxml2 m4 man-db pkg-config po-debconf sbuild-build-depends-libnftnl-dummy 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 18.0 MB/18.0 MB of archives. After this operation, 62.2 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.4.0-1 [27.9 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.3-1 [1205 kB] Get:3 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.6 [183 kB] Get:4 http://localhost:9999/debian/ unstable/main man-db amd64 2.7.0.2-5 [1000 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.19.3-2 [31.3 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.22+15-2 [249 kB] Get:7 http://localhost:9999/debian/ unstable/main libicu52 amd64 52.1-8 [6780 kB] Get:8 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.2+dfsg1-3 [934 kB] Get:9 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.42.1-1 [2401 kB] Get:10 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-3+b1 [135 kB] Get:11 http://localhost:9999/debian/ unstable/main libjansson4 amd64 2.7-1 [33.9 kB] Get:12 http://localhost:9999/debian/ unstable/main libsigsegv2 amd64 2.10-4+b1 [29.2 kB] Get:13 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5.2+b1 [288 kB] Get:14 http://localhost:9999/debian/ unstable/main libmnl0 amd64 1.0.3-5 [12.0 kB] Get:15 http://localhost:9999/debian/ unstable/main file amd64 1:5.22+15-2 [60.1 kB] Get:16 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.19.3-2 [121 kB] Get:17 http://localhost:9999/debian/ unstable/main m4 amd64 1.4.17-4 [254 kB] Get:18 http://localhost:9999/debian/ unstable/main autoconf all 2.69-8 [340 kB] Get:19 http://localhost:9999/debian/ unstable/main autotools-dev all 20140911.1 [70.5 kB] Get:20 http://localhost:9999/debian/ unstable/main automake all 1:1.14.1-4 [725 kB] Get:21 http://localhost:9999/debian/ unstable/main autopoint all 0.19.3-2 [413 kB] Get:22 http://localhost:9999/debian/ unstable/main gettext amd64 0.19.3-2 [1240 kB] Get:23 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:24 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu3 [220 kB] Get:25 http://localhost:9999/debian/ unstable/main debhelper all 9.20150101 [813 kB] Get:26 http://localhost:9999/debian/ unstable/main libtool all 2.4.2-1.11 [190 kB] Get:27 http://localhost:9999/debian/ unstable/main dh-autoreconf all 10 [15.2 kB] Get:28 http://localhost:9999/debian/ unstable/main libjansson-dev amd64 2.7-1 [34.8 kB] Get:29 http://localhost:9999/debian/ unstable/main libmxml1 amd64 2.6-2 [28.0 kB] Get:30 http://localhost:9999/debian/ unstable/main libmxml-dev amd64 2.6-2 [62.3 kB] Get:31 http://localhost:9999/debian/ unstable/main pkg-config amd64 0.28-1 [57.5 kB] Get:32 http://localhost:9999/debian/ unstable/main libmnl-dev amd64 1.0.3-5 [12.8 kB] Extracting templates from packages: 90% Extracting templates from packages: 100% Preconfiguring packages ... Fetched 18.0 MB in 1s (15.5 MB/s) Selecting previously unselected package libpipeline1: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 ... 12200 files and directories currently installed.) Preparing to unpack .../libpipeline1_1.4.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.0-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.3-1_amd64.deb ... Unpacking groff-base (1.22.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.6_amd64.deb ... Unpacking bsdmainutils (9.0.6) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.7.0.2-5_amd64.deb ... Unpacking man-db (2.7.0.2-5) ... Selecting previously unselected package libasprintf0c2:amd64. Preparing to unpack .../libasprintf0c2_0.19.3-2_amd64.deb ... Unpacking libasprintf0c2:amd64 (0.19.3-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.22+15-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.22+15-2) ... Selecting previously unselected package libicu52:amd64. Preparing to unpack .../libicu52_52.1-8_amd64.deb ... Unpacking libicu52:amd64 (52.1-8) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.2+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.2+dfsg1-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.42.1-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.42.1-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-3+b1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-3+b1) ... Selecting previously unselected package libjansson4:amd64. Preparing to unpack .../libjansson4_2.7-1_amd64.deb ... Unpacking libjansson4:amd64 (2.7-1) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../libsigsegv2_2.10-4+b1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.10-4+b1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5.2+b1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5.2+b1) ... Selecting previously unselected package libmnl0:amd64. Preparing to unpack .../libmnl0_1.0.3-5_amd64.deb ... Unpacking libmnl0:amd64 (1.0.3-5) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.22+15-2_amd64.deb ... Unpacking file (1:5.22+15-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.3-2_amd64.deb ... Unpacking gettext-base (0.19.3-2) ... Selecting previously unselected package m4. Preparing to unpack .../archives/m4_1.4.17-4_amd64.deb ... Unpacking m4 (1.4.17-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../autoconf_2.69-8_all.deb ... Unpacking autoconf (2.69-8) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../autotools-dev_20140911.1_all.deb ... Unpacking autotools-dev (20140911.1) ... Selecting previously unselected package automake. Preparing to unpack .../automake_1%3a1.14.1-4_all.deb ... Unpacking automake (1:1.14.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../autopoint_0.19.3-2_all.deb ... Unpacking autopoint (0.19.3-2) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.3-2_amd64.deb ... Unpacking gettext (0.19.3-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ... Unpacking intltool-debian (0.35.0+20060710.1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.16+nmu3_all.deb ... Unpacking po-debconf (1.0.16+nmu3) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20150101_all.deb ... Unpacking debhelper (9.20150101) ... Selecting previously unselected package libtool. Preparing to unpack .../libtool_2.4.2-1.11_all.deb ... Unpacking libtool (2.4.2-1.11) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../dh-autoreconf_10_all.deb ... Unpacking dh-autoreconf (10) ... Selecting previously unselected package libjansson-dev:amd64. Preparing to unpack .../libjansson-dev_2.7-1_amd64.deb ... Unpacking libjansson-dev:amd64 (2.7-1) ... Selecting previously unselected package libmxml1. Preparing to unpack .../libmxml1_2.6-2_amd64.deb ... Unpacking libmxml1 (2.6-2) ... Selecting previously unselected package libmxml-dev. Preparing to unpack .../libmxml-dev_2.6-2_amd64.deb ... Unpacking libmxml-dev (2.6-2) ... Selecting previously unselected package pkg-config. Preparing to unpack .../pkg-config_0.28-1_amd64.deb ... Unpacking pkg-config (0.28-1) ... Selecting previously unselected package libmnl-dev. Preparing to unpack .../libmnl-dev_1.0.3-5_amd64.deb ... Unpacking libmnl-dev (1.0.3-5) ... Selecting previously unselected package sbuild-build-depends-libnftnl-dummy. Preparing to unpack .../sbuild-build-depends-libnftnl-dummy.deb ... Unpacking sbuild-build-depends-libnftnl-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.4.0-1) ... Setting up groff-base (1.22.3-1) ... Setting up bsdmainutils (9.0.6) ... 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 man-db (2.7.0.2-5) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.19.3-2) ... Setting up libmagic1:amd64 (1:5.22+15-2) ... Setting up libicu52:amd64 (52.1-8) ... Setting up libxml2:amd64 (2.9.2+dfsg1-3) ... Setting up libglib2.0-0:amd64 (2.42.1-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-3+b1) ... Setting up libjansson4:amd64 (2.7-1) ... Setting up libsigsegv2:amd64 (2.10-4+b1) ... Setting up libunistring0:amd64 (0.9.3-5.2+b1) ... Setting up libmnl0:amd64 (1.0.3-5) ... Setting up file (1:5.22+15-2) ... Setting up gettext-base (0.19.3-2) ... Setting up m4 (1.4.17-4) ... Setting up autoconf (2.69-8) ... Setting up autotools-dev (20140911.1) ... Setting up automake (1:1.14.1-4) ... update-alternatives: using /usr/bin/automake-1.14 to provide /usr/bin/automake (automake) in auto mode Setting up autopoint (0.19.3-2) ... Setting up gettext (0.19.3-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu3) ... Setting up debhelper (9.20150101) ... Setting up libtool (2.4.2-1.11) ... Setting up dh-autoreconf (10) ... Setting up libjansson-dev:amd64 (2.7-1) ... Setting up libmxml1 (2.6-2) ... Setting up libmxml-dev (2.6-2) ... Setting up pkg-config (0.28-1) ... Setting up libmnl-dev (1.0.3-5) ... Setting up sbuild-build-depends-libnftnl-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.19-17) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 3.2.0-4-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.25-5 dpkg-dev_1.17.24 g++-4.9_4.9.2-10 gcc-4.9_4.9.2-10 libc6-dev_2.19-17 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 linux-libc-dev_3.16.7-ckt7-1 Package versions: acl_2.2.52-2 adduser_3.113+nmu3 apt_1.0.9.7 apt-utils_1.0.9.7 autoconf_2.69-8 automake_1:1.14.1-4 autopoint_0.19.3-2 autotools-dev_20140911.1 base-files_8 base-passwd_3.5.37 bash_4.3-12 binutils_2.25-5 bsdmainutils_9.0.6 bsdutils_1:2.25.2-5 build-essential_11.7 bzip2_1.0.6-7+b2 clang-3.6_1:3.6-2 coreutils_8.23-4 cpp_4:4.9.2-2 cpp-4.9_4.9.2-10 dash_0.5.7-4+b1 debconf_1.5.56 debfoster_2.7-2 debhelper_9.20150101 debian-archive-keyring_2014.3 debianutils_4.4+b1 dh-autoreconf_10 diffutils_1:3.3-1+b1 dmsetup_2:1.02.90-2.1 dpkg_1.17.24 dpkg-dev_1.17.24 e2fslibs_1.42.12-1.1 e2fsprogs_1.42.12-1.1 fakeroot_1.20.2-1 file_1:5.22+15-2 findutils_4.4.2-9+b1 g++_4:4.9.2-2 g++-4.9_4.9.2-10 gcc_4:4.9.2-2 gcc-4.9_4.9.2-10 gcc-4.9-base_4.9.2-10 gettext_0.19.3-2 gettext-base_0.19.3-2 gnupg_1.4.18-7 gpgv_1.4.18-7 grep_2.20-4.1 groff-base_1.22.3-1 gzip_1.6-4 hostname_3.15 init_1.22 initscripts_2.88dsf-58 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 less_458-3 libacl1_2.2.52-2 libapt-inst1.5_1.0.9.7 libapt-pkg4.12_1.0.9.7 libasan1_4.9.2-10 libasprintf0c2_0.19.3-2 libatomic1_4.9.2-10 libattr1_1:2.4.47-2 libaudit-common_1:2.4-1 libaudit1_1:2.4-1+b1 libblkid1_2.25.2-5 libbsd0_0.7.0-2 libbz2-1.0_1.0.6-7+b2 libc-bin_2.19-17 libc-dev-bin_2.19-17 libc6_2.19-17 libc6-dev_2.19-17 libcap2_1:2.24-7 libcap2-bin_1:2.24-7 libcilkrts5_4.9.2-10 libclang-common-3.6-dev_1:3.6-2 libclang1-3.6_1:3.6-2 libcloog-isl4_0.18.2-1+b2 libcomerr2_1.42.12-1.1 libcroco3_0.6.8-3+b1 libcryptsetup4_2:1.6.6-5 libdb5.3_5.3.28-9 libdebconfclient0_0.192 libdevmapper1.02.1_2:1.02.90-2.1 libdpkg-perl_1.17.24 libedit2_3.1-20140620-2 libfakeroot_1.20.2-1 libffi6_3.1-2+b2 libgc1c2_1:7.2d-6.4 libgcc-4.9-dev_4.9.2-10 libgcc1_1:4.9.2-10 libgcrypt20_1.6.3-2 libgdbm3_1.8.3-13.1 libglib2.0-0_2.42.1-1 libgmp10_2:6.0.0+dfsg-6 libgomp1_4.9.2-10 libgpg-error0_1.17-3 libicu52_52.1-8 libisl10_0.12.2-2 libitm1_4.9.2-10 libjansson-dev_2.7-1 libjansson4_2.7-1 libkmod2_20-1 libllvm3.6_1:3.6-2 liblsan0_4.9.2-10 liblzma5_5.1.1alpha+20120614-2+b3 libmagic1_1:5.22+15-2 libmnl-dev_1.0.3-5 libmnl0_1.0.3-5 libmount1_2.25.2-5 libmpc3_1.0.3-1 libmpfr4_3.1.2-3 libmxml-dev_2.6-2 libmxml1_2.6-2 libncurses5_5.9+20140913-1+b1 libncursesw5_5.9+20140913-1+b1 libobjc-4.9-dev_4.9.2-10 libobjc4_4.9.2-10 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcre3_2:8.35-3.3 libpipeline1_1.4.0-1 libprocps3_2:3.3.9-9 libquadmath0_4.9.2-10 libreadline6_6.3-8+b3 libselinux1_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1+b1 libsepol1_2.3-2 libsigsegv2_2.10-4+b1 libslang2_2.3.0-2 libsmartcols1_2.25.2-5 libss2_1.42.12-1.1 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 libsystemd0_215-12 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140913-1+b1 libtool_2.4.2-1.11 libtsan0_4.9.2-10 libubsan0_4.9.2-10 libudev1_215-12 libunistring0_0.9.3-5.2+b1 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3+b2 libuuid1_2.25.2-5 libxml2_2.9.2+dfsg1-3 linux-libc-dev_3.16.7-ckt7-1 login_1:4.2-3 lsb-base_4.1+Debian13+nmu1 m4_1.4.17-4 make_4.0-8.1 man-db_2.7.0.2-5 mawk_1.3.3-17 mount_2.25.2-5 multiarch-support_2.19-17 ncurses-base_5.9+20140913-1 ncurses-bin_5.9+20140913-1+b1 nvi_1.81.6-11+b1 passwd_1:4.2-3 patch_2.7.5-1 perl_5.20.2-2 perl-base_5.20.2-2 perl-modules_5.20.2-2 pkg-config_0.28-1 po-debconf_1.0.16+nmu3 procps_2:3.3.9-9 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-libnftnl-dummy_0.invalid.0 sed_4.2.2-4+b1 sensible-utils_0.0.9 startpar_0.59-3 sudo_1.8.12-1 systemd_215-12 systemd-sysv_215-12 sysv-rc_2.88dsf-58 sysvinit-utils_2.88dsf-58 tar_1.27.1-2+b1 tzdata_2015b-1 udev_215-12 util-linux_2.25.2-5 xz-utils_5.1.1alpha+20120614-2+b3 zlib1g_1:1.2.8.dfsg-2+b1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Thu Jan 15 08:28:37 2015 UTC using RSA key ID AA1F32FF gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./libnftnl_1.0.3-4.dsc dpkg-source: info: extracting libnftnl in libnftnl-1.0.3 dpkg-source: info: unpacking libnftnl_1.0.3.orig.tar.bz2 dpkg-source: info: unpacking libnftnl_1.0.3-4.debian.tar.xz Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── DEB_BUILD_OPTIONS=parallel=10 HOME=/sbuild-nonexistent LOGNAME=user 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=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-047b5504-9665-4d3d-b55f-73e9a51dfd7d SCHROOT_UID=1001 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package libnftnl dpkg-buildpackage: source version 1.0.3-4 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Arturo Borrero Gonzalez dpkg-source --before-build libnftnl-1.0.3 dpkg-buildpackage: host architecture amd64 dpkg-source: info: using options from libnftnl-1.0.3/debian/source/options: --extend-diff-ignore=(^|/)(compile|config\.sub|config\.guess|Makefile|configure|Makefile\.in|aclocal.m4|config.h.in|depcomp|INSTALL|install-sh|ltmain.sh|missing||libtool.m4|lt~obsolete.m4|ltoptions.m4|ltsugar.m4|ltversion.m4|.Po) fakeroot debian/rules clean I: libnftnl_1.0.3 I: UDATE=2015-03-26 00:00:00+00:00 dh clean --with autoreconf dh_testdir dh_auto_clean dh_autoreconf_clean dh_clean debian/rules build-arch I: libnftnl_1.0.3 I: UDATE=2015-03-26 00:00:00+00:00 dh build-arch --with autoreconf dh_testdir -a dh_autoreconf -a libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize: copying file `build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' debian/rules override_dh_auto_configure make[1]: Entering directory '/«PKGBUILDDIR»' I: libnftnl_1.0.3 I: UDATE=2015-03-26 00:00:00+00:00 ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --with-xml-parsing --with-json-parsing --disable-silent-rules checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for ar... ar checking the archiver (ar) interface... ar checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking dependency style of gcc... gcc3 checking whether make supports nested variables... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBMNL... yes checking for LIBXML... yes checking for LIBJSON... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether compiler accepts -fvisibility=hidden... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating include/libnftnl/Makefile config.status: creating include/linux/Makefile config.status: creating include/linux/netfilter/Makefile config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating libnftnl.pc config.status: creating doxygen.cfg config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands libnftnl configuration: XML support: yes JSON support: yes make[1]: Leaving directory '/«PKGBUILDDIR»' dh_auto_build -a make[1]: Entering directory '/«PKGBUILDDIR»' make all-recursive make[2]: Entering directory '/«PKGBUILDDIR»' Making all in src make[3]: Entering directory '/«PKGBUILDDIR»/src' depbase=`echo utils.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT utils.lo -MD -MP -MF $depbase.Tpo -c -o utils.lo utils.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c -fPIC -DPIC -o .libs/utils.o depbase=`echo buffer.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT buffer.lo -MD -MP -MF $depbase.Tpo -c -o buffer.lo buffer.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT buffer.lo -MD -MP -MF .deps/buffer.Tpo -c buffer.c -fPIC -DPIC -o .libs/buffer.o buffer.c:55:43: warning: format string is not a string literal [-Wformat-nonliteral] ret = vsnprintf(b->buf + b->off, b->len, fmt, ap); ^~~ 1 warning generated. depbase=`echo common.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT common.lo -MD -MP -MF $depbase.Tpo -c -o common.lo common.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c -fPIC -DPIC -o .libs/common.o common.c:41:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_nlmsg_build_hdr); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ common.c:23:18: note: previous definition is here struct nlmsghdr *nft_nlmsg_build_hdr(char *buf, uint16_t cmd, uint16_t family, ^ common.c:47:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_parse_err_alloc); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ common.c:43:23: note: previous definition is here struct nft_parse_err *nft_parse_err_alloc(void) ^ common.c:53:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_parse_err_free); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ common.c:49:6: note: previous definition is here void nft_parse_err_free(struct nft_parse_err *err) ^ common.c:71:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_parse_perror); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ common.c:55:5: note: previous definition is here int nft_parse_perror(const char *msg, struct nft_parse_err *err) ^ common.c:175:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_batch_begin); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ common.c:171:6: note: previous definition is here void nft_batch_begin(char *buf, uint32_t seq) ^ common.c:181:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_batch_end); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ common.c:177:6: note: previous definition is here void nft_batch_end(char *buf, uint32_t seq) ^ common.c:240:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_batch_is_supported); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ common.c:183:5: note: previous definition is here int nft_batch_is_supported(void) ^ 7 warnings generated. depbase=`echo gen.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT gen.lo -MD -MP -MF $depbase.Tpo -c -o gen.lo gen.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT gen.lo -MD -MP -MF .deps/gen.Tpo -c gen.c -fPIC -DPIC -o .libs/gen.o gen.c:36:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_alloc); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:32:17: note: previous definition is here struct nft_gen *nft_gen_alloc(void) ^ gen.c:42:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_free); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:38:6: note: previous definition is here void nft_gen_free(struct nft_gen *gen) ^ gen.c:48:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_attr_is_set); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:44:6: note: previous definition is here bool nft_gen_attr_is_set(const struct nft_gen *gen, uint16_t attr) ^ gen.c:61:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_attr_unset); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:50:6: note: previous definition is here void nft_gen_attr_unset(struct nft_gen *gen, uint16_t attr) ^ gen.c:82:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_attr_set_data); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:67:6: note: previous definition is here void nft_gen_attr_set_data(struct nft_gen *gen, uint16_t attr, ^ gen.c:88:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_attr_set); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:84:6: note: previous definition is here void nft_gen_attr_set(struct nft_gen *gen, uint16_t attr, const void *data) ^ gen.c:94:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_attr_set_u32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:90:6: note: previous definition is here void nft_gen_attr_set_u32(struct nft_gen *gen, uint16_t attr, uint32_t val) ^ gen.c:108:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_attr_get_data); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:96:13: note: previous definition is here const void *nft_gen_attr_get_data(struct nft_gen *gen, uint16_t attr, ^ gen.c:115:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_attr_get); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:110:13: note: previous definition is here const void *nft_gen_attr_get(struct nft_gen *gen, uint16_t attr) ^ gen.c:122:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_attr_get_u32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:117:10: note: previous definition is here uint32_t nft_gen_attr_get_u32(struct nft_gen *gen, uint16_t attr) ^ gen.c:157:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_nlmsg_parse); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:143:5: note: previous definition is here int nft_gen_nlmsg_parse(const struct nlmsghdr *nlh, struct nft_gen *gen) ^ gen.c:186:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_snprintf); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:164:5: note: previous definition is here int nft_gen_snprintf(char *buf, size_t size, struct nft_gen *gen, ^ gen.c:199:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_gen_fprintf); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ gen.c:194:5: note: previous definition is here int nft_gen_fprintf(FILE *fp, struct nft_gen *gen, uint32_t type, ^ 13 warnings generated. depbase=`echo table.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT table.lo -MD -MP -MF $depbase.Tpo -c -o table.lo table.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT table.lo -MD -MP -MF .deps/table.Tpo -c table.c -fPIC -DPIC -o .libs/table.o table.c:43:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_alloc); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:39:19: note: previous definition is here struct nft_table *nft_table_alloc(void) ^ table.c:52:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_free); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:45:6: note: previous definition is here void nft_table_free(struct nft_table *t) ^ table.c:58:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_is_set); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:54:6: note: previous definition is here bool nft_table_attr_is_set(const struct nft_table *t, uint16_t attr) ^ table.c:80:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_unset); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:60:6: note: previous definition is here void nft_table_attr_unset(struct nft_table *t, uint16_t attr) ^ table.c:114:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_set_data); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:87:6: note: previous definition is here void nft_table_attr_set_data(struct nft_table *t, uint16_t attr, ^ table.c:120:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_set); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:116:6: note: previous definition is here void nft_table_attr_set(struct nft_table *t, uint16_t attr, const void *data) ^ table.c:126:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_set_u32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:122:6: note: previous definition is here void nft_table_attr_set_u32(struct nft_table *t, uint16_t attr, uint32_t val) ^ table.c:132:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_set_u8); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:128:6: note: previous definition is here void nft_table_attr_set_u8(struct nft_table *t, uint16_t attr, uint8_t val) ^ table.c:138:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_set_str); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:134:6: note: previous definition is here void nft_table_attr_set_str(struct nft_table *t, uint16_t attr, const char *str) ^ table.c:161:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_get_data); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:140:13: note: previous definition is here const void *nft_table_attr_get_data(struct nft_table *t, uint16_t attr, ^ table.c:168:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_get); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:163:13: note: previous definition is here const void *nft_table_attr_get(struct nft_table *t, uint16_t attr) ^ table.c:175:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_get_u32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:170:10: note: previous definition is here uint32_t nft_table_attr_get_u32(struct nft_table *t, uint16_t attr) ^ table.c:182:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_get_u8); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:177:9: note: previous definition is here uint8_t nft_table_attr_get_u8(struct nft_table *t, uint16_t attr) ^ table.c:188:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_attr_get_str); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:184:13: note: previous definition is here const char *nft_table_attr_get_str(struct nft_table *t, uint16_t attr) ^ table.c:197:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_nlmsg_build_payload); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:190:6: note: previous definition is here void nft_table_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_table *t) ^ table.c:249:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_nlmsg_parse); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:223:5: note: previous definition is here int nft_table_nlmsg_parse(const struct nlmsghdr *nlh, struct nft_table *t) ^ table.c:386:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_parse); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:381:5: note: previous definition is here int nft_table_parse(struct nft_table *t, enum nft_parse_type type, ^ table.c:393:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_parse_file); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:388:5: note: previous definition is here int nft_table_parse_file(struct nft_table *t, enum nft_parse_type type, ^ table.c:448:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_snprintf); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:422:5: note: previous definition is here int nft_table_snprintf(char *buf, size_t size, struct nft_table *t, ^ table.c:461:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_fprintf); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:456:5: note: previous definition is here int nft_table_fprintf(FILE *fp, struct nft_table *t, uint32_t type, ^ table.c:479:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_alloc); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:467:24: note: previous definition is here struct nft_table_list *nft_table_list_alloc(void) ^ table.c:491:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_free); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:481:6: note: previous definition is here void nft_table_list_free(struct nft_table_list *list) ^ table.c:497:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_is_empty); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:493:5: note: previous definition is here int nft_table_list_is_empty(struct nft_table_list *list) ^ table.c:503:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_add); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:499:6: note: previous definition is here void nft_table_list_add(struct nft_table *r, struct nft_table_list *list) ^ table.c:509:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_add_tail); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:505:6: note: previous definition is here void nft_table_list_add_tail(struct nft_table *r, struct nft_table_list *list) ^ table.c:515:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_del); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:511:6: note: previous definition is here void nft_table_list_del(struct nft_table *t) ^ table.c:531:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_foreach); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:517:5: note: previous definition is here int nft_table_list_foreach(struct nft_table_list *table_list, ^ table.c:551:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_iter_create); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:538:29: note: previous definition is here struct nft_table_list_iter *nft_table_list_iter_create(struct nft_table_list *l) ^ table.c:564:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_iter_next); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:553:19: note: previous definition is here struct nft_table *nft_table_list_iter_next(struct nft_table_list_iter *iter) ^ table.c:570:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_table_list_iter_destroy); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ table.c:566:6: note: previous definition is here void nft_table_list_iter_destroy(struct nft_table_list_iter *iter) ^ 30 warnings generated. depbase=`echo chain.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT chain.lo -MD -MP -MF $depbase.Tpo -c -o chain.lo chain.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT chain.lo -MD -MP -MF .deps/chain.Tpo -c chain.c -fPIC -DPIC -o .libs/chain.o chain.c:87:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_alloc); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:83:19: note: previous definition is here struct nft_chain *nft_chain_alloc(void) ^ chain.c:98:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_free); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:89:6: note: previous definition is here void nft_chain_free(struct nft_chain *c) ^ chain.c:104:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_is_set); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:100:6: note: previous definition is here bool nft_chain_attr_is_set(const struct nft_chain *c, uint16_t attr) ^ chain.c:141:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_unset); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:106:6: note: previous definition is here void nft_chain_attr_unset(struct nft_chain *c, uint16_t attr) ^ chain.c:204:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_set_data); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:153:6: note: previous definition is here void nft_chain_attr_set_data(struct nft_chain *c, uint16_t attr, ^ chain.c:210:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_set); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:206:6: note: previous definition is here void nft_chain_attr_set(struct nft_chain *c, uint16_t attr, const void *data) ^ chain.c:216:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_set_u32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:212:6: note: previous definition is here void nft_chain_attr_set_u32(struct nft_chain *c, uint16_t attr, uint32_t data) ^ chain.c:222:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_set_s32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:218:6: note: previous definition is here void nft_chain_attr_set_s32(struct nft_chain *c, uint16_t attr, int32_t data) ^ chain.c:228:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_set_u64); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:224:6: note: previous definition is here void nft_chain_attr_set_u64(struct nft_chain *c, uint16_t attr, uint64_t data) ^ chain.c:234:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_set_u8); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:230:6: note: previous definition is here void nft_chain_attr_set_u8(struct nft_chain *c, uint16_t attr, uint8_t data) ^ chain.c:240:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_set_str); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:236:6: note: previous definition is here void nft_chain_attr_set_str(struct nft_chain *c, uint16_t attr, const char *str) ^ chain.c:283:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_get_data); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:242:13: note: previous definition is here const void *nft_chain_attr_get_data(struct nft_chain *c, uint16_t attr, ^ chain.c:290:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_get); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:285:13: note: previous definition is here const void *nft_chain_attr_get(struct nft_chain *c, uint16_t attr) ^ chain.c:296:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_get_str); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:292:13: note: previous definition is here const char *nft_chain_attr_get_str(struct nft_chain *c, uint16_t attr) ^ chain.c:307:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_get_u32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:298:10: note: previous definition is here uint32_t nft_chain_attr_get_u32(struct nft_chain *c, uint16_t attr) ^ chain.c:318:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_get_s32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:309:9: note: previous definition is here int32_t nft_chain_attr_get_s32(struct nft_chain *c, uint16_t attr) ^ chain.c:329:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_get_u64); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:320:10: note: previous definition is here uint64_t nft_chain_attr_get_u64(struct nft_chain *c, uint16_t attr) ^ chain.c:340:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_attr_get_u8); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:331:9: note: previous definition is here uint8_t nft_chain_attr_get_u8(struct nft_chain *c, uint16_t attr) ^ chain.c:375:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_nlmsg_build_payload); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:342:6: note: previous definition is here void nft_chain_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_chain *c) ^ chain.c:539:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_nlmsg_parse); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:489:5: note: previous definition is here int nft_chain_nlmsg_parse(const struct nlmsghdr *nlh, struct nft_chain *c) ^ chain.c:782:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_parse); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:777:5: note: previous definition is here int nft_chain_parse(struct nft_chain *c, enum nft_parse_type type, ^ chain.c:789:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_parse_file); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:784:5: note: previous definition is here int nft_chain_parse_file(struct nft_chain *c, enum nft_parse_type type, ^ chain.c:877:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_snprintf); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:850:5: note: previous definition is here int nft_chain_snprintf(char *buf, size_t size, struct nft_chain *c, ^ chain.c:890:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_fprintf); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:885:5: note: previous definition is here int nft_chain_fprintf(FILE *fp, struct nft_chain *c, uint32_t type, ^ chain.c:908:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_alloc); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:896:24: note: previous definition is here struct nft_chain_list *nft_chain_list_alloc(void) ^ chain.c:920:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_free); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:910:6: note: previous definition is here void nft_chain_list_free(struct nft_chain_list *list) ^ chain.c:926:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_is_empty); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:922:5: note: previous definition is here int nft_chain_list_is_empty(struct nft_chain_list *list) ^ chain.c:932:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_add); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:928:6: note: previous definition is here void nft_chain_list_add(struct nft_chain *r, struct nft_chain_list *list) ^ chain.c:938:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_add_tail); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:934:6: note: previous definition is here void nft_chain_list_add_tail(struct nft_chain *r, struct nft_chain_list *list) ^ chain.c:944:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_del); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:940:6: note: previous definition is here void nft_chain_list_del(struct nft_chain *r) ^ chain.c:960:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_foreach); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:946:5: note: previous definition is here int nft_chain_list_foreach(struct nft_chain_list *chain_list, ^ chain.c:980:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_iter_create); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:967:29: note: previous definition is here struct nft_chain_list_iter *nft_chain_list_iter_create(struct nft_chain_list *l) ^ chain.c:993:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_iter_next); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:982:19: note: previous definition is here struct nft_chain *nft_chain_list_iter_next(struct nft_chain_list_iter *iter) ^ chain.c:999:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_chain_list_iter_destroy); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ chain.c:995:6: note: previous definition is here void nft_chain_list_iter_destroy(struct nft_chain_list_iter *iter) ^ 34 warnings generated. depbase=`echo rule.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT rule.lo -MD -MP -MF $depbase.Tpo -c -o rule.lo rule.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXML_PARSING -DJSON_PARSING -I../include -D_FORTIFY_SOURCE=2 -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT rule.lo -MD -MP -MF .deps/rule.Tpo -c rule.c -fPIC -DPIC -o .libs/rule.o rule.c:68:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_alloc); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:56:18: note: previous definition is here struct nft_rule *nft_rule_alloc(void) ^ rule.c:84:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_free); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:70:6: note: previous definition is here void nft_rule_free(struct nft_rule *r) ^ rule.c:90:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_is_set); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:86:6: note: previous definition is here bool nft_rule_attr_is_set(const struct nft_rule *r, uint16_t attr) ^ rule.c:121:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_unset); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:92:6: note: previous definition is here void nft_rule_attr_unset(struct nft_rule *r, uint16_t attr) ^ rule.c:174:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_set_data); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:131:6: note: previous definition is here void nft_rule_attr_set_data(struct nft_rule *r, uint16_t attr, ^ rule.c:180:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_set); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:176:6: note: previous definition is here void nft_rule_attr_set(struct nft_rule *r, uint16_t attr, const void *data) ^ rule.c:186:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_set_u32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:182:6: note: previous definition is here void nft_rule_attr_set_u32(struct nft_rule *r, uint16_t attr, uint32_t val) ^ rule.c:192:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_set_u64); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:188:6: note: previous definition is here void nft_rule_attr_set_u64(struct nft_rule *r, uint16_t attr, uint64_t val) ^ rule.c:198:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_set_str); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:194:6: note: previous definition is here void nft_rule_attr_set_str(struct nft_rule *r, uint16_t attr, const char *str) ^ rule.c:232:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_get_data); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:200:13: note: previous definition is here const void *nft_rule_attr_get_data(const struct nft_rule *r, uint16_t attr, ^ rule.c:239:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_get); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:234:13: note: previous definition is here const void *nft_rule_attr_get(const struct nft_rule *r, uint16_t attr) ^ rule.c:245:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_get_str); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:241:13: note: previous definition is here const char *nft_rule_attr_get_str(const struct nft_rule *r, uint16_t attr) ^ rule.c:256:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_get_u32); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:247:10: note: previous definition is here uint32_t nft_rule_attr_get_u32(const struct nft_rule *r, uint16_t attr) ^ rule.c:267:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_get_u64); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:258:10: note: previous definition is here uint64_t nft_rule_attr_get_u64(const struct nft_rule *r, uint16_t attr) ^ rule.c:278:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_attr_get_u8); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:269:9: note: previous definition is here uint8_t nft_rule_attr_get_u8(const struct nft_rule *r, uint16_t attr) ^ rule.c:317:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_nlmsg_build_payload); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:280:6: note: previous definition is here void nft_rule_nlmsg_build_payload(struct nlmsghdr *nlh, struct nft_rule *r) ^ rule.c:323:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_add_expr); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:319:6: note: previous definition is here void nft_rule_add_expr(struct nft_rule *r, struct nft_rule_expr *expr) ^ rule.c:511:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_nlmsg_parse); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:460:5: note: previous definition is here int nft_rule_nlmsg_parse(const struct nlmsghdr *nlh, struct nft_rule *r) ^ rule.c:743:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_parse); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:738:5: note: previous definition is here int nft_rule_parse(struct nft_rule *r, enum nft_parse_type type, ^ rule.c:750:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_parse_file); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:745:5: note: previous definition is here int nft_rule_parse_file(struct nft_rule *r, enum nft_parse_type type, ^ rule.c:806:20: error: no member named '__builtin___snprintf_chk' in 'struct expr_ops' ret = expr->ops->snprintf(buf+offset, len, type, flags, expr); ~~~~~~~~~ ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:69:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ ^ rule.c:1001:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_snprintf); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:966:5: note: previous definition is here int nft_rule_snprintf(char *buf, size_t size, struct nft_rule *r, ^ rule.c:1014:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_fprintf); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1009:5: note: previous definition is here int nft_rule_fprintf(FILE *fp, struct nft_rule *r, uint32_t type, ^ rule.c:1030:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_expr_foreach); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1016:5: note: previous definition is here int nft_rule_expr_foreach(struct nft_rule *r, ^ rule.c:1050:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_expr_iter_create); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1037:28: note: previous definition is here struct nft_rule_expr_iter *nft_rule_expr_iter_create(struct nft_rule *r) ^ rule.c:1063:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_expr_iter_next); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1052:23: note: previous definition is here struct nft_rule_expr *nft_rule_expr_iter_next(struct nft_rule_expr_iter *iter) ^ rule.c:1069:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_expr_iter_destroy); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1065:6: note: previous definition is here void nft_rule_expr_iter_destroy(struct nft_rule_expr_iter *iter) ^ rule.c:1087:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_alloc); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1075:23: note: previous definition is here struct nft_rule_list *nft_rule_list_alloc(void) ^ rule.c:1099:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_free); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1089:6: note: previous definition is here void nft_rule_list_free(struct nft_rule_list *list) ^ rule.c:1105:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_is_empty); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1101:5: note: previous definition is here int nft_rule_list_is_empty(struct nft_rule_list *list) ^ rule.c:1111:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_add); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1107:6: note: previous definition is here void nft_rule_list_add(struct nft_rule *r, struct nft_rule_list *list) ^ rule.c:1117:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_add_tail); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1113:6: note: previous definition is here void nft_rule_list_add_tail(struct nft_rule *r, struct nft_rule_list *list) ^ rule.c:1123:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_del); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1119:6: note: previous definition is here void nft_rule_list_del(struct nft_rule *r) ^ rule.c:1139:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_foreach); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1125:5: note: previous definition is here int nft_rule_list_foreach(struct nft_rule_list *rule_list, ^ rule.c:1159:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_iter_create); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1146:28: note: previous definition is here struct nft_rule_list_iter *nft_rule_list_iter_create(struct nft_rule_list *l) ^ rule.c:1165:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_iter_cur); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1161:18: note: previous definition is here struct nft_rule *nft_rule_list_iter_cur(struct nft_rule_list_iter *iter) ^ rule.c:1178:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_iter_next); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1167:18: note: previous definition is here struct nft_rule *nft_rule_list_iter_next(struct nft_rule_list_iter *iter) ^ rule.c:1184:1: warning: attribute declaration must precede definition [-Wignored-attributes] EXPORT_SYMBOL(nft_rule_list_iter_destroy); ^ ./internal.h:7:41: note: expanded from macro 'EXPORT_SYMBOL' # define EXPORT_SYMBOL(x) typeof(x) (x) __visible ^ ./internal.h:6:35: note: expanded from macro '__visible' # define __visible __attribute__((visibility("default"))) ^ rule.c:1180:6: note: previous definition is here void nft_rule_list_iter_destroy(struct nft_rule_list_iter *iter) ^ 37 warnings and 1 error generated. make[3]: *** [rule.lo] Error 1 Makefile:559: recipe for target 'rule.lo' failed make[3]: Leaving directory '/«PKGBUILDDIR»/src' make[2]: *** [all-recursive] Error 1 Makefile:486: recipe for target 'all-recursive' failed make[2]: Leaving directory '/«PKGBUILDDIR»' make[1]: *** [all] Error 2 Makefile:391: recipe for target 'all' failed make[1]: Leaving directory '/«PKGBUILDDIR»' dh_auto_build: make -j1 returned exit code 2 make: *** [build-arch] Error 2 debian/rules:10: recipe for target 'build-arch' failed dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20150326-0259 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 5140 Build-Time: 37 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 13 Job: libnftnl_1.0.3-4 Machine Architecture: amd64 Package: libnftnl Package-Time: 77 Source-Version: 1.0.3-4 Space: 5140 Status: attempted Version: 1.0.3-4 ──────────────────────────────────────────────────────────────────────────────── Finished at 20150326-0259 Build needed 00:01:17, 5140k disc space DC-Status: Failed 77.810199064s DC-Time-Estimation: 77.810199064 versus expected 1 (r/m: 76.810199064 ; m: 1.0)