DC-Build-Header: pmacct 0.12.1-1 / Fri Jan 13 01:55:45 +0100 2012 sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on stremi-44.reims.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ pmacct 0.12.1-1 (amd64) 13 Jan 2012 01:55 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: pmacct Version: 0.12.1-1 Source Version: 0.12.1-1 Distribution: lsid64b Architecture: amd64 W: /var/lib/schroot/session/lsid64b-49493161-5de2-4bc1-bf3a-d6773dfa8c3d: Failed to stat file: No such file or directory ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost sid InRelease Get:1 http://localhost sid Release.gpg [836 B] Get:2 http://localhost sid Release [188 kB] Ign http://localhost sid/main Sources/DiffIndex Ign http://localhost sid/main amd64 Packages/DiffIndex Ign http://localhost sid/main TranslationIndex Get:3 http://localhost sid/main Sources [7544 kB] Get:4 http://localhost sid/main amd64 Packages [10.4 MB] Ign http://localhost sid/main Translation-en Fetched 18.2 MB in 4s (4190 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages have been kept back: clang cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev 0 upgraded, 0 newly installed, 0 to remove and 10 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... Need to get 569 kB of source archives. Get:1 http://localhost/debian/ sid/main pmacct 0.12.1-1 (dsc) [1043 B] Get:2 http://localhost/debian/ sid/main pmacct 0.12.1-1 (tar) [530 kB] Get:3 http://localhost/debian/ sid/main pmacct 0.12.1-1 (diff) [37.4 kB] Fetched 569 kB in 0s (4645 kB/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/build/pmacct-VUvNAY/resolver-H3VKSt/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 10 not upgraded. Need to get 0 B/704 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10821 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Cannot open /var/lib/schroot/mount/lsid64b-637e2606-3124-431a-a105-bfc8d41ffec8/etc/lsb-release: No such file or directory Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 7), zlib1g-dev, libpcap-dev, libpq-dev, libmysqlclient15-dev, libsqlite3-dev Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 7), zlib1g-dev, libpcap-dev, libpq-dev, libmysqlclient15-dev, libsqlite3-dev dpkg-deb: building package `sbuild-build-depends-pmacct-dummy' in `/build/pmacct-VUvNAY/resolver-0ePXV4/apt_archive/sbuild-build-depends-pmacct-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install pmacct build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils comerr-dev debhelper file gettext gettext-base groff-base html2text intltool-debian krb5-multidev libcroco3 libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkeyutils1 libkrb5-3 libkrb5-dev libkrb5support0 libldap-2.4-2 libmagic1 libmysqlclient-dev libmysqlclient16 libp11-kit0 libpcap-dev libpcap0.8 libpcap0.8-dev libpcre3 libpipeline1 libpq-dev libpq5 libsasl2-2 libsqlite3-0 libsqlite3-dev libssl-dev libssl1.0.0 libtasn1-3 libunistring0 libxml2 man-db mysql-common po-debconf zlib1g-dev Suggested packages: wamerican wordlist whois vacation doc-base dh-make gettext-doc groff krb5-doc rng-tools krb5-user postgresql-doc-9.1 sqlite3-doc www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info krb5-locales libsasl2-modules libssl-doc xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils comerr-dev debhelper file gettext gettext-base groff-base html2text intltool-debian krb5-multidev libcroco3 libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkeyutils1 libkrb5-3 libkrb5-dev libkrb5support0 libldap-2.4-2 libmagic1 libmysqlclient-dev libmysqlclient16 libp11-kit0 libpcap-dev libpcap0.8 libpcap0.8-dev libpcre3 libpipeline1 libpq-dev libpq5 libsasl2-2 libsqlite3-0 libsqlite3-dev libssl-dev libssl1.0.0 libtasn1-3 libunistring0 libxml2 man-db mysql-common po-debconf sbuild-build-depends-pmacct-dummy zlib1g-dev 0 upgraded, 50 newly installed, 0 to remove and 10 not upgraded. Need to get 22.9 MB/22.9 MB of archives. After this operation, 62.3 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libssl1.0.0 libgpg-error0 libgcrypt11 libp11-kit0 libtasn1-3 libgnutls26 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3 libgssapi-krb5-2 libgssrpc4 libkadm5clnt-mit8 libkdb5-6 libkadm5srv-mit8 libsasl2-2 libldap-2.4-2 libpcre3 libglib2.0-0 libxml2 libcroco3 libpcap0.8 libunistring0 bsdmainutils groff-base man-db libmagic1 file gettext-base libsqlite3-0 html2text gettext intltool-debian po-debconf debhelper comerr-dev krb5-multidev mysql-common libmysqlclient16 zlib1g-dev libmysqlclient-dev libpcap0.8-dev libpcap-dev libpq5 libssl-dev libkrb5-dev libpq-dev libsqlite3-dev sbuild-build-depends-pmacct-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libpipeline1 amd64 1.2.0-5 [38.2 kB] Get:2 http://localhost/debian/ sid/main libssl1.0.0 amd64 1.0.0e-3 [1143 kB] Get:3 http://localhost/debian/ sid/main libgpg-error0 amd64 1.10-2 [66.8 kB] Get:4 http://localhost/debian/ sid/main libgcrypt11 amd64 1.5.0-3 [298 kB] Get:5 http://localhost/debian/ sid/main libp11-kit0 amd64 0.10-1 [51.4 kB] Get:6 http://localhost/debian/ sid/main libtasn1-3 amd64 2.11-1 [65.9 kB] Get:7 http://localhost/debian/ sid/main libgnutls26 amd64 2.12.16-1 [614 kB] Get:8 http://localhost/debian/ sid/main libkeyutils1 amd64 1.5.2-2 [8860 B] Get:9 http://localhost/debian/ sid/main libkrb5support0 amd64 1.10+dfsg~alpha2-1 [48.5 kB] Get:10 http://localhost/debian/ sid/main libk5crypto3 amd64 1.10+dfsg~alpha2-1 [108 kB] Get:11 http://localhost/debian/ sid/main libkrb5-3 amd64 1.10+dfsg~alpha2-1 [388 kB] Get:12 http://localhost/debian/ sid/main libgssapi-krb5-2 amd64 1.10+dfsg~alpha2-1 [147 kB] Get:13 http://localhost/debian/ sid/main libgssrpc4 amd64 1.10+dfsg~alpha2-1 [86.6 kB] Get:14 http://localhost/debian/ sid/main libkadm5clnt-mit8 amd64 1.10+dfsg~alpha2-1 [66.5 kB] Get:15 http://localhost/debian/ sid/main libkdb5-6 amd64 1.10+dfsg~alpha2-1 [65.3 kB] Get:16 http://localhost/debian/ sid/main libkadm5srv-mit8 amd64 1.10+dfsg~alpha2-1 [83.3 kB] Get:17 http://localhost/debian/ sid/main libsasl2-2 amd64 2.1.25.dfsg1-2 [120 kB] Get:18 http://localhost/debian/ sid/main libldap-2.4-2 amd64 2.4.28-1 [240 kB] Get:19 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB] Get:20 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.30.2-4 [1844 kB] Get:21 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-5.1 [891 kB] Get:22 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-2 [122 kB] Get:23 http://localhost/debian/ sid/main libpcap0.8 amd64 1.2.1-1 [139 kB] Get:24 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB] Get:25 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB] Get:26 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB] Get:27 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-3 [1015 kB] Get:28 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB] Get:29 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB] Get:30 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-5 [154 kB] Get:31 http://localhost/debian/ sid/main libsqlite3-0 amd64 3.7.9-3 [431 kB] Get:32 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB] Get:33 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-5 [2080 kB] Get:34 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:35 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB] Get:36 http://localhost/debian/ sid/main debhelper all 8.9.14 [693 kB] Get:37 http://localhost/debian/ sid/main comerr-dev amd64 2.1-1.42-1 [42.7 kB] Get:38 http://localhost/debian/ sid/main krb5-multidev amd64 1.10+dfsg~alpha2-1 [153 kB] Get:39 http://localhost/debian/ sid/main mysql-common all 5.1.58-1 [75.0 kB] Get:40 http://localhost/debian/ sid/main libmysqlclient16 amd64 5.1.58-1 [1983 kB] Get:41 http://localhost/debian/ sid/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3 [192 kB] Get:42 http://localhost/debian/ sid/main libmysqlclient-dev amd64 5.1.58-1 [3255 kB] Get:43 http://localhost/debian/ sid/main libpcap0.8-dev amd64 1.2.1-1 [260 kB] Get:44 http://localhost/debian/ sid/main libpcap-dev all 1.2.1-1 [21.6 kB] Get:45 http://localhost/debian/ sid/main libpq5 amd64 9.1.2-4 [496 kB] Get:46 http://localhost/debian/ sid/main libssl-dev amd64 1.0.0e-3 [1631 kB] Get:47 http://localhost/debian/ sid/main libkrb5-dev amd64 1.10+dfsg~alpha2-1 [39.0 kB] Get:48 http://localhost/debian/ sid/main libpq-dev amd64 9.1.2-4 [577 kB] Get:49 http://localhost/debian/ sid/main libsqlite3-dev amd64 3.7.9-3 [542 kB] Extracting templates from packages: 60% Extracting templates from packages: 100% Preconfiguring packages ... Fetched 22.9 MB in 0s (27.1 MB/s) Selecting previously unselected package libpipeline1. (Reading database ... 10821 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.0-5_amd64.deb) ... Selecting previously unselected package libssl1.0.0. Unpacking libssl1.0.0 (from .../libssl1.0.0_1.0.0e-3_amd64.deb) ... Selecting previously unselected package libgpg-error0. Unpacking libgpg-error0 (from .../libgpg-error0_1.10-2_amd64.deb) ... Selecting previously unselected package libgcrypt11. Unpacking libgcrypt11 (from .../libgcrypt11_1.5.0-3_amd64.deb) ... Selecting previously unselected package libp11-kit0. Unpacking libp11-kit0 (from .../libp11-kit0_0.10-1_amd64.deb) ... Selecting previously unselected package libtasn1-3. Unpacking libtasn1-3 (from .../libtasn1-3_2.11-1_amd64.deb) ... Selecting previously unselected package libgnutls26. Unpacking libgnutls26 (from .../libgnutls26_2.12.16-1_amd64.deb) ... Selecting previously unselected package libkeyutils1. Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ... Selecting previously unselected package libkrb5support0. Unpacking libkrb5support0 (from .../libkrb5support0_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libk5crypto3. Unpacking libk5crypto3 (from .../libk5crypto3_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libkrb5-3. Unpacking libkrb5-3 (from .../libkrb5-3_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libgssapi-krb5-2. Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libgssrpc4. Unpacking libgssrpc4 (from .../libgssrpc4_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libkadm5clnt-mit8. Unpacking libkadm5clnt-mit8 (from .../libkadm5clnt-mit8_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libkdb5-6. Unpacking libkdb5-6 (from .../libkdb5-6_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libkadm5srv-mit8. Unpacking libkadm5srv-mit8 (from .../libkadm5srv-mit8_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libsasl2-2. Unpacking libsasl2-2 (from .../libsasl2-2_2.1.25.dfsg1-2_amd64.deb) ... Selecting previously unselected package libldap-2.4-2. Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.28-1_amd64.deb) ... Selecting previously unselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.30.2-4_amd64.deb) ... Selecting previously unselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5.1_amd64.deb) ... Selecting previously unselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-2_amd64.deb) ... Selecting previously unselected package libpcap0.8. Unpacking libpcap0.8 (from .../libpcap0.8_1.2.1-1_amd64.deb) ... Selecting previously unselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.0.2-3_amd64.deb) ... Selecting previously unselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.09-2_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.09-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package libsqlite3-0. Unpacking libsqlite3-0 (from .../libsqlite3-0_3.7.9-3_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_8.9.14_all.deb) ... Selecting previously unselected package comerr-dev. Unpacking comerr-dev (from .../comerr-dev_2.1-1.42-1_amd64.deb) ... Selecting previously unselected package krb5-multidev. Unpacking krb5-multidev (from .../krb5-multidev_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package mysql-common. Unpacking mysql-common (from .../mysql-common_5.1.58-1_all.deb) ... Selecting previously unselected package libmysqlclient16. Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.58-1_amd64.deb) ... Selecting previously unselected package zlib1g-dev. Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3_amd64.deb) ... Selecting previously unselected package libmysqlclient-dev. Unpacking libmysqlclient-dev (from .../libmysqlclient-dev_5.1.58-1_amd64.deb) ... Selecting previously unselected package libpcap0.8-dev. Unpacking libpcap0.8-dev (from .../libpcap0.8-dev_1.2.1-1_amd64.deb) ... Selecting previously unselected package libpcap-dev. Unpacking libpcap-dev (from .../libpcap-dev_1.2.1-1_all.deb) ... Selecting previously unselected package libpq5. Unpacking libpq5 (from .../libpq5_9.1.2-4_amd64.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.0e-3_amd64.deb) ... Selecting previously unselected package libkrb5-dev. Unpacking libkrb5-dev (from .../libkrb5-dev_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libpq-dev. Unpacking libpq-dev (from .../libpq-dev_9.1.2-4_amd64.deb) ... Selecting previously unselected package libsqlite3-dev. Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.9-3_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-pmacct-dummy. Unpacking sbuild-build-depends-pmacct-dummy (from .../sbuild-build-depends-pmacct-dummy.deb) ... Processing triggers for install-info ... Setting up libpipeline1 (1.2.0-5) ... Setting up libssl1.0.0 (1.0.0e-3) ... Setting up libgpg-error0 (1.10-2) ... Setting up libgcrypt11 (1.5.0-3) ... Setting up libp11-kit0 (0.10-1) ... Setting up libtasn1-3 (2.11-1) ... Setting up libgnutls26 (2.12.16-1) ... Setting up libkeyutils1 (1.5.2-2) ... Setting up libkrb5support0 (1.10+dfsg~alpha2-1) ... Setting up libk5crypto3 (1.10+dfsg~alpha2-1) ... Setting up libkrb5-3 (1.10+dfsg~alpha2-1) ... Setting up libgssapi-krb5-2 (1.10+dfsg~alpha2-1) ... Setting up libgssrpc4 (1.10+dfsg~alpha2-1) ... Setting up libkadm5clnt-mit8 (1.10+dfsg~alpha2-1) ... Setting up libkdb5-6 (1.10+dfsg~alpha2-1) ... Setting up libkadm5srv-mit8 (1.10+dfsg~alpha2-1) ... Setting up libsasl2-2 (2.1.25.dfsg1-2) ... Setting up libldap-2.4-2 (2.4.28-1) ... Setting up libpcre3 (8.12-4) ... Setting up libglib2.0-0 (2.30.2-4) ... No schema files found: doing nothing. Setting up libxml2 (2.7.8.dfsg-5.1) ... Setting up libcroco3 (0.6.2-2) ... Setting up libpcap0.8 (1.2.1-1) ... Setting up libunistring0 (0.9.3-5) ... Setting up bsdmainutils (8.2.3) ... 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 groff-base (1.21-6) ... Setting up man-db (2.6.0.2-3) ... Building database of manual pages ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up gettext-base (0.18.1.1-5) ... Setting up libsqlite3-0 (3.7.9-3) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-5) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (8.9.14) ... Setting up comerr-dev (2.1-1.42-1) ... Setting up krb5-multidev (1.10+dfsg~alpha2-1) ... Setting up mysql-common (5.1.58-1) ... Setting up libmysqlclient16 (5.1.58-1) ... Setting up zlib1g-dev (1:1.2.3.4.dfsg-3) ... Setting up libmysqlclient-dev (5.1.58-1) ... Setting up libpcap0.8-dev (1.2.1-1) ... Setting up libpcap-dev (1.2.1-1) ... Setting up libpq5 (9.1.2-4) ... Setting up libssl-dev (1.0.0e-3) ... Setting up libkrb5-dev (1.10+dfsg~alpha2-1) ... Setting up libpq-dev (9.1.2-4) ... Setting up libsqlite3-dev (3.7.9-3) ... Setting up sbuild-build-depends-pmacct-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-4 dpkg-dev_1.16.1.2 g++-4.6_4.6.2-9 gcc-4.6_4.6.2-9 libc6-dev_2.13-24 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 linux-libc-dev_3.1.8-2 Package versions: apt_0.8.15.9 apt-utils_0.8.15.9 base-files_6.5 base-passwd_3.5.24 bash_4.2-1 binutils_2.22-4 bsdmainutils_8.2.3 bsdutils_1:2.20.1-1.1 build-essential_11.5 bzip2_1.0.6-1 clang_3.0-5 comerr-dev_2.1-1.42-1 coreutils_8.13-3 cpp_4:4.6.2-4 cpp-4.6_4.6.2-9 dash_0.5.7-2 debconf_1.5.41 debfoster_2.7-1.1 debhelper_8.9.14 debian-archive-keyring_2010.08.28 debianutils_4.1 diffutils_1:3.2-1 dpkg_1.16.1.2 dpkg-dev_1.16.1.2 e2fslibs_1.42-1 e2fsprogs_1.42-1 fakeroot_1.18.2-1 file_5.09-2 findutils_4.4.2-4 g++_4:4.6.2-4 g++-4.6_4.6.2-9 gcc_4:4.6.2-4 gcc-4.6_4.6.2-9 gcc-4.6-base_4.6.2-9 gettext_0.18.1.1-5 gettext-base_0.18.1.1-5 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.10-1 groff-base_1.21-6 gzip_1.4-2 hostname_3.09 html2text_1.3.2a-15 initscripts_2.88dsf-18 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 intltool-debian_0.35.0+20060710.1 krb5-multidev_1.10+dfsg~alpha2-1 less_444-1 libacl1_2.2.51-5 libattr1_1:2.4.46-5 libblkid1_2.20.1-1.1 libbz2-1.0_1.0.6-1 libc-bin_2.13-24 libc-dev-bin_2.13-24 libc6_2.13-24 libc6-dev_2.13-24 libclang-common-dev_3.0-5 libclass-isa-perl_0.36-3 libcomerr2_1.42-1 libcroco3_0.6.2-2 libdb5.1_5.1.29-1 libdpkg-perl_1.16.1.2 libffi5_3.0.10-3 libgc1c2_1:7.1-8 libgcc1_1:4.6.2-9 libgcrypt11_1.5.0-3 libgdbm3_1.8.3-10 libglib2.0-0_2.30.2-4 libgmp10_2:5.0.2+dfsg-2 libgnutls26_2.12.16-1 libgomp1_4.6.2-9 libgpg-error0_1.10-2 libgssapi-krb5-2_1.10+dfsg~alpha2-1 libgssrpc4_1.10+dfsg~alpha2-1 libk5crypto3_1.10+dfsg~alpha2-1 libkadm5clnt-mit8_1.10+dfsg~alpha2-1 libkadm5srv-mit8_1.10+dfsg~alpha2-1 libkdb5-6_1.10+dfsg~alpha2-1 libkeyutils1_1.5.2-2 libkrb5-3_1.10+dfsg~alpha2-1 libkrb5-dev_1.10+dfsg~alpha2-1 libkrb5support0_1.10+dfsg~alpha2-1 libldap-2.4-2_2.4.28-1 libllvm3.0_3.0-5 liblzma2_5.1.1alpha+20110809-2 liblzma5_5.1.1alpha+20110809-3 libmagic1_5.09-2 libmount1_2.20.1-1.1 libmpc2_0.9-4 libmpfr4_3.1.0-3 libmysqlclient-dev_5.1.58-1 libmysqlclient16_5.1.58-1 libncurses5_5.9-4 libncursesw5_5.9-4 libp11-kit0_0.10-1 libpam-modules_1.1.3-6 libpam-modules-bin_1.1.3-6 libpam-runtime_1.1.3-6 libpam0g_1.1.3-6 libpcap-dev_1.2.1-1 libpcap0.8_1.2.1-1 libpcap0.8-dev_1.2.1-1 libpcre3_8.12-4 libpipeline1_1.2.0-5 libpq-dev_9.1.2-4 libpq5_9.1.2-4 libquadmath0_4.6.2-9 libreadline6_6.2-8 libsasl2-2_2.1.25.dfsg1-2 libselinux1_2.1.0-4 libsepol1_2.1.0-1.2 libslang2_2.2.4-5 libsqlite3-0_3.7.9-3 libsqlite3-dev_3.7.9-3 libss2_1.42-1 libssl-dev_1.0.0e-3 libssl1.0.0_1.0.0e-3 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 libswitch-perl_2.16-2 libtasn1-3_2.11-1 libtimedate-perl_1.2000-1 libtinfo5_5.9-4 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-20 libuuid1_2.20.1-1.1 libxml2_2.7.8.dfsg-5.1 linux-libc-dev_3.1.8-2 login_1:4.1.4.2+svn3283-3 lsb-base_3.2-28 make_3.81-8.1 man-db_2.6.0.2-3 mawk_1.3.3-16 mount_2.20.1-1.1 multiarch-support_2.13-24 mysql-common_5.1.58-1 ncurses-base_5.9-4 ncurses-bin_5.9-4 nvi_1.81.6-8.2 passwd_1:4.1.4.2+svn3283-3 patch_2.6.1-2 perl_5.14.2-6 perl-base_5.14.2-6 perl-modules_5.14.2-6 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-pmacct-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-18 sysvinit_2.88dsf-18 sysvinit-utils_2.88dsf-18 tar_1.26-4 tzdata_2011n-2 util-linux_2.20.1-1.1 xz-utils_5.1.1alpha+20110809-3 zlib1g_1:1.2.3.4.dfsg-3 zlib1g-dev_1:1.2.3.4.dfsg-3 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Thu Apr 8 13:50:49 2010 CEST using DSA key ID 2CFD1C38 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./pmacct_0.12.1-1.dsc dpkg-source: info: extracting pmacct in pmacct-0.12.1 dpkg-source: info: unpacking pmacct_0.12.1.orig.tar.gz dpkg-source: info: unpacking pmacct_0.12.1-1.debian.tar.gz dpkg-source: info: applying debian-changes-0.12.1-1 Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: source package pmacct dpkg-buildpackage: source version 0.12.1-1 dpkg-source --before-build pmacct-0.12.1 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean dh_clean dpkg-source -b pmacct-0.12.1 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building pmacct using existing ./pmacct_0.12.1.orig.tar.gz dpkg-source: info: building pmacct in pmacct_0.12.1-1.debian.tar.gz dpkg-source: info: building pmacct in pmacct_0.12.1-1.dsc debian/rules build dh_testdir touch Makefile.in configure aclocal.m4 CFLAGS="-Wall -g -O2" ./configure \ --host=x86_64-linux-gnu \ --build=x86_64-linux-gnu \ --prefix=/usr \ --mandir=\${prefix}/share/man \ --infodir=\${prefix}/share/info \ --enable-mmap \ --enable-pgsql \ --with-pgsql-includes=`pg_config --includedir` \ --enable-mysql \ --enable-sqlite3 \ --enable-ipv6 \ || cat config.log creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc -Wall -g -O2 ) works... yes checking whether the C compiler (gcc -Wall -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking OS... Linux checking hardware... x86_64 checking for ranlib... ranlib checking whether to enable debugging compiler options... no checking whether to relax compiler optimizations... no checking for gmake... no checking for make... make checking whether make sets ${MAKE}... (cached) yes checking for __progname... yes checking for extra flags needed to export symbols... --export-dynamic checking for static inline... yes checking endianess... little checking unaligned accesses... ok checking whether to disable L2 features... no checking whether to enable IPv6 code... yes checking for inet_pton... yes checking for inet_ntop... yes checking whether to enable IPv4-mapped IPv6 sockets ... yes checking default locations for pcap.h... found in /usr/include checking default locations for libpcap... no checking for pcap_dispatch in -lpcap... yes checking for pcap_setnonblock in -lpcap... yes checking packet capture type... linux checking whether to enable MySQL support... checking how to run the C preprocessor... gcc -E yes checking default locations for libmysqlclient... not found checking for mysql_real_connect in -lmysqlclient... yes checking default locations for mysql.h... found in /usr/include/mysql checking whether to enable PostgreSQL support... yes checking default locations for libpq... found in /usr/lib checking your own PostgreSQL headers... ok checking whether to enable SQLite3 support... yes checking default locations for libsqlite3... found in /usr/lib checking default locations for sqlite3.h... found in /usr/include checking whether to disable shared objects... no checking for dlopen... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for getopt.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for u_int64_t in sys/types.h... yes checking for u_int32_t in sys/types.h... yes checking for u_int16_t in sys/types.h... yes checking for u_int8_t in sys/types.h... yes checking for uint64_t in sys/types.h... no checking for uint32_t in sys/types.h... no checking for uint16_t in sys/types.h... no checking for uint8_t in sys/types.h... no checking whether to enable 64bit counters... no checking whether to enable multithreading in pmacctd... no checking whether to enable ULOG support... no checking return type of signal handlers... void checking for strlcpy... no checking for vsnprintf... yes checking for setproctitle... no PLATFORM ..... : x86_64 OS ........... : Linux 2.6.32-5-amd64 (stremi-44.reims.grid5000.fr) COMPILER ..... : gcc CFLAGS ....... : -O2 -I/usr/include/postgresql LIBS ......... : -lmysqlclient -lpcap -lpq -lsqlite3 -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ LDFLAGS ...... : -Wl,--export-dynamic Now type 'make' to compile the source code. Are you willing to get in touch with other pmacct users? Join the pmacct mailing-list by sending a message to pmacct-discussion-subscribe@pmacct.net Need for documentation and examples? Read the README file or go to http://wiki.pmacct.net/ updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/nfprobe_plugin/Makefile creating src/sfprobe_plugin/Makefile creating src/bgp/Makefile dh_testdir /usr/bin/make make[1]: Entering directory `/build/pmacct-VUvNAY/pmacct-0.12.1' Making all in src make[2]: Entering directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src' cd .. && /build/pmacct-VUvNAY/pmacct-0.12.1/missing automake-1.4 --gnu --include-deps src/Makefile WARNING: `automake-1.4' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd .. \ && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status creating src/Makefile make[2]: Leaving directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src' make[2]: Entering directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src' Making all in nfprobe_plugin make[3]: Entering directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src/nfprobe_plugin' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o nfprobe_plugin.o nfprobe_plugin.c nfprobe_plugin.c:222:38: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(buf, sizeof(buf), "seq:%llu [%s]:%hu <> [%s]:%hu proto:%u " ~~~^ %lu nfprobe_plugin.c:250:14: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] "seq:%llu [%s]:%hu <> [%s]:%hu proto:%u", ~~~^ %lu nfprobe_plugin.c:907:38: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Packets processed: %llu\n", ft->total_packets); ~~~^ ~~~~~~~~~~~~~~~~~ %lu nfprobe_plugin.c:908:30: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Fragments: %llu\n", ft->frag_packets); ~~~^ ~~~~~~~~~~~~~~~~ %lu nfprobe_plugin.c:909:36: warning: conversion specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] fprintf(out, "Ignored packets: %llu (%llu non-IP, %llu too short)\n", ~~~^ %lu nfprobe_plugin.c:909:42: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Ignored packets: %llu (%llu non-IP, %llu too short)\n", ~~~^ %lu nfprobe_plugin.c:909:55: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Ignored packets: %llu (%llu non-IP, %llu too short)\n", ~~~^ %lu nfprobe_plugin.c:911:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows expired: %llu (%llu forced)\n", ~~~^ %lu nfprobe_plugin.c:911:40: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows expired: %llu (%llu forced)\n", ~~~^ %lu nfprobe_plugin.c:913:35: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows exported: %llu in %llu packets (%llu failures)\n", ~~~^ %lu nfprobe_plugin.c:913:43: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows exported: %llu in %llu packets (%llu failures)\n", ~~~^ %lu nfprobe_plugin.c:913:57: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows exported: %llu in %llu packets (%llu failures)\n", ~~~^ %lu nfprobe_plugin.c:929:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " tcp = %9llu tcp.rst = %9llu tcp.fin = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:929:52: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " tcp = %9llu tcp.rst = %9llu tcp.fin = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:929:70: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " tcp = %9llu tcp.rst = %9llu tcp.fin = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:931:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " udp = %9llu icmp = %9llu general = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:931:52: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " udp = %9llu icmp = %9llu general = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:931:70: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " udp = %9llu icmp = %9llu general = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:933:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " maxlife = %9llu\n", ft->expired_maxlife); ~~~~^ ~~~~~~~~~~~~~~~~~~~ %9lu nfprobe_plugin.c:934:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " over 2Gb = %9llu\n", ft->expired_overbytes); ~~~~^ ~~~~~~~~~~~~~~~~~~~~~ %9lu nfprobe_plugin.c:935:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " maxflows = %9llu\n", ft->expired_maxflows); ~~~~^ ~~~~~~~~~~~~~~~~~~~~ %9lu nfprobe_plugin.c:936:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " flushed = %9llu\n", ft->expired_flush); ~~~~^ ~~~~~~~~~~~~~~~~~ %9lu nfprobe_plugin.c:947:23: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] " %17s: %14llu %12llu %8.2fs %10.2fs\n", ~~~~~^ %14lu nfprobe_plugin.c:947:30: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] " %17s: %14llu %12llu %8.2fs %10.2fs\n", ~~~~~^ %12lu nfprobe_plugin.c:972:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] "EXPIRY EVENT for flow %llu now%s\n", ~~~^ %lu nfprobe_plugin.c:977:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] "EXPIRY EVENT for flow %llu in %ld seconds\n", ~~~^ %lu nfprobe_plugin.c:1026:4: warning: implicit declaration of function 'addr_to_sa' is invalid in C99 [-Wimplicit-function-declaration] addr_to_sa(&ssource_ip, &source_ip, 0); ^ nfprobe_plugin.c:1154:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sep = strchr(current, ':')) { ~~~~^~~~~~~~ nfprobe_plugin.c:1154:14: note: place parentheses around the assignment to silence this warning while (sep = strchr(current, ':')) { ^ ( ) nfprobe_plugin.c:1154:14: note: use '==' to turn this assignment into an equality comparison while (sep = strchr(current, ':')) { ^ == nfprobe_plugin.c:1266:3: warning: implicit declaration of function 'pm_setproctitle' is invalid in C99 [-Wimplicit-function-declaration] pm_setproctitle("%s [%s]", "Netflow Probe Plugin", config.name); ^ 29 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow1.o netflow1.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow5.o netflow5.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow9.o netflow9.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o convtime.o convtime.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o strlcat.o strlcat.c ar rc libnfprobe_plugin.a netflow1.o netflow5.o netflow9.o nfprobe_plugin.o convtime.o strlcat.o ranlib libnfprobe_plugin.a make[3]: Leaving directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src/nfprobe_plugin' Making all in sfprobe_plugin make[3]: Entering directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src/sfprobe_plugin' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sflow_agent.o sflow_agent.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sflow_poller.o sflow_poller.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sflow_receiver.o sflow_receiver.c sflow_receiver.c:383:20: warning: passing 'char [17]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] put128(receiver, buf); ^~~ sflow_receiver.c:165:58: note: passing argument to parameter 'val' here inline static void put128(SFLReceiver *receiver, u_char *val) ^ 1 warning generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sflow_sampler.o sflow_sampler.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sfprobe_plugin.o sfprobe_plugin.c sfprobe_plugin.c:495:3: warning: implicit declaration of function 'pm_setproctitle' is invalid in C99 [-Wimplicit-function-declaration] pm_setproctitle("%s [%s]", "sFlow Probe Plugin", config.name); ^ 1 warning generated. ar rc libsfprobe_plugin.a sflow_agent.o sflow_poller.o sflow_receiver.o sflow_sampler.o sfprobe_plugin.o ranlib libsfprobe_plugin.a make[3]: Leaving directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src/sfprobe_plugin' Making all in bgp make[3]: Entering directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src/bgp' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp.o bgp.c bgp.c:101:12: warning: implicit declaration of function 'addr_to_sa' is invalid in C99 [-Wimplicit-function-declaration] slen = addr_to_sa((struct sockaddr *)&server, &addr, config.nfacctd_bgp_port); ^ bgp.c:145:5: warning: implicit declaration of function 'sa_to_addr' is invalid in C99 [-Wimplicit-function-declaration] sa_to_addr(&server, &srv_addr, &srv_port); ^ bgp.c:146:5: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(srv_string, &srv_addr); ^ bgp.c:180:49: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] fd = accept(sock, (struct sockaddr *) &client, &clen); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ bgp.c:184:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] peer->fd = accept(sock, (struct sockaddr *) &client, &clen); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ bgp.c:286:4: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] realloc(peer->buf.base, BGP_MAX_PACKET_SIZE); ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgp.c:615:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] withdraw.nlri = pkt; ^ ~~~ bgp.c:640:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] update.nlri = pkt; ^ ~~~ bgp.c:814:66: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] else attr->ecommunity = (struct ecommunity *) ecommunity_parse(ptr, len); ^~~ ./bgp_ecommunity.h:76:52: note: passing argument to parameter here EXT struct ecommunity *ecommunity_parse (u_int8_t *, u_short); ^ bgp.c:902:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mp_update->nlri = ptr; ^ ~~~ bgp.c:927:21: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mp_withdraw->nlri = ptr; ^ ~~~ bgp.c:1252:61: warning: incompatible pointer types passing 'int (void *, void *)' to parameter of type 'int (*)(const void *, const void *)' [-Wincompatible-pointer-types] attrhash = (struct hash *) hash_create(attrhash_key_make, attrhash_cmp); ^~~~~~~~~~~~ ./bgp_hash.h:62:64: note: passing argument to parameter here EXT struct hash *hash_create (unsigned int (*) (void *), int (*) (const void *, const void *)); ^ bgp.c:1582:10: warning: implicit declaration of function 'sa_addr_cmp' is invalid in C99 [-Wimplicit-function-declaration] if (!sa_addr_cmp(sa, &peers[peers_idx].addr)) { ^ bgp.c:1698:9: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] char *saved_agent = pptrs->f_agent; ^ ~~~~~~~~~~~~~~ bgp.c:1759:26: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->f_agent = (char *) &sa_local; ^ ~~~~~~~~~~~~~~~~~~ bgp.c:1783:26: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->f_agent = (char *) &sa_local; ^ ~~~~~~~~~~~~~~~~~~ bgp.c:1807:26: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->f_agent = (char *) &sa_local; ^ ~~~~~~~~~~~~~~~~~~ bgp.c:1823:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->f_agent = saved_agent; ^ ~~~~~~~~~~~ 18 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_aspath.o bgp_aspath.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_community.o bgp_community.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_ecommunity.o bgp_ecommunity.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_hash.o bgp_hash.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_prefix.o bgp_prefix.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_table.o bgp_table.c ar rc libbgp.a bgp.o bgp_aspath.o bgp_community.o bgp_ecommunity.o bgp_hash.o bgp_prefix.o bgp_table.o ranlib libbgp.a make[3]: Leaving directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src/bgp' make[3]: Entering directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c pmacct.c pmacct.c:776:17: warning: implicit declaration of function 'string_etheraddr' is invalid in C99 [-Wimplicit-function-declaration] res = string_etheraddr(match_string_token, ethaddr); ^ pmacct.c:1145:4: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(acc_elem->primitives.eth_shost, ethernet_address); ^ pmacct.c:1269:11: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(ip_address, &pbgp->peer_src_ip); ^ pmacct.c:1346:22: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", acc_elem->pkt_num); ~~~~~^ ~~~~~~~~~~~~~~~~~ %-10u pmacct.c:1349:17: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", acc_elem->flo_num); ~~~~~^ ~~~~~~~~~~~~~~~~~ %-10u pmacct.c:1351:19: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%lu\n", acc_elem->pkt_len); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1416:43: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (which_counter == 0) printf("%lu\n", acc_elem->pkt_len); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1417:48: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 1) printf("%lu\n", acc_elem->pkt_num); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1418:48: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1418:52: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1418:56: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1418:60: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start); ~~^ ~~~~~~~~~~~~~~~~~~~~ %u pmacct.c:1419:48: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 3) printf("%lu\n", acc_elem->flo_num); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1431:41: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] if (which_counter == 0) printf("%lu\n", bcnt); ~~^ ~~~~ %u pmacct.c:1432:46: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 1) printf("%lu\n", pcnt); ~~^ ~~~~ %u pmacct.c:1433:46: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", pcnt, bcnt, fcnt, num_counters); ~~^ ~~~~ %u pmacct.c:1433:50: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", pcnt, bcnt, fcnt, num_counters); ~~^ ~~~~ %u pmacct.c:1433:54: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", pcnt, bcnt, fcnt, num_counters); ~~^ ~~~~ %u pmacct.c:1433:58: warning: conversion specifies type 'unsigned long' but the argument has type 'int' [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", pcnt, bcnt, fcnt, num_counters); ~~^ ~~~~~~~~~~~~ %d pmacct.c:1434:46: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 3) printf("%lu\n", fcnt); ~~^ ~~~~ %u pmacct.c:1522:65: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("ERROR: Counter sizes mismatch: daemon: %d client: %d\n", qh->cnt_sz*8, sizeof(acc_elem->pkt_len)*8); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu pmacct.c:1529:68: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("ERROR: IP address sizes mismatch. daemon: %d client: %d\n", qh->ip_sz, sizeof(acc_elem->primitives.src_ip)); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu 22 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c strlcpy.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c addr.c gcc -O2 -I/usr/include/postgresql -Wl,--export-dynamic -o pmacct pmacct.o strlcpy.o addr.o -lmysqlclient -lpcap -lpq -lsqlite3 -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c pmmyplay.c pmmyplay.c:107:3: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(data->eth_shost, src_mac); ^ pmmyplay.c:116:3: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(src_host, &data->src_ip); ^ pmmyplay.c:135:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->packet_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmmyplay.c:136:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->flows_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmmyplay.c:137:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->bytes_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmmyplay.c:145:19: warning: conversion specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] else printf("%u\n", cache_elem->basetime); ~^ ~~~~~~~~~~~~~~~~~~~~ %ld pmmyplay.c:428:73: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmmyplay.c:428:78: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmmyplay.c:428:83: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmmyplay.c:429:62: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmmyplay.c:429:67: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u 11 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c sql_handlers.c sql_handlers.c:53:3: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(ubuf, sbuf); ^ sql_handlers.c:87:3: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(ptr, &cache_elem->primitives.src_ip); ^ 2 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c log_templates.c gcc -O2 -I/usr/include/postgresql -Wl,--export-dynamic -o pmmyplay pmmyplay.o strlcpy.o sql_handlers.o log_templates.o addr.o -lmysqlclient -lpcap -lpq -lsqlite3 -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c pmpgplay.c pmpgplay.c:108:3: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(data->eth_shost, src_mac); ^ pmpgplay.c:117:3: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(src_host, &data->src_ip); ^ pmpgplay.c:136:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->packet_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmpgplay.c:137:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->flows_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmpgplay.c:138:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->bytes_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmpgplay.c:146:19: warning: conversion specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] else printf("%u\n", cache_elem->basetime); ~^ ~~~~~~~~~~~~~~~~~~~~ %ld pmpgplay.c:342:10: warning: implicit declaration of function 'PG_DB_Connect2' is invalid in C99 [-Wimplicit-function-declaration] if (!PG_DB_Connect2(&p)) { ^ pmpgplay.c:435:73: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmpgplay.c:435:78: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmpgplay.c:435:83: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmpgplay.c:436:62: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmpgplay.c:436:67: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u 12 warnings generated. gcc -O2 -I/usr/include/postgresql -Wl,--export-dynamic -o pmpgplay pmpgplay.o strlcpy.o sql_handlers.o log_templates.o addr.o -lmysqlclient -lpcap -lpq -lsqlite3 -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c pmacctd.c pmacctd.c:323:3: warning: implicit declaration of function 'initsetproctitle' is invalid in C99 [-Wimplicit-function-declaration] initsetproctitle(argc, argv, envp); ^ pmacctd.c:488:2: warning: implicit declaration of function 'bgp_config_checks' is invalid in C99 [-Wimplicit-function-declaration] bgp_config_checks(&list->cfg); ^ pmacctd.c:499:5: warning: implicit declaration of function 'init_classifiers' is invalid in C99 [-Wimplicit-function-declaration] init_classifiers(config.classifiers_path); ^ pmacctd.c:500:5: warning: implicit declaration of function 'init_conntrack_table' is invalid in C99 [-Wimplicit-function-declaration] init_conntrack_table(); ^ pmacctd.c:555:73: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(pcap_fileno(device.dev_desc), SOL_SOCKET, SO_RCVBUF, &x, &slen); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ pmacctd.c:698:3: warning: implicit declaration of function 'pm_setproctitle' is invalid in C99 [-Wimplicit-function-declaration] pm_setproctitle("%s [%s]", "Core Process", "default"); ^ 6 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c signals.c signals.c:63:9: warning: implicit declaration of function 'delete_pipe_channel' is invalid in C99 [-Wimplicit-function-declaration] delete_pipe_channel(list->pipe[1]); ^ signals.c:116:3: warning: implicit declaration of function 'fill_pipe_buffer' is invalid in C99 [-Wimplicit-function-declaration] fill_pipe_buffer(); ^ 2 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c util.c util.c:82:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (delim_ptr = strchr(*string, delim)) { ~~~~~~~~~~^~~~~~~~ util.c:82:17: note: place parentheses around the assignment to silence this warning if (delim_ptr = strchr(*string, delim)) { ^ ( ) util.c:82:17: note: use '==' to turn this assignment into an equality comparison if (delim_ptr = strchr(*string, delim)) { ^ == util.c:403:27: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(fname, 0, sizeof(fname)); ~~~~~ ^~~~~ util.c:454:9: warning: implicit declaration of function 'flock' is invalid in C99 [-Wimplicit-function-declaration] ret = flock(fd, LOCK_EX); ^ util.c:553:41: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(s, level, optname, &saved, &len); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ util.c:738:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ util.c:983:14: warning: implicit declaration of function 'ip6_addr_cmp' is invalid in C99 [-Wimplicit-function-declaration] if (!ip6_addr_cmp(&(((struct sockaddr_in6 *)sa)->sin6_addr), &allow->table[index].address.ipv6)) ^ 6 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c plugin_hooks.c plugin_hooks.c:84:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(list->pipe[0], SOL_SOCKET, SO_RCVBUF, &v, &l); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ plugin_hooks.c:86:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(list->pipe[1], SOL_SOCKET, SO_SNDBUF, &v, &l); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ plugin_hooks.c:125:62: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(list->pipe[0], SOL_SOCKET, SO_RCVBUF, &v, &l); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ plugin_hooks.c:127:62: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(list->pipe[1], SOL_SOCKET, SO_SNDBUF, &v, &l); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ plugin_hooks.c:196:60: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (evaluate_filters(&channels_list[index].agg_filter, pptrs->packet_ptr, pptrs->pkthdr) && ^~~~~~~~~~~~~~~~~ ./plugin_hooks.h:105:59: note: passing argument to parameter here EXT int evaluate_filters(struct aggregate_filter *, char *, struct pcap_pkthdr *); ^ plugin_hooks.c:487:52: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (bpf_filter(filter->table[index]->bf_insns, pkt, pkthdr->len, pkthdr->caplen)) return TRUE; ^~~ /usr/include/pcap/pcap.h:413:57: note: passing argument to parameter here u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); ^ 6 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c server.c server.c:115:6: warning: implicit declaration of function 'cache_to_pkt_bgp_primitives' is invalid in C99 [-Wimplicit-function-declaration] cache_to_pkt_bgp_primitives(&tmp_pbgp, acc_elem->cbgp); ^ 1 warning generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c acct.c acct.c:71:7: warning: implicit declaration of function 'cache_to_pkt_bgp_primitives' is invalid in C99 [-Wimplicit-function-declaration] cache_to_pkt_bgp_primitives(&tmp_pbgp, elem->cbgp); ^ acct.c:190:9: warning: implicit declaration of function 'pkt_to_cache_bgp_primitives' is invalid in C99 [-Wimplicit-function-declaration] pkt_to_cache_bgp_primitives(elem_acc->cbgp, pbgp, config.what_to_count); ^ 2 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c memory.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c ll.c ll.c:117:5: error: non-void function 'mpls_handler' should return a value [-Wreturn-type] return; ^ ll.c:441:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->mac_ptr = (char *) sll_mac; ^ ~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[3]: *** [ll.o] Error 1 make[3]: Leaving directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/pmacct-VUvNAY/pmacct-0.12.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/pmacct-VUvNAY/pmacct-0.12.1' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120113-0156 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64b-637e2606-3124-431a-a105-bfc8d41ffec8/build/pmacct-VUvNAY Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 4408 Build-Time: 13 Distribution: lsid64b Fail-Stage: build Install-Time: 9 Job: pmacct_0.12.1-1 Package: pmacct Package-Time: 49 Source-Version: 0.12.1-1 Space: 4408 Status: attempted Version: 0.12.1-1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120113-0156 Build needed 00:00:49, 4408k disc space DC-Message: Failed, but took only 50.304361. Retrying, you never know. Requested exclusive mode, but other builds running. Requested exclusive mode, but other builds running. Requested exclusive mode, but other builds running. Requested exclusive mode, but other builds running. Requested exclusive mode, but other builds running. sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on stremi-44.reims.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ pmacct 0.12.1-1 (amd64) 13 Jan 2012 01:59 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: pmacct Version: 0.12.1-1 Source Version: 0.12.1-1 Distribution: lsid64b Architecture: amd64 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost sid InRelease Get:1 http://localhost sid Release.gpg [836 B] Get:2 http://localhost sid Release [188 kB] Ign http://localhost sid/main Sources/DiffIndex Ign http://localhost sid/main amd64 Packages/DiffIndex Ign http://localhost sid/main TranslationIndex Get:3 http://localhost sid/main Sources [7544 kB] Get:4 http://localhost sid/main amd64 Packages [10.4 MB] Ign http://localhost sid/main Translation-en Fetched 18.2 MB in 3s (5487 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages have been kept back: clang cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev 0 upgraded, 0 newly installed, 0 to remove and 10 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... Need to get 569 kB of source archives. Get:1 http://localhost/debian/ sid/main pmacct 0.12.1-1 (dsc) [1043 B] Get:2 http://localhost/debian/ sid/main pmacct 0.12.1-1 (tar) [530 kB] Get:3 http://localhost/debian/ sid/main pmacct 0.12.1-1 (diff) [37.4 kB] Fetched 569 kB in 0s (24.6 MB/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/build/pmacct-F71eDY/resolver-zKD1oS/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 10 not upgraded. Need to get 0 B/702 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10821 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Cannot open /var/lib/schroot/mount/lsid64b-e6768975-619d-400b-be4f-62e843d36aec/etc/lsb-release: No such file or directory Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 7), zlib1g-dev, libpcap-dev, libpq-dev, libmysqlclient15-dev, libsqlite3-dev Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 7), zlib1g-dev, libpcap-dev, libpq-dev, libmysqlclient15-dev, libsqlite3-dev dpkg-deb: building package `sbuild-build-depends-pmacct-dummy' in `/build/pmacct-F71eDY/resolver-gFK09u/apt_archive/sbuild-build-depends-pmacct-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install pmacct build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils comerr-dev debhelper file gettext gettext-base groff-base html2text intltool-debian krb5-multidev libcroco3 libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkeyutils1 libkrb5-3 libkrb5-dev libkrb5support0 libldap-2.4-2 libmagic1 libmysqlclient-dev libmysqlclient16 libp11-kit0 libpcap-dev libpcap0.8 libpcap0.8-dev libpcre3 libpipeline1 libpq-dev libpq5 libsasl2-2 libsqlite3-0 libsqlite3-dev libssl-dev libssl1.0.0 libtasn1-3 libunistring0 libxml2 man-db mysql-common po-debconf zlib1g-dev Suggested packages: wamerican wordlist whois vacation doc-base dh-make gettext-doc groff krb5-doc rng-tools krb5-user postgresql-doc-9.1 sqlite3-doc www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info krb5-locales libsasl2-modules libssl-doc xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils comerr-dev debhelper file gettext gettext-base groff-base html2text intltool-debian krb5-multidev libcroco3 libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkeyutils1 libkrb5-3 libkrb5-dev libkrb5support0 libldap-2.4-2 libmagic1 libmysqlclient-dev libmysqlclient16 libp11-kit0 libpcap-dev libpcap0.8 libpcap0.8-dev libpcre3 libpipeline1 libpq-dev libpq5 libsasl2-2 libsqlite3-0 libsqlite3-dev libssl-dev libssl1.0.0 libtasn1-3 libunistring0 libxml2 man-db mysql-common po-debconf sbuild-build-depends-pmacct-dummy zlib1g-dev 0 upgraded, 50 newly installed, 0 to remove and 10 not upgraded. Need to get 22.9 MB/22.9 MB of archives. After this operation, 62.3 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libssl1.0.0 libgpg-error0 libgcrypt11 libp11-kit0 libtasn1-3 libgnutls26 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3 libgssapi-krb5-2 libgssrpc4 libkadm5clnt-mit8 libkdb5-6 libkadm5srv-mit8 libsasl2-2 libldap-2.4-2 libpcre3 libglib2.0-0 libxml2 libcroco3 libpcap0.8 libunistring0 bsdmainutils groff-base man-db libmagic1 file gettext-base libsqlite3-0 html2text gettext intltool-debian po-debconf debhelper comerr-dev krb5-multidev mysql-common libmysqlclient16 zlib1g-dev libmysqlclient-dev libpcap0.8-dev libpcap-dev libpq5 libssl-dev libkrb5-dev libpq-dev libsqlite3-dev sbuild-build-depends-pmacct-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libpipeline1 amd64 1.2.0-5 [38.2 kB] Get:2 http://localhost/debian/ sid/main libssl1.0.0 amd64 1.0.0e-3 [1143 kB] Get:3 http://localhost/debian/ sid/main libgpg-error0 amd64 1.10-2 [66.8 kB] Get:4 http://localhost/debian/ sid/main libgcrypt11 amd64 1.5.0-3 [298 kB] Get:5 http://localhost/debian/ sid/main libp11-kit0 amd64 0.10-1 [51.4 kB] Get:6 http://localhost/debian/ sid/main libtasn1-3 amd64 2.11-1 [65.9 kB] Get:7 http://localhost/debian/ sid/main libgnutls26 amd64 2.12.16-1 [614 kB] Get:8 http://localhost/debian/ sid/main libkeyutils1 amd64 1.5.2-2 [8860 B] Get:9 http://localhost/debian/ sid/main libkrb5support0 amd64 1.10+dfsg~alpha2-1 [48.5 kB] Get:10 http://localhost/debian/ sid/main libk5crypto3 amd64 1.10+dfsg~alpha2-1 [108 kB] Get:11 http://localhost/debian/ sid/main libkrb5-3 amd64 1.10+dfsg~alpha2-1 [388 kB] Get:12 http://localhost/debian/ sid/main libgssapi-krb5-2 amd64 1.10+dfsg~alpha2-1 [147 kB] Get:13 http://localhost/debian/ sid/main libgssrpc4 amd64 1.10+dfsg~alpha2-1 [86.6 kB] Get:14 http://localhost/debian/ sid/main libkadm5clnt-mit8 amd64 1.10+dfsg~alpha2-1 [66.5 kB] Get:15 http://localhost/debian/ sid/main libkdb5-6 amd64 1.10+dfsg~alpha2-1 [65.3 kB] Get:16 http://localhost/debian/ sid/main libkadm5srv-mit8 amd64 1.10+dfsg~alpha2-1 [83.3 kB] Get:17 http://localhost/debian/ sid/main libsasl2-2 amd64 2.1.25.dfsg1-2 [120 kB] Get:18 http://localhost/debian/ sid/main libldap-2.4-2 amd64 2.4.28-1 [240 kB] Get:19 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB] Get:20 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.30.2-4 [1844 kB] Get:21 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-5.1 [891 kB] Get:22 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-2 [122 kB] Get:23 http://localhost/debian/ sid/main libpcap0.8 amd64 1.2.1-1 [139 kB] Get:24 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB] Get:25 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB] Get:26 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB] Get:27 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-3 [1015 kB] Get:28 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB] Get:29 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB] Get:30 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-5 [154 kB] Get:31 http://localhost/debian/ sid/main libsqlite3-0 amd64 3.7.9-3 [431 kB] Get:32 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB] Get:33 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-5 [2080 kB] Get:34 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:35 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB] Get:36 http://localhost/debian/ sid/main debhelper all 8.9.14 [693 kB] Get:37 http://localhost/debian/ sid/main comerr-dev amd64 2.1-1.42-1 [42.7 kB] Get:38 http://localhost/debian/ sid/main krb5-multidev amd64 1.10+dfsg~alpha2-1 [153 kB] Get:39 http://localhost/debian/ sid/main mysql-common all 5.1.58-1 [75.0 kB] Get:40 http://localhost/debian/ sid/main libmysqlclient16 amd64 5.1.58-1 [1983 kB] Get:41 http://localhost/debian/ sid/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3 [192 kB] Get:42 http://localhost/debian/ sid/main libmysqlclient-dev amd64 5.1.58-1 [3255 kB] Get:43 http://localhost/debian/ sid/main libpcap0.8-dev amd64 1.2.1-1 [260 kB] Get:44 http://localhost/debian/ sid/main libpcap-dev all 1.2.1-1 [21.6 kB] Get:45 http://localhost/debian/ sid/main libpq5 amd64 9.1.2-4 [496 kB] Get:46 http://localhost/debian/ sid/main libssl-dev amd64 1.0.0e-3 [1631 kB] Get:47 http://localhost/debian/ sid/main libkrb5-dev amd64 1.10+dfsg~alpha2-1 [39.0 kB] Get:48 http://localhost/debian/ sid/main libpq-dev amd64 9.1.2-4 [577 kB] Get:49 http://localhost/debian/ sid/main libsqlite3-dev amd64 3.7.9-3 [542 kB] Extracting templates from packages: 60% Extracting templates from packages: 100% Preconfiguring packages ... Fetched 22.9 MB in 0s (42.6 MB/s) Selecting previously unselected package libpipeline1. (Reading database ... 10821 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.0-5_amd64.deb) ... Selecting previously unselected package libssl1.0.0. Unpacking libssl1.0.0 (from .../libssl1.0.0_1.0.0e-3_amd64.deb) ... Selecting previously unselected package libgpg-error0. Unpacking libgpg-error0 (from .../libgpg-error0_1.10-2_amd64.deb) ... Selecting previously unselected package libgcrypt11. Unpacking libgcrypt11 (from .../libgcrypt11_1.5.0-3_amd64.deb) ... Selecting previously unselected package libp11-kit0. Unpacking libp11-kit0 (from .../libp11-kit0_0.10-1_amd64.deb) ... Selecting previously unselected package libtasn1-3. Unpacking libtasn1-3 (from .../libtasn1-3_2.11-1_amd64.deb) ... Selecting previously unselected package libgnutls26. Unpacking libgnutls26 (from .../libgnutls26_2.12.16-1_amd64.deb) ... Selecting previously unselected package libkeyutils1. Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ... Selecting previously unselected package libkrb5support0. Unpacking libkrb5support0 (from .../libkrb5support0_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libk5crypto3. Unpacking libk5crypto3 (from .../libk5crypto3_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libkrb5-3. Unpacking libkrb5-3 (from .../libkrb5-3_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libgssapi-krb5-2. Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libgssrpc4. Unpacking libgssrpc4 (from .../libgssrpc4_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libkadm5clnt-mit8. Unpacking libkadm5clnt-mit8 (from .../libkadm5clnt-mit8_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libkdb5-6. Unpacking libkdb5-6 (from .../libkdb5-6_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libkadm5srv-mit8. Unpacking libkadm5srv-mit8 (from .../libkadm5srv-mit8_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libsasl2-2. Unpacking libsasl2-2 (from .../libsasl2-2_2.1.25.dfsg1-2_amd64.deb) ... Selecting previously unselected package libldap-2.4-2. Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.28-1_amd64.deb) ... Selecting previously unselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.30.2-4_amd64.deb) ... Selecting previously unselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5.1_amd64.deb) ... Selecting previously unselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-2_amd64.deb) ... Selecting previously unselected package libpcap0.8. Unpacking libpcap0.8 (from .../libpcap0.8_1.2.1-1_amd64.deb) ... Selecting previously unselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.0.2-3_amd64.deb) ... Selecting previously unselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.09-2_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.09-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package libsqlite3-0. Unpacking libsqlite3-0 (from .../libsqlite3-0_3.7.9-3_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_8.9.14_all.deb) ... Selecting previously unselected package comerr-dev. Unpacking comerr-dev (from .../comerr-dev_2.1-1.42-1_amd64.deb) ... Selecting previously unselected package krb5-multidev. Unpacking krb5-multidev (from .../krb5-multidev_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package mysql-common. Unpacking mysql-common (from .../mysql-common_5.1.58-1_all.deb) ... Selecting previously unselected package libmysqlclient16. Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.58-1_amd64.deb) ... Selecting previously unselected package zlib1g-dev. Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3_amd64.deb) ... Selecting previously unselected package libmysqlclient-dev. Unpacking libmysqlclient-dev (from .../libmysqlclient-dev_5.1.58-1_amd64.deb) ... Selecting previously unselected package libpcap0.8-dev. Unpacking libpcap0.8-dev (from .../libpcap0.8-dev_1.2.1-1_amd64.deb) ... Selecting previously unselected package libpcap-dev. Unpacking libpcap-dev (from .../libpcap-dev_1.2.1-1_all.deb) ... Selecting previously unselected package libpq5. Unpacking libpq5 (from .../libpq5_9.1.2-4_amd64.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.0e-3_amd64.deb) ... Selecting previously unselected package libkrb5-dev. Unpacking libkrb5-dev (from .../libkrb5-dev_1.10+dfsg~alpha2-1_amd64.deb) ... Selecting previously unselected package libpq-dev. Unpacking libpq-dev (from .../libpq-dev_9.1.2-4_amd64.deb) ... Selecting previously unselected package libsqlite3-dev. Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.9-3_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-pmacct-dummy. Unpacking sbuild-build-depends-pmacct-dummy (from .../sbuild-build-depends-pmacct-dummy.deb) ... Processing triggers for install-info ... Setting up libpipeline1 (1.2.0-5) ... Setting up libssl1.0.0 (1.0.0e-3) ... Setting up libgpg-error0 (1.10-2) ... Setting up libgcrypt11 (1.5.0-3) ... Setting up libp11-kit0 (0.10-1) ... Setting up libtasn1-3 (2.11-1) ... Setting up libgnutls26 (2.12.16-1) ... Setting up libkeyutils1 (1.5.2-2) ... Setting up libkrb5support0 (1.10+dfsg~alpha2-1) ... Setting up libk5crypto3 (1.10+dfsg~alpha2-1) ... Setting up libkrb5-3 (1.10+dfsg~alpha2-1) ... Setting up libgssapi-krb5-2 (1.10+dfsg~alpha2-1) ... Setting up libgssrpc4 (1.10+dfsg~alpha2-1) ... Setting up libkadm5clnt-mit8 (1.10+dfsg~alpha2-1) ... Setting up libkdb5-6 (1.10+dfsg~alpha2-1) ... Setting up libkadm5srv-mit8 (1.10+dfsg~alpha2-1) ... Setting up libsasl2-2 (2.1.25.dfsg1-2) ... Setting up libldap-2.4-2 (2.4.28-1) ... Setting up libpcre3 (8.12-4) ... Setting up libglib2.0-0 (2.30.2-4) ... No schema files found: doing nothing. Setting up libxml2 (2.7.8.dfsg-5.1) ... Setting up libcroco3 (0.6.2-2) ... Setting up libpcap0.8 (1.2.1-1) ... Setting up libunistring0 (0.9.3-5) ... Setting up bsdmainutils (8.2.3) ... 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 groff-base (1.21-6) ... Setting up man-db (2.6.0.2-3) ... Building database of manual pages ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up gettext-base (0.18.1.1-5) ... Setting up libsqlite3-0 (3.7.9-3) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-5) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (8.9.14) ... Setting up comerr-dev (2.1-1.42-1) ... Setting up krb5-multidev (1.10+dfsg~alpha2-1) ... Setting up mysql-common (5.1.58-1) ... Setting up libmysqlclient16 (5.1.58-1) ... Setting up zlib1g-dev (1:1.2.3.4.dfsg-3) ... Setting up libmysqlclient-dev (5.1.58-1) ... Setting up libpcap0.8-dev (1.2.1-1) ... Setting up libpcap-dev (1.2.1-1) ... Setting up libpq5 (9.1.2-4) ... Setting up libssl-dev (1.0.0e-3) ... Setting up libkrb5-dev (1.10+dfsg~alpha2-1) ... Setting up libpq-dev (9.1.2-4) ... Setting up libsqlite3-dev (3.7.9-3) ... Setting up sbuild-build-depends-pmacct-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-4 dpkg-dev_1.16.1.2 g++-4.6_4.6.2-9 gcc-4.6_4.6.2-9 libc6-dev_2.13-24 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 linux-libc-dev_3.1.8-2 Package versions: apt_0.8.15.9 apt-utils_0.8.15.9 base-files_6.5 base-passwd_3.5.24 bash_4.2-1 binutils_2.22-4 bsdmainutils_8.2.3 bsdutils_1:2.20.1-1.1 build-essential_11.5 bzip2_1.0.6-1 clang_3.0-5 comerr-dev_2.1-1.42-1 coreutils_8.13-3 cpp_4:4.6.2-4 cpp-4.6_4.6.2-9 dash_0.5.7-2 debconf_1.5.41 debfoster_2.7-1.1 debhelper_8.9.14 debian-archive-keyring_2010.08.28 debianutils_4.1 diffutils_1:3.2-1 dpkg_1.16.1.2 dpkg-dev_1.16.1.2 e2fslibs_1.42-1 e2fsprogs_1.42-1 fakeroot_1.18.2-1 file_5.09-2 findutils_4.4.2-4 g++_4:4.6.2-4 g++-4.6_4.6.2-9 gcc_4:4.6.2-4 gcc-4.6_4.6.2-9 gcc-4.6-base_4.6.2-9 gettext_0.18.1.1-5 gettext-base_0.18.1.1-5 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.10-1 groff-base_1.21-6 gzip_1.4-2 hostname_3.09 html2text_1.3.2a-15 initscripts_2.88dsf-18 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 intltool-debian_0.35.0+20060710.1 krb5-multidev_1.10+dfsg~alpha2-1 less_444-1 libacl1_2.2.51-5 libattr1_1:2.4.46-5 libblkid1_2.20.1-1.1 libbz2-1.0_1.0.6-1 libc-bin_2.13-24 libc-dev-bin_2.13-24 libc6_2.13-24 libc6-dev_2.13-24 libclang-common-dev_3.0-5 libclass-isa-perl_0.36-3 libcomerr2_1.42-1 libcroco3_0.6.2-2 libdb5.1_5.1.29-1 libdpkg-perl_1.16.1.2 libffi5_3.0.10-3 libgc1c2_1:7.1-8 libgcc1_1:4.6.2-9 libgcrypt11_1.5.0-3 libgdbm3_1.8.3-10 libglib2.0-0_2.30.2-4 libgmp10_2:5.0.2+dfsg-2 libgnutls26_2.12.16-1 libgomp1_4.6.2-9 libgpg-error0_1.10-2 libgssapi-krb5-2_1.10+dfsg~alpha2-1 libgssrpc4_1.10+dfsg~alpha2-1 libk5crypto3_1.10+dfsg~alpha2-1 libkadm5clnt-mit8_1.10+dfsg~alpha2-1 libkadm5srv-mit8_1.10+dfsg~alpha2-1 libkdb5-6_1.10+dfsg~alpha2-1 libkeyutils1_1.5.2-2 libkrb5-3_1.10+dfsg~alpha2-1 libkrb5-dev_1.10+dfsg~alpha2-1 libkrb5support0_1.10+dfsg~alpha2-1 libldap-2.4-2_2.4.28-1 libllvm3.0_3.0-5 liblzma2_5.1.1alpha+20110809-2 liblzma5_5.1.1alpha+20110809-3 libmagic1_5.09-2 libmount1_2.20.1-1.1 libmpc2_0.9-4 libmpfr4_3.1.0-3 libmysqlclient-dev_5.1.58-1 libmysqlclient16_5.1.58-1 libncurses5_5.9-4 libncursesw5_5.9-4 libp11-kit0_0.10-1 libpam-modules_1.1.3-6 libpam-modules-bin_1.1.3-6 libpam-runtime_1.1.3-6 libpam0g_1.1.3-6 libpcap-dev_1.2.1-1 libpcap0.8_1.2.1-1 libpcap0.8-dev_1.2.1-1 libpcre3_8.12-4 libpipeline1_1.2.0-5 libpq-dev_9.1.2-4 libpq5_9.1.2-4 libquadmath0_4.6.2-9 libreadline6_6.2-8 libsasl2-2_2.1.25.dfsg1-2 libselinux1_2.1.0-4 libsepol1_2.1.0-1.2 libslang2_2.2.4-5 libsqlite3-0_3.7.9-3 libsqlite3-dev_3.7.9-3 libss2_1.42-1 libssl-dev_1.0.0e-3 libssl1.0.0_1.0.0e-3 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 libswitch-perl_2.16-2 libtasn1-3_2.11-1 libtimedate-perl_1.2000-1 libtinfo5_5.9-4 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-20 libuuid1_2.20.1-1.1 libxml2_2.7.8.dfsg-5.1 linux-libc-dev_3.1.8-2 login_1:4.1.4.2+svn3283-3 lsb-base_3.2-28 make_3.81-8.1 man-db_2.6.0.2-3 mawk_1.3.3-16 mount_2.20.1-1.1 multiarch-support_2.13-24 mysql-common_5.1.58-1 ncurses-base_5.9-4 ncurses-bin_5.9-4 nvi_1.81.6-8.2 passwd_1:4.1.4.2+svn3283-3 patch_2.6.1-2 perl_5.14.2-6 perl-base_5.14.2-6 perl-modules_5.14.2-6 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-pmacct-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-18 sysvinit_2.88dsf-18 sysvinit-utils_2.88dsf-18 tar_1.26-4 tzdata_2011n-2 util-linux_2.20.1-1.1 xz-utils_5.1.1alpha+20110809-3 zlib1g_1:1.2.3.4.dfsg-3 zlib1g-dev_1:1.2.3.4.dfsg-3 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Thu Apr 8 13:50:49 2010 CEST using DSA key ID 2CFD1C38 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./pmacct_0.12.1-1.dsc dpkg-source: info: extracting pmacct in pmacct-0.12.1 dpkg-source: info: unpacking pmacct_0.12.1.orig.tar.gz dpkg-source: info: unpacking pmacct_0.12.1-1.debian.tar.gz dpkg-source: info: applying debian-changes-0.12.1-1 Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: source package pmacct dpkg-buildpackage: source version 0.12.1-1 dpkg-source --before-build pmacct-0.12.1 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean dh_clean dpkg-source -b pmacct-0.12.1 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building pmacct using existing ./pmacct_0.12.1.orig.tar.gz dpkg-source: info: building pmacct in pmacct_0.12.1-1.debian.tar.gz dpkg-source: info: building pmacct in pmacct_0.12.1-1.dsc debian/rules build dh_testdir touch Makefile.in configure aclocal.m4 CFLAGS="-Wall -g -O2" ./configure \ --host=x86_64-linux-gnu \ --build=x86_64-linux-gnu \ --prefix=/usr \ --mandir=\${prefix}/share/man \ --infodir=\${prefix}/share/info \ --enable-mmap \ --enable-pgsql \ --with-pgsql-includes=`pg_config --includedir` \ --enable-mysql \ --enable-sqlite3 \ --enable-ipv6 \ || cat config.log creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc -Wall -g -O2 ) works... yes checking whether the C compiler (gcc -Wall -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking OS... Linux checking hardware... x86_64 checking for ranlib... ranlib checking whether to enable debugging compiler options... no checking whether to relax compiler optimizations... no checking for gmake... no checking for make... make checking whether make sets ${MAKE}... (cached) yes checking for __progname... yes checking for extra flags needed to export symbols... --export-dynamic checking for static inline... yes checking endianess... little checking unaligned accesses... ok checking whether to disable L2 features... no checking whether to enable IPv6 code... yes checking for inet_pton... yes checking for inet_ntop... yes checking whether to enable IPv4-mapped IPv6 sockets ... yes checking default locations for pcap.h... found in /usr/include checking default locations for libpcap... no checking for pcap_dispatch in -lpcap... yes checking for pcap_setnonblock in -lpcap... yes checking packet capture type... linux checking whether to enable MySQL support... checking how to run the C preprocessor... gcc -E yes checking default locations for libmysqlclient... not found checking for mysql_real_connect in -lmysqlclient... yes checking default locations for mysql.h... found in /usr/include/mysql checking whether to enable PostgreSQL support... yes checking default locations for libpq... found in /usr/lib checking your own PostgreSQL headers... ok checking whether to enable SQLite3 support... yes checking default locations for libsqlite3... found in /usr/lib checking default locations for sqlite3.h... found in /usr/include checking whether to disable shared objects... no checking for dlopen... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for getopt.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for u_int64_t in sys/types.h... yes checking for u_int32_t in sys/types.h... yes checking for u_int16_t in sys/types.h... yes checking for u_int8_t in sys/types.h... yes checking for uint64_t in sys/types.h... no checking for uint32_t in sys/types.h... no checking for uint16_t in sys/types.h... no checking for uint8_t in sys/types.h... no checking whether to enable 64bit counters... no checking whether to enable multithreading in pmacctd... no checking whether to enable ULOG support... no checking return type of signal handlers... void checking for strlcpy... no checking for vsnprintf... yes checking for setproctitle... no PLATFORM ..... : x86_64 OS ........... : Linux 2.6.32-5-amd64 (stremi-44.reims.grid5000.fr) COMPILER ..... : gcc CFLAGS ....... : -O2 -I/usr/include/postgresql LIBS ......... : -lmysqlclient -lpcap -lpq -lsqlite3 -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ LDFLAGS ...... : -Wl,--export-dynamic Now type 'make' to compile the source code. Are you willing to get in touch with other pmacct users? Join the pmacct mailing-list by sending a message to pmacct-discussion-subscribe@pmacct.net Need for documentation and examples? Read the README file or go to http://wiki.pmacct.net/ updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/nfprobe_plugin/Makefile creating src/sfprobe_plugin/Makefile creating src/bgp/Makefile dh_testdir /usr/bin/make make[1]: Entering directory `/build/pmacct-F71eDY/pmacct-0.12.1' Making all in src make[2]: Entering directory `/build/pmacct-F71eDY/pmacct-0.12.1/src' cd .. && /build/pmacct-F71eDY/pmacct-0.12.1/missing automake-1.4 --gnu --include-deps src/Makefile WARNING: `automake-1.4' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd .. \ && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status creating src/Makefile make[2]: Leaving directory `/build/pmacct-F71eDY/pmacct-0.12.1/src' make[2]: Entering directory `/build/pmacct-F71eDY/pmacct-0.12.1/src' Making all in nfprobe_plugin make[3]: Entering directory `/build/pmacct-F71eDY/pmacct-0.12.1/src/nfprobe_plugin' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o nfprobe_plugin.o nfprobe_plugin.c nfprobe_plugin.c:222:38: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(buf, sizeof(buf), "seq:%llu [%s]:%hu <> [%s]:%hu proto:%u " ~~~^ %lu nfprobe_plugin.c:250:14: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] "seq:%llu [%s]:%hu <> [%s]:%hu proto:%u", ~~~^ %lu nfprobe_plugin.c:907:38: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Packets processed: %llu\n", ft->total_packets); ~~~^ ~~~~~~~~~~~~~~~~~ %lu nfprobe_plugin.c:908:30: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Fragments: %llu\n", ft->frag_packets); ~~~^ ~~~~~~~~~~~~~~~~ %lu nfprobe_plugin.c:909:36: warning: conversion specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] fprintf(out, "Ignored packets: %llu (%llu non-IP, %llu too short)\n", ~~~^ %lu nfprobe_plugin.c:909:42: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Ignored packets: %llu (%llu non-IP, %llu too short)\n", ~~~^ %lu nfprobe_plugin.c:909:55: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Ignored packets: %llu (%llu non-IP, %llu too short)\n", ~~~^ %lu nfprobe_plugin.c:911:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows expired: %llu (%llu forced)\n", ~~~^ %lu nfprobe_plugin.c:911:40: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows expired: %llu (%llu forced)\n", ~~~^ %lu nfprobe_plugin.c:913:35: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows exported: %llu in %llu packets (%llu failures)\n", ~~~^ %lu nfprobe_plugin.c:913:43: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows exported: %llu in %llu packets (%llu failures)\n", ~~~^ %lu nfprobe_plugin.c:913:57: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, "Flows exported: %llu in %llu packets (%llu failures)\n", ~~~^ %lu nfprobe_plugin.c:929:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " tcp = %9llu tcp.rst = %9llu tcp.fin = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:929:52: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " tcp = %9llu tcp.rst = %9llu tcp.fin = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:929:70: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " tcp = %9llu tcp.rst = %9llu tcp.fin = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:931:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " udp = %9llu icmp = %9llu general = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:931:52: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " udp = %9llu icmp = %9llu general = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:931:70: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " udp = %9llu icmp = %9llu general = %9llu\n", ~~~~^ %9lu nfprobe_plugin.c:933:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " maxlife = %9llu\n", ft->expired_maxlife); ~~~~^ ~~~~~~~~~~~~~~~~~~~ %9lu nfprobe_plugin.c:934:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " over 2Gb = %9llu\n", ft->expired_overbytes); ~~~~^ ~~~~~~~~~~~~~~~~~~~~~ %9lu nfprobe_plugin.c:935:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " maxflows = %9llu\n", ft->expired_maxflows); ~~~~^ ~~~~~~~~~~~~~~~~~~~~ %9lu nfprobe_plugin.c:936:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] fprintf(out, " flushed = %9llu\n", ft->expired_flush); ~~~~^ ~~~~~~~~~~~~~~~~~ %9lu nfprobe_plugin.c:947:23: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] " %17s: %14llu %12llu %8.2fs %10.2fs\n", ~~~~~^ %14lu nfprobe_plugin.c:947:30: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] " %17s: %14llu %12llu %8.2fs %10.2fs\n", ~~~~~^ %12lu nfprobe_plugin.c:972:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] "EXPIRY EVENT for flow %llu now%s\n", ~~~^ %lu nfprobe_plugin.c:977:34: warning: conversion specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] "EXPIRY EVENT for flow %llu in %ld seconds\n", ~~~^ %lu nfprobe_plugin.c:1026:4: warning: implicit declaration of function 'addr_to_sa' is invalid in C99 [-Wimplicit-function-declaration] addr_to_sa(&ssource_ip, &source_ip, 0); ^ nfprobe_plugin.c:1154:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sep = strchr(current, ':')) { ~~~~^~~~~~~~ nfprobe_plugin.c:1154:14: note: place parentheses around the assignment to silence this warning while (sep = strchr(current, ':')) { ^ ( ) nfprobe_plugin.c:1154:14: note: use '==' to turn this assignment into an equality comparison while (sep = strchr(current, ':')) { ^ == nfprobe_plugin.c:1266:3: warning: implicit declaration of function 'pm_setproctitle' is invalid in C99 [-Wimplicit-function-declaration] pm_setproctitle("%s [%s]", "Netflow Probe Plugin", config.name); ^ 29 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow1.o netflow1.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow5.o netflow5.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow9.o netflow9.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o convtime.o convtime.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -DFLOW_SPLAY -DEXPIRY_RB -c -o strlcat.o strlcat.c ar rc libnfprobe_plugin.a netflow1.o netflow5.o netflow9.o nfprobe_plugin.o convtime.o strlcat.o ranlib libnfprobe_plugin.a make[3]: Leaving directory `/build/pmacct-F71eDY/pmacct-0.12.1/src/nfprobe_plugin' Making all in sfprobe_plugin make[3]: Entering directory `/build/pmacct-F71eDY/pmacct-0.12.1/src/sfprobe_plugin' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sflow_agent.o sflow_agent.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sflow_poller.o sflow_poller.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sflow_receiver.o sflow_receiver.c sflow_receiver.c:383:20: warning: passing 'char [17]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] put128(receiver, buf); ^~~ sflow_receiver.c:165:58: note: passing argument to parameter 'val' here inline static void put128(SFLReceiver *receiver, u_char *val) ^ 1 warning generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sflow_sampler.o sflow_sampler.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o sfprobe_plugin.o sfprobe_plugin.c sfprobe_plugin.c:495:3: warning: implicit declaration of function 'pm_setproctitle' is invalid in C99 [-Wimplicit-function-declaration] pm_setproctitle("%s [%s]", "sFlow Probe Plugin", config.name); ^ 1 warning generated. ar rc libsfprobe_plugin.a sflow_agent.o sflow_poller.o sflow_receiver.o sflow_sampler.o sfprobe_plugin.o ranlib libsfprobe_plugin.a make[3]: Leaving directory `/build/pmacct-F71eDY/pmacct-0.12.1/src/sfprobe_plugin' Making all in bgp make[3]: Entering directory `/build/pmacct-F71eDY/pmacct-0.12.1/src/bgp' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp.o bgp.c bgp.c:101:12: warning: implicit declaration of function 'addr_to_sa' is invalid in C99 [-Wimplicit-function-declaration] slen = addr_to_sa((struct sockaddr *)&server, &addr, config.nfacctd_bgp_port); ^ bgp.c:145:5: warning: implicit declaration of function 'sa_to_addr' is invalid in C99 [-Wimplicit-function-declaration] sa_to_addr(&server, &srv_addr, &srv_port); ^ bgp.c:146:5: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(srv_string, &srv_addr); ^ bgp.c:180:49: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] fd = accept(sock, (struct sockaddr *) &client, &clen); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ bgp.c:184:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] peer->fd = accept(sock, (struct sockaddr *) &client, &clen); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ bgp.c:286:4: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] realloc(peer->buf.base, BGP_MAX_PACKET_SIZE); ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgp.c:615:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] withdraw.nlri = pkt; ^ ~~~ bgp.c:640:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] update.nlri = pkt; ^ ~~~ bgp.c:814:66: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] else attr->ecommunity = (struct ecommunity *) ecommunity_parse(ptr, len); ^~~ ./bgp_ecommunity.h:76:52: note: passing argument to parameter here EXT struct ecommunity *ecommunity_parse (u_int8_t *, u_short); ^ bgp.c:902:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mp_update->nlri = ptr; ^ ~~~ bgp.c:927:21: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mp_withdraw->nlri = ptr; ^ ~~~ bgp.c:1252:61: warning: incompatible pointer types passing 'int (void *, void *)' to parameter of type 'int (*)(const void *, const void *)' [-Wincompatible-pointer-types] attrhash = (struct hash *) hash_create(attrhash_key_make, attrhash_cmp); ^~~~~~~~~~~~ ./bgp_hash.h:62:64: note: passing argument to parameter here EXT struct hash *hash_create (unsigned int (*) (void *), int (*) (const void *, const void *)); ^ bgp.c:1582:10: warning: implicit declaration of function 'sa_addr_cmp' is invalid in C99 [-Wimplicit-function-declaration] if (!sa_addr_cmp(sa, &peers[peers_idx].addr)) { ^ bgp.c:1698:9: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] char *saved_agent = pptrs->f_agent; ^ ~~~~~~~~~~~~~~ bgp.c:1759:26: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->f_agent = (char *) &sa_local; ^ ~~~~~~~~~~~~~~~~~~ bgp.c:1783:26: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->f_agent = (char *) &sa_local; ^ ~~~~~~~~~~~~~~~~~~ bgp.c:1807:26: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->f_agent = (char *) &sa_local; ^ ~~~~~~~~~~~~~~~~~~ bgp.c:1823:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->f_agent = saved_agent; ^ ~~~~~~~~~~~ 18 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_aspath.o bgp_aspath.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_community.o bgp_community.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_ecommunity.o bgp_ecommunity.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_hash.o bgp_hash.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_prefix.o bgp_prefix.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I.. -O2 -I/usr/include/postgresql -c -o bgp_table.o bgp_table.c ar rc libbgp.a bgp.o bgp_aspath.o bgp_community.o bgp_ecommunity.o bgp_hash.o bgp_prefix.o bgp_table.o ranlib libbgp.a make[3]: Leaving directory `/build/pmacct-F71eDY/pmacct-0.12.1/src/bgp' make[3]: Entering directory `/build/pmacct-F71eDY/pmacct-0.12.1/src' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c pmacct.c pmacct.c:776:17: warning: implicit declaration of function 'string_etheraddr' is invalid in C99 [-Wimplicit-function-declaration] res = string_etheraddr(match_string_token, ethaddr); ^ pmacct.c:1145:4: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(acc_elem->primitives.eth_shost, ethernet_address); ^ pmacct.c:1269:11: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(ip_address, &pbgp->peer_src_ip); ^ pmacct.c:1346:22: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", acc_elem->pkt_num); ~~~~~^ ~~~~~~~~~~~~~~~~~ %-10u pmacct.c:1349:17: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", acc_elem->flo_num); ~~~~~^ ~~~~~~~~~~~~~~~~~ %-10u pmacct.c:1351:19: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%lu\n", acc_elem->pkt_len); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1416:43: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (which_counter == 0) printf("%lu\n", acc_elem->pkt_len); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1417:48: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 1) printf("%lu\n", acc_elem->pkt_num); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1418:48: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1418:52: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1418:56: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1418:60: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start); ~~^ ~~~~~~~~~~~~~~~~~~~~ %u pmacct.c:1419:48: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 3) printf("%lu\n", acc_elem->flo_num); ~~^ ~~~~~~~~~~~~~~~~~ %u pmacct.c:1431:41: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] if (which_counter == 0) printf("%lu\n", bcnt); ~~^ ~~~~ %u pmacct.c:1432:46: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 1) printf("%lu\n", pcnt); ~~^ ~~~~ %u pmacct.c:1433:46: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", pcnt, bcnt, fcnt, num_counters); ~~^ ~~~~ %u pmacct.c:1433:50: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", pcnt, bcnt, fcnt, num_counters); ~~^ ~~~~ %u pmacct.c:1433:54: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", pcnt, bcnt, fcnt, num_counters); ~~^ ~~~~ %u pmacct.c:1433:58: warning: conversion specifies type 'unsigned long' but the argument has type 'int' [-Wformat] else if (which_counter == 2) printf("%lu %lu %lu %lu\n", pcnt, bcnt, fcnt, num_counters); ~~^ ~~~~~~~~~~~~ %d pmacct.c:1434:46: warning: conversion specifies type 'unsigned long' but the argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] else if (which_counter == 3) printf("%lu\n", fcnt); ~~^ ~~~~ %u pmacct.c:1522:65: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("ERROR: Counter sizes mismatch: daemon: %d client: %d\n", qh->cnt_sz*8, sizeof(acc_elem->pkt_len)*8); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu pmacct.c:1529:68: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("ERROR: IP address sizes mismatch. daemon: %d client: %d\n", qh->ip_sz, sizeof(acc_elem->primitives.src_ip)); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu 22 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c strlcpy.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c addr.c gcc -O2 -I/usr/include/postgresql -Wl,--export-dynamic -o pmacct pmacct.o strlcpy.o addr.o -lmysqlclient -lpcap -lpq -lsqlite3 -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c pmmyplay.c pmmyplay.c:107:3: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(data->eth_shost, src_mac); ^ pmmyplay.c:116:3: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(src_host, &data->src_ip); ^ pmmyplay.c:135:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->packet_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmmyplay.c:136:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->flows_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmmyplay.c:137:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->bytes_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmmyplay.c:145:19: warning: conversion specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] else printf("%u\n", cache_elem->basetime); ~^ ~~~~~~~~~~~~~~~~~~~~ %ld pmmyplay.c:428:73: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmmyplay.c:428:78: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmmyplay.c:428:83: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmmyplay.c:429:62: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmmyplay.c:429:67: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u 11 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c sql_handlers.c sql_handlers.c:53:3: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(ubuf, sbuf); ^ sql_handlers.c:87:3: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(ptr, &cache_elem->primitives.src_ip); ^ 2 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c log_templates.c gcc -O2 -I/usr/include/postgresql -Wl,--export-dynamic -o pmmyplay pmmyplay.o strlcpy.o sql_handlers.o log_templates.o addr.o -lmysqlclient -lpcap -lpq -lsqlite3 -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c pmpgplay.c pmpgplay.c:108:3: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(data->eth_shost, src_mac); ^ pmpgplay.c:117:3: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(src_host, &data->src_ip); ^ pmpgplay.c:136:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->packet_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmpgplay.c:137:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->flows_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmpgplay.c:138:16: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] printf("%-10lu ", cache_elem->bytes_counter); ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %-10u pmpgplay.c:146:19: warning: conversion specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] else printf("%u\n", cache_elem->basetime); ~^ ~~~~~~~~~~~~~~~~~~~~ %ld pmpgplay.c:342:10: warning: implicit declaration of function 'PG_DB_Connect2' is invalid in C99 [-Wimplicit-function-declaration] if (!PG_DB_Connect2(&p)) { ^ pmpgplay.c:435:73: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmpgplay.c:435:78: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmpgplay.c:435:83: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] if (have_flows) snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->flows_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmpgplay.c:436:62: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pmpgplay.c:436:67: warning: conversion specifies type 'unsigned long' but the argument has type 'pm_counter_t' (aka 'unsigned int') [-Wformat] else snprintf(ptr_values, SPACELEFT(values_clause), ", %lu, %lu)", cache_elem->packet_counter, cache_elem->bytes_counter); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %u 12 warnings generated. gcc -O2 -I/usr/include/postgresql -Wl,--export-dynamic -o pmpgplay pmpgplay.o strlcpy.o sql_handlers.o log_templates.o addr.o -lmysqlclient -lpcap -lpq -lsqlite3 -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c pmacctd.c pmacctd.c:323:3: warning: implicit declaration of function 'initsetproctitle' is invalid in C99 [-Wimplicit-function-declaration] initsetproctitle(argc, argv, envp); ^ pmacctd.c:488:2: warning: implicit declaration of function 'bgp_config_checks' is invalid in C99 [-Wimplicit-function-declaration] bgp_config_checks(&list->cfg); ^ pmacctd.c:499:5: warning: implicit declaration of function 'init_classifiers' is invalid in C99 [-Wimplicit-function-declaration] init_classifiers(config.classifiers_path); ^ pmacctd.c:500:5: warning: implicit declaration of function 'init_conntrack_table' is invalid in C99 [-Wimplicit-function-declaration] init_conntrack_table(); ^ pmacctd.c:555:73: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(pcap_fileno(device.dev_desc), SOL_SOCKET, SO_RCVBUF, &x, &slen); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ pmacctd.c:698:3: warning: implicit declaration of function 'pm_setproctitle' is invalid in C99 [-Wimplicit-function-declaration] pm_setproctitle("%s [%s]", "Core Process", "default"); ^ 6 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c signals.c signals.c:63:9: warning: implicit declaration of function 'delete_pipe_channel' is invalid in C99 [-Wimplicit-function-declaration] delete_pipe_channel(list->pipe[1]); ^ signals.c:116:3: warning: implicit declaration of function 'fill_pipe_buffer' is invalid in C99 [-Wimplicit-function-declaration] fill_pipe_buffer(); ^ 2 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c util.c util.c:82:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (delim_ptr = strchr(*string, delim)) { ~~~~~~~~~~^~~~~~~~ util.c:82:17: note: place parentheses around the assignment to silence this warning if (delim_ptr = strchr(*string, delim)) { ^ ( ) util.c:82:17: note: use '==' to turn this assignment into an equality comparison if (delim_ptr = strchr(*string, delim)) { ^ == util.c:403:27: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(fname, 0, sizeof(fname)); ~~~~~ ^~~~~ util.c:454:9: warning: implicit declaration of function 'flock' is invalid in C99 [-Wimplicit-function-declaration] ret = flock(fd, LOCK_EX); ^ util.c:553:41: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(s, level, optname, &saved, &len); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ util.c:738:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ util.c:983:14: warning: implicit declaration of function 'ip6_addr_cmp' is invalid in C99 [-Wimplicit-function-declaration] if (!ip6_addr_cmp(&(((struct sockaddr_in6 *)sa)->sin6_addr), &allow->table[index].address.ipv6)) ^ 6 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c plugin_hooks.c plugin_hooks.c:84:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(list->pipe[0], SOL_SOCKET, SO_RCVBUF, &v, &l); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ plugin_hooks.c:86:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(list->pipe[1], SOL_SOCKET, SO_SNDBUF, &v, &l); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ plugin_hooks.c:125:62: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(list->pipe[0], SOL_SOCKET, SO_RCVBUF, &v, &l); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ plugin_hooks.c:127:62: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockopt(list->pipe[1], SOL_SOCKET, SO_SNDBUF, &v, &l); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:192:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ plugin_hooks.c:196:60: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (evaluate_filters(&channels_list[index].agg_filter, pptrs->packet_ptr, pptrs->pkthdr) && ^~~~~~~~~~~~~~~~~ ./plugin_hooks.h:105:59: note: passing argument to parameter here EXT int evaluate_filters(struct aggregate_filter *, char *, struct pcap_pkthdr *); ^ plugin_hooks.c:487:52: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (bpf_filter(filter->table[index]->bf_insns, pkt, pkthdr->len, pkthdr->caplen)) return TRUE; ^~~ /usr/include/pcap/pcap.h:413:57: note: passing argument to parameter here u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); ^ 6 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c server.c server.c:115:6: warning: implicit declaration of function 'cache_to_pkt_bgp_primitives' is invalid in C99 [-Wimplicit-function-declaration] cache_to_pkt_bgp_primitives(&tmp_pbgp, acc_elem->cbgp); ^ 1 warning generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c acct.c acct.c:71:7: warning: implicit declaration of function 'cache_to_pkt_bgp_primitives' is invalid in C99 [-Wimplicit-function-declaration] cache_to_pkt_bgp_primitives(&tmp_pbgp, elem->cbgp); ^ acct.c:190:9: warning: implicit declaration of function 'pkt_to_cache_bgp_primitives' is invalid in C99 [-Wimplicit-function-declaration] pkt_to_cache_bgp_primitives(elem_acc->cbgp, pbgp, config.what_to_count); ^ 2 warnings generated. gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c memory.c gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.12.1\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -I. -I. -O2 -I/usr/include/postgresql -c ll.c ll.c:117:5: error: non-void function 'mpls_handler' should return a value [-Wreturn-type] return; ^ ll.c:441:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pptrs->mac_ptr = (char *) sll_mac; ^ ~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[3]: *** [ll.o] Error 1 make[3]: Leaving directory `/build/pmacct-F71eDY/pmacct-0.12.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/pmacct-F71eDY/pmacct-0.12.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/pmacct-F71eDY/pmacct-0.12.1' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120113-0159 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64b-e6768975-619d-400b-be4f-62e843d36aec/build/pmacct-F71eDY Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 4408 Build-Time: 12 Distribution: lsid64b Fail-Stage: build Install-Time: 8 Job: pmacct_0.12.1-1 Package: pmacct Package-Time: 33 Source-Version: 0.12.1-1 Space: 4408 Status: attempted Version: 0.12.1-1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120113-0159 Build needed 00:00:33, 4408k disc space DC-Build-Status: Failed 234.090258s ### Content of /var/log/daemon.log ### Jan 13 00:11:49 stremi-44 approx: Nethttpd: Broken pipe Jan 13 00:11:49 stremi-44 approx: Nethttpd: Broken pipe Jan 13 01:43:28 stremi-44 approx: Concurrent download of debian/pool/main/t/tipa/tipa_1.3-15_all.deb is taking too long Jan 13 01:43:33 stremi-44 approx: Nethttpd: Broken pipe Jan 13 01:43:33 stremi-44 approx: Nethttpd: Broken pipe ### End of content of /var/log/daemon.log ### DC-Time-Estimation: 234.090258 versus expected 51 (r/m: 3.59000505882353 ; m: 51.0) DC-Build-Network: USED. See /tmp/rulesafter.J2zNE0 ! ************************************************************ # Generated by iptables-save v1.4.8 on Fri Jan 13 01:59:39 2012 *filter :INPUT ACCEPT [3379341:19296607910] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] :LD - [0:0] [1403367:16262718195] -A OUTPUT -o lo -j ACCEPT [0:0] -A OUTPUT -d 129.88.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 10.0.0.0/8 -j ACCEPT [0:0] -A OUTPUT -d 192.168.133.0/24 -j ACCEPT [0:0] -A OUTPUT -d 192.168.159.0/24 -j ACCEPT [0:0] -A OUTPUT -d 192.168.160.0/24 -j ACCEPT [0:0] -A OUTPUT -d 10.69.0.0/17 -j ACCEPT [0:0] -A OUTPUT -d 172.28.52.0/22 -j ACCEPT [0:0] -A OUTPUT -d 172.24.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 131.254.202.0/23 -j ACCEPT [0:0] -A OUTPUT -d 138.96.20.0/22 -j ACCEPT [0:0] -A OUTPUT -d 192.168.22.0/24 -j ACCEPT [274454:104752335] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT [35538:4717648] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT [4:240] -A OUTPUT -j LD [4:240] -A LD -j LOG [4:240] -A LD -j REJECT --reject-with icmp-port-unreachable COMMIT # Completed on Fri Jan 13 01:59:39 2012 ************************************************************ --- /tmp/rulesbefore.yK0Q1H 2012-01-13 01:55:45.117537116 +0100 +++ /tmp/rulesafter.J2zNE0 2012-01-13 01:59:39.217627656 +0100 @@ -1,10 +1,10 @@ -# Generated by iptables-save v1.4.8 on Fri Jan 13 01:55:45 2012 +# Generated by iptables-save v1.4.8 on Fri Jan 13 01:59:39 2012 *filter -:INPUT ACCEPT [3286868:18637224909] +:INPUT ACCEPT [3379341:19296607910] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] :LD - [0:0] -[1337133:15633939486] -A OUTPUT -o lo -j ACCEPT +[1403367:16262718195] -A OUTPUT -o lo -j ACCEPT [0:0] -A OUTPUT -d 129.88.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 10.0.0.0/8 -j ACCEPT [0:0] -A OUTPUT -d 192.168.133.0/24 -j ACCEPT @@ -16,11 +16,11 @@ [0:0] -A OUTPUT -d 131.254.202.0/23 -j ACCEPT [0:0] -A OUTPUT -d 138.96.20.0/22 -j ACCEPT [0:0] -A OUTPUT -d 192.168.22.0/24 -j ACCEPT -[268939:102681995] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT +[274454:104752335] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT -[35062:4654124] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT +[35538:4717648] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT [4:240] -A OUTPUT -j LD [4:240] -A LD -j LOG [4:240] -A LD -j REJECT --reject-with icmp-port-unreachable COMMIT -# Completed on Fri Jan 13 01:55:45 2012 +# Completed on Fri Jan 13 01:59:39 2012 ************************************************************ [11645.842943] Call Trace: [11645.845715] [] ? cfq_dispatch_requests+0x106/0x420 [11645.860045] [] ? cfq_may_queue+0x59/0xd7 [11645.866321] [] ? read_tsc+0xa/0x20 [11645.872012] [] ? get_request+0x7e/0x2ba [11645.878189] [] ? io_schedule+0x73/0xb7 [11645.884271] [] ? get_request_wait+0xf0/0x188 [11645.890934] [] ? autoremove_wake_function+0x0/0x2e [11645.898181] [] ? __make_request+0x2f7/0x428 [11645.904746] [] ? generic_make_request+0x299/0x2f9 [11645.911896] [] ? submit_bio+0xd6/0xf2 [11645.917880] [] ? end_swap_bio_read+0x0/0x60 [11645.924445] [] ? bio_alloc+0x10/0x1f [11645.930329] [] ? get_swap_bio+0x4a/0x9a [11645.936508] [] ? swap_readpage+0x4f/0x53 [11645.942782] [] ? read_swap_cache_async+0xb3/0xf3 [11645.949828] [] ? swapin_readahead+0x57/0x98 [11645.956398] [] ? handle_mm_fault+0x6da/0x80f [11645.963063] [] ? handle_mm_fault+0x47f/0x80f [11645.969727] [] ? do_page_fault+0x2e0/0x2fc [11645.976197] [] ? do_page_fault+0x2e0/0x2fc [11645.982666] [] ? page_fault+0x25/0x30 [11645.988651] [] ? do_notify_resume+0x313/0x73f [11645.995414] [] ? do_notify_resume+0x289/0x73f [11646.002177] [] ? sys_wait4+0xa0/0xb0 [11646.008062] [] ? int_signal+0x12/0x17 [11646.014046] INFO: task x86_64-linux-gn:23742 blocked for more than 120 seconds. [11646.022289] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [11646.031116] x86_64-linux- D 0000000000000000 0 23742 23706 0x00000000 [11646.038872] ffff88033e4e7100 0000000000000082 0000000000000000 ffff880b51a7e150 [11646.047257] ffff880c3d47c800 ffffffff8118b96e 000000000000f9e0 ffff8805f72abfd8 [11646.055644] 0000000000015780 0000000000015780 ffff8805fd5f46a0 ffff8805fd5f4998 [11646.064033] Call Trace: [11646.066805] [] ? cfq_dispatch_requests+0x106/0x420 [11646.074059] [] ? get_request+0x7e/0x2ba [11646.080236] [] ? io_schedule+0x73/0xb7 [11646.086317] [] ? get_request_wait+0xf0/0x188 [11646.092973] [] ? autoremove_wake_function+0x0/0x2e [11646.100219] [] ? __make_request+0x2f7/0x428 [11646.106786] [] ? generic_make_request+0x299/0x2f9 [11646.113935] [] ? submit_bio+0xd6/0xf2 [11646.119918] [] ? end_swap_bio_read+0x0/0x60 [11646.126483] [] ? bio_alloc+0x10/0x1f [11646.132370] [] ? get_swap_bio+0x4a/0x9a [11646.138547] [] ? swap_readpage+0x4f/0x53 [11646.144814] [] ? read_swap_cache_async+0xb3/0xf3 [11646.151866] [] ? swapin_readahead+0x57/0x98 [11646.158433] [] ? handle_mm_fault+0x47f/0x80f [11646.165097] [] ? do_page_fault+0x2e0/0x2fc [11646.171566] [] ? page_fault+0x25/0x30 ************************************************************