DC-Build-Header: ldapdns 2.06-3.4 / Fri Jan 13 03:47:13 +0100 2012 Another build requested exclusive access to the build node Another build requested exclusive access to the build node sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on stremi-35.reims.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ldapdns 2.06-3.4 (amd64) 13 Jan 2012 03:48 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: ldapdns Version: 2.06-3.4 Source Version: 2.06-3.4 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 13s (1360 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 130 kB of source archives. Get:1 http://localhost/debian/ sid/main ldapdns 2.06-3.4 (dsc) [950 B] Get:2 http://localhost/debian/ sid/main ldapdns 2.06-3.4 (tar) [121 kB] Get:3 http://localhost/debian/ sid/main ldapdns 2.06-3.4 (diff) [8852 B] Fetched 130 kB in 0s (1908 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/ldapdns-Ajt9eZ/resolver-zPtzmH/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-aad39a2e-a844-47ca-ad75-62fa9b6f68c4/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), libldap2-dev, yada (>= 0.54) 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), libldap2-dev, yada (>= 0.54) dpkg-deb: building package `sbuild-build-depends-ldapdns-dummy' in `/build/ldapdns-Ajt9eZ/resolver-KOgGCV/apt_archive/sbuild-build-depends-ldapdns-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install ldapdns build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: file libgcrypt11 libgnutls26 libgpg-error0 libldap-2.4-2 libldap2-dev libmagic1 libp11-kit0 libsasl2-2 libtasn1-3 yada Suggested packages: rng-tools Recommended packages: libsasl2-modules yada-doc The following NEW packages will be installed: file libgcrypt11 libgnutls26 libgpg-error0 libldap-2.4-2 libldap2-dev libmagic1 libp11-kit0 libsasl2-2 libtasn1-3 sbuild-build-depends-ldapdns-dummy yada 0 upgraded, 12 newly installed, 0 to remove and 10 not upgraded. Need to get 2363 kB/2364 kB of archives. After this operation, 7497 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libgpg-error0 libgcrypt11 libp11-kit0 libtasn1-3 libgnutls26 libsasl2-2 libldap-2.4-2 libmagic1 file yada libldap2-dev sbuild-build-depends-ldapdns-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libgpg-error0 amd64 1.10-2 [66.8 kB] Get:2 http://localhost/debian/ sid/main libgcrypt11 amd64 1.5.0-3 [298 kB] Get:3 http://localhost/debian/ sid/main libp11-kit0 amd64 0.10-1 [51.4 kB] Get:4 http://localhost/debian/ sid/main libtasn1-3 amd64 2.11-1 [65.9 kB] Get:5 http://localhost/debian/ sid/main libgnutls26 amd64 2.12.16-1 [614 kB] Get:6 http://localhost/debian/ sid/main libsasl2-2 amd64 2.1.25.dfsg1-2 [120 kB] Get:7 http://localhost/debian/ sid/main libldap-2.4-2 amd64 2.4.28-1 [240 kB] Get:8 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB] Get:9 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB] Get:10 http://localhost/debian/ sid/main yada all 0.55 [49.1 kB] Get:11 http://localhost/debian/ sid/main libldap2-dev amd64 2.4.28-1 [560 kB] Fetched 2363 kB in 0s (33.8 MB/s) Selecting previously unselected package libgpg-error0. (Reading database ... 10821 files and directories currently installed.) 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 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 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 yada. Unpacking yada (from .../apt/archives/yada_0.55_all.deb) ... Selecting previously unselected package libldap2-dev. Unpacking libldap2-dev (from .../libldap2-dev_2.4.28-1_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-ldapdns-dummy. Unpacking sbuild-build-depends-ldapdns-dummy (from .../sbuild-build-depends-ldapdns-dummy.deb) ... 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 libsasl2-2 (2.1.25.dfsg1-2) ... Setting up libldap-2.4-2 (2.4.28-1) ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up yada (0.55) ... Setting up libldap2-dev (2.4.28-1) ... Setting up sbuild-build-depends-ldapdns-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 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 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 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.10-1 gzip_1.4-2 hostname_3.09 initscripts_2.88dsf-18 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 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 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 libgmp10_2:5.0.2+dfsg-2 libgnutls26_2.12.16-1 libgomp1_4.6.2-9 libgpg-error0_1.10-2 libldap-2.4-2_2.4.28-1 libldap2-dev_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 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 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 libss2_1.42-1 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 libusb-0.1-4_2:0.1.12-20 libuuid1_2.20.1-1.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 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 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-ldapdns-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 yada_0.55 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 Dec 2 13:38:16 2009 CET using DSA key ID F2C423BC gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./ldapdns_2.06-3.4.dsc dpkg-source: info: extracting ldapdns in ldapdns-2.06 dpkg-source: info: unpacking ldapdns_2.06.orig.tar.gz dpkg-source: info: applying ldapdns_2.06-3.4.diff.gz Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: source package ldapdns dpkg-buildpackage: source version 2.06-3.4 dpkg-source --before-build ldapdns-2.06 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean yada rebuild packages yada rebuild rules rm -f debian/install-tree-stamp rm -rf debian/tmp-* debian/files* debian/substvars debian/shlibs.local debian/ucf rm -f debian/build-stamp debian/build-arch-stamp debian/build-indep-stamp rm -rf build-tree rm -f stamp-* yada unpatch rm -rf debian/tmp yada rebuild control rm -f debian/packages-tmp debian/packages-tmp-new debian/packages-tmp-include dpkg-source -b ldapdns-2.06 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 ldapdns using existing ldapdns_2.06.orig.tar.gz dpkg-source: info: building ldapdns in ldapdns_2.06-3.4.diff.gz dpkg-source: info: building ldapdns in ldapdns_2.06-3.4.dsc debian/rules build yada rebuild packages yada rebuild rules touch debian/build-arch-stamp touch debian/build-indep-stamp if [ ! -f stamp-unpack ]; then ( mkdir -p build-tree cd build-tree tar zxvf ../ldapdns-*.tar.gz ) || false touch stamp-unpack fi ldapdns-2.06/ ldapdns-2.06/engine.c ldapdns-2.06/list.h ldapdns-2.06/version.h ldapdns-2.06/TODO ldapdns-2.06/error.h ldapdns-2.06/ldapdns.h ldapdns-2.06/bin.h ldapdns-2.06/str.h ldapdns-2.06/ldapdns-conf ldapdns-2.06/udpserver.c ldapdns-2.06/config.h ldapdns-2.06/MANIFEST ldapdns-2.06/dns.c ldapdns-2.06/ldapdns.c ldapdns-2.06/VERSIONS ldapdns-2.06/FAQ ldapdns-2.06/CHANGELOG ldapdns-2.06/ldapdns.spec ldapdns-2.06/ht.h ldapdns-2.06/env.h ldapdns-2.06/README ldapdns-2.06/ip.h ldapdns-2.06/README.admin ldapdns-2.06/response.c ldapdns-2.06/INSTALL ldapdns-2.06/dns.h ldapdns-2.06/ht.c ldapdns-2.06/tcpserver.c ldapdns-2.06/install.sh ldapdns-2.06/debian/ ldapdns-2.06/debian/conffiles ldapdns-2.06/debian/changelog ldapdns-2.06/debian/postinst ldapdns-2.06/debian/postrm ldapdns-2.06/debian/dirs ldapdns-2.06/debian/prerm ldapdns-2.06/debian/preinst ldapdns-2.06/debian/files ldapdns-2.06/debian/rules ldapdns-2.06/debian/control ldapdns-2.06/debian/copyright ldapdns-2.06/debian/docs ldapdns-2.06/supervise.h ldapdns-2.06/sample/ ldapdns-2.06/sample/ldapdns.conf ldapdns-2.06/sample/axfr ldapdns-2.06/Makefile ldapdns-2.06/COPYING ldapdns-2.06/admin/ ldapdns-2.06/admin/add_basic_zone ldapdns-2.06/admin/add_sub_alias ldapdns-2.06/admin/add_sub_host ldapdns-2.06/admin/add_sub_mx ldapdns-2.06/admin/config.pl ldapdns-2.06/admin/secondary_zone ldapdns-2.06/admin/set_ip_pointer ldapdns-2.06/admin/set_sub_alias ldapdns-2.06/admin/set_sub_host ldapdns-2.06/admin/set_sub_mx ldapdns-2.06/admin/set_txt ldapdns-2.06/admin/transfer_zone ldapdns-2.06/admin/unset_ip_pointer ldapdns-2.06/admin/samba_names ldapdns-2.06/admin/dhcp_names ldapdns-2.06/admin/add_generic_record ldapdns-2.06/admin/set_generic_record ldapdns-2.06/ldapaxfr-conf ldapdns-2.06/ip6.h ldapdns-2.06/AUTHORS ldapdns-2.06/README.comparison ldapdns-2.06/error.c ldapdns-2.06/sio.h ldapdns-2.06/sysvinit/ ldapdns-2.06/sysvinit/ldapaxfr ldapdns-2.06/sysvinit/ldapdns ldapdns-2.06/README.configure ldapdns-2.06/mem.c ldapdns-2.06/ip4.h ldapdns-2.06/README.using-rpm ldapdns-2.06/profile.h ldapdns-2.06/Makefile.defs ldapdns-2.06/engine.c.orig ldapdns-2.06/README.axfr ldapdns-2.06/README.how-can-i-help ldapdns-2.06/README.using-debian ldapdns-2.06/configure ldapdns-2.06/mem.h ldapdns-2.06/README.search ldapdns-2.06/README.generic-rr ldapdns-2.06/README.quotes ldapdns-2.06/domainname.sh if [ ! -f stamp-patch ]; then ( cd build-tree/* for p in ../../debian/patches/*.patch; do patch -p1 < $p done ) || false touch stamp-patch fi patching file engine.c Hunk #1 succeeded at 2601 (offset 97 lines). Hunk #2 succeeded at 2693 (offset 97 lines). patching file ldapdns.c patching file engine.c patching file engine.c Hunk #1 succeeded at 2178 (offset 10 lines). Hunk #2 succeeded at 2279 (offset 10 lines). Hunk #3 succeeded at 2347 (offset 10 lines). Hunk #4 succeeded at 2386 (offset 10 lines). Hunk #5 succeeded at 2444 with fuzz 1 (offset 10 lines). CC=${CC:-gcc} CFLAGS=${CFLAGS:--Wall -g} if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then CFLAGS="$CFLAGS -O0" else CFLAGS="$CFLAGS -O2" fi cd build-tree/* make EXTRA_CFLAGS="$CFLAGS" EXTRA_LDFLAGS="$LDFLAGS" CC="$CC" make[1]: Entering directory `/build/ldapdns-Ajt9eZ/ldapdns-2.06/build-tree/ldapdns-2.06' make clean make[2]: Entering directory `/build/ldapdns-Ajt9eZ/ldapdns-2.06/build-tree/ldapdns-2.06' rm -f *.o ldapdns ldapaxfr test_1.c test_1.o test_1 make[2]: Leaving directory `/build/ldapdns-Ajt9eZ/ldapdns-2.06/build-tree/ldapdns-2.06' ./configure Configuring LDAPDNS Testing C compiler: gcc Checking for syslog support: ok Checking for memzero: bzero Checking for memcpy: ok Checking for IPV6 support: ok Checking for setsid() support: ok Checking for poll() support: ok Checking for waitpid() support: ok Checking for POSIX threads: -lpthread Checking for non-portable pthreads extensions: none Checking OpenLDAP dependencies: ok Checking for OpenLDAP < 2.1.8: no Writing Makefile.config: done make -f Makefile.defs make[2]: Entering directory `/build/ldapdns-Ajt9eZ/ldapdns-2.06/build-tree/ldapdns-2.06' gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o udpserver.o -c udpserver.c In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ udpserver.c:28:20: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv4_scan(x, ip)) { ^~ ./ip4.h:26:60: note: passing argument to parameter 'ip' here static int inline ipv4_scan(const char *str, unsigned char ip[4]) ^ udpserver.c:30:20: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv6_scan(x, ip)) ^~ ./ip6.h:133:60: note: passing argument to parameter 'ip' here static int inline ipv6_scan(const char *str, unsigned char ip[16]) ^ udpserver.c:58:33: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socket_bind6_reuse(udp53, ip, port) == -1) ^~ ./ip6.h:164:60: note: passing argument to parameter 'ip' here static int inline socket_bind6_reuse(int fd, unsigned char ip[16], int port) ^ udpserver.c:62:32: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socket_bind4_reuse(udp53, ip, port) == -1) ^~ ./ip4.h:123:60: note: passing argument to parameter 'ip' here static int inline socket_bind4_reuse(int fd, unsigned char ip[4], int port) ^ 12 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o engine.o -c engine.c In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from engine.c:9: ./supervise.h:94:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] if ((volatile)supervised_quit) ~~~~~~~~^ engine.c:188:17: warning: implicit declaration of function 'ldap_init' is invalid in C99 [-Wimplicit-function-declaration] o->ldap_con = ldap_init(hostnamestr, port); ^ engine.c:188:15: warning: incompatible integer to pointer conversion assigning to 'LDAP *' (aka 'struct ldap *') from 'int'; o->ldap_con = ldap_init(hostnamestr, port); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engine.c:203:4: warning: implicit declaration of function 'ldap_unbind' is invalid in C99 [-Wimplicit-function-declaration] ldap_unbind(o->ldap_con); ^ engine.c:220:7: warning: implicit declaration of function 'ldap_bind_s' is invalid in C99 [-Wimplicit-function-declaration] r = ldap_bind_s(o->ldap_con, ^ engine.c:232:7: warning: implicit declaration of function 'ldap_simple_bind_s' is invalid in C99 [-Wimplicit-function-declaration] r = ldap_simple_bind_s(o->ldap_con, ^ engine.c:457:6: warning: implicit declaration of function 'ldap_search' is invalid in C99 [-Wimplicit-function-declaration] r = ldap_search(c->c->ldap_con, ^ engine.c:1128:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = handle_generic_compare(c, q, pdata, n); ^ engine.c:1062:75: note: passing argument to parameter 'p' here static int inline handle_generic_compare(dns_ctx *c, const unsigned char *p, ^ engine.c:1128:38: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = handle_generic_compare(c, q, pdata, n); ^~~~~ engine.c:1063:24: note: passing argument to parameter 'pdata' here const unsigned char *pdata, unsigned int plen) { ^ engine.c:1467:16: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_cat(b, c->ip, 4); ^~~~~ ./bin.h:39:43: note: passing argument to parameter 's' here static void inline bin_cat(bin_t p, char *s, int len) { ^ engine.c:1524:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response_addbytes(c, header, 12); ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:1594:23: warning: passing 'char [513]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response_addbytes(c, c->request_buf, c->request_len); ^~~~~~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:1795:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_axstart(c, 0, q, p, DNS_C_IN, ttl)) { ^ ./ldapdns.h:204:57: note: passing argument to parameter 'qt' here int response_axstart(dns_ctx *c, int soa, char *q, char qt[2], char qc[2], unsigned int ttl); ^ engine.c:1799:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_rstart(c, q, p, ttl)) { ^ ./ldapdns.h:186:51: note: passing argument to parameter 'rr' here int response_rstart(dns_ctx *, char *dnsenc, char rr[2], unsigned int ttl); ^ engine.c:1811:31: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\377", 1)) { ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:1817:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addname(c, p)) { ^ ./ldapdns.h:188:39: note: passing argument to parameter 'dnsenc' here int response_addname(dns_ctx *, char *dnsenc); ^ engine.c:1820:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dlen = dns_domain_length(p); ^ ./ldapdns.h:212:44: note: passing argument to parameter 'dn' here unsigned int dns_domain_length(const char *dn); ^ engine.c:1823:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] push_subreq(c, p); ^ engine.c:1774:50: note: passing argument to parameter 'q' here static void inline push_subreq(dns_ctx *c, char *q) ^ engine.c:1953:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2023:7: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] dat, c->ttl); ^~~ engine.c:1788:62: note: passing argument to parameter 'p' here response_generic(dns_ctx *c, int ax, char *q, unsigned char *p, unsigned long ttl) ^ engine.c:2048:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2085:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 2) ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2147:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2209:30: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, "\x60\x00", 2) ^~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2210:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2226:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 2) ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2248:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2306:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2428:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, dns_domain_length(dat)-1)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2549:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2571:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 2) ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2582:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, dns_domain_length(dat)-1)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2601:5: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] dat, c->ttl); ^~~ engine.c:1788:62: note: passing argument to parameter 'p' here response_generic(dns_ctx *c, int ax, char *q, unsigned char *p, unsigned long ttl) ^ engine.c:2820:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv4_in_subnet(lp->str+1, c->ip)) { ^~~~~~~~~ ./ip4.h:52:48: note: passing argument to parameter 'cidr' here static int inline ipv4_in_subnet(unsigned char cidr[8], unsigned char ip[4]) ^ engine.c:2822:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv4_null(lp->str+1)) ^~~~~~~~~ ./ip4.h:20:44: note: passing argument to parameter 'ip' here static int inline ipv4_null(unsigned char *ip) ^ engine.c:2827:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv6_in_subnet(lp->str+1, c->ip)) { ^~~~~~~~~ ./ip6.h:141:48: note: passing argument to parameter 'cidr' here static int inline ipv6_in_subnet(unsigned char cidr[32], unsigned char ip[16]) ^ engine.c:2829:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv6_null(lp->str+1)) ^~~~~~~~~ ./ip6.h:20:44: note: passing argument to parameter 'ip' here static int inline ipv6_null(unsigned char *ip) ^ engine.c:2877:7: warning: implicit declaration of function 'ldap_abandon' is invalid in C99 [-Wimplicit-function-declaration] ldap_abandon(o->ldap_con, ^ engine.c:2942:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] if ((volatile)c->phase != PHASE_IDLE) ~~~~~~~~^ engine.c:2991:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv4_in_subnet(lp->str+1, c->ip)) { ^~~~~~~~~ ./ip4.h:52:48: note: passing argument to parameter 'cidr' here static int inline ipv4_in_subnet(unsigned char cidr[8], unsigned char ip[4]) ^ engine.c:2993:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv4_null(lp->str+1)) ^~~~~~~~~ ./ip4.h:20:44: note: passing argument to parameter 'ip' here static int inline ipv4_null(unsigned char *ip) ^ engine.c:2998:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv6_in_subnet(lp->str+1, c->ip)) { ^~~~~~~~~ ./ip6.h:141:48: note: passing argument to parameter 'cidr' here static int inline ipv6_in_subnet(unsigned char cidr[32], unsigned char ip[16]) ^ engine.c:3000:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv6_null(lp->str+1)) ^~~~~~~~~ ./ip6.h:20:44: note: passing argument to parameter 'ip' here static int inline ipv6_null(unsigned char *ip) ^ engine.c:3103:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] if ((volatile)x->phase == PHASE_IDLE) ~~~~~~~~^ engine.c:3285:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (x = str(line); *x && *x != '='; x++); ^ ~~~~~~~~~ engine.c:3290:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv6_cidr(x, cidr)) { ^ ./ip6.h:137:41: note: passing argument to parameter 'str' here static int inline ipv6_cidr(const char *str, unsigned char ip[32]) ^ engine.c:3292:20: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_cat(res, cidr, 32); ^~~~ ./bin.h:39:43: note: passing argument to parameter 's' here static void inline bin_cat(bin_t p, char *s, int len) { ^ engine.c:3299:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv4_cidr(x, cidr)) { ^ ./ip4.h:62:35: note: passing argument to parameter 'str' here static int inline ipv4_cidr(char *str, unsigned char cidr[8]) ^ engine.c:3301:20: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_cat(res, cidr, 8); ^~~~ ./bin.h:39:43: note: passing argument to parameter 's' here static void inline bin_cat(bin_t p, char *s, int len) { ^ 57 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o ldapdns.o -c ldapdns.c In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ ldapdns.c:419:19: warning: passing 'unsigned char [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_copy(retval, ip, 4); ^~ ./bin.h:59:50: note: passing argument to parameter 's' here static void inline bin_copy(bin_t p, const char *s, int len) { ^ 9 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o dns.o -c dns.c In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ 8 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o response.o -c response.c In file included from response.c:1: ./bin.h:41:2: warning: implicitly declaring C library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' memcpy(p->buf + p->used, s, len); ^ ./bin.h:41:2: note: please include the header or explicitly provide a declaration for 'memcpy' In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ response.c:13:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, rr, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:14:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, DNS_C_IN, 2)) return 0; ^~~~~~~~ ./dns.h:23:18: note: expanded from: #define DNS_C_IN "\000\001" ^~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:16:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\0\0", 2)) return 0; ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:55:28: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, c->dns_message_id, 2)) return 0; ^~~~~~~~~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:61:29: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, buf, 10)) return 0; ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:64:29: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, DNS_T_AXFR, 2)) return 0; ^~~~~~~~~~ ./dns.h:43:20: note: expanded from: #define DNS_T_AXFR "\000\374" ^~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:65:29: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, DNS_C_IN, 2)) return 0; ^~~~~~~~ ./dns.h:23:18: note: expanded from: #define DNS_C_IN "\000\001" ^~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:67:29: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, buf, 10)) return 0; ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:70:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qt, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:71:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qc, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:73:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\0\0", 2)) return 0; ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:94:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\0\0\201\200\0\1\0\0\0\0\0\0", 12)) return 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:96:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qt, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:97:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qc, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:106:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\0\0\204\200\0\1\0\0\0\0\0\0", 12)) return 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:108:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qt, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:109:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qc, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:136:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, dnsenc, i)) ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:141:30: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return response_addbytes(c, "\0", 1); ^~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:178:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_cat(c->response, b, l); ^ ./bin.h:39:43: note: passing argument to parameter 's' here static void inline bin_cat(bin_t p, char *s, int len) { ^ response.c:189:30: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return response_addbytes(c, buf, 4); ^~~ response.c:176:50: note: passing argument to parameter 'b' here int response_addbytes(dns_ctx *c, unsigned char *b, int l) ^ response.c:198:30: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return response_addbytes(c, buf, 2); ^~~ response.c:176:50: note: passing argument to parameter 'b' here int response_addbytes(dns_ctx *c, unsigned char *b, int l) ^ response.c:207:30: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return response_addbytes(c, buf, 2); ^~~ response.c:176:50: note: passing argument to parameter 'b' here int response_addbytes(dns_ctx *c, unsigned char *b, int l) ^ 32 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o ht.o -c ht.c gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o error.o -c error.c error.c:163:2: warning: implicit declaration of function 'mem_free' is invalid in C99 [-Wimplicit-function-declaration] mem_free(str(buf)); ^ 1 warning generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o mem.o -c mem.c In file included from mem.c:4: ./bin.h:41:2: warning: implicitly declaring C library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' memcpy(p->buf + p->used, s, len); ^ ./bin.h:41:2: note: please include the header or explicitly provide a declaration for 'memcpy' 1 warning generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -L/usr/local/lib -lpthread -lldap_r -llber -o ldapdns udpserver.o engine.o ldapdns.o dns.o response.o ht.o error.o mem.o udpserver.o: In function `tp_initialize': udpserver.c:(.text+0x92): undefined reference to `fatal' udpserver.c:(.text+0xe0): undefined reference to `cfatal' udpserver.c:(.text+0x137): undefined reference to `fatal' udpserver.c:(.text+0x156): undefined reference to `warning' udpserver.c:(.text+0x194): undefined reference to `cfatal' udpserver.c:(.text+0x1c6): undefined reference to `cfatal' engine.o: In function `main': engine.c:(.text+0x17e): undefined reference to `cfatal' engine.c:(.text+0x1aa): undefined reference to `cfatal' engine.c:(.text+0x558): undefined reference to `mem_alloc' engine.c:(.text+0x581): undefined reference to `cfatal' engine.c:(.text+0x601): undefined reference to `cfatal' engine.c:(.text+0x64c): undefined reference to `cfatal' engine.c:(.text+0x697): undefined reference to `cfatal' engine.c:(.text+0x6d8): undefined reference to `cfatal' engine.o:engine.c:(.text+0x709): more undefined references to `cfatal' follow engine.o: In function `main': engine.c:(.text+0x7ca): undefined reference to `fatal' engine.c:(.text+0x7f1): undefined reference to `cfatal' engine.c:(.text+0x97b): undefined reference to `fatal' engine.c:(.text+0xa51): undefined reference to `fatal' engine.c:(.text+0x117d): undefined reference to `mem_alloc' engine.c:(.text+0x11a6): undefined reference to `cfatal' engine.c:(.text+0x12ea): undefined reference to `fatal' engine.c:(.text+0x14e0): undefined reference to `fatal' engine.c:(.text+0x159a): undefined reference to `fatal' engine.c:(.text+0x18bf): undefined reference to `fatal' engine.c:(.text+0x192b): undefined reference to `fatal' engine.c:(.text+0x19e5): undefined reference to `cfatal' engine.c:(.text+0x1a13): undefined reference to `fatal' engine.c:(.text+0x1a3b): undefined reference to `fatal' engine.c:(.text+0x1a69): undefined reference to `fatal' engine.c:(.text+0x1a91): undefined reference to `fatal' engine.c:(.text+0x1abf): undefined reference to `warning' engine.c:(.text+0x1aed): undefined reference to `fatal' engine.c:(.text+0x1b2b): undefined reference to `cfatal' engine.c:(.text+0x1b69): undefined reference to `cfatal' engine.c:(.text+0x1bc7): undefined reference to `log' engine.c:(.text+0x1c77): undefined reference to `cfatal' engine.c:(.text+0x1dd4): undefined reference to `cfatal' engine.c:(.text+0x1e0b): undefined reference to `log' engine.c:(.text+0x1e40): undefined reference to `log' engine.c:(.text+0x1ea2): undefined reference to `cfatal' engine.o: In function `supervise': engine.c:(.text+0x1fa5): undefined reference to `cfatal' engine.c:(.text+0x2155): undefined reference to `cfatal' engine.o: In function `handle_signal': engine.c:(.text+0x235e): undefined reference to `log' engine.c:(.text+0x23e5): undefined reference to `log' engine.c:(.text+0x2420): undefined reference to `log' engine.o: In function `str_need': engine.c:(.text+0x2572): undefined reference to `cfatal' engine.o: In function `list_push': engine.c:(.text+0x2709): undefined reference to `mem_alloc' engine.c:(.text+0x272a): undefined reference to `cfatal' engine.o: In function `initialize_handler': engine.c:(.text+0x2801): undefined reference to `cfatal' engine.o: In function `root_read': engine.c:(.text+0x2ab6): undefined reference to `fatal' engine.o: In function `one2one_msgwait_loop': engine.c:(.text+0x33cb): undefined reference to `fatal' engine.c:(.text+0x33ed): undefined reference to `tp_housekeeping' engine.c:(.text+0x33fb): undefined reference to `tp_read' engine.c:(.text+0x36b5): undefined reference to `warning' engine.c:(.text+0x382e): undefined reference to `cfatal' engine.o: In function `ldap_msgwait_loop': engine.c:(.text+0x39e8): undefined reference to `warning' engine.c:(.text+0x3aec): undefined reference to `warning' engine.c:(.text+0x3d5b): undefined reference to `cfatal' engine.o: In function `dns_msgwait_loop': engine.c:(.text+0x3dc1): undefined reference to `tp_housekeeping' engine.c:(.text+0x3ec7): undefined reference to `mem_alloc' engine.c:(.text+0x3ee8): undefined reference to `cfatal' engine.c:(.text+0x3f99): undefined reference to `tp_read' engine.c:(.text+0x4201): undefined reference to `fatal' engine.o: In function `bin_need': engine.c:(.text+0x4372): undefined reference to `cfatal' engine.o: In function `engine_dns_answer_query': engine.c:(.text+0x4dc6): undefined reference to `warning' engine.o: In function `complete_phase': engine.c:(.text+0x5cc1): undefined reference to `tp_write' engine.c:(.text+0x5f20): undefined reference to `status' engine.o: In function `env_put': engine.c:(.text+0x5fee): undefined reference to `cfatal' engine.o: In function `translate_netbios': engine.c:(.text+0x602d): undefined reference to `warning' engine.o: In function `ldapdns_process_update': engine.c:(.text+0x666a): undefined reference to `fatal' engine.o: In function `restart_ldap_connection': engine.c:(.text+0x6b7c): undefined reference to `warning' engine.c:(.text+0x6c1a): undefined reference to `warning' engine.o: In function `start_next_update_operation': engine.c:(.text+0x7ba6): undefined reference to `warning' engine.c:(.text+0x7bbe): undefined reference to `warning' engine.c:(.text+0x7c56): undefined reference to `warning' engine.o:engine.c:(.text+0x7c6e): more undefined references to `warning' follow engine.o: In function `ldapdns_process_zonesearch': engine.c:(.text+0x885f): undefined reference to `fatal' engine.c:(.text+0x8aa3): undefined reference to `fatal' engine.o: In function `ldapdns_process_attrsearch': engine.c:(.text+0x8fa9): undefined reference to `fatal' engine.c:(.text+0x922d): undefined reference to `fatal' engine.c:(.text+0x930b): undefined reference to `fatal' engine.o:engine.c:(.text+0x95aa): more undefined references to `fatal' follow engine.o: In function `add_peer_ns': engine.c:(.text+0xce19): undefined reference to `ldapdns_list_unique' engine.o: In function `parse_read_search': engine.c:(.text+0xe45e): undefined reference to `cfatal' engine.c:(.text+0xe471): undefined reference to `fatal' ldapdns.o: In function `str_need': ldapdns.c:(.text+0x182): undefined reference to `cfatal' ldapdns.o: In function `list_push': ldapdns.c:(.text+0x5c9): undefined reference to `mem_alloc' ldapdns.c:(.text+0x5ea): undefined reference to `cfatal' ldapdns.o: In function `bin_need': ldapdns.c:(.text+0x2b02): undefined reference to `cfatal' ldapdns.o: In function `__parse_ipv4': ldapdns.c:(.text+0x33ea): undefined reference to `warning' dns.o: In function `name_to_dns_fix': dns.c:(.text+0x12d): undefined reference to `warning' dns.o: In function `str_need': dns.c:(.text+0x252): undefined reference to `cfatal' dns.o: In function `list_push': dns.c:(.text+0x719): undefined reference to `mem_alloc' dns.c:(.text+0x73a): undefined reference to `cfatal' dns.o: In function `bin_need': dns.c:(.text+0xf72): undefined reference to `cfatal' response.o: In function `response_axstart': response.c:(.text+0x24f): undefined reference to `tp_write' response.o: In function `bin_need': response.c:(.text+0xc52): undefined reference to `cfatal' ht.o: In function `ht_init': ht.c:(.text+0x22): undefined reference to `mem_alloc' ht.o: In function `ht_store_flag': ht.c:(.text+0x426): undefined reference to `mem_alloc' ht.o: In function `ht_storecopy': ht.c:(.text+0x5af): undefined reference to `mem_alloc' ht.o: In function `bin_need': ht.c:(.text+0xab2): undefined reference to `cfatal' error.o: In function `log_file': error.c:(.text+0x310): undefined reference to `cfatal' error.c:(.text+0x359): undefined reference to `cfatal' error.o: In function `log_pipe': error.c:(.text+0x39e): undefined reference to `cfatal' error.c:(.text+0x3d5): undefined reference to `cfatal' error.o:error.c:(.text+0x496): more undefined references to `cfatal' follow mem.o: In function `list_push': mem.c:(.text+0x1b9): undefined reference to `mem_alloc' mem.c:(.text+0x1da): undefined reference to `cfatal' mem.o: In function `bin_need': mem.c:(.text+0x292): undefined reference to `cfatal' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [ldapdns] Error 1 make[2]: Leaving directory `/build/ldapdns-Ajt9eZ/ldapdns-2.06/build-tree/ldapdns-2.06' make[1]: *** [default] Error 2 make[1]: Leaving directory `/build/ldapdns-Ajt9eZ/ldapdns-2.06/build-tree/ldapdns-2.06' make: *** [debian/build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120113-0348 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64b-aad39a2e-a844-47ca-ad75-62fa9b6f68c4/build/ldapdns-Ajt9eZ Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 1116 Build-Time: 6 Distribution: lsid64b Fail-Stage: build Install-Time: 6 Job: ldapdns_2.06-3.4 Package: ldapdns Package-Time: 35 Source-Version: 2.06-3.4 Space: 1116 Status: attempted Version: 2.06-3.4 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120113-0348 Build needed 00:00:35, 1116k disc space DC-Message: Failed, but took only 95.757688. Retrying, you never know. Another build requested exclusive access to the build node Another build requested exclusive access to the build node Another build requested exclusive access to the build node 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-35.reims.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ldapdns 2.06-3.4 (amd64) 13 Jan 2012 03:51 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: ldapdns Version: 2.06-3.4 Source Version: 2.06-3.4 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 (5472 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 130 kB of source archives. Get:1 http://localhost/debian/ sid/main ldapdns 2.06-3.4 (dsc) [950 B] Get:2 http://localhost/debian/ sid/main ldapdns 2.06-3.4 (tar) [121 kB] Get:3 http://localhost/debian/ sid/main ldapdns 2.06-3.4 (diff) [8852 B] Fetched 130 kB in 0s (9896 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/ldapdns-eUM7aN/resolver-SNc09r/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-c86a0071-0cb3-489f-9ef8-53a54982b06a/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), libldap2-dev, yada (>= 0.54) 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), libldap2-dev, yada (>= 0.54) dpkg-deb: building package `sbuild-build-depends-ldapdns-dummy' in `/build/ldapdns-eUM7aN/resolver-voY8KL/apt_archive/sbuild-build-depends-ldapdns-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install ldapdns build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: file libgcrypt11 libgnutls26 libgpg-error0 libldap-2.4-2 libldap2-dev libmagic1 libp11-kit0 libsasl2-2 libtasn1-3 yada Suggested packages: rng-tools Recommended packages: libsasl2-modules yada-doc The following NEW packages will be installed: file libgcrypt11 libgnutls26 libgpg-error0 libldap-2.4-2 libldap2-dev libmagic1 libp11-kit0 libsasl2-2 libtasn1-3 sbuild-build-depends-ldapdns-dummy yada 0 upgraded, 12 newly installed, 0 to remove and 10 not upgraded. Need to get 2363 kB/2364 kB of archives. After this operation, 7497 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libgpg-error0 libgcrypt11 libp11-kit0 libtasn1-3 libgnutls26 libsasl2-2 libldap-2.4-2 libmagic1 file yada libldap2-dev sbuild-build-depends-ldapdns-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libgpg-error0 amd64 1.10-2 [66.8 kB] Get:2 http://localhost/debian/ sid/main libgcrypt11 amd64 1.5.0-3 [298 kB] Get:3 http://localhost/debian/ sid/main libp11-kit0 amd64 0.10-1 [51.4 kB] Get:4 http://localhost/debian/ sid/main libtasn1-3 amd64 2.11-1 [65.9 kB] Get:5 http://localhost/debian/ sid/main libgnutls26 amd64 2.12.16-1 [614 kB] Get:6 http://localhost/debian/ sid/main libsasl2-2 amd64 2.1.25.dfsg1-2 [120 kB] Get:7 http://localhost/debian/ sid/main libldap-2.4-2 amd64 2.4.28-1 [240 kB] Get:8 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB] Get:9 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB] Get:10 http://localhost/debian/ sid/main yada all 0.55 [49.1 kB] Get:11 http://localhost/debian/ sid/main libldap2-dev amd64 2.4.28-1 [560 kB] Fetched 2363 kB in 0s (36.5 MB/s) Selecting previously unselected package libgpg-error0. (Reading database ... 10821 files and directories currently installed.) 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 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 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 yada. Unpacking yada (from .../apt/archives/yada_0.55_all.deb) ... Selecting previously unselected package libldap2-dev. Unpacking libldap2-dev (from .../libldap2-dev_2.4.28-1_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-ldapdns-dummy. Unpacking sbuild-build-depends-ldapdns-dummy (from .../sbuild-build-depends-ldapdns-dummy.deb) ... 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 libsasl2-2 (2.1.25.dfsg1-2) ... Setting up libldap-2.4-2 (2.4.28-1) ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up yada (0.55) ... Setting up libldap2-dev (2.4.28-1) ... Setting up sbuild-build-depends-ldapdns-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 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 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 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.10-1 gzip_1.4-2 hostname_3.09 initscripts_2.88dsf-18 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 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 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 libgmp10_2:5.0.2+dfsg-2 libgnutls26_2.12.16-1 libgomp1_4.6.2-9 libgpg-error0_1.10-2 libldap-2.4-2_2.4.28-1 libldap2-dev_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 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 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 libss2_1.42-1 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 libusb-0.1-4_2:0.1.12-20 libuuid1_2.20.1-1.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 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 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-ldapdns-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 yada_0.55 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 Dec 2 13:38:16 2009 CET using DSA key ID F2C423BC gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./ldapdns_2.06-3.4.dsc dpkg-source: info: extracting ldapdns in ldapdns-2.06 dpkg-source: info: unpacking ldapdns_2.06.orig.tar.gz dpkg-source: info: applying ldapdns_2.06-3.4.diff.gz Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: source package ldapdns dpkg-buildpackage: source version 2.06-3.4 dpkg-source --before-build ldapdns-2.06 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean yada rebuild packages yada rebuild rules rm -f debian/install-tree-stamp rm -rf debian/tmp-* debian/files* debian/substvars debian/shlibs.local debian/ucf rm -f debian/build-stamp debian/build-arch-stamp debian/build-indep-stamp rm -rf build-tree rm -f stamp-* yada unpatch rm -rf debian/tmp yada rebuild control rm -f debian/packages-tmp debian/packages-tmp-new debian/packages-tmp-include dpkg-source -b ldapdns-2.06 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 ldapdns using existing ldapdns_2.06.orig.tar.gz dpkg-source: info: building ldapdns in ldapdns_2.06-3.4.diff.gz dpkg-source: info: building ldapdns in ldapdns_2.06-3.4.dsc debian/rules build yada rebuild packages yada rebuild rules touch debian/build-arch-stamp touch debian/build-indep-stamp if [ ! -f stamp-unpack ]; then ( mkdir -p build-tree cd build-tree tar zxvf ../ldapdns-*.tar.gz ) || false touch stamp-unpack fi ldapdns-2.06/ ldapdns-2.06/engine.c ldapdns-2.06/list.h ldapdns-2.06/version.h ldapdns-2.06/TODO ldapdns-2.06/error.h ldapdns-2.06/ldapdns.h ldapdns-2.06/bin.h ldapdns-2.06/str.h ldapdns-2.06/ldapdns-conf ldapdns-2.06/udpserver.c ldapdns-2.06/config.h ldapdns-2.06/MANIFEST ldapdns-2.06/dns.c ldapdns-2.06/ldapdns.c ldapdns-2.06/VERSIONS ldapdns-2.06/FAQ ldapdns-2.06/CHANGELOG ldapdns-2.06/ldapdns.spec ldapdns-2.06/ht.h ldapdns-2.06/env.h ldapdns-2.06/README ldapdns-2.06/ip.h ldapdns-2.06/README.admin ldapdns-2.06/response.c ldapdns-2.06/INSTALL ldapdns-2.06/dns.h ldapdns-2.06/ht.c ldapdns-2.06/tcpserver.c ldapdns-2.06/install.sh ldapdns-2.06/debian/ ldapdns-2.06/debian/conffiles ldapdns-2.06/debian/changelog ldapdns-2.06/debian/postinst ldapdns-2.06/debian/postrm ldapdns-2.06/debian/dirs ldapdns-2.06/debian/prerm ldapdns-2.06/debian/preinst ldapdns-2.06/debian/files ldapdns-2.06/debian/rules ldapdns-2.06/debian/control ldapdns-2.06/debian/copyright ldapdns-2.06/debian/docs ldapdns-2.06/supervise.h ldapdns-2.06/sample/ ldapdns-2.06/sample/ldapdns.conf ldapdns-2.06/sample/axfr ldapdns-2.06/Makefile ldapdns-2.06/COPYING ldapdns-2.06/admin/ ldapdns-2.06/admin/add_basic_zone ldapdns-2.06/admin/add_sub_alias ldapdns-2.06/admin/add_sub_host ldapdns-2.06/admin/add_sub_mx ldapdns-2.06/admin/config.pl ldapdns-2.06/admin/secondary_zone ldapdns-2.06/admin/set_ip_pointer ldapdns-2.06/admin/set_sub_alias ldapdns-2.06/admin/set_sub_host ldapdns-2.06/admin/set_sub_mx ldapdns-2.06/admin/set_txt ldapdns-2.06/admin/transfer_zone ldapdns-2.06/admin/unset_ip_pointer ldapdns-2.06/admin/samba_names ldapdns-2.06/admin/dhcp_names ldapdns-2.06/admin/add_generic_record ldapdns-2.06/admin/set_generic_record ldapdns-2.06/ldapaxfr-conf ldapdns-2.06/ip6.h ldapdns-2.06/AUTHORS ldapdns-2.06/README.comparison ldapdns-2.06/error.c ldapdns-2.06/sio.h ldapdns-2.06/sysvinit/ ldapdns-2.06/sysvinit/ldapaxfr ldapdns-2.06/sysvinit/ldapdns ldapdns-2.06/README.configure ldapdns-2.06/mem.c ldapdns-2.06/ip4.h ldapdns-2.06/README.using-rpm ldapdns-2.06/profile.h ldapdns-2.06/Makefile.defs ldapdns-2.06/engine.c.orig ldapdns-2.06/README.axfr ldapdns-2.06/README.how-can-i-help ldapdns-2.06/README.using-debian ldapdns-2.06/configure ldapdns-2.06/mem.h ldapdns-2.06/README.search ldapdns-2.06/README.generic-rr ldapdns-2.06/README.quotes ldapdns-2.06/domainname.sh if [ ! -f stamp-patch ]; then ( cd build-tree/* for p in ../../debian/patches/*.patch; do patch -p1 < $p done ) || false touch stamp-patch fi patching file engine.c Hunk #1 succeeded at 2601 (offset 97 lines). Hunk #2 succeeded at 2693 (offset 97 lines). patching file ldapdns.c patching file engine.c patching file engine.c Hunk #1 succeeded at 2178 (offset 10 lines). Hunk #2 succeeded at 2279 (offset 10 lines). Hunk #3 succeeded at 2347 (offset 10 lines). Hunk #4 succeeded at 2386 (offset 10 lines). Hunk #5 succeeded at 2444 with fuzz 1 (offset 10 lines). CC=${CC:-gcc} CFLAGS=${CFLAGS:--Wall -g} if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then CFLAGS="$CFLAGS -O0" else CFLAGS="$CFLAGS -O2" fi cd build-tree/* make EXTRA_CFLAGS="$CFLAGS" EXTRA_LDFLAGS="$LDFLAGS" CC="$CC" make[1]: Entering directory `/build/ldapdns-eUM7aN/ldapdns-2.06/build-tree/ldapdns-2.06' make clean make[2]: Entering directory `/build/ldapdns-eUM7aN/ldapdns-2.06/build-tree/ldapdns-2.06' rm -f *.o ldapdns ldapaxfr test_1.c test_1.o test_1 make[2]: Leaving directory `/build/ldapdns-eUM7aN/ldapdns-2.06/build-tree/ldapdns-2.06' ./configure Configuring LDAPDNS Testing C compiler: gcc Checking for syslog support: ok Checking for memzero: bzero Checking for memcpy: ok Checking for IPV6 support: ok Checking for setsid() support: ok Checking for poll() support: ok Checking for waitpid() support: ok Checking for POSIX threads: -lpthread Checking for non-portable pthreads extensions: none Checking OpenLDAP dependencies: ok Checking for OpenLDAP < 2.1.8: no Writing Makefile.config: done make -f Makefile.defs make[2]: Entering directory `/build/ldapdns-eUM7aN/ldapdns-2.06/build-tree/ldapdns-2.06' gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o udpserver.o -c udpserver.c In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from udpserver.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ udpserver.c:28:20: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv4_scan(x, ip)) { ^~ ./ip4.h:26:60: note: passing argument to parameter 'ip' here static int inline ipv4_scan(const char *str, unsigned char ip[4]) ^ udpserver.c:30:20: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv6_scan(x, ip)) ^~ ./ip6.h:133:60: note: passing argument to parameter 'ip' here static int inline ipv6_scan(const char *str, unsigned char ip[16]) ^ udpserver.c:58:33: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socket_bind6_reuse(udp53, ip, port) == -1) ^~ ./ip6.h:164:60: note: passing argument to parameter 'ip' here static int inline socket_bind6_reuse(int fd, unsigned char ip[16], int port) ^ udpserver.c:62:32: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socket_bind4_reuse(udp53, ip, port) == -1) ^~ ./ip4.h:123:60: note: passing argument to parameter 'ip' here static int inline socket_bind4_reuse(int fd, unsigned char ip[4], int port) ^ 12 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o engine.o -c engine.c In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from engine.c:4: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from engine.c:9: ./supervise.h:94:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] if ((volatile)supervised_quit) ~~~~~~~~^ engine.c:188:17: warning: implicit declaration of function 'ldap_init' is invalid in C99 [-Wimplicit-function-declaration] o->ldap_con = ldap_init(hostnamestr, port); ^ engine.c:188:15: warning: incompatible integer to pointer conversion assigning to 'LDAP *' (aka 'struct ldap *') from 'int'; o->ldap_con = ldap_init(hostnamestr, port); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engine.c:203:4: warning: implicit declaration of function 'ldap_unbind' is invalid in C99 [-Wimplicit-function-declaration] ldap_unbind(o->ldap_con); ^ engine.c:220:7: warning: implicit declaration of function 'ldap_bind_s' is invalid in C99 [-Wimplicit-function-declaration] r = ldap_bind_s(o->ldap_con, ^ engine.c:232:7: warning: implicit declaration of function 'ldap_simple_bind_s' is invalid in C99 [-Wimplicit-function-declaration] r = ldap_simple_bind_s(o->ldap_con, ^ engine.c:457:6: warning: implicit declaration of function 'ldap_search' is invalid in C99 [-Wimplicit-function-declaration] r = ldap_search(c->c->ldap_con, ^ engine.c:1128:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = handle_generic_compare(c, q, pdata, n); ^ engine.c:1062:75: note: passing argument to parameter 'p' here static int inline handle_generic_compare(dns_ctx *c, const unsigned char *p, ^ engine.c:1128:38: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = handle_generic_compare(c, q, pdata, n); ^~~~~ engine.c:1063:24: note: passing argument to parameter 'pdata' here const unsigned char *pdata, unsigned int plen) { ^ engine.c:1467:16: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_cat(b, c->ip, 4); ^~~~~ ./bin.h:39:43: note: passing argument to parameter 's' here static void inline bin_cat(bin_t p, char *s, int len) { ^ engine.c:1524:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response_addbytes(c, header, 12); ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:1594:23: warning: passing 'char [513]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response_addbytes(c, c->request_buf, c->request_len); ^~~~~~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:1795:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_axstart(c, 0, q, p, DNS_C_IN, ttl)) { ^ ./ldapdns.h:204:57: note: passing argument to parameter 'qt' here int response_axstart(dns_ctx *c, int soa, char *q, char qt[2], char qc[2], unsigned int ttl); ^ engine.c:1799:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_rstart(c, q, p, ttl)) { ^ ./ldapdns.h:186:51: note: passing argument to parameter 'rr' here int response_rstart(dns_ctx *, char *dnsenc, char rr[2], unsigned int ttl); ^ engine.c:1811:31: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\377", 1)) { ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:1817:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addname(c, p)) { ^ ./ldapdns.h:188:39: note: passing argument to parameter 'dnsenc' here int response_addname(dns_ctx *, char *dnsenc); ^ engine.c:1820:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dlen = dns_domain_length(p); ^ ./ldapdns.h:212:44: note: passing argument to parameter 'dn' here unsigned int dns_domain_length(const char *dn); ^ engine.c:1823:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] push_subreq(c, p); ^ engine.c:1774:50: note: passing argument to parameter 'q' here static void inline push_subreq(dns_ctx *c, char *q) ^ engine.c:1953:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2023:7: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] dat, c->ttl); ^~~ engine.c:1788:62: note: passing argument to parameter 'p' here response_generic(dns_ctx *c, int ax, char *q, unsigned char *p, unsigned long ttl) ^ engine.c:2048:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2085:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 2) ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2147:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2209:30: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, "\x60\x00", 2) ^~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2210:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2226:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 2) ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2248:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2306:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2428:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, dns_domain_length(dat)-1)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2549:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 4)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2571:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, 2) ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2582:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !response_addbytes(c, dat, dns_domain_length(dat)-1)) { ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ engine.c:2601:5: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] dat, c->ttl); ^~~ engine.c:1788:62: note: passing argument to parameter 'p' here response_generic(dns_ctx *c, int ax, char *q, unsigned char *p, unsigned long ttl) ^ engine.c:2820:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv4_in_subnet(lp->str+1, c->ip)) { ^~~~~~~~~ ./ip4.h:52:48: note: passing argument to parameter 'cidr' here static int inline ipv4_in_subnet(unsigned char cidr[8], unsigned char ip[4]) ^ engine.c:2822:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv4_null(lp->str+1)) ^~~~~~~~~ ./ip4.h:20:44: note: passing argument to parameter 'ip' here static int inline ipv4_null(unsigned char *ip) ^ engine.c:2827:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv6_in_subnet(lp->str+1, c->ip)) { ^~~~~~~~~ ./ip6.h:141:48: note: passing argument to parameter 'cidr' here static int inline ipv6_in_subnet(unsigned char cidr[32], unsigned char ip[16]) ^ engine.c:2829:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv6_null(lp->str+1)) ^~~~~~~~~ ./ip6.h:20:44: note: passing argument to parameter 'ip' here static int inline ipv6_null(unsigned char *ip) ^ engine.c:2877:7: warning: implicit declaration of function 'ldap_abandon' is invalid in C99 [-Wimplicit-function-declaration] ldap_abandon(o->ldap_con, ^ engine.c:2942:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] if ((volatile)c->phase != PHASE_IDLE) ~~~~~~~~^ engine.c:2991:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv4_in_subnet(lp->str+1, c->ip)) { ^~~~~~~~~ ./ip4.h:52:48: note: passing argument to parameter 'cidr' here static int inline ipv4_in_subnet(unsigned char cidr[8], unsigned char ip[4]) ^ engine.c:2993:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv4_null(lp->str+1)) ^~~~~~~~~ ./ip4.h:20:44: note: passing argument to parameter 'ip' here static int inline ipv4_null(unsigned char *ip) ^ engine.c:2998:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv6_in_subnet(lp->str+1, c->ip)) { ^~~~~~~~~ ./ip6.h:141:48: note: passing argument to parameter 'cidr' here static int inline ipv6_in_subnet(unsigned char cidr[32], unsigned char ip[16]) ^ engine.c:3000:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ipv6_null(lp->str+1)) ^~~~~~~~~ ./ip6.h:20:44: note: passing argument to parameter 'ip' here static int inline ipv6_null(unsigned char *ip) ^ engine.c:3103:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] if ((volatile)x->phase == PHASE_IDLE) ~~~~~~~~^ engine.c:3285:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (x = str(line); *x && *x != '='; x++); ^ ~~~~~~~~~ engine.c:3290:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv6_cidr(x, cidr)) { ^ ./ip6.h:137:41: note: passing argument to parameter 'str' here static int inline ipv6_cidr(const char *str, unsigned char ip[32]) ^ engine.c:3292:20: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_cat(res, cidr, 32); ^~~~ ./bin.h:39:43: note: passing argument to parameter 's' here static void inline bin_cat(bin_t p, char *s, int len) { ^ engine.c:3299:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (ipv4_cidr(x, cidr)) { ^ ./ip4.h:62:35: note: passing argument to parameter 'str' here static int inline ipv4_cidr(char *str, unsigned char cidr[8]) ^ engine.c:3301:20: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_cat(res, cidr, 8); ^~~~ ./bin.h:39:43: note: passing argument to parameter 's' here static void inline bin_cat(bin_t p, char *s, int len) { ^ 57 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o ldapdns.o -c ldapdns.c In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from ldapdns.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ ldapdns.c:419:19: warning: passing 'unsigned char [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_copy(retval, ip, 4); ^~ ./bin.h:59:50: note: passing argument to parameter 's' here static void inline bin_copy(bin_t p, const char *s, int len) { ^ 9 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o dns.o -c dns.c In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from dns.c:3: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ 8 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o response.o -c response.c In file included from response.c:1: ./bin.h:41:2: warning: implicitly declaring C library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' memcpy(p->buf + p->used, s, len); ^ ./bin.h:41:2: note: please include the header or explicitly provide a declaration for 'memcpy' In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:179:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:201:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:239:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:34: ./ip6.h:255:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:138:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:158:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&sin, (int *)&silen) == -1) { ^~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:196:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = accept(s, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ In file included from response.c:2: In file included from ./ldapdns.h:18: In file included from ./ip.h:37: ./ip4.h:212:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] r = recvfrom(s, buf, len, 0, (struct sockaddr *)&sa, &dummy); ^~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ response.c:13:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, rr, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:14:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, DNS_C_IN, 2)) return 0; ^~~~~~~~ ./dns.h:23:18: note: expanded from: #define DNS_C_IN "\000\001" ^~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:16:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\0\0", 2)) return 0; ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:55:28: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, c->dns_message_id, 2)) return 0; ^~~~~~~~~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:61:29: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, buf, 10)) return 0; ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:64:29: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, DNS_T_AXFR, 2)) return 0; ^~~~~~~~~~ ./dns.h:43:20: note: expanded from: #define DNS_T_AXFR "\000\374" ^~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:65:29: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, DNS_C_IN, 2)) return 0; ^~~~~~~~ ./dns.h:23:18: note: expanded from: #define DNS_C_IN "\000\001" ^~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:67:29: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, buf, 10)) return 0; ^~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:70:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qt, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:71:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qc, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:73:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\0\0", 2)) return 0; ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:94:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\0\0\201\200\0\1\0\0\0\0\0\0", 12)) return 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:96:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qt, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:97:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qc, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:106:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, "\0\0\204\200\0\1\0\0\0\0\0\0", 12)) return 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:108:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qt, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:109:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, qc, 2)) return 0; ^~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:136:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!response_addbytes(c, dnsenc, i)) ^~~~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:141:30: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return response_addbytes(c, "\0", 1); ^~~~ ./ldapdns.h:189:49: note: passing argument to parameter here int response_addbytes(dns_ctx *, unsigned char *, int); ^ response.c:178:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_cat(c->response, b, l); ^ ./bin.h:39:43: note: passing argument to parameter 's' here static void inline bin_cat(bin_t p, char *s, int len) { ^ response.c:189:30: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return response_addbytes(c, buf, 4); ^~~ response.c:176:50: note: passing argument to parameter 'b' here int response_addbytes(dns_ctx *c, unsigned char *b, int l) ^ response.c:198:30: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return response_addbytes(c, buf, 2); ^~~ response.c:176:50: note: passing argument to parameter 'b' here int response_addbytes(dns_ctx *c, unsigned char *b, int l) ^ response.c:207:30: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return response_addbytes(c, buf, 2); ^~~ response.c:176:50: note: passing argument to parameter 'b' here int response_addbytes(dns_ctx *c, unsigned char *b, int l) ^ 32 warnings generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o ht.o -c ht.c gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o error.o -c error.c error.c:163:2: warning: implicit declaration of function 'mem_free' is invalid in C99 [-Wimplicit-function-declaration] mem_free(str(buf)); ^ 1 warning generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -o mem.o -c mem.c In file included from mem.c:4: ./bin.h:41:2: warning: implicitly declaring C library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' memcpy(p->buf + p->used, s, len); ^ ./bin.h:41:2: note: please include the header or explicitly provide a declaration for 'memcpy' 1 warning generated. gcc -I/usr/local/include -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID -L/usr/local/lib -lpthread -lldap_r -llber -o ldapdns udpserver.o engine.o ldapdns.o dns.o response.o ht.o error.o mem.o udpserver.o: In function `tp_initialize': udpserver.c:(.text+0x92): undefined reference to `fatal' udpserver.c:(.text+0xe0): undefined reference to `cfatal' udpserver.c:(.text+0x137): undefined reference to `fatal' udpserver.c:(.text+0x156): undefined reference to `warning' udpserver.c:(.text+0x194): undefined reference to `cfatal' udpserver.c:(.text+0x1c6): undefined reference to `cfatal' engine.o: In function `main': engine.c:(.text+0x17e): undefined reference to `cfatal' engine.c:(.text+0x1aa): undefined reference to `cfatal' engine.c:(.text+0x558): undefined reference to `mem_alloc' engine.c:(.text+0x581): undefined reference to `cfatal' engine.c:(.text+0x601): undefined reference to `cfatal' engine.c:(.text+0x64c): undefined reference to `cfatal' engine.c:(.text+0x697): undefined reference to `cfatal' engine.c:(.text+0x6d8): undefined reference to `cfatal' engine.o:engine.c:(.text+0x709): more undefined references to `cfatal' follow engine.o: In function `main': engine.c:(.text+0x7ca): undefined reference to `fatal' engine.c:(.text+0x7f1): undefined reference to `cfatal' engine.c:(.text+0x97b): undefined reference to `fatal' engine.c:(.text+0xa51): undefined reference to `fatal' engine.c:(.text+0x117d): undefined reference to `mem_alloc' engine.c:(.text+0x11a6): undefined reference to `cfatal' engine.c:(.text+0x12ea): undefined reference to `fatal' engine.c:(.text+0x14e0): undefined reference to `fatal' engine.c:(.text+0x159a): undefined reference to `fatal' engine.c:(.text+0x18bf): undefined reference to `fatal' engine.c:(.text+0x192b): undefined reference to `fatal' engine.c:(.text+0x19e5): undefined reference to `cfatal' engine.c:(.text+0x1a13): undefined reference to `fatal' engine.c:(.text+0x1a3b): undefined reference to `fatal' engine.c:(.text+0x1a69): undefined reference to `fatal' engine.c:(.text+0x1a91): undefined reference to `fatal' engine.c:(.text+0x1abf): undefined reference to `warning' engine.c:(.text+0x1aed): undefined reference to `fatal' engine.c:(.text+0x1b2b): undefined reference to `cfatal' engine.c:(.text+0x1b69): undefined reference to `cfatal' engine.c:(.text+0x1bc7): undefined reference to `log' engine.c:(.text+0x1c77): undefined reference to `cfatal' engine.c:(.text+0x1dd4): undefined reference to `cfatal' engine.c:(.text+0x1e0b): undefined reference to `log' engine.c:(.text+0x1e40): undefined reference to `log' engine.c:(.text+0x1ea2): undefined reference to `cfatal' engine.o: In function `supervise': engine.c:(.text+0x1fa5): undefined reference to `cfatal' engine.c:(.text+0x2155): undefined reference to `cfatal' engine.o: In function `handle_signal': engine.c:(.text+0x235e): undefined reference to `log' engine.c:(.text+0x23e5): undefined reference to `log' engine.c:(.text+0x2420): undefined reference to `log' engine.o: In function `str_need': engine.c:(.text+0x2572): undefined reference to `cfatal' engine.o: In function `list_push': engine.c:(.text+0x2709): undefined reference to `mem_alloc' engine.c:(.text+0x272a): undefined reference to `cfatal' engine.o: In function `initialize_handler': engine.c:(.text+0x2801): undefined reference to `cfatal' engine.o: In function `root_read': engine.c:(.text+0x2ab6): undefined reference to `fatal' engine.o: In function `one2one_msgwait_loop': engine.c:(.text+0x33cb): undefined reference to `fatal' engine.c:(.text+0x33ed): undefined reference to `tp_housekeeping' engine.c:(.text+0x33fb): undefined reference to `tp_read' engine.c:(.text+0x36b5): undefined reference to `warning' engine.c:(.text+0x382e): undefined reference to `cfatal' engine.o: In function `ldap_msgwait_loop': engine.c:(.text+0x39e8): undefined reference to `warning' engine.c:(.text+0x3aec): undefined reference to `warning' engine.c:(.text+0x3d5b): undefined reference to `cfatal' engine.o: In function `dns_msgwait_loop': engine.c:(.text+0x3dc1): undefined reference to `tp_housekeeping' engine.c:(.text+0x3ec7): undefined reference to `mem_alloc' engine.c:(.text+0x3ee8): undefined reference to `cfatal' engine.c:(.text+0x3f99): undefined reference to `tp_read' engine.c:(.text+0x4201): undefined reference to `fatal' engine.o: In function `bin_need': engine.c:(.text+0x4372): undefined reference to `cfatal' engine.o: In function `engine_dns_answer_query': engine.c:(.text+0x4dc6): undefined reference to `warning' engine.o: In function `complete_phase': engine.c:(.text+0x5cc1): undefined reference to `tp_write' engine.c:(.text+0x5f20): undefined reference to `status' engine.o: In function `env_put': engine.c:(.text+0x5fee): undefined reference to `cfatal' engine.o: In function `translate_netbios': engine.c:(.text+0x602d): undefined reference to `warning' engine.o: In function `ldapdns_process_update': engine.c:(.text+0x666a): undefined reference to `fatal' engine.o: In function `restart_ldap_connection': engine.c:(.text+0x6b7c): undefined reference to `warning' engine.c:(.text+0x6c1a): undefined reference to `warning' engine.o: In function `start_next_update_operation': engine.c:(.text+0x7ba6): undefined reference to `warning' engine.c:(.text+0x7bbe): undefined reference to `warning' engine.c:(.text+0x7c56): undefined reference to `warning' engine.o:engine.c:(.text+0x7c6e): more undefined references to `warning' follow engine.o: In function `ldapdns_process_zonesearch': engine.c:(.text+0x885f): undefined reference to `fatal' engine.c:(.text+0x8aa3): undefined reference to `fatal' engine.o: In function `ldapdns_process_attrsearch': engine.c:(.text+0x8fa9): undefined reference to `fatal' engine.c:(.text+0x922d): undefined reference to `fatal' engine.c:(.text+0x930b): undefined reference to `fatal' engine.o:engine.c:(.text+0x95aa): more undefined references to `fatal' follow engine.o: In function `add_peer_ns': engine.c:(.text+0xce19): undefined reference to `ldapdns_list_unique' engine.o: In function `parse_read_search': engine.c:(.text+0xe45e): undefined reference to `cfatal' engine.c:(.text+0xe471): undefined reference to `fatal' ldapdns.o: In function `str_need': ldapdns.c:(.text+0x182): undefined reference to `cfatal' ldapdns.o: In function `list_push': ldapdns.c:(.text+0x5c9): undefined reference to `mem_alloc' ldapdns.c:(.text+0x5ea): undefined reference to `cfatal' ldapdns.o: In function `bin_need': ldapdns.c:(.text+0x2b02): undefined reference to `cfatal' ldapdns.o: In function `__parse_ipv4': ldapdns.c:(.text+0x33ea): undefined reference to `warning' dns.o: In function `name_to_dns_fix': dns.c:(.text+0x12d): undefined reference to `warning' dns.o: In function `str_need': dns.c:(.text+0x252): undefined reference to `cfatal' dns.o: In function `list_push': dns.c:(.text+0x719): undefined reference to `mem_alloc' dns.c:(.text+0x73a): undefined reference to `cfatal' dns.o: In function `bin_need': dns.c:(.text+0xf72): undefined reference to `cfatal' response.o: In function `response_axstart': response.c:(.text+0x24f): undefined reference to `tp_write' response.o: In function `bin_need': response.c:(.text+0xc52): undefined reference to `cfatal' ht.o: In function `ht_init': ht.c:(.text+0x22): undefined reference to `mem_alloc' ht.o: In function `ht_store_flag': ht.c:(.text+0x426): undefined reference to `mem_alloc' ht.o: In function `ht_storecopy': ht.c:(.text+0x5af): undefined reference to `mem_alloc' ht.o: In function `bin_need': ht.c:(.text+0xab2): undefined reference to `cfatal' error.o: In function `log_file': error.c:(.text+0x310): undefined reference to `cfatal' error.c:(.text+0x359): undefined reference to `cfatal' error.o: In function `log_pipe': error.c:(.text+0x39e): undefined reference to `cfatal' error.c:(.text+0x3d5): undefined reference to `cfatal' error.o:error.c:(.text+0x496): more undefined references to `cfatal' follow mem.o: In function `list_push': mem.c:(.text+0x1b9): undefined reference to `mem_alloc' mem.c:(.text+0x1da): undefined reference to `cfatal' mem.o: In function `bin_need': mem.c:(.text+0x292): undefined reference to `cfatal' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [ldapdns] Error 1 make[2]: Leaving directory `/build/ldapdns-eUM7aN/ldapdns-2.06/build-tree/ldapdns-2.06' make[1]: *** [default] Error 2 make[1]: Leaving directory `/build/ldapdns-eUM7aN/ldapdns-2.06/build-tree/ldapdns-2.06' make: *** [debian/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-c86a0071-0cb3-489f-9ef8-53a54982b06a/build/ldapdns-eUM7aN Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 1116 Build-Time: 5 Distribution: lsid64b Fail-Stage: build Install-Time: 5 Job: ldapdns_2.06-3.4 Package: ldapdns Package-Time: 23 Source-Version: 2.06-3.4 Space: 1116 Status: attempted Version: 2.06-3.4 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120113-0351 Build needed 00:00:23, 1116k disc space DC-Build-Status: Failed 270.551309s ### Content of /var/log/daemon.log ### Jan 12 21:02:56 stremi-35 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:03:52 stremi-35 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:07 stremi-35 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:07 stremi-35 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 12 21:04:18 stremi-35 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 12 21:04:33 stremi-35 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:34 stremi-35 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 12 21:05:03 stremi-35 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long Jan 12 21:05:07 stremi-35 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 12 21:05:28 stremi-35 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 12 21:05:49 stremi-35 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long Jan 12 21:05:50 stremi-35 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.gz is taking too long Jan 12 21:05:50 stremi-35 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 12 21:06:01 stremi-35 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.gz is taking too long Jan 12 21:06:10 stremi-35 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long Jan 12 21:06:15 stremi-35 approx: Concurrent download of debian/dists/sid/main/source/Sources.xz is taking too long Jan 13 03:20:56 stremi-35 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 13 03:26:57 stremi-35 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 13 03:43:57 stremi-35 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 13 03:45:33 stremi-35 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: 270.551309 versus expected 21 (r/m: 11.8833956666667 ; m: 21.0) DC-Build-Network: USED. See /tmp/rulesafter.u3naVD ! ************************************************************ # Generated by iptables-save v1.4.8 on Fri Jan 13 03:51:43 2012 *filter :INPUT ACCEPT [9175345:71148663601] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] :LD - [0:0] [6135992:65886555920] -A OUTPUT -o lo -j ACCEPT [0:0] -A OUTPUT -d 129.88.0.0/16 -j ACCEPT [8:480] -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 [672774:260400347] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT [49980:6648552] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT [1985:119100] -A OUTPUT -j LD [1985:119100] -A LD -j LOG [1985:119100] -A LD -j REJECT --reject-with icmp-port-unreachable COMMIT # Completed on Fri Jan 13 03:51:43 2012 ************************************************************ --- /tmp/rulesbefore.ADDHsv 2012-01-13 03:47:13.333321842 +0100 +++ /tmp/rulesafter.u3naVD 2012-01-13 03:51:43.894399152 +0100 @@ -1,10 +1,10 @@ -# Generated by iptables-save v1.4.8 on Fri Jan 13 03:47:13 2012 +# Generated by iptables-save v1.4.8 on Fri Jan 13 03:51:43 2012 *filter -:INPUT ACCEPT [9090745:70450278927] +:INPUT ACCEPT [9175345:71148663601] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] :LD - [0:0] -[6083446:65204769015] -A OUTPUT -o lo -j ACCEPT +[6135992:65886555920] -A OUTPUT -o lo -j ACCEPT [0:0] -A OUTPUT -d 129.88.0.0/16 -j ACCEPT [8:480] -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 -[664979:258063200] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT +[672774:260400347] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT -[49479:6583388] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT +[49980:6648552] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT [1985:119100] -A OUTPUT -j LD [1985:119100] -A LD -j LOG [1985:119100] -A LD -j REJECT --reject-with icmp-port-unreachable COMMIT -# Completed on Fri Jan 13 03:47:13 2012 +# Completed on Fri Jan 13 03:51:43 2012 ************************************************************ [10665.893046] IN= OUT=eth0 SRC=172.16.160.35 DST=46.43.35.231 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=50805 DF PROTO=TCP SPT=34975 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10668.908049] IN= OUT=eth0 SRC=172.16.160.35 DST=46.43.35.231 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=50806 DF PROTO=TCP SPT=34975 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10668.941054] IN= OUT=eth0 SRC=172.16.160.35 DST=193.166.3.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=37636 DF PROTO=TCP SPT=43998 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10671.964034] IN= OUT=eth0 SRC=172.16.160.35 DST=193.166.3.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=37637 DF PROTO=TCP SPT=43998 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10671.984780] IN= OUT=eth0 SRC=172.16.160.35 DST=193.166.3.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11730 DF PROTO=TCP SPT=43999 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10674.996033] IN= OUT=eth0 SRC=172.16.160.35 DST=193.166.3.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11731 DF PROTO=TCP SPT=43999 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10675.038535] IN= OUT=eth0 SRC=172.16.160.35 DST=195.220.53.232 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=29598 DF PROTO=TCP SPT=55506 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10678.052032] IN= OUT=eth0 SRC=172.16.160.35 DST=195.220.53.232 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=29599 DF PROTO=TCP SPT=55506 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10678.073217] IN= OUT=eth0 SRC=172.16.160.35 DST=195.220.53.232 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=20392 DF PROTO=TCP SPT=55507 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10681.088038] IN= OUT=eth0 SRC=172.16.160.35 DST=195.220.53.232 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=20393 DF PROTO=TCP SPT=55507 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10681.119455] IN= OUT=eth0 SRC=172.16.160.35 DST=212.117.177.118 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=15700 DF PROTO=TCP SPT=52637 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [10684.136033] IN= OUT=eth0 SRC=172.16.160.35 DST=212.117.177.118 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=15701 DF PROTO=TCP SPT=52637 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [10684.156999] IN= OUT=eth0 SRC=172.16.160.35 DST=212.117.177.118 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=14119 DF PROTO=TCP SPT=52638 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [10687.176022] IN= OUT=eth0 SRC=172.16.160.35 DST=212.117.177.118 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=14120 DF PROTO=TCP SPT=52638 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [10687.196079] IN= OUT=eth0 SRC=172.16.160.35 DST=212.117.177.118 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=32537 DF PROTO=TCP SPT=52639 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [10690.212029] IN= OUT=eth0 SRC=172.16.160.35 DST=212.117.177.118 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=32538 DF PROTO=TCP SPT=52639 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [10690.244105] IN= OUT=eth0 SRC=172.16.160.35 DST=188.40.67.148 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=14352 DF PROTO=TCP SPT=52197 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10693.260025] IN= OUT=eth0 SRC=172.16.160.35 DST=188.40.67.148 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=14353 DF PROTO=TCP SPT=52197 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10693.280732] IN= OUT=eth0 SRC=172.16.160.35 DST=188.40.67.148 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54210 DF PROTO=TCP SPT=52198 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10696.300025] IN= OUT=eth0 SRC=172.16.160.35 DST=188.40.67.148 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54211 DF PROTO=TCP SPT=52198 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10696.332132] IN= OUT=eth0 SRC=172.16.160.35 DST=46.43.35.231 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=30250 DF PROTO=TCP SPT=34985 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10699.348033] IN= OUT=eth0 SRC=172.16.160.35 DST=46.43.35.231 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=30251 DF PROTO=TCP SPT=34985 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10699.368927] IN= OUT=eth0 SRC=172.16.160.35 DST=46.43.35.231 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=28649 DF PROTO=TCP SPT=34986 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10702.384024] IN= OUT=eth0 SRC=172.16.160.35 DST=46.43.35.231 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=28650 DF PROTO=TCP SPT=34986 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10702.415726] IN= OUT=eth0 SRC=172.16.160.35 DST=193.166.3.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=46674 DF PROTO=TCP SPT=44009 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10705.432036] IN= OUT=eth0 SRC=172.16.160.35 DST=193.166.3.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=46675 DF PROTO=TCP SPT=44009 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10705.452821] IN= OUT=eth0 SRC=172.16.160.35 DST=193.166.3.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54215 DF PROTO=TCP SPT=44010 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [10708.468023] IN= OUT=eth0 SRC=172.16.160.35 DST=193.166.3.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54216 DF PROTO=TCP SPT=44010 DPT=21 WINDOW=5840 RES=0x00 SYN URGP=0 [13854.515580] IN= OUT=eth0 SRC=172.16.160.35 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=39207 DF PROTO=TCP SPT=33770 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [15057.628898] IN= OUT=eth0 SRC=172.16.160.35 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=44699 DF PROTO=TCP SPT=41577 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [15060.648030] IN= OUT=eth0 SRC=172.16.160.35 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=44700 DF PROTO=TCP SPT=41577 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [15061.849336] IN= OUT=eth0 SRC=172.16.160.35 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=1879 DF PROTO=TCP SPT=41581 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [15064.868615] IN= OUT=eth0 SRC=172.16.160.35 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=1880 DF PROTO=TCP SPT=41581 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [18565.140982] IN= OUT=eth0 SRC=172.16.160.35 DST=217.196.43.134 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=25236 DF PROTO=TCP SPT=59421 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [18568.157200] IN= OUT=eth0 SRC=172.16.160.35 DST=217.196.43.134 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=25237 DF PROTO=TCP SPT=59421 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [18994.667797] bzr[25069]: segfault at 1000000008 ip 000000000055fe24 sp 00007fff1b801120 error 4 in python2.7[400000+273000] [20199.201433] IN= OUT=eth0 SRC=172.16.160.35 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=50408 DF PROTO=TCP SPT=46346 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20202.220023] IN= OUT=eth0 SRC=172.16.160.35 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=50409 DF PROTO=TCP SPT=46346 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20968.489216] IN= OUT=eth0 SRC=172.16.160.35 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=21030 DF PROTO=TCP SPT=35518 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20971.508029] IN= OUT=eth0 SRC=172.16.160.35 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=21031 DF PROTO=TCP SPT=35518 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20978.987055] IN= OUT=eth0 SRC=172.16.160.35 DST=74.125.230.84 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=59346 DF PROTO=TCP SPT=60639 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20982.001867] IN= OUT=eth0 SRC=172.16.160.35 DST=74.125.230.84 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=59347 DF PROTO=TCP SPT=60639 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20982.222380] IN= OUT=eth0 SRC=172.16.160.35 DST=74.125.230.83 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=43215 DF PROTO=TCP SPT=46479 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20985.241037] IN= OUT=eth0 SRC=172.16.160.35 DST=74.125.230.83 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=43216 DF PROTO=TCP SPT=46479 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20985.257818] IN= OUT=eth0 SRC=172.16.160.35 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=22796 DF PROTO=TCP SPT=35538 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20986.064099] IN= OUT=eth0 SRC=172.16.160.35 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=19360 DF PROTO=TCP SPT=35539 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20988.273785] IN= OUT=eth0 SRC=172.16.160.35 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=22797 DF PROTO=TCP SPT=35538 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20989.084031] IN= OUT=eth0 SRC=172.16.160.35 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=19361 DF PROTO=TCP SPT=35539 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20993.078471] IN= OUT=eth0 SRC=172.16.160.35 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=17956 DF PROTO=TCP SPT=35542 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20996.092034] IN= OUT=eth0 SRC=172.16.160.35 DST=82.94.164.162 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=17957 DF PROTO=TCP SPT=35542 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 ************************************************************