Raspbian Package Auto-Building

Build log for htslib (1.1-1) on armhf

htslib1.1-1armhf → 2015-05-05 00:10:16

sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on testwandboard

╔══════════════════════════════════════════════════════════════════════════════╗
║ htslib 1.1-1 (armhf)                                       05 May 2015 00:02 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: htslib
Version: 1.1-1
Source Version: 1.1-1
Distribution: stretch-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'build/htslib-D152Dt/htslib-1.1' with '«PKGBUILDDIR»'
I: NOTICE: Log filtering will replace 'build/htslib-D152Dt' with '«BUILDDIR»'
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/stretch-staging-armhf-sbuild-a2f35049-636a-4192-bf2f-9629b7ba140d' with '«CHROOT»'

┌──────────────────────────────────────────────────────────────────────────────┐
│ Update chroot                                                                │
└──────────────────────────────────────────────────────────────────────────────┘

Get:1 http://172.17.0.1 stretch-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1 stretch-staging/main Sources [7866 kB]
Get:3 http://172.17.0.1 stretch-staging/main armhf Packages [9641 kB]
Ign http://172.17.0.1 stretch-staging/main Translation-en
Fetched 17.5 MB in 35s (500 kB/s)
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Fetch source files                                                           │
└──────────────────────────────────────────────────────────────────────────────┘


Check APT
─────────

Checking available source versions...

Download source files with APT
──────────────────────────────

Reading package lists...
Building dependency tree...
NOTICE: 'htslib' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/debian-med/htslib.git -b debian/unstable
Need to get 968 kB of source archives.
Get:1 http://172.17.0.1/private/ stretch-staging/main htslib 1.1-1 (dsc) [2069 B]
Get:2 http://172.17.0.1/private/ stretch-staging/main htslib 1.1-1 (tar) [957 kB]
Get:3 http://172.17.0.1/private/ stretch-staging/main htslib 1.1-1 (diff) [8228 B]
Fetched 968 kB in 0s (1041 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-8IqI5b/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...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B/814 B of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 11998 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
Merged Build-Depends: libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-exec, zlib1g-dev
Filtered Build-Depends: libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-exec, zlib1g-dev
dpkg-deb: building package `sbuild-build-depends-htslib-dummy' in `/«BUILDDIR»/resolver-ZrNmGH/apt_archive/sbuild-build-depends-htslib-dummy.deb'.
OK
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install htslib build dependencies (apt-based resolver)                       │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  bsdmainutils debhelper dh-exec file gettext gettext-base groff-base
  intltool-debian libasprintf0c2 libcroco3 libffi6 libglib2.0-0 libmagic1
  libpipeline1 libunistring0 libxml2 man-db po-debconf zlib1g-dev
Suggested packages:
  wamerican wordlist whois vacation dh-make gettext-doc groff less www-browser
  libmail-box-perl
Recommended packages:
  curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev
  libglib2.0-data shared-mime-info xdg-user-dirs xml-core
  libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils debhelper dh-exec file gettext gettext-base groff-base
  intltool-debian libasprintf0c2 libcroco3 libffi6 libglib2.0-0 libmagic1
  libpipeline1 libunistring0 libxml2 man-db po-debconf
  sbuild-build-depends-htslib-dummy zlib1g-dev
0 upgraded, 20 newly installed, 0 to remove and 17 not upgraded.
Need to get 8533 kB/8534 kB of archives.
After this operation, 24.3 MB of additional disk space will be used.
Get:1 http://172.17.0.1/private/ stretch-staging/main libpipeline1 armhf 1.4.0-1 [24.0 kB]
Get:2 http://172.17.0.1/private/ stretch-staging/main groff-base armhf 1.22.3-1 [1085 kB]
Get:3 http://172.17.0.1/private/ stretch-staging/main bsdmainutils armhf 9.0.6 [177 kB]
Get:4 http://172.17.0.1/private/ stretch-staging/main man-db armhf 2.7.0.2-5 [972 kB]
Get:5 http://172.17.0.1/private/ stretch-staging/main libasprintf0c2 armhf 0.19.3-2 [31.1 kB]
Get:6 http://172.17.0.1/private/ stretch-staging/main libmagic1 armhf 1:5.22+15-2 [244 kB]
Get:7 http://172.17.0.1/private/ stretch-staging/main libxml2 armhf 2.9.1+dfsg1-5 [703 kB]
Get:8 http://172.17.0.1/private/ stretch-staging/main libffi6 armhf 3.1-2 [18.1 kB]
Get:9 http://172.17.0.1/private/ stretch-staging/main libglib2.0-0 armhf 2.42.1-1 [2250 kB]
Get:10 http://172.17.0.1/private/ stretch-staging/main libcroco3 armhf 0.6.8-3 [121 kB]
Get:11 http://172.17.0.1/private/ stretch-staging/main libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:12 http://172.17.0.1/private/ stretch-staging/main file armhf 1:5.22+15-2 [59.9 kB]
Get:13 http://172.17.0.1/private/ stretch-staging/main gettext-base armhf 0.19.3-2 [116 kB]
Get:14 http://172.17.0.1/private/ stretch-staging/main gettext armhf 0.19.3-2 [1167 kB]
Get:15 http://172.17.0.1/private/ stretch-staging/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
Get:16 http://172.17.0.1/private/ stretch-staging/main po-debconf all 1.0.18 [248 kB]
Get:17 http://172.17.0.1/private/ stretch-staging/main debhelper all 9.20150101 [813 kB]
Get:18 http://172.17.0.1/private/ stretch-staging/main zlib1g-dev armhf 1:1.2.8.dfsg-2 [199 kB]
Get:19 http://172.17.0.1/private/ stretch-staging/main dh-exec armhf 0.14 [22.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 8533 kB in 6s (1396 kB/s)
Selecting previously unselected package libpipeline1:armhf.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 11998 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.4.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.0-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.3-1_armhf.deb ...
Unpacking groff-base (1.22.3-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.0.2-5_armhf.deb ...
Unpacking man-db (2.7.0.2-5) ...
Selecting previously unselected package libasprintf0c2:armhf.
Preparing to unpack .../libasprintf0c2_0.19.3-2_armhf.deb ...
Unpacking libasprintf0c2:armhf (0.19.3-2) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.22+15-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.22+15-2) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.1+dfsg1-5_armhf.deb ...
Unpacking libxml2:armhf (2.9.1+dfsg1-5) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.1-2_armhf.deb ...
Unpacking libffi6:armhf (3.1-2) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.42.1-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.42.1-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.8-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.8-3) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.22+15-2_armhf.deb ...
Unpacking file (1:5.22+15-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.3-2_armhf.deb ...
Unpacking gettext-base (0.19.3-2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.3-2_armhf.deb ...
Unpacking gettext (0.19.3-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.18_all.deb ...
Unpacking po-debconf (1.0.18) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20150101_all.deb ...
Unpacking debhelper (9.20150101) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-2) ...
Selecting previously unselected package dh-exec.
Preparing to unpack .../dh-exec_0.14_armhf.deb ...
Unpacking dh-exec (0.14) ...
Selecting previously unselected package sbuild-build-depends-htslib-dummy.
Preparing to unpack .../sbuild-build-depends-htslib-dummy.deb ...
Unpacking sbuild-build-depends-htslib-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.4.0-1) ...
Setting up groff-base (1.22.3-1) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up man-db (2.7.0.2-5) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libasprintf0c2:armhf (0.19.3-2) ...
Setting up libmagic1:armhf (1:5.22+15-2) ...
Setting up libxml2:armhf (2.9.1+dfsg1-5) ...
Setting up libffi6:armhf (3.1-2) ...
Setting up libglib2.0-0:armhf (2.42.1-1) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.8-3) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up file (1:5.22+15-2) ...
Setting up gettext-base (0.19.3-2) ...
Setting up gettext (0.19.3-2) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.18) ...
Setting up debhelper (9.20150101) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-2) ...
Setting up dh-exec (0.14) ...
Setting up sbuild-build-depends-htslib-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.19-18) ...

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

Kernel: Linux 3.19.0-trunk-armmp armhf (armv7l)
Toolchain package versions: binutils_2.25-5 dpkg-dev_1.17.25 g++-4.9_4.9.2-10 gcc-4.9_4.9.2-10 libc6-dev_2.19-18 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 linux-libc-dev_3.16.7-ckt4-1+rpi1
Package versions: acl_2.2.52-2 adduser_3.113+nmu3 apt_1.0.9.8 base-files_8+rpi1 base-passwd_3.5.37 bash_4.3-11 binutils_2.25-5 bsdmainutils_9.0.6 bsdutils_1:2.25.2-6 build-essential_11.7 bzip2_1.0.6-7 coreutils_8.23-4 cpio_2.11+dfsg-4.1 cpp_4:4.9.2-2 cpp-4.9_4.9.2-10 dash_0.5.7-4 debconf_1.5.56 debconf-i18n_1.5.56 debfoster_2.7-2 debhelper_9.20150101 debianutils_4.4 dh-exec_0.14 diffutils_1:3.3-1 dmsetup_2:1.02.90-2.2 dpkg_1.17.25 dpkg-dev_1.17.25 e2fslibs_1.42.12-1.1 e2fsprogs_1.42.12-1.1 fakeroot_1.20.2-1 file_1:5.22+15-2 findutils_4.4.2-9 g++_4:4.9.2-2 g++-4.9_4.9.2-10 gcc_4:4.9.2-2 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.4-1 gcc-4.9_4.9.2-10 gcc-4.9-base_4.9.2-10 gettext_0.19.3-2 gettext-base_0.19.3-2 gnupg_1.4.18-7 gpgv_1.4.18-7 grep_2.20-4.1 groff-base_1.22.3-1 gzip_1.6-4 hostname_3.15 init_1.22 init-system-helpers_1.22 initramfs-tools_0.120 initscripts_2.88dsf-59 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 klibc-utils_2.0.4-2+rpi1 kmod_18-3 libacl1_2.2.52-2 libapt-pkg4.12_1.0.9.8 libasan1_4.9.2-10 libasprintf0c2_0.19.3-2 libatomic1_4.9.2-10 libattr1_1:2.4.47-2 libaudit-common_1:2.4-1 libaudit1_1:2.4-1 libblkid1_2.25.2-6 libbz2-1.0_1.0.6-7 libc-bin_2.19-18 libc-dev-bin_2.19-18 libc6_2.19-18 libc6-dev_2.19-18 libcap2_1:2.24-8 libcap2-bin_1:2.24-8 libcloog-isl4_0.18.2-1 libcomerr2_1.42.12-1.1 libcroco3_0.6.8-3 libcryptsetup4_2:1.6.6-5 libdb5.3_5.3.28-9 libdbus-1-3_1.8.16-1 libdebconfclient0_0.192 libdevmapper1.02.1_2:1.02.90-2.2 libdpkg-perl_1.17.25 libdrm2_2.4.58-2 libfakeroot_1.20.2-1 libffi6_3.1-2 libgc1c2_1:7.2d-6.4 libgcc-4.9-dev_4.9.2-10 libgcc1_1:4.9.2-10 libgcrypt20_1.6.3-2 libgdbm3_1.8.3-13.1 libglib2.0-0_2.42.1-1 libgmp10_2:6.0.0+dfsg-6+rpi1 libgomp1_4.9.2-10 libgpg-error0_1.17-3 libisl10_0.12.2-2 libklibc_2.0.4-2+rpi1 libkmod2_18-3 liblocale-gettext-perl_1.05-8+b1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.22+15-2 libmount1_2.25.2-6 libmpc3_1.0.2-1 libmpfr4_3.1.2-2 libncurses5_5.9+20140913-1 libncursesw5_5.9+20140913-1 libnih-dbus1_1.0.3-4.3 libnih1_1.0.3-4.3 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcre3_2:8.35-3.3 libpipeline1_1.4.0-1 libpng12-0_1.2.50-2 libprocps3_2:3.3.9-9 libreadline6_6.3-8 libselinux1_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1 libsepol1_2.3-2 libslang2_2.3.0-2 libsmartcols1_2.25.2-6 libss2_1.42.12-1.1 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 libsystemd0_215-17 libtext-charwidth-perl_0.04-7+b4 libtext-iconv-perl_1.7-5+b5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140913-1 libubsan0_4.9.2-10 libudev1_215-17 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3 libuuid1_2.25.2-6 libxml2_2.9.1+dfsg1-5 linux-libc-dev_3.16.7-ckt4-1+rpi1 login_1:4.2-3 lsb-base_4.1+Debian13+rpi1+nmu1 make_4.0-8.1 makedev_2.3.1-93 man-db_2.7.0.2-5 mawk_1.3.3-17 mount_2.25.2-6 mountall_2.54 multiarch-support_2.19-18 ncurses-base_5.9+20140913-1 ncurses-bin_5.9+20140913-1 passwd_1:4.2-3 patch_2.7.5-1 perl_5.20.2-3 perl-base_5.20.2-3 perl-modules_5.20.2-3 plymouth_0.9.0-9 po-debconf_1.0.18 procps_2:3.3.9-9 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-htslib-dummy_0.invalid.0 sed_4.2.2-4 sensible-utils_0.0.9 startpar_0.59-3 systemd_215-17 systemd-sysv_215-17 sysv-rc_2.88dsf-59 sysvinit-utils_2.88dsf-59 tar_1.27.1-2 tzdata_2015c-1 udev_215-17 util-linux_2.25.2-6 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-2 zlib1g-dev_1:1.2.8.dfsg-2

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


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

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Wed Sep 24 12:33:35 2014 UTC using RSA key ID 2295D502
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./htslib_1.1-1.dsc
dpkg-source: info: extracting htslib in htslib-1.1
dpkg-source: info: unpacking htslib_1.1.orig.tar.gz
dpkg-source: info: unpacking htslib_1.1-1.debian.tar.xz
dpkg-source: info: applying debian-changes

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

Sufficient free space for build

User Environment
────────────────

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LANG=en_GB.UTF-8
LC_ALL=POSIX
LOGNAME=root
MAIL=/var/mail/root
OLDPWD=/usr/share/debootstrap/scripts
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/root
SCHROOT_ALIAS_NAME=stretch-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=stretch-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=stretch-staging-armhf-sbuild-a2f35049-636a-4192-bf2f-9629b7ba140d
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
SHLVL=1
SSH_CLIENT=192.168.1.2 55539 22
SSH_CONNECTION=192.168.1.2 55539 192.168.1.46 22
SSH_TTY=/dev/pts/0
TERM=xterm
USER=buildd
_=/etc/init.d/buildd

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

dpkg-buildpackage: source package htslib
dpkg-buildpackage: source version 1.1-1
dpkg-buildpackage: source distribution unstable
 dpkg-source --before-build htslib-1.1
dpkg-buildpackage: host architecture armhf
dpkg-source: info: using options from htslib-1.1/debian/source/options: --single-debian-patch
 fakeroot debian/rules clean
dh clean --parallel
   dh_testdir -O--parallel
   dh_auto_clean -O--parallel
	make -j4 distclean
make[1]: Entering directory '/«PKGBUILDDIR»'
rm -f test/*.tmp test/*.tmp.*
rm -f libhts.so libhts.so.*
rm -f *.o *.pico cram/*.o cram/*.pico test/*.o test/*.dSYM version.h
rm -f libhts.a bgzip tabix test/fieldarith test/hfile test/sam test/test_view test/test-vcf-api test/test-vcf-sweep
rm -f TAGS *-uninstalled.pc
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_clean -O--parallel
	rm -f debian/libhts1.substvars
	rm -f debian/libhts1.*.debhelper
	rm -rf debian/libhts1/
	rm -f debian/libhts-dev.substvars
	rm -f debian/libhts-dev.*.debhelper
	rm -rf debian/libhts-dev/
	rm -f debian/htslib-test.substvars
	rm -f debian/htslib-test.*.debhelper
	rm -rf debian/htslib-test/
	rm -f debian/tabix.substvars
	rm -f debian/tabix.*.debhelper
	rm -rf debian/tabix/
	rm -f debian/*.debhelper.log
	rm -f debian/files
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
	rm -f *-stamp
 debian/rules build-arch
dh build-arch --parallel
   dh_testdir -a -O--parallel
   dh_auto_configure -a -O--parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory '/«PKGBUILDDIR»'
dh_auto_build -- \
  CFLAGS="$(dpkg-buildflags --get CFLAGS)" \
  CPPFLAGS="-I. -DSAMTOOLS=1 $(dpkg-buildflags --get CPPFLAGS)" \
  LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" \
# re-try later	  LDLIBS=-lhts \
  PACKAGE_VERSION="1.1-1" \
  libdir=/usr/lib/arm-linux-gnueabihf
	make -j4 "CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=-I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2" LDFLAGS=-Wl,-z,relro
make[2]: Entering directory '/«PKGBUILDDIR»'
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o kfunc.o kfunc.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o knetfile.o knetfile.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o kstring.o kstring.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o bgzf.o bgzf.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o faidx.o faidx.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o hfile.o hfile.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o hfile_net.o hfile_net.c
echo '#define HTS_VERSION "1.1"' > version.h
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o sam.o sam.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o synced_bcf_reader.o synced_bcf_reader.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o vcf_sweep.o vcf_sweep.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o tbx.o tbx.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o vcf.o vcf.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o vcfutils.o vcfutils.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/cram_codecs.o cram/cram_codecs.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/cram_decode.o cram/cram_decode.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/cram_encode.o cram/cram_encode.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/cram_index.o cram/cram_index.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/cram_io.o cram/cram_io.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/cram_samtools.o cram/cram_samtools.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/cram_stats.o cram/cram_stats.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/files.o cram/files.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/mFILE.o cram/mFILE.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/md5.o cram/md5.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/open_trace_file.o cram/open_trace_file.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/pooled_alloc.o cram/pooled_alloc.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/sam_header.o cram/sam_header.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/string_alloc.o cram/string_alloc.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/thread_pool.o cram/thread_pool.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/vlen.o cram/vlen.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/zfio.o cram/zfio.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o kfunc.pico kfunc.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o knetfile.pico knetfile.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o kstring.pico kstring.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o bgzf.pico bgzf.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o faidx.pico faidx.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o hfile.pico hfile.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o hfile_net.pico hfile_net.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o hts.pico hts.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o sam.pico sam.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o synced_bcf_reader.pico synced_bcf_reader.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o vcf_sweep.pico vcf_sweep.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o tbx.pico tbx.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o vcf.pico vcf.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o vcfutils.pico vcfutils.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/cram_codecs.pico cram/cram_codecs.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/cram_decode.pico cram/cram_decode.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/cram_encode.pico cram/cram_encode.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/cram_index.pico cram/cram_index.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/cram_io.pico cram/cram_io.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/cram_samtools.pico cram/cram_samtools.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/cram_stats.pico cram/cram_stats.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/files.pico cram/files.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/mFILE.pico cram/mFILE.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/md5.pico cram/md5.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/open_trace_file.pico cram/open_trace_file.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/pooled_alloc.pico cram/pooled_alloc.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/sam_header.pico cram/sam_header.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/string_alloc.pico cram/string_alloc.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/thread_pool.pico cram/thread_pool.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/vlen.pico cram/vlen.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/zfio.pico cram/zfio.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o bgzip.o bgzip.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o tabix.o tabix.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/fieldarith.o test/fieldarith.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/hfile.o test/hfile.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/sam.o test/sam.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/test_view.o test/test_view.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/test-vcf-api.o test/test-vcf-api.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/test-vcf-sweep.o test/test-vcf-sweep.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o hts.o hts.c
gcc -shared -Wl,-soname,libhts.so.1 -pthread -Wl,-z,relro -o libhts.so kfunc.pico knetfile.pico kstring.pico bgzf.pico faidx.pico hfile.pico hfile_net.pico hts.pico sam.pico synced_bcf_reader.pico vcf_sweep.pico tbx.pico vcf.pico vcfutils.pico cram/cram_codecs.pico cram/cram_decode.pico cram/cram_encode.pico cram/cram_index.pico cram/cram_io.pico cram/cram_samtools.pico cram/cram_stats.pico cram/files.pico cram/mFILE.pico cram/md5.pico cram/open_trace_file.pico cram/pooled_alloc.pico cram/sam_header.pico cram/string_alloc.pico cram/thread_pool.pico cram/vlen.pico cram/zfio.pico  -lz -lm
ln -sf libhts.so libhts.so.1
ar -rc libhts.a kfunc.o knetfile.o kstring.o bgzf.o faidx.o hfile.o hfile_net.o hts.o sam.o synced_bcf_reader.o vcf_sweep.o tbx.o vcf.o vcfutils.o cram/cram_codecs.o cram/cram_decode.o cram/cram_encode.o cram/cram_index.o cram/cram_io.o cram/cram_samtools.o cram/cram_stats.o cram/files.o cram/mFILE.o cram/md5.o cram/open_trace_file.o cram/pooled_alloc.o cram/sam_header.o cram/string_alloc.o cram/thread_pool.o cram/vlen.o cram/zfio.o
ranlib libhts.a
gcc -pthread -Wl,-z,relro -o bgzip bgzip.o libhts.a  -lz
gcc -pthread -Wl,-z,relro -o tabix tabix.o libhts.a  -lz
gcc -pthread -Wl,-z,relro -o test/fieldarith test/fieldarith.o libhts.a  -lz
gcc -Wl,-z,relro -o test/hfile test/hfile.o libhts.a  -lz
gcc -pthread -Wl,-z,relro -o test/sam test/sam.o libhts.a  -lz
gcc -pthread -Wl,-z,relro -o test/test_view test/test_view.o libhts.a  -lz
gcc -pthread -Wl,-z,relro -o test/test-vcf-api test/test-vcf-api.o libhts.a  -lz
gcc -pthread -Wl,-z,relro -o test/test-vcf-sweep test/test-vcf-sweep.o libhts.a  -lz
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: Leaving directory '/«PKGBUILDDIR»'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/«PKGBUILDDIR»'
dh_auto_test
	make -j4 test
make[2]: Entering directory '/«PKGBUILDDIR»'
test/fieldarith test/fieldarith.sam
test/hfile
test/sam
Makefile:240: recipe for target 'test' failed
make[2]: *** [test] Bus error
make[2]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_test: make -j4 test returned exit code 2
make[1]: *** [override_dh_auto_test] Error 2
debian/rules:10: recipe for target 'override_dh_auto_test' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:7: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20150505-0008

Finished
────────

E: Build failure (dpkg-buildpackage died)

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

Purging /«BUILDDIR»
Not cleaning session: cloned chroot in use

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

Build Architecture: armhf
Build-Space: 22580
Build-Time: 158
Distribution: stretch-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 144
Job: htslib_1.1-1
Machine Architecture: armhf
Package: htslib
Package-Time: 363
Source-Version: 1.1-1
Space: 22580
Status: attempted
Version: 1.1-1
────────────────────────────────────────────────────────────────────────────────
Finished at 20150505-0008
Build needed 00:06:03, 22580k disc space