DC-Build-Header: uanytun 0.3.3-1 / Fri Jan 13 03:49:31 +0100 2012
sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on stremi-18.reims.grid5000.fr

╔══════════════════════════════════════════════════════════════════════════════╗
║ uanytun 0.3.3-1 (amd64)                                    13 Jan 2012 03:49 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: uanytun
Version: 0.3.3-1
Source Version: 0.3.3-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 6s (2780 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...
NOTICE: 'uanytun' packaging is maintained in the 'Git' version control system at:
git://git.grml.org/uanytun.git
Need to get 58.0 kB of source archives.
Get:1 http://localhost/debian/ sid/main uanytun 0.3.3-1 (dsc) [1067 B]
Get:2 http://localhost/debian/ sid/main uanytun 0.3.3-1 (tar) [53.7 kB]
Get:3 http://localhost/debian/ sid/main uanytun 0.3.3-1 (diff) [3252 B]
Fetched 58.0 kB in 0s (4745 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/uanytun-D7Ri8z/resolver-ZRnEo0/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-03d29868-69ea-47ca-9c67-a050fcc2af52/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 (>= 5), libgcrypt11-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 (>= 5), libgcrypt11-dev
dpkg-deb: building package `sbuild-build-depends-uanytun-dummy' in `/build/uanytun-D7Ri8z/resolver-WMPA7j/apt_archive/sbuild-build-depends-uanytun-dummy.deb'.
OK
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install uanytun 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 debhelper file gettext gettext-base groff-base html2text
  intltool-debian libcroco3 libgcrypt11 libgcrypt11-dev libglib2.0-0
  libgpg-error-dev libgpg-error0 libmagic1 libpcre3 libpipeline1 libunistring0
  libxml2 man-db po-debconf
Suggested packages:
  wamerican wordlist whois vacation dh-make gettext-doc groff rng-tools
  libgcrypt11-doc www-browser libmail-box-perl
Recommended packages:
  curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core
  libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils debhelper file gettext gettext-base groff-base html2text
  intltool-debian libcroco3 libgcrypt11 libgcrypt11-dev libglib2.0-0
  libgpg-error-dev libgpg-error0 libmagic1 libpcre3 libpipeline1 libunistring0
  libxml2 man-db po-debconf sbuild-build-depends-uanytun-dummy
0 upgraded, 22 newly installed, 0 to remove and 10 not upgraded.
Need to get 10.3 MB/10.3 MB of archives.
After this operation, 28.3 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libpipeline1 libgpg-error0 libgcrypt11 libpcre3 libglib2.0-0 libxml2
  libcroco3 libunistring0 bsdmainutils groff-base man-db libmagic1 file
  gettext-base html2text gettext intltool-debian po-debconf debhelper
  libgpg-error-dev libgcrypt11-dev sbuild-build-depends-uanytun-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 libgpg-error0 amd64 1.10-2 [66.8 kB]
Get:3 http://localhost/debian/ sid/main libgcrypt11 amd64 1.5.0-3 [298 kB]
Get:4 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB]
Get:5 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.30.2-4 [1844 kB]
Get:6 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-5.1 [891 kB]
Get:7 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-2 [122 kB]
Get:8 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB]
Get:9 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB]
Get:10 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB]
Get:11 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-3 [1015 kB]
Get:12 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB]
Get:13 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB]
Get:14 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-5 [154 kB]
Get:15 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB]
Get:16 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-5 [2080 kB]
Get:17 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB]
Get:18 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB]
Get:19 http://localhost/debian/ sid/main debhelper all 8.9.14 [693 kB]
Get:20 http://localhost/debian/ sid/main libgpg-error-dev amd64 1.10-2 [43.0 kB]
Get:21 http://localhost/debian/ sid/main libgcrypt11-dev amd64 1.5.0-3 [402 kB]
Preconfiguring packages ...
Fetched 10.3 MB in 0s (41.3 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 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 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 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 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 libgpg-error-dev.
Unpacking libgpg-error-dev (from .../libgpg-error-dev_1.10-2_amd64.deb) ...
Selecting previously unselected package libgcrypt11-dev.
Unpacking libgcrypt11-dev (from .../libgcrypt11-dev_1.5.0-3_amd64.deb) ...
Selecting previously unselected package sbuild-build-depends-uanytun-dummy.
Unpacking sbuild-build-depends-uanytun-dummy (from .../sbuild-build-depends-uanytun-dummy.deb) ...
Processing triggers for install-info ...
Setting up libpipeline1 (1.2.0-5) ...
Setting up libgpg-error0 (1.10-2) ...
Setting up libgcrypt11 (1.5.0-3) ...
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 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 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 libgpg-error-dev (1.10-2) ...
Setting up libgcrypt11-dev (1.5.0-3) ...
Setting up sbuild-build-depends-uanytun-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 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 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 libgcrypt11-dev_1.5.0-3 libgdbm3_1.8.3-10 libglib2.0-0_2.30.2-4 libgmp10_2:5.0.2+dfsg-2 libgomp1_4.6.2-9 libgpg-error-dev_1.10-2 libgpg-error0_1.10-2 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 libncurses5_5.9-4 libncursesw5_5.9-4 libpam-modules_1.1.3-6 libpam-modules-bin_1.1.3-6 libpam-runtime_1.1.3-6 libpam0g_1.1.3-6 libpcre3_8.12-4 libpipeline1_1.2.0-5 libquadmath0_4.6.2-9 libreadline6_6.2-8 libselinux1_2.1.0-4 libsepol1_2.1.0-1.2 libslang2_2.2.4-5 libss2_1.42-1 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 libswitch-perl_2.16-2 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 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-uanytun-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

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build                                                                        │
└──────────────────────────────────────────────────────────────────────────────┘


Unpack source
─────────────

gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Wed Feb 17 03:16:12 2010 CET using DSA key ID 37E272E8
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./uanytun_0.3.3-1.dsc
dpkg-source: info: extracting uanytun in uanytun-0.3.3
dpkg-source: info: unpacking uanytun_0.3.3.orig.tar.gz
dpkg-source: info: applying uanytun_0.3.3-1.diff.gz
dpkg-source: info: upstream files that have been modified: 
 uanytun-0.3.3/etc/init.d/uanytun

Check disc space
────────────────

Sufficient free space for build

dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package uanytun
dpkg-buildpackage: source version 0.3.3-1
 dpkg-source --before-build uanytun-0.3.3
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make --directory=/build/uanytun-D7Ri8z/uanytun-0.3.3/src distclean
make[1]: Entering directory `/build/uanytun-D7Ri8z/uanytun-0.3.3/src'
rm -f *.o
rm -f *.d
rm -f *.d.*
rm -f uanytun
/usr/bin/make --directory="../doc/" clean
make[2]: Entering directory `/build/uanytun-D7Ri8z/uanytun-0.3.3/doc'
rm -f uanytun.8.xml
make[2]: Leaving directory `/build/uanytun-D7Ri8z/uanytun-0.3.3/doc'
find . -name *.o -exec rm -f {} \;
find . -name "*.\~*" -exec rm -rf {} \;
rm -f include.mk
rm -f version.h
rm -f tun.c
make[1]: Leaving directory `/build/uanytun-D7Ri8z/uanytun-0.3.3/src'
dh_clean
 dpkg-source -b uanytun-0.3.3
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building uanytun using existing uanytun_0.3.3.orig.tar.gz
dpkg-source: info: building uanytun in uanytun_0.3.3-1.diff.gz
dpkg-source: warning: the diff modifies the following upstream files: 
 etc/init.d/uanytun
dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: info: building uanytun in uanytun_0.3.3-1.dsc
 debian/rules build
dh_testdir
cd src && ./configure --no-manpage --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/uanytun/examples && cd ..
loading Linux specific TUN Device
using libgcrypt library
not installing manpage
installing example files
touch configure-stamp
dh_testdir
cd src && /usr/bin/make && cd ..
make[1]: Entering directory `/build/uanytun-D7Ri8z/uanytun-0.3.3/src'
(re)building auth_algo.d
(re)building key_derivation.d
(re)building uanytun.d
(re)building cipher.d
(re)building seq_window.d
(re)building encrypted_packet.d
(re)building plain_packet.d
(re)building udp.d
(re)building tun.d
(re)building options.d
(re)building sysexec.d
(re)building sig_handler.d
(re)building string_list.d
(re)building log.d
make[1]: Leaving directory `/build/uanytun-D7Ri8z/uanytun-0.3.3/src'
make[1]: Entering directory `/build/uanytun-D7Ri8z/uanytun-0.3.3/src'
gcc -g -O2 -c log.c
log.c:119:7: warning: implicit declaration of function 'isdigit' is invalid in C99 [-Wimplicit-function-declaration]
  if(!isdigit(prioptr[0]) || (prioptr[1] != 0 && prioptr[1] != ',')) {
      ^
log.c:249:15: warning: initializing 'u_int8_t *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    u_int8_t* ptr = &msg[offset];
              ^     ~~~~~~~~~~~~
log.c:254:16: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      snprintf(ptr, 3, "%02X ", buf[i]);
               ^~~
/usr/include/stdio.h:383:39: note: passing argument to parameter '__s' here
extern int snprintf (char *__restrict __s, size_t __maxlen,
                                      ^
3 warnings generated.
gcc -g -O2 -c string_list.c
gcc -g -O2 -c sig_handler.c
sig_handler.c:65:71: warning: implicitly declaring C library function 'strerror' with type 'char *(int)'
    log_printf(ERROR, "signal handling init failed (pipe error: %s)", strerror(errno));
                                                                      ^
sig_handler.c:65:71: note: please include the header <string.h> or explicitly provide a declaration for 'strerror'
1 warning generated.
gcc -g -O2 -c sysexec.c
sysexec.c:56:6: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration]
  if(pipe(pipefd) == -1) {
     ^
sysexec.c:62:9: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
  pid = fork();
        ^
sysexec.c:70:13: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration]
    for (fd=getdtablesize();fd>=0;--fd) // close all file descriptors
            ^
sysexec.c:71:27: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
      if(fd != pipefd[1]) close(fd);
                          ^
sysexec.c:77:10: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration]
      if(dup(fd) == -1)   // stdout
         ^
sysexec.c:82:5: warning: implicit declaration of function 'execve' is invalid in C99 [-Wimplicit-function-declaration]
    execve(script, argv, evp);
    ^
sysexec.c:86:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
    write(pipefd[1], (void*)(&errno), sizeof(errno));
    ^
sysexec.c:100:8: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    if(read(pipefd[0], (void*)(&err), sizeof(err)) >= sizeof(err)) {
       ^
8 warnings generated.
gcc -g -O2 -c options.c
gcc -g -O2 -c tun.c
tun.c:119:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tun.c:195:3: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
  asprintf(&mtu_str, "%d", dev->mtu_);
  ^
2 warnings generated.
gcc -g -O2 -c udp.c
udp.c:260:5: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
    asprintf(&ret, "unknown address type");
    ^
udp.c:261:5: error: non-void function 'udp_endpoint_to_string' should return a value [-Wreturn-type]
    return ;
    ^
1 warning and 1 error generated.
make[1]: *** [udp.o] Error 1
make[1]: Leaving directory `/build/uanytun-D7Ri8z/uanytun-0.3.3/src'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120113-0349

Finished
────────

E: Build failure (dpkg-buildpackage died)

┌──────────────────────────────────────────────────────────────────────────────┐
│ Cleanup                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Purging /var/lib/schroot/mount/lsid64b-03d29868-69ea-47ca-9c67-a050fcc2af52/build/uanytun-D7Ri8z
Not cleaning session: cloned chroot in use

┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Architecture: amd64
Build-Space: 636
Build-Time: 3
Distribution: lsid64b
Fail-Stage: build
Install-Time: 7
Job: uanytun_0.3.3-1
Package: uanytun
Package-Time: 25
Source-Version: 0.3.3-1
Space: 636
Status: attempted
Version: 0.3.3-1
────────────────────────────────────────────────────────────────────────────────
Finished at 20120113-0349
Build needed 00:00:25, 636k disc space
DC-Message: Failed, but took only 27.073398. Retrying, you never know.
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-18.reims.grid5000.fr

╔══════════════════════════════════════════════════════════════════════════════╗
║ uanytun 0.3.3-1 (amd64)                                    13 Jan 2012 03:50 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: uanytun
Version: 0.3.3-1
Source Version: 0.3.3-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 5s (3127 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...
NOTICE: 'uanytun' packaging is maintained in the 'Git' version control system at:
git://git.grml.org/uanytun.git
Need to get 58.0 kB of source archives.
Get:1 http://localhost/debian/ sid/main uanytun 0.3.3-1 (dsc) [1067 B]
Get:2 http://localhost/debian/ sid/main uanytun 0.3.3-1 (tar) [53.7 kB]
Get:3 http://localhost/debian/ sid/main uanytun 0.3.3-1 (diff) [3252 B]
Fetched 58.0 kB in 0s (4998 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/uanytun-LLELDj/resolver-hw1DMB/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-e96fecf7-6b29-4418-9a63-74b2d1e25cff/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 (>= 5), libgcrypt11-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 (>= 5), libgcrypt11-dev
dpkg-deb: building package `sbuild-build-depends-uanytun-dummy' in `/build/uanytun-LLELDj/resolver-JRBOLL/apt_archive/sbuild-build-depends-uanytun-dummy.deb'.
OK
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install uanytun 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 debhelper file gettext gettext-base groff-base html2text
  intltool-debian libcroco3 libgcrypt11 libgcrypt11-dev libglib2.0-0
  libgpg-error-dev libgpg-error0 libmagic1 libpcre3 libpipeline1 libunistring0
  libxml2 man-db po-debconf
Suggested packages:
  wamerican wordlist whois vacation dh-make gettext-doc groff rng-tools
  libgcrypt11-doc www-browser libmail-box-perl
Recommended packages:
  curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core
  libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils debhelper file gettext gettext-base groff-base html2text
  intltool-debian libcroco3 libgcrypt11 libgcrypt11-dev libglib2.0-0
  libgpg-error-dev libgpg-error0 libmagic1 libpcre3 libpipeline1 libunistring0
  libxml2 man-db po-debconf sbuild-build-depends-uanytun-dummy
0 upgraded, 22 newly installed, 0 to remove and 10 not upgraded.
Need to get 10.3 MB/10.3 MB of archives.
After this operation, 28.3 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libpipeline1 libgpg-error0 libgcrypt11 libpcre3 libglib2.0-0 libxml2
  libcroco3 libunistring0 bsdmainutils groff-base man-db libmagic1 file
  gettext-base html2text gettext intltool-debian po-debconf debhelper
  libgpg-error-dev libgcrypt11-dev sbuild-build-depends-uanytun-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 libgpg-error0 amd64 1.10-2 [66.8 kB]
Get:3 http://localhost/debian/ sid/main libgcrypt11 amd64 1.5.0-3 [298 kB]
Get:4 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB]
Get:5 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.30.2-4 [1844 kB]
Get:6 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-5.1 [891 kB]
Get:7 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-2 [122 kB]
Get:8 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB]
Get:9 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB]
Get:10 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB]
Get:11 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-3 [1015 kB]
Get:12 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB]
Get:13 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB]
Get:14 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-5 [154 kB]
Get:15 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB]
Get:16 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-5 [2080 kB]
Get:17 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB]
Get:18 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB]
Get:19 http://localhost/debian/ sid/main debhelper all 8.9.14 [693 kB]
Get:20 http://localhost/debian/ sid/main libgpg-error-dev amd64 1.10-2 [43.0 kB]
Get:21 http://localhost/debian/ sid/main libgcrypt11-dev amd64 1.5.0-3 [402 kB]
Preconfiguring packages ...
Fetched 10.3 MB in 0s (41.8 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 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 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 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 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 libgpg-error-dev.
Unpacking libgpg-error-dev (from .../libgpg-error-dev_1.10-2_amd64.deb) ...
Selecting previously unselected package libgcrypt11-dev.
Unpacking libgcrypt11-dev (from .../libgcrypt11-dev_1.5.0-3_amd64.deb) ...
Selecting previously unselected package sbuild-build-depends-uanytun-dummy.
Unpacking sbuild-build-depends-uanytun-dummy (from .../sbuild-build-depends-uanytun-dummy.deb) ...
Processing triggers for install-info ...
Setting up libpipeline1 (1.2.0-5) ...
Setting up libgpg-error0 (1.10-2) ...
Setting up libgcrypt11 (1.5.0-3) ...
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 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 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 libgpg-error-dev (1.10-2) ...
Setting up libgcrypt11-dev (1.5.0-3) ...
Setting up sbuild-build-depends-uanytun-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 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 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 libgcrypt11-dev_1.5.0-3 libgdbm3_1.8.3-10 libglib2.0-0_2.30.2-4 libgmp10_2:5.0.2+dfsg-2 libgomp1_4.6.2-9 libgpg-error-dev_1.10-2 libgpg-error0_1.10-2 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 libncurses5_5.9-4 libncursesw5_5.9-4 libpam-modules_1.1.3-6 libpam-modules-bin_1.1.3-6 libpam-runtime_1.1.3-6 libpam0g_1.1.3-6 libpcre3_8.12-4 libpipeline1_1.2.0-5 libquadmath0_4.6.2-9 libreadline6_6.2-8 libselinux1_2.1.0-4 libsepol1_2.1.0-1.2 libslang2_2.2.4-5 libss2_1.42-1 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 libswitch-perl_2.16-2 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 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-uanytun-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

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build                                                                        │
└──────────────────────────────────────────────────────────────────────────────┘


Unpack source
─────────────

gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Wed Feb 17 03:16:12 2010 CET using DSA key ID 37E272E8
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./uanytun_0.3.3-1.dsc
dpkg-source: info: extracting uanytun in uanytun-0.3.3
dpkg-source: info: unpacking uanytun_0.3.3.orig.tar.gz
dpkg-source: info: applying uanytun_0.3.3-1.diff.gz
dpkg-source: info: upstream files that have been modified: 
 uanytun-0.3.3/etc/init.d/uanytun

Check disc space
────────────────

Sufficient free space for build

dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package uanytun
dpkg-buildpackage: source version 0.3.3-1
 dpkg-source --before-build uanytun-0.3.3
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make --directory=/build/uanytun-LLELDj/uanytun-0.3.3/src distclean
make[1]: Entering directory `/build/uanytun-LLELDj/uanytun-0.3.3/src'
rm -f *.o
rm -f *.d
rm -f *.d.*
rm -f uanytun
/usr/bin/make --directory="../doc/" clean
make[2]: Entering directory `/build/uanytun-LLELDj/uanytun-0.3.3/doc'
rm -f uanytun.8.xml
make[2]: Leaving directory `/build/uanytun-LLELDj/uanytun-0.3.3/doc'
find . -name *.o -exec rm -f {} \;
find . -name "*.\~*" -exec rm -rf {} \;
rm -f include.mk
rm -f version.h
rm -f tun.c
make[1]: Leaving directory `/build/uanytun-LLELDj/uanytun-0.3.3/src'
dh_clean
 dpkg-source -b uanytun-0.3.3
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building uanytun using existing uanytun_0.3.3.orig.tar.gz
dpkg-source: info: building uanytun in uanytun_0.3.3-1.diff.gz
dpkg-source: warning: the diff modifies the following upstream files: 
 etc/init.d/uanytun
dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: info: building uanytun in uanytun_0.3.3-1.dsc
 debian/rules build
dh_testdir
cd src && ./configure --no-manpage --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/uanytun/examples && cd ..
loading Linux specific TUN Device
using libgcrypt library
not installing manpage
installing example files
touch configure-stamp
dh_testdir
cd src && /usr/bin/make && cd ..
make[1]: Entering directory `/build/uanytun-LLELDj/uanytun-0.3.3/src'
(re)building auth_algo.d
(re)building key_derivation.d
(re)building uanytun.d
(re)building cipher.d
(re)building seq_window.d
(re)building encrypted_packet.d
(re)building plain_packet.d
(re)building udp.d
(re)building tun.d
(re)building options.d
(re)building sysexec.d
(re)building sig_handler.d
(re)building string_list.d
(re)building log.d
make[1]: Leaving directory `/build/uanytun-LLELDj/uanytun-0.3.3/src'
make[1]: Entering directory `/build/uanytun-LLELDj/uanytun-0.3.3/src'
gcc -g -O2 -c log.c
log.c:119:7: warning: implicit declaration of function 'isdigit' is invalid in C99 [-Wimplicit-function-declaration]
  if(!isdigit(prioptr[0]) || (prioptr[1] != 0 && prioptr[1] != ',')) {
      ^
log.c:249:15: warning: initializing 'u_int8_t *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    u_int8_t* ptr = &msg[offset];
              ^     ~~~~~~~~~~~~
log.c:254:16: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      snprintf(ptr, 3, "%02X ", buf[i]);
               ^~~
/usr/include/stdio.h:383:39: note: passing argument to parameter '__s' here
extern int snprintf (char *__restrict __s, size_t __maxlen,
                                      ^
3 warnings generated.
gcc -g -O2 -c string_list.c
gcc -g -O2 -c sig_handler.c
sig_handler.c:65:71: warning: implicitly declaring C library function 'strerror' with type 'char *(int)'
    log_printf(ERROR, "signal handling init failed (pipe error: %s)", strerror(errno));
                                                                      ^
sig_handler.c:65:71: note: please include the header <string.h> or explicitly provide a declaration for 'strerror'
1 warning generated.
gcc -g -O2 -c sysexec.c
sysexec.c:56:6: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration]
  if(pipe(pipefd) == -1) {
     ^
sysexec.c:62:9: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
  pid = fork();
        ^
sysexec.c:70:13: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration]
    for (fd=getdtablesize();fd>=0;--fd) // close all file descriptors
            ^
sysexec.c:71:27: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
      if(fd != pipefd[1]) close(fd);
                          ^
sysexec.c:77:10: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration]
      if(dup(fd) == -1)   // stdout
         ^
sysexec.c:82:5: warning: implicit declaration of function 'execve' is invalid in C99 [-Wimplicit-function-declaration]
    execve(script, argv, evp);
    ^
sysexec.c:86:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
    write(pipefd[1], (void*)(&errno), sizeof(errno));
    ^
sysexec.c:100:8: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    if(read(pipefd[0], (void*)(&err), sizeof(err)) >= sizeof(err)) {
       ^
8 warnings generated.
gcc -g -O2 -c options.c
gcc -g -O2 -c tun.c
tun.c:119:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tun.c:195:3: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
  asprintf(&mtu_str, "%d", dev->mtu_);
  ^
2 warnings generated.
gcc -g -O2 -c udp.c
udp.c:260:5: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
    asprintf(&ret, "unknown address type");
    ^
udp.c:261:5: error: non-void function 'udp_endpoint_to_string' should return a value [-Wreturn-type]
    return ;
    ^
1 warning and 1 error generated.
make[1]: *** [udp.o] Error 1
make[1]: Leaving directory `/build/uanytun-LLELDj/uanytun-0.3.3/src'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120113-0351

Finished
────────

E: Build failure (dpkg-buildpackage died)

┌──────────────────────────────────────────────────────────────────────────────┐
│ Cleanup                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Purging /var/lib/schroot/mount/lsid64b-e96fecf7-6b29-4418-9a63-74b2d1e25cff/build/uanytun-LLELDj
Not cleaning session: cloned chroot in use

┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Architecture: amd64
Build-Space: 636
Build-Time: 2
Distribution: lsid64b
Fail-Stage: build
Install-Time: 7
Job: uanytun_0.3.3-1
Package: uanytun
Package-Time: 23
Source-Version: 0.3.3-1
Space: 636
Status: attempted
Version: 0.3.3-1
────────────────────────────────────────────────────────────────────────────────
Finished at 20120113-0351
Build needed 00:00:23, 636k disc space
DC-Build-Status: Failed 112.301602s
### Content of /var/log/daemon.log ###
Jan 12 21:03:45 stremi-18 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.bz2 is taking too long
Jan 12 21:04:03 stremi-18 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long
Jan 12 21:04:14 stremi-18 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long
Jan 12 21:04:25 stremi-18 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long
Jan 12 21:04:40 stremi-18 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long
Jan 12 21:04:51 stremi-18 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long
Jan 12 21:04:56 stremi-18 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long
Jan 12 21:05:07 stremi-18 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long
Jan 12 21:05:27 stremi-18 approx: Concurrent download of debian/dists/sid/Release is taking too long
Jan 12 21:05:37 stremi-18 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long
Jan 12 21:05:48 stremi-18 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long
Jan 12 21:05:59 stremi-18 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long
Jan 12 21:06:21 stremi-18 approx: Concurrent download of debian/dists/sid/main/source/Sources.xz is taking too long
Jan 13 03:21:34 stremi-18 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long
Jan 13 03:31:56 stremi-18 approx: Concurrent download of debian/dists/sid/main/source/Sources.xz is taking too long
Jan 13 03:42:26 stremi-18 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en is taking too long
Jan 13 03:45:31 stremi-18 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.bz2 is taking too long
Jan 13 03:45:43 stremi-18 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.bz2 is taking too long
### End of content of /var/log/daemon.log ###
DC-Time-Estimation: 112.301602 versus expected 21 (r/m: 4.34769533333333 ; m: 21.0)
DC-Build-Network: USED. See /tmp/rulesafter.Z4z5DH !
************************************************************
# Generated by iptables-save v1.4.8 on Fri Jan 13 03:51:23 2012
*filter
:INPUT ACCEPT [23450089:56793253246]
:FORWARD ACCEPT [0:0]
:OUTPUT DROP [0:0]
:LD - [0:0]
[20522539:52299361412] -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 
[583930:183744650] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT 
[0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT 
[47622:6307196] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT 
[20:1200] -A OUTPUT -j LD 
[20:1200] -A LD -j LOG 
[20:1200] -A LD -j REJECT --reject-with icmp-port-unreachable 
COMMIT
# Completed on Fri Jan 13 03:51:23 2012
************************************************************
--- /tmp/rulesbefore.iFKT4U	2012-01-13 03:49:31.649458128 +0100
+++ /tmp/rulesafter.Z4z5DH	2012-01-13 03:51:23.961874585 +0100
@@ -1,10 +1,10 @@
-# Generated by iptables-save v1.4.8 on Fri Jan 13 03:49:31 2012
+# Generated by iptables-save v1.4.8 on Fri Jan 13 03:51:23 2012
 *filter
-:INPUT ACCEPT [23412825:56488997069]
+:INPUT ACCEPT [23450089:56793253246]
 :FORWARD ACCEPT [0:0]
 :OUTPUT DROP [0:0]
 :LD - [0:0]
-[20499807:51998018029] -A OUTPUT -o lo -j ACCEPT 
+[20522539:52299361412] -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 
-[581080:182705649] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT 
+[583930:183744650] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT 
 [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT 
-[47355:6271984] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT 
+[47622:6307196] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT 
 [20:1200] -A OUTPUT -j LD 
 [20:1200] -A LD -j LOG 
 [20:1200] -A LD -j REJECT --reject-with icmp-port-unreachable 
 COMMIT
-# Completed on Fri Jan 13 03:49:31 2012
+# Completed on Fri Jan 13 03:51:23 2012
************************************************************
[11525.782154]  [<ffffffff812fb3fa>] ? io_schedule+0x73/0xb7
[11525.788230]  [<ffffffff8117f6e9>] ? get_request_wait+0xf0/0x188
[11525.794893]  [<ffffffff81064f92>] ? autoremove_wake_function+0x0/0x2e
[11525.802139]  [<ffffffff8117fa78>] ? __make_request+0x2f7/0x428
[11525.808705]  [<ffffffff8117e247>] ? generic_make_request+0x299/0x2f9
[11525.815853]  [<ffffffff8117e37d>] ? submit_bio+0xd6/0xf2
[11525.821835]  [<ffffffff810d8c58>] ? end_swap_bio_read+0x0/0x60
[11525.828400]  [<ffffffff81111741>] ? bio_alloc+0x10/0x1f
[11525.834285]  [<ffffffff810d8aaa>] ? get_swap_bio+0x4a/0x9a
[11525.840462]  [<ffffffff810d8b49>] ? swap_readpage+0x4f/0x53
[11525.846736]  [<ffffffff810d8e56>] ? read_swap_cache_async+0xb3/0xf3
[11525.853789]  [<ffffffff810d8eed>] ? swapin_readahead+0x57/0x98
[11525.860356]  [<ffffffff810ccdfd>] ? handle_mm_fault+0x47f/0x80f
[11525.867020]  [<ffffffff812feb96>] ? do_page_fault+0x2e0/0x2fc
[11525.873489]  [<ffffffff812fca35>] ? page_fault+0x25/0x30
[11525.879470] INFO: task x86_64-linux-gn:24163 blocked for more than 120 seconds.
[11525.887713] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[11525.896540] x86_64-linux- D ffff88064ac0fd50     0 24163  24160 0x00000000
[11525.904280]  ffff880c3e471c40 0000000000000082 0000000000000000 ffff8807fef8a930
[11525.912675]  ffff88033cc40400 ffffffff8118b96e 000000000000f9e0 ffff8808f4013fd8
[11525.921053]  0000000000015780 0000000000015780 ffff88093d57dbd0 ffff88093d57dec8
[11525.929434] Call Trace:
[11525.932204]  [<ffffffff8118b96e>] ? cfq_dispatch_requests+0x106/0x420
[11525.939459]  [<ffffffff8117f3bd>] ? get_request+0x7e/0x2ba
[11525.945632]  [<ffffffff812fb3fa>] ? io_schedule+0x73/0xb7
[11525.951711]  [<ffffffff8117f6e9>] ? get_request_wait+0xf0/0x188
[11525.958373]  [<ffffffff81064f92>] ? autoremove_wake_function+0x0/0x2e
[11525.965619]  [<ffffffff8117fa78>] ? __make_request+0x2f7/0x428
[11525.972184]  [<ffffffff8117e247>] ? generic_make_request+0x299/0x2f9
[11525.979335]  [<ffffffff8117e37d>] ? submit_bio+0xd6/0xf2
[11525.985320]  [<ffffffff810d8c58>] ? end_swap_bio_read+0x0/0x60
[11525.991886]  [<ffffffff81111741>] ? bio_alloc+0x10/0x1f
[11525.997771]  [<ffffffff810d8aaa>] ? get_swap_bio+0x4a/0x9a
[11526.003947]  [<ffffffff810d8b49>] ? swap_readpage+0x4f/0x53
[11526.010211]  [<ffffffff810d8e56>] ? read_swap_cache_async+0xb3/0xf3
[11526.017264]  [<ffffffff810d8eed>] ? swapin_readahead+0x57/0x98
[11526.023818]  [<ffffffff810ccdfd>] ? handle_mm_fault+0x47f/0x80f
[11526.030482]  [<ffffffff812feb96>] ? do_page_fault+0x2e0/0x2fc
[11526.036950]  [<ffffffff812fca35>] ? page_fault+0x25/0x30
[18051.422616] IN= OUT=eth0 SRC=172.16.160.18 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=43681 DF PROTO=TCP SPT=35260 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
[18054.440115] IN= OUT=eth0 SRC=172.16.160.18 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=43682 DF PROTO=TCP SPT=35260 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
[18516.335464] IN= OUT=eth0 SRC=172.16.160.18 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=28981 DF PROTO=TCP SPT=41393 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
[18519.352020] IN= OUT=eth0 SRC=172.16.160.18 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=28982 DF PROTO=TCP SPT=41393 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
[18556.084269] blender[14863]: segfault at ffff ip 00002b2aedebd038 sp 00007fffc2685910 error 4 in libc-2.13.so[2b2aede79000+17a000]
[18913.095982] IN= OUT=eth0 SRC=172.16.160.18 DST=129.255.93.48 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=12112 DF PROTO=TCP SPT=55823 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
[19082.506626] bzr[14008] general protection ip:4f556b sp:7fff2c06e910 error:0 in python2.7[400000+273000]
[19235.793540] bzr[8225]: segfault at 1000000048 ip 00002b3efde3e0a9 sp 00007fff04c35048 error 4 in sip.so[2b3efde36000+1b000]
[19434.546910] IN= OUT=eth0 SRC=172.16.160.18 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=58799 DF PROTO=TCP SPT=37640 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
[19437.564870] IN= OUT=eth0 SRC=172.16.160.18 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=58800 DF PROTO=TCP SPT=37640 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
[22473.933502] IN= OUT=eth0 SRC=172.16.160.18 DST=188.40.172.6 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=40510 DF PROTO=TCP SPT=49651 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
************************************************************
