sbuild (Debian sbuild) 0.62.6 (07 Dec 2011) on build02.raspbian.lan ╔══════════════════════════════════════════════════════════════════════════════╗ ║ proftpd-mod-geoip 0.3-1 (armhf) 01 May 2012 16:34 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: proftpd-mod-geoip Version: 0.3-1 Source Version: 0.3-1 Distribution: testing Architecture: armhf I: NOTICE: Log filtering will replace 'build/proftpd-mod-geoip-rrtFQ8/proftpd-mod-geoip-0.3' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/proftpd-mod-geoip-rrtFQ8' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/testing-armhf-sbuild-489ee714-d35a-4108-9b79-a6aee20ab9e2' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Hit http://repo.raspbian.lan testing InRelease Hit http://repo.raspbian.lan testing/main Sources Hit http://repo.raspbian.lan testing/main armhf Packages Ign http://repo.raspbian.lan testing/main TranslationIndex Ign http://repo.raspbian.lan testing/main Translation-en Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'proftpd-mod-geoip' packaging is maintained in the 'Git' version control system at: git://git.debian.org/pkg-proftpd/proftpd-mod-geoip.git Need to get 17.0 kB of source archives. Get:1 http://repo.raspbian.lan/debian/ testing/main proftpd-mod-geoip 0.3-1 (dsc) [1515 B] Get:2 http://repo.raspbian.lan/debian/ testing/main proftpd-mod-geoip 0.3-1 (tar) [11.5 kB] Get:3 http://repo.raspbian.lan/debian/ testing/main proftpd-mod-geoip 0.3-1 (diff) [3996 B] Fetched 17.0 kB in 0s (418 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 `/«BUILDDIR»/resolver-Wr_B3D/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... sbuild-build-depends-core-dummy is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Merged Build-Depends: libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 7.0.50~), proftpd-dev (>= 1.3.3d-5~), libgeoip-dev, libacl1-dev Filtered Build-Depends: libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 7.0.50~), proftpd-dev (>= 1.3.3d-5~), libgeoip-dev, libacl1-dev dpkg-deb: building package `sbuild-build-depends-proftpd-mod-geoip-dummy' in `/«BUILDDIR»/resolver-SSkn2m/apt_archive/sbuild-build-depends-proftpd-mod-geoip-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install proftpd-mod-geoip build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: adduser autotools-dev geoip-bin libacl1-dev libattr1-dev libcap2 libfile-copy-recursive-perl libgeoip-dev libgeoip1 libpcre3-dev libpcrecpp0 libssl-dev libssl1.0.0 libtool netbase proftpd-basic proftpd-dev update-inetd zlib1g-dev Suggested packages: libtool-doc autoconf automaken gfortran fortran95-compiler gcj openbsd-inetd inet-superserver openssl proftpd-doc proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-odbc proftpd-mod-pgsql proftpd-mod-sqlite pkg-config Recommended packages: geoip-database libssl-doc libltdl-dev ifupdown The following NEW packages will be installed: adduser autotools-dev geoip-bin libacl1-dev libattr1-dev libcap2 libfile-copy-recursive-perl libgeoip-dev libgeoip1 libpcre3-dev libpcrecpp0 libssl-dev libssl1.0.0 libtool netbase proftpd-basic proftpd-dev sbuild-build-depends-proftpd-mod-geoip-dummy update-inetd zlib1g-dev 0 upgraded, 20 newly installed, 0 to remove and 1 not upgraded. Need to get 257 kB/8243 kB of archives. After this operation, 18.8 MB of additional disk space will be used. Get:1 http://repo.raspbian.lan/debian/ testing/main geoip-bin armhf 1.4.8+dfsg-3 [57.3 kB] Get:2 http://repo.raspbian.lan/debian/ testing/main libgeoip-dev armhf 1.4.8+dfsg-3 [199 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 257 kB in 0s (4452 kB/s) Selecting previously unselected package libssl1.0.0:armhf. (Reading database ... 12147 files and directories currently installed.) Unpacking libssl1.0.0:armhf (from .../libssl1.0.0_1.0.1-4_armhf.deb) ... Selecting previously unselected package libpcrecpp0:armhf. Unpacking libpcrecpp0:armhf (from .../libpcrecpp0_1%3a8.30-4_armhf.deb) ... Selecting previously unselected package adduser. Unpacking adduser (from .../adduser_3.113+nmu1_all.deb) ... Selecting previously unselected package netbase. Unpacking netbase (from .../archives/netbase_4.47_all.deb) ... Selecting previously unselected package libcap2. Unpacking libcap2 (from .../libcap2_1%3a2.22-1_armhf.deb) ... Selecting previously unselected package autotools-dev. Unpacking autotools-dev (from .../autotools-dev_20120210.1_all.deb) ... Selecting previously unselected package libgeoip1. Unpacking libgeoip1 (from .../libgeoip1_1.4.8+dfsg-3_armhf.deb) ... Selecting previously unselected package geoip-bin. Unpacking geoip-bin (from .../geoip-bin_1.4.8+dfsg-3_armhf.deb) ... Selecting previously unselected package libfile-copy-recursive-perl. Unpacking libfile-copy-recursive-perl (from .../libfile-copy-recursive-perl_0.38-1_all.deb) ... Selecting previously unselected package libgeoip-dev. Unpacking libgeoip-dev (from .../libgeoip-dev_1.4.8+dfsg-3_armhf.deb) ... Selecting previously unselected package libpcre3-dev. Unpacking libpcre3-dev (from .../libpcre3-dev_1%3a8.30-4_armhf.deb) ... Selecting previously unselected package zlib1g-dev:armhf. Unpacking zlib1g-dev:armhf (from .../zlib1g-dev_1%3a1.2.6.dfsg-2_armhf.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.1-4_armhf.deb) ... Selecting previously unselected package libtool. Unpacking libtool (from .../libtool_2.4.2-1+b2_armhf.deb) ... Selecting previously unselected package update-inetd. Unpacking update-inetd (from .../update-inetd_4.41_all.deb) ... Selecting previously unselected package proftpd-basic. Unpacking proftpd-basic (from .../proftpd-basic_1.3.4a-2_armhf.deb) ... Selecting previously unselected package libattr1-dev:armhf. Unpacking libattr1-dev:armhf (from .../libattr1-dev_1%3a2.4.46-5_armhf.deb) ... Selecting previously unselected package libacl1-dev. Unpacking libacl1-dev (from .../libacl1-dev_2.2.51-5_armhf.deb) ... Selecting previously unselected package proftpd-dev. Unpacking proftpd-dev (from .../proftpd-dev_1.3.4a-2_armhf.deb) ... Selecting previously unselected package sbuild-build-depends-proftpd-mod-geoip-dummy. Unpacking sbuild-build-depends-proftpd-mod-geoip-dummy (from .../sbuild-build-depends-proftpd-mod-geoip-dummy.deb) ... Processing triggers for man-db ... Setting up libssl1.0.0:armhf (1.0.1-4) ... Setting up libpcrecpp0:armhf (1:8.30-4) ... Setting up adduser (3.113+nmu1) ... Setting up netbase (4.47) ... Setting up libcap2 (1:2.22-1) ... Setting up autotools-dev (20120210.1) ... Setting up libgeoip1 (1.4.8+dfsg-3) ... Setting up geoip-bin (1.4.8+dfsg-3) ... Setting up libfile-copy-recursive-perl (0.38-1) ... Setting up libgeoip-dev (1.4.8+dfsg-3) ... Setting up libpcre3-dev (1:8.30-4) ... Setting up zlib1g-dev:armhf (1:1.2.6.dfsg-2) ... Setting up libssl-dev (1.0.1-4) ... Setting up libtool (2.4.2-1+b2) ... Setting up update-inetd (4.41) ... Setting up proftpd-basic (1.3.4a-2) ... Warning: The home dir /var/run/proftpd you specified can't be accessed: No such file or directory Adding system user `proftpd' (UID 107) ... Adding new user `proftpd' (UID 107) with group `nogroup' ... Not creating home directory `/var/run/proftpd'. Adding system user `ftp' (UID 108) ... Adding new user `ftp' (UID 108) with group `nogroup' ... Creating home directory `/srv/ftp' ... `/usr/share/proftpd/templates/welcome.msg' -> `/srv/ftp/welcome.msg.proftpd-new' All runlevel operations denied by policy invoke-rc.d: policy-rc.d denied execution of start. Setting up libattr1-dev:armhf (1:2.4.46-5) ... Setting up libacl1-dev (2.2.51-5) ... Setting up proftpd-dev (1.3.4a-2) ... Setting up sbuild-build-depends-proftpd-mod-geoip-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 3.2.0-2-mx5 armhf (armv7l) Toolchain package versions: binutils_2.22-6 dpkg-dev_1.16.2 g++-4.6_4.6.3-1.1+rpi2 gcc-4.6_4.6.3-1.1+rpi2 libc6-dev_2.13-30 libstdc++6_4.7.0-1.1+rpi libstdc++6-4.6-dev_4.6.3-1.1+rpi2 linux-libc-dev_3.2.12-1 Package versions: adduser_3.113+nmu1 apt_0.8.15.10 autotools-dev_20120210.1 base-files_6.7 base-passwd_3.5.24 bash_4.2-2 binutils_2.22-6 bsdmainutils_9.0.1 bsdutils_1:2.20.1-4 build-essential_11.5+b1 bzip2_1.0.6-1 coreutils_8.13-3.1 cpp_4:4.6.2-4 cpp-4.6_4.6.3-1.1+rpi2 dash_0.5.7-3 debconf_1.5.42 debfoster_2.7-1.1 debhelper_9.20120322 debian-archive-keyring_2010.08.28 debianutils_4.3 diffutils_1:3.2-2 dpkg_1.16.2 dpkg-dev_1.16.2 e2fslibs_1.42.2-1 e2fsprogs_1.42.2-1 fakeroot_1.18.2-1 file_5.11-1 findutils_4.4.2-4 g++_4:4.6.2-4 g++-4.6_4.6.3-1.1+rpi2 gcc_4:4.6.2-4 gcc-4.4-base_4.4.7-1 gcc-4.5-base_4.5.3-12 gcc-4.6_4.6.3-1.1+rpi2 gcc-4.6-base_4.6.3-1.1+rpi2 gcc-4.7-base_4.7.0-1.1+rpi geoip-bin_1.4.8+dfsg-3 gettext_0.18.1.1-5+rpi1 gettext-base_0.18.1.1-5+rpi1 gnupg_1.4.12-4 gpgv_1.4.12-4 grep_2.10-1 groff-base_1.21-7 gzip_1.4-5 hardening-wrapper_2.1 hostname_3.11 html2text_1.3.2a-15 initscripts_2.88dsf-22.1 insserv_1.14.0-2.2 intltool-debian_0.35.0+20060710.1 libacl1_2.2.51-5 libacl1-dev_2.2.51-5 libattr1_1:2.4.46-5 libattr1-dev_1:2.4.46-5 libblkid1_2.20.1-4 libbz2-1.0_1.0.6-1 libc-bin_2.13-30 libc-dev-bin_2.13-30 libc6_2.13-30 libc6-dev_2.13-30 libcap2_1:2.22-1 libclass-isa-perl_0.36-3 libcomerr2_1.42.2-1 libcroco3_0.6.5-1 libdb5.1_5.1.29-1 libdpkg-perl_1.16.2 libffi5_3.0.10-3+b3 libfile-copy-recursive-perl_0.38-1 libfile-fcntllock-perl_0.14-1 libgc1c2_1:7.1-8 libgcc1_1:4.7.0-1.1+rpi libgdbm3_1.8.3-10 libgeoip-dev_1.4.8+dfsg-3 libgeoip1_1.4.8+dfsg-3 libglib2.0-0_2.32.0-4 libgmp10_2:5.0.4+dfsg-1 libgomp1_4.7.0-1.1+rpi libio-socket-inet6-perl_2.69-2 liblocale-gettext-perl_1.05-7 liblzma5_5.1.1alpha+20110809-3 libmagic1_5.11-1 libmount1_2.20.1-4 libmpc2_0.9-4 libmpfr4_3.1.0-4 libncurses5_5.9-4 libncursesw5_5.9-4 libpam-modules_1.1.3-7 libpam-modules-bin_1.1.3-7 libpam-runtime_1.1.3-7 libpam0g_1.1.3-7 libpcre3_1:8.30-4 libpcre3-dev_1:8.30-4 libpcrecpp0_1:8.30-4 libpipeline1_1.2.1-1 libreadline6_6.2-8 libselinux1_2.1.9-2 libsemanage-common_2.1.6-2 libsemanage1_2.1.6-2 libsepol1_2.1.4-1 libslang2_2.2.4-7 libsocket6-perl_0.23-1 libss2_1.42.2-1 libssl-dev_1.0.1-4 libssl1.0.0_1.0.1-4 libstdc++6_4.7.0-1.1+rpi libstdc++6-4.6-dev_4.6.3-1.1+rpi2 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9-4 libtool_2.4.2-1+b2 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-20 libustr-1.0-1_1.0.4-2 libuuid1_2.20.1-4 libwrap0_7.6.q-23 libwrap0-dev_7.6.q-23 libxml2_2.7.8.dfsg-9 linux-libc-dev_3.2.12-1 login_1:4.1.5-1 lsb-base_4.1+Debian0 make_3.81-8.1 man-db_2.6.1-2 mawk_1.3.3-17 mount_2.20.1-4 multiarch-support_2.13-30 ncurses-base_5.9-4 ncurses-bin_5.9-4 netbase_4.47 passwd_1:4.1.5-1 patch_2.6.1-3 perl_5.14.2-9 perl-base_5.14.2-9 perl-modules_5.14.2-9 po-debconf_1.0.16+nmu2 proftpd-basic_1.3.4a-2 proftpd-dev_1.3.4a-2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-proftpd-mod-geoip-dummy_0.invalid.0 sbuild-build-depends-sslh-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-22.1 sysvinit_2.88dsf-22.1 sysvinit-utils_2.88dsf-22.1 tar_1.26-4 tzdata_2012b-1 ucf_3.0025+nmu2 update-inetd_4.41 util-linux_2.20.1-4 xz-utils_5.1.1alpha+20110809-3 zlib1g_1:1.2.6.dfsg-2 zlib1g-dev_1:1.2.6.dfsg-2 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Mon Oct 10 15:41:59 2011 UTC using DSA key ID E9F2C747 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./proftpd-mod-geoip_0.3-1.dsc dpkg-source: info: extracting proftpd-mod-geoip in proftpd-mod-geoip-0.3 dpkg-source: info: unpacking proftpd-mod-geoip_0.3.orig.tar.gz dpkg-source: info: unpacking proftpd-mod-geoip_0.3-1.debian.tar.gz Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=buildd PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/games SCHROOT_CHROOT_NAME=testing-armhf-sbuild SCHROOT_COMMAND=env SCHROOT_GID=108 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=testing-armhf-sbuild-489ee714-d35a-4108-9b79-a6aee20ab9e2 SCHROOT_UID=106 SCHROOT_USER=buildd SHELL=/bin/sh TERM=xterm USER=buildd dpkg-buildpackage ───────────────── dpkg-buildpackage: source package proftpd-mod-geoip dpkg-buildpackage: source version 0.3-1 dpkg-source --before-build proftpd-mod-geoip-0.3 dpkg-buildpackage: host architecture armhf fakeroot debian/rules clean rm -f mod_geoip.a *.o *.la *.lo mode=clean rm -f "mod_geoip.o" mode=clean rm -f `echo "mod_geoip.la" | sed 's/\.la/.lo/g'` rm -f -rf /«PKGBUILDDIR»/debian/proftpd-mod-geoip /«PKGBUILDDIR»/debian/*.log /«PKGBUILDDIR»/debian/files /«PKGBUILDDIR»/debian/*.substvars debian/rules build-arch dh build-arch dh_testdir -a dh_auto_configure -a debian/rules override_dh_auto_build make[1]: Entering directory `/«PKGBUILDDIR»' DESTDIR=/«PKGBUILDDIR»/debian/proftpd-mod-geoip prxs -c mod_geoip.c libtool --mode=compile gcc -DLINUX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_geoip.c libtool: compile: gcc -DLINUX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_geoip.c -fPIC -DPIC -o .libs/mod_geoip.o libtool: compile: gcc -DLINUX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_geoip.c -o mod_geoip.o >/dev/null 2>&1 libtool --mode=link gcc -o mod_geoip.la -rpath /usr/lib/proftpd -avoid-version -export-dynamic -module mod_geoip.lo -lGeoIP libtool: link: gcc -shared -fPIC -DPIC .libs/mod_geoip.o -lGeoIP -Wl,-soname -Wl,mod_geoip.so -o .libs/mod_geoip.so libtool: link: ar cru .libs/mod_geoip.a mod_geoip.o libtool: link: ranlib .libs/mod_geoip.a libtool: link: ( cd ".libs" && rm -f "mod_geoip.la" && ln -s "../mod_geoip.la" "mod_geoip.la" ) make[1]: Leaving directory `/«PKGBUILDDIR»' dh_auto_test -a fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a rm -f debian/proftpd-mod-geoip.substvars rm -f debian/proftpd-mod-geoip.*.debhelper rm -rf debian/proftpd-mod-geoip/ dh_installdirs -a install -d debian/proftpd-mod-geoip install -d debian/proftpd-mod-geoip/usr/lib/proftpd debian/proftpd-mod-geoip/usr/share/proftpd/templates debian/rules override_dh_auto_install make[1]: Entering directory `/«PKGBUILDDIR»' DESTDIR=/«PKGBUILDDIR»/debian/proftpd-mod-geoip prxs -i -c mod_geoip.c libtool --mode=compile gcc -DLINUX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_geoip.c libtool: compile: gcc -DLINUX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_geoip.c -fPIC -DPIC -o .libs/mod_geoip.o libtool: compile: gcc -DLINUX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_geoip.c -o mod_geoip.o >/dev/null 2>&1 libtool --mode=link gcc -o mod_geoip.la -rpath /usr/lib/proftpd -avoid-version -export-dynamic -module mod_geoip.lo -lGeoIP libtool: link: rm -fr .libs/mod_geoip.a .libs/mod_geoip.la .libs/mod_geoip.lai .libs/mod_geoip.so libtool: link: gcc -shared -fPIC -DPIC .libs/mod_geoip.o -lGeoIP -Wl,-soname -Wl,mod_geoip.so -o .libs/mod_geoip.so libtool: link: ar cru .libs/mod_geoip.a mod_geoip.o libtool: link: ranlib .libs/mod_geoip.a libtool: link: ( cd ".libs" && rm -f "mod_geoip.la" && ln -s "../mod_geoip.la" "mod_geoip.la" ) libtool --mode=install /usr/bin/install -c -s mod_geoip.la /«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd libtool: install: /usr/bin/install -c .libs/mod_geoip.so /«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.so libtool: install: strip --strip-unneeded /«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.so libtool: install: /usr/bin/install -c .libs/mod_geoip.lai /«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.la libtool: install: /usr/bin/install -c .libs/mod_geoip.a /«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.a libtool: install: strip --strip-debug /«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.a libtool: install: chmod 644 /«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.a libtool: install: ranlib /«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.a libtool: install: warning: remember to run `libtool --finish /usr/lib/proftpd' To load your newly installed module into proftpd, be sure to edit your proftpd.conf and add the following: LoadModule mod_geoip.c and then restart your proftpd server, so that the config change becomes live. sed -i "/dependency_libs/ s/'.*'/''/" "/«PKGBUILDDIR»/debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.la" make[1]: Leaving directory `/«PKGBUILDDIR»' dh_install -a install -d debian/proftpd-mod-geoip/usr/share/doc/proftpd-mod-geoip/ cp -a ./debian/templates/geoip.conf debian/proftpd-mod-geoip/usr/share/doc/proftpd-mod-geoip// dh_installdocs -a cp -a mod_geoip.html debian/proftpd-mod-geoip/usr/share/doc/proftpd-mod-geoip chown -R 0:0 debian/proftpd-mod-geoip/usr/share/doc chmod -R go=rX debian/proftpd-mod-geoip/usr/share/doc chmod -R u\+rw debian/proftpd-mod-geoip/usr/share/doc install -g 0 -o 0 -m 644 -p debian/copyright debian/proftpd-mod-geoip/usr/share/doc/proftpd-mod-geoip/copyright install -g 0 -o 0 -d debian/proftpd-mod-geoip/usr/share/doc-base/ install -g 0 -o 0 -m644 -p debian/proftpd-mod-geoip.doc-base debian/proftpd-mod-geoip/usr/share/doc-base/proftpd-mod-geoip dh_installchangelogs -a install -o 0 -g 0 -p -m644 debian/changelog debian/proftpd-mod-geoip/usr/share/doc/proftpd-mod-geoip/changelog.Debian dh_installexamples -a dh_installman -a dh_installcatalogs -a dh_installcron -a dh_installdebconf -a install -o 0 -g 0 -d debian/proftpd-mod-geoip/DEBIAN dh_installemacsen -a dh_installifupdown -a dh_installinfo -a dh_installinit -a dh_installmenu -a dh_installmime -a dh_installmodules -a dh_installlogcheck -a dh_installlogrotate -a dh_installpam -a dh_installppp -a dh_installudev -a dh_installwm -a dh_installxfonts -a dh_installgsettings -a dh_bugfiles -a dh_ucf -a dh_lintian -a dh_gconf -a dh_icons -a dh_perl -a dh_usrlocal -a dh_link -a rm -f debian/proftpd-mod-geoip/usr/share/proftpd/templates/geoip.conf ln -sf ../../doc/proftpd-mod-geoip/geoip.conf debian/proftpd-mod-geoip/usr/share/proftpd/templates/geoip.conf dh_compress -a cd debian/proftpd-mod-geoip chmod a-x usr/share/doc/proftpd-mod-geoip/changelog.Debian usr/share/doc/proftpd-mod-geoip/geoip.conf gzip -9nf usr/share/doc/proftpd-mod-geoip/changelog.Debian usr/share/doc/proftpd-mod-geoip/geoip.conf cd '/«PKGBUILDDIR»' rm -f debian/proftpd-mod-geoip/usr/share/proftpd/templates/geoip.conf ln -sf ../../doc/proftpd-mod-geoip/geoip.conf.gz debian/proftpd-mod-geoip/usr/share/proftpd/templates/geoip.conf.gz dh_fixperms -a find debian/proftpd-mod-geoip -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 find debian/proftpd-mod-geoip ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/proftpd-mod-geoip/usr/share/doc -type f ! -regex 'debian/proftpd-mod-geoip/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644 find debian/proftpd-mod-geoip/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 755 find debian/proftpd-mod-geoip/usr/share/man debian/proftpd-mod-geoip/usr/man/ debian/proftpd-mod-geoip/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 644 find debian/proftpd-mod-geoip -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644 find debian/proftpd-mod-geoip/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 644 find debian/proftpd-mod-geoip/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 644 find debian/proftpd-mod-geoip -perm -5 -type f \( -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 644 find debian/proftpd-mod-geoip/usr/lib/perl5 debian/proftpd-mod-geoip/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X find debian/proftpd-mod-geoip/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w dh_strip -a strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.so dh_makeshlibs -a rm -f debian/proftpd-mod-geoip/DEBIAN/shlibs dh_shlibdeps -a dpkg-shlibdeps -Tdebian/proftpd-mod-geoip.substvars debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.so dpkg-shlibdeps: warning: debian/proftpd-mod-geoip/usr/lib/proftpd/mod_geoip.so contains an unresolvable reference to symbol pr_signals_unblock: it's probably a plugin. dpkg-shlibdeps: warning: 40 other similar warnings have been skipped (use -v to see them all). dh_installdeb -a sed s/#DEBHELPER#// < debian/proftpd-mod-geoip.postrm > debian/proftpd-mod-geoip/DEBIAN/postrm chown 0:0 debian/proftpd-mod-geoip/DEBIAN/postrm chmod 755 debian/proftpd-mod-geoip/DEBIAN/postrm debian/rules override_dh_gencontrol make[1]: Entering directory `/«PKGBUILDDIR»' cat /usr/share/proftpd/proftpd-substvars >>/«PKGBUILDDIR»/debian/proftpd-mod-geoip.substvars dh_gencontrol echo misc:Depends= >> debian/proftpd-mod-geoip.substvars dpkg-gencontrol -ldebian/changelog -Tdebian/proftpd-mod-geoip.substvars -Pdebian/proftpd-mod-geoip chmod 644 debian/proftpd-mod-geoip/DEBIAN/control chown 0:0 debian/proftpd-mod-geoip/DEBIAN/control make[1]: Leaving directory `/«PKGBUILDDIR»' dh_md5sums -a (cd debian/proftpd-mod-geoip >/dev/null ; find . -type f ! -regex '.*/DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null chmod 644 debian/proftpd-mod-geoip/DEBIAN/md5sums chown 0:0 debian/proftpd-mod-geoip/DEBIAN/md5sums dh_builddeb -a dpkg-deb --build debian/proftpd-mod-geoip .. dpkg-deb: building package `proftpd-mod-geoip' in `../proftpd-mod-geoip_0.3-1_armhf.deb'. dpkg-genchanges -B -marmhf Build Daemon (armor) >../proftpd-mod-geoip_0.3-1_armhf.changes dpkg-genchanges: arch-specific upload - not including arch-independent packages dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build proftpd-mod-geoip-0.3 dpkg-buildpackage: binary only upload (no source included) ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120501-1636 Finished ──────── I: Built successfully ┌──────────────────────────────────────────────────────────────────────────────┐ │ Changes │ └──────────────────────────────────────────────────────────────────────────────┘ proftpd-mod-geoip_0.3-1_armhf.changes: ────────────────────────────────────── Format: 1.8 Date: Sat, 16 Apr 2011 10:45:26 +0200 Source: proftpd-mod-geoip Binary: proftpd-mod-geoip Architecture: armhf Version: 0.3-1 Distribution: testing Urgency: low Maintainer: armhf Build Daemon (armor) Changed-By: Francesco Paolo Lovergine Description: proftpd-mod-geoip - ProFTPD mod_geoip Closes: 617408 Changes: proftpd-mod-geoip (0.3-1) unstable; urgency=low . [ Fabrizio Regalli ] * Initial Release. (Closes: #617408) * Upgrade to upstream version 0.3 . [ Francesco Paolo Lovergine ] * Fixed for correct substvars file name. * Fixed for release numbering. * Pushed policy version to 3.9.2, without changes. Checksums-Sha1: 81c37b1b7619305f364611227f6d5522ebe7e389 24882 proftpd-mod-geoip_0.3-1_armhf.deb Checksums-Sha256: c4461ffa06e934982c53290f3a8b3693c790bdfb5f6ab1edef46e1f205921098 24882 proftpd-mod-geoip_0.3-1_armhf.deb Files: 393c2c1fea8c48e420c3b3b8d0301029 24882 net optional proftpd-mod-geoip_0.3-1_armhf.deb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Package contents │ └──────────────────────────────────────────────────────────────────────────────┘ proftpd-mod-geoip_0.3-1_armhf.deb ───────────────────────────────── new debian package, version 2.0. size 24882 bytes: control archive= 929 bytes. 683 bytes, 15 lines control 582 bytes, 8 lines md5sums 124 bytes, 11 lines * postrm #!/bin/sh Package: proftpd-mod-geoip Version: 0.3-1 Architecture: armhf Maintainer: ProFTPD Maintainance Team Installed-Size: 102 Depends: proftpd-basic (>= 1.3.3d-4~), geoip-database, libc6 (>= 2.13-28), libgeoip1 (>= 1.4.8+dfsg), proftpd-abi-1.3.4a Section: net Priority: optional Homepage: http://www.castaglia.org/proftpd/modules/mod_geoip.html Description: ProFTPD mod_geoip This is mod_geoip module for ProFTPD. The mod_geoip module uses the GeoIP library from MaxMind to look up various geographic information for a connecting client: http://www.maxmind.com/app/c This information can be used to set access controls for the server drwxr-xr-x root/root 0 2012-05-01 16:35 ./ drwxr-xr-x root/root 0 2012-05-01 16:35 ./usr/ drwxr-xr-x root/root 0 2012-05-01 16:35 ./usr/lib/ drwxr-xr-x root/root 0 2012-05-01 16:36 ./usr/lib/proftpd/ -rw-r--r-- root/root 21120 2012-05-01 16:36 ./usr/lib/proftpd/mod_geoip.so -rw-r--r-- root/root 942 2012-05-01 16:35 ./usr/lib/proftpd/mod_geoip.la -rw-r--r-- root/root 19962 2012-05-01 16:35 ./usr/lib/proftpd/mod_geoip.a drwxr-xr-x root/root 0 2012-05-01 16:35 ./usr/share/ drwxr-xr-x root/root 0 2012-05-01 16:35 ./usr/share/proftpd/ drwxr-xr-x root/root 0 2012-05-01 16:36 ./usr/share/proftpd/templates/ drwxr-xr-x root/root 0 2012-05-01 16:35 ./usr/share/doc/ drwxr-xr-x root/root 0 2012-05-01 16:36 ./usr/share/doc/proftpd-mod-geoip/ -rw-r--r-- root/root 1616 2011-08-03 07:12 ./usr/share/doc/proftpd-mod-geoip/geoip.conf.gz -rw-r--r-- root/root 13768 2011-04-13 08:05 ./usr/share/doc/proftpd-mod-geoip/mod_geoip.html -rw-r--r-- root/root 289 2011-08-03 07:12 ./usr/share/doc/proftpd-mod-geoip/changelog.Debian.gz -rw-r--r-- root/root 1087 2011-08-03 07:12 ./usr/share/doc/proftpd-mod-geoip/copyright drwxr-xr-x root/root 0 2012-05-01 16:35 ./usr/share/doc-base/ -rw-r--r-- root/root 306 2011-08-03 07:12 ./usr/share/doc-base/proftpd-mod-geoip lrwxrwxrwx root/root 0 2012-05-01 16:36 ./usr/share/proftpd/templates/geoip.conf.gz -> ../../doc/proftpd-mod-geoip/geoip.conf.gz ┌──────────────────────────────────────────────────────────────────────────────┐ │ Post Build │ └──────────────────────────────────────────────────────────────────────────────┘ ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: adduser* autotools-dev* geoip-bin* libacl1-dev* libattr1-dev* libcap2* libfile-copy-recursive-perl* libgeoip-dev* libgeoip1* libpcre3-dev* libpcrecpp0* libssl-dev* libssl1.0.0* libtool* netbase* proftpd-basic* proftpd-dev* sbuild-build-depends-proftpd-mod-geoip-dummy* update-inetd* zlib1g-dev* 0 upgraded, 0 newly installed, 20 to remove and 1 not upgraded. After this operation, 18.8 MB disk space will be freed. (Reading database ... 12938 files and directories currently installed.) Removing sbuild-build-depends-proftpd-mod-geoip-dummy ... Removing proftpd-dev ... Removing proftpd-basic ... All runlevel operations denied by policy invoke-rc.d: policy-rc.d denied execution of stop. Purging configuration files for proftpd-basic ... userdel: proftpd mail spool (/var/mail/proftpd) not found userdel: proftpd home directory (/var/run/proftpd) not found userdel: ftp mail spool (/var/mail/ftp) not found userdel: user 'proftpd' does not exist userdel: user 'ftp' does not exist Removing adduser ... Purging configuration files for adduser ... Removing libtool ... Removing autotools-dev ... Removing libgeoip-dev ... Removing geoip-bin ... Purging configuration files for geoip-bin ... Removing libacl1-dev ... Removing libattr1-dev:armhf ... Removing libcap2 ... Purging configuration files for libcap2 ... Removing update-inetd ... Purging configuration files for update-inetd ... Removing libfile-copy-recursive-perl ... Removing libgeoip1 ... Purging configuration files for libgeoip1 ... Removing libpcre3-dev ... Removing libpcrecpp0:armhf ... Purging configuration files for libpcrecpp0:armhf ... Removing libssl-dev ... Removing libssl1.0.0:armhf ... Purging configuration files for libssl1.0.0:armhf ... Removing netbase ... Purging configuration files for netbase ... Removing zlib1g-dev:armhf ... Processing triggers for man-db ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: armhf Build-Space: 540 Build-Time: 68 Distribution: testing Install-Time: 56 Job: proftpd-mod-geoip_0.3-1 Package: proftpd-mod-geoip Package-Time: 139 Source-Version: 0.3-1 Space: 540 Status: successful Version: 0.3-1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120501-1636 Build needed 00:02:19, 540k disc space