Raspbian Package Auto-Building

Build log for htslib (0.2.0~rc3-1) on armhf

htslib0.2.0~rc3-1armhf → 2014-03-24 14:06:25

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

╔══════════════════════════════════════════════════════════════════════════════╗
║ htslib 0.2.0~rc3-1 (armhf)                                 24 Mar 2014 14:02 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: htslib
Version: 0.2.0~rc3-1
Source Version: 0.2.0~rc3-1
Distribution: jessie-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'build/htslib-TcWBAJ/htslib-0.2.0~rc3' with '«PKGBUILDDIR»'
I: NOTICE: Log filtering will replace 'build/htslib-TcWBAJ' with '«BUILDDIR»'
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/jessie-staging-armhf-sbuild-ff4a2ce9-d7fa-41c3-a87d-54ed20c31c45' with '«CHROOT»'

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

Get:1 http://172.17.0.1 jessie-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1 jessie-staging/main Sources [7339 kB]
Get:3 http://172.17.0.1 jessie-staging/main armhf Packages [8503 kB]
Ign http://172.17.0.1 jessie-staging/main Translation-en
Fetched 15.9 MB in 38s (409 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...
Reading state information...
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 936 kB of source archives.
Get:1 http://172.17.0.1/private/ jessie-staging/main htslib 0.2.0~rc3-1 (dsc) [2039 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main htslib 0.2.0~rc3-1 (tar) [923 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main htslib 0.2.0~rc3-1 (diff) [10.5 kB]
Fetched 936 kB in 0s (1105 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-ABNei8/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
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 0 B/818 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 ... 12304 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: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 9), dh-exec, zlib1g-dev
Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 9), dh-exec, zlib1g-dev
dpkg-deb: building package `sbuild-build-depends-htslib-dummy' in `/«BUILDDIR»/resolver-fpBXv5/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 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 14 not upgraded.
Need to get 8341 kB/8342 kB of archives.
After this operation, 22.9 MB of additional disk space will be used.
Get:1 http://172.17.0.1/private/ jessie-staging/main libpipeline1 armhf 1.2.6-2 [20.3 kB]
Get:2 http://172.17.0.1/private/ jessie-staging/main groff-base armhf 1.22.2-5 [962 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main bsdmainutils armhf 9.0.5 [206 kB]
Get:4 http://172.17.0.1/private/ jessie-staging/main man-db armhf 2.6.6-1 [961 kB]
Get:5 http://172.17.0.1/private/ jessie-staging/main libasprintf0c2 armhf 0.18.3.2-1 [29.0 kB]
Get:6 http://172.17.0.1/private/ jessie-staging/main libmagic1 armhf 1:5.17-1 [225 kB]
Get:7 http://172.17.0.1/private/ jessie-staging/main libxml2 armhf 2.9.1+dfsg1-3 [836 kB]
Get:8 http://172.17.0.1/private/ jessie-staging/main libffi6 armhf 3.0.13-12 [17.4 kB]
Get:9 http://172.17.0.1/private/ jessie-staging/main libglib2.0-0 armhf 2.38.2-5 [2073 kB]
Get:10 http://172.17.0.1/private/ jessie-staging/main libcroco3 armhf 0.6.8-2 [119 kB]
Get:11 http://172.17.0.1/private/ jessie-staging/main libunistring0 armhf 0.9.3-5 [408 kB]
Get:12 http://172.17.0.1/private/ jessie-staging/main file armhf 1:5.17-1 [55.3 kB]
Get:13 http://172.17.0.1/private/ jessie-staging/main gettext-base armhf 0.18.3.2-1 [112 kB]
Get:14 http://172.17.0.1/private/ jessie-staging/main gettext armhf 0.18.3.2-1 [1137 kB]
Get:15 http://172.17.0.1/private/ jessie-staging/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
Get:16 http://172.17.0.1/private/ jessie-staging/main po-debconf all 1.0.16+nmu2 [223 kB]
Get:17 http://172.17.0.1/private/ jessie-staging/main debhelper all 9.20140228 [691 kB]
Get:18 http://172.17.0.1/private/ jessie-staging/main zlib1g-dev armhf 1:1.2.8.dfsg-1 [212 kB]
Get:19 http://172.17.0.1/private/ jessie-staging/main dh-exec armhf 0.12 [24.0 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 8341 kB in 5s (1511 kB/s)
Selecting previously unselected package libpipeline1:armhf.
(Reading database ... 12304 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.2.6-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.2.6-2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.2-5_armhf.deb ...
Unpacking groff-base (1.22.2-5) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.5_armhf.deb ...
Unpacking bsdmainutils (9.0.5) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.6.6-1_armhf.deb ...
Unpacking man-db (2.6.6-1) ...
Selecting previously unselected package libasprintf0c2:armhf.
Preparing to unpack .../libasprintf0c2_0.18.3.2-1_armhf.deb ...
Unpacking libasprintf0c2:armhf (0.18.3.2-1) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.17-1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.17-1) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.1+dfsg1-3_armhf.deb ...
Unpacking libxml2:armhf (2.9.1+dfsg1-3) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.0.13-12_armhf.deb ...
Unpacking libffi6:armhf (3.0.13-12) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.38.2-5_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.38.2-5) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.8-2_armhf.deb ...
Unpacking libcroco3:armhf (0.6.8-2) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.17-1_armhf.deb ...
Unpacking file (1:5.17-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.18.3.2-1_armhf.deb ...
Unpacking gettext-base (0.18.3.2-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.18.3.2-1_armhf.deb ...
Unpacking gettext (0.18.3.2-1) ...
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.16+nmu2_all.deb ...
Unpacking po-debconf (1.0.16+nmu2) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20140228_all.deb ...
Unpacking debhelper (9.20140228) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-1) ...
Selecting previously unselected package dh-exec.
Preparing to unpack .../dh-exec_0.12_armhf.deb ...
Unpacking dh-exec (0.12) ...
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.2.6-2) ...
Setting up groff-base (1.22.2-5) ...
Setting up bsdmainutils (9.0.5) ...
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.6.6-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libasprintf0c2:armhf (0.18.3.2-1) ...
Setting up libmagic1:armhf (1:5.17-1) ...
Setting up libxml2:armhf (2.9.1+dfsg1-3) ...
Setting up libffi6:armhf (3.0.13-12) ...
Setting up libglib2.0-0:armhf (2.38.2-5) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.8-2) ...
Setting up libunistring0:armhf (0.9.3-5) ...
Setting up file (1:5.17-1) ...
Setting up gettext-base (0.18.3.2-1) ...
Setting up gettext (0.18.3.2-1) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2) ...
Setting up debhelper (9.20140228) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-1) ...
Setting up dh-exec (0.12) ...
Setting up sbuild-build-depends-htslib-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.18-4) ...

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

Kernel: Linux 3.13-1-armmp armhf (armv7l)
Toolchain package versions: binutils_2.24-3 dpkg-dev_1.17.6+rpi1 g++-4.6_4.6.4-5+rpi1 g++-4.8_4.8.2-16 gcc-4.6_4.6.4-5+rpi1 gcc-4.8_4.8.2-16 libc6-dev_2.18-4 libstdc++-4.8-dev_4.8.2-16 libstdc++6_4.8.2-16 libstdc++6-4.6-dev_4.6.4-5+rpi1 linux-libc-dev_3.12.6-2+rpi1
Package versions: apt_0.9.15.4 base-files_7.2+rpi1 base-passwd_3.5.28 bash_4.2+dfsg-1 binutils_2.24-3 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.6 build-essential_11.6 bzip2_1.0.6-5 coreutils_8.21-1 cpio_2.11+dfsg-1 cpp_4:4.8.2-2 cpp-4.6_4.6.4-5+rpi1 cpp-4.8_4.8.2-16 dash_0.5.7-4 debconf_1.5.52 debfoster_2.7-1.2 debhelper_9.20140228 debianutils_4.4 dh-exec_0.12 diffutils_1:3.3-1 dpkg_1.17.6+rpi1 dpkg-dev_1.17.6+rpi1 e2fslibs_1.42.9-3 e2fsprogs_1.42.9-3 fakeroot_1.18.4-2 file_1:5.17-1 findutils_4.4.2-7 g++_4:4.8.2-2 g++-4.6_4.6.4-5+rpi1 g++-4.8_4.8.2-16 gcc_4:4.8.2-2 gcc-4.5-base_4.5.3-12+rpi1 gcc-4.6_4.6.4-5+rpi1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-10+rpi1 gcc-4.8_4.8.2-16 gcc-4.8-base_4.8.2-16 gettext_0.18.3.2-1 gettext-base_0.18.3.2-1 gnupg_1.4.16-1.1 gpgv_1.4.16-1.1 grep_2.16-1 groff-base_1.22.2-5 gzip_1.6-3 hostname_3.15 initramfs-tools_0.115 initscripts_2.88dsf-51 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 klibc-utils_2.0.2-1+rpi1 kmod_16-2 libacl1_2.2.52-1 libapt-pkg4.12_0.9.15.4 libarchive-extract-perl_0.72-1 libasan0_4.8.2-16 libasprintf0c2_0.18.3.2-1 libatomic1_4.8.2-16 libattr1_1:2.4.47-1 libaudit-common_1:2.3.3-4 libaudit1_1:2.3.3-4 libblkid1_2.20.1-5.6 libbz2-1.0_1.0.6-5 libc-bin_2.18-4 libc-dev-bin_2.18-4 libc6_2.18-4 libc6-dev_2.18-4 libcap2_1:2.22-1.2 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.2-1 libcomerr2_1.42.9-3 libcroco3_0.6.8-2 libdb5.1_5.1.29-6 libdb5.3_5.3.28-3 libdbus-1-3_1.8.0-1 libdpkg-perl_1.17.6+rpi1 libffi6_3.0.13-12 libgc1c2_1:7.2d-6 libgcc-4.8-dev_4.8.2-16 libgcc1_1:4.8.2-16 libgdbm3_1.8.3-12 libglib2.0-0_2.38.2-5 libgmp10_2:5.1.3+dfsg-1 libgomp1_4.8.2-16 libisl10_0.12.2-1 libklibc_2.0.2-1+rpi1 libkmod2_16-2 liblog-message-simple-perl_0.10-1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.17-1 libmodule-pluggable-perl_5.1-1 libmount1_2.20.1-5.6 libmpc3_1.0.1-1 libmpfr4_3.1.2-1 libncurses5_5.9+20140118-1 libncursesw5_5.9+20140118-1 libpam-modules_1.1.8-2 libpam-modules-bin_1.1.8-2 libpam-runtime_1.1.8-2 libpam0g_1.1.8-2 libpcre3_1:8.31-2 libpipeline1_1.2.6-2 libpod-latex-perl_0.61-1 libprocps0_1:3.3.4-2 libprocps3_1:3.3.9-2 libreadline6_6.2+dfsg-0.1 libselinux1_2.2.2-1 libsemanage-common_2.2-1 libsemanage1_2.2-1 libsepol1_2.2-1 libslang2_2.2.4-16 libss2_1.42.9-3 libstdc++-4.8-dev_4.8.2-16 libstdc++6_4.8.2-16 libstdc++6-4.6-dev_4.6.4-5+rpi1 libswitch-perl_2.16-2 libterm-ui-perl_0.42-1 libtimedate-perl_2.3000-1 libtinfo5_5.9+20140118-1 libudev0_175-7.2 libudev1_204-7 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.3 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.6 libxml2_2.9.1+dfsg1-3 linux-libc-dev_3.12.6-2+rpi1 login_1:4.1.5.1-1 lsb-base_4.1+Debian12+rpi1 make_3.81-8.3 makedev_2.3.1-93 man-db_2.6.6-1 mawk_1.3.3-17 mount_2.20.1-5.6 multiarch-support_2.18-4 nano_2.2.6-1 ncurses-base_5.9+20140118-1 ncurses-bin_5.9+20140118-1 passwd_1:4.1.5.1-1 patch_2.7.1-4 perl_5.18.2-2 perl-base_5.18.2-2 perl-modules_5.18.2-2 plymouth_0.8.8-6+deb8u3 po-debconf_1.0.16+nmu2 procps_1:3.3.9-2 raspbian-archive-keyring_20120528.2 readline-common_6.2+dfsg-0.1 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 sysv-rc_2.88dsf-51 sysvinit_2.88dsf-51 sysvinit-core_2.88dsf-51 sysvinit-utils_2.88dsf-51 tar_1.27.1-1 tzdata_2013i-1 udev_204-7 util-linux_2.20.1-5.6 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 zlib1g-dev_1:1.2.8.dfsg-1

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


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

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sat Nov 16 06:40:38 2013 UTC using RSA key ID 2295D502
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./htslib_0.2.0~rc3-1.dsc
dpkg-source: info: extracting htslib in htslib-0.2.0~rc3
dpkg-source: info: unpacking htslib_0.2.0~rc3.orig.tar.gz
dpkg-source: info: applying htslib_0.2.0~rc3-1.diff.gz
dpkg-source: info: upstream files that have been modified: 
 htslib-0.2.0~rc3/bgzf.c
 htslib-0.2.0~rc3/cram/cram_io.c
 htslib-0.2.0~rc3/hfile.c
 htslib-0.2.0~rc3/hfile.h
 htslib-0.2.0~rc3/hts.c
 htslib-0.2.0~rc3/htslib/bgzf.h
 htslib-0.2.0~rc3/htslib/hts.h
 htslib-0.2.0~rc3/htslib/vcfutils.h
 htslib-0.2.0~rc3/sam.c
 htslib-0.2.0~rc3/vcfutils.c

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

Sufficient free space for build

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

APT_CONFIG=/var/lib/sbuild/apt.conf
COLUMNS=80
CONSOLE=/dev/console
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
INIT_VERSION=sysvinit-2.88
LC_ALL=POSIX
LINES=24
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PREVLEVEL=N
PWD=/
RUNLEVEL=2
SCHROOT_ALIAS_NAME=jessie-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=jessie-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=jessie-staging-armhf-sbuild-ff4a2ce9-d7fa-41c3-a87d-54ed20c31c45
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd
init=/sbin/init
previous=N
rootmnt=/root
runlevel=2

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

dpkg-buildpackage: source package htslib
dpkg-buildpackage: source version 0.2.0~rc3-1
dpkg-buildpackage: source distribution unstable
 dpkg-source --before-build htslib-0.2.0~rc3
dpkg-buildpackage: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
	make -j1 distclean
make[1]: Entering directory `/«PKGBUILDDIR»'
rm -f test/*.tmp test/*.tmp.*
rm -f *.o *.pico cram/*.o cram/*.pico test/*.o test/*.dSYM version.h
rm -f libhts.so libhts.so.*
rm -f libhts.a test/fieldarith test/hfile test/test_view test/test-vcf-api test/test-vcf-sweep
rm -f TAGS
make[1]: Leaving directory `/«PKGBUILDDIR»'
   debian/rules override_dh_clean
make[1]: Entering directory `/«PKGBUILDDIR»'
chmod ugo+x debian/libhts0.install debian/libhts-dev.install
dh_clean
	rm -f debian/libhts0.substvars
	rm -f debian/libhts0.*.debhelper
	rm -rf debian/libhts0/
	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/*.debhelper.log
	rm -f debian/files
	find .  \( \( -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
make[1]: Leaving directory `/«PKGBUILDDIR»'
 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»'
dh_auto_build -- \
	  CFLAGS="$(dpkg-buildflags --get CFLAGS)" \
	  CPPFLAGS="-I. -DSAMTOOLS=1 $(dpkg-buildflags --get CPPFLAGS)" \
	  LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"
	make -j1 "CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o kfunc.o kfunc.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o knetfile.o knetfile.c
In file included from knetfile.c:46:0:
knetfile.c: In function 'kftp_send_cmd':
htslib/knetfile.h:9:37: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 #define netwrite(fd, ptr, len) write(fd, ptr, len)
                                     ^
knetfile.c:236:2: note: in expansion of macro 'netwrite'
  netwrite(ftp->ctrl_fd, cmd, strlen(cmd));
  ^
knetfile.c: In function 'khttp_connect_file':
htslib/knetfile.h:9:37: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 #define netwrite(fd, ptr, len) write(fd, ptr, len)
                                     ^
knetfile.c:415:2: note: in expansion of macro 'netwrite'
  netwrite(fp->fd, buf, l);
  ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o kstring.o kstring.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o bgzf.o bgzf.c
bgzf.c: In function 'bgzf_index_load':
bgzf.c:888:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
     fread(&x, 1, sizeof(x), idx);
          ^
bgzf.c:899:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
             fread(&x, 1, sizeof(x), idx); fp->idx->offs[i].caddr = ed_swap_8(x);
                  ^
bgzf.c:900:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
             fread(&x, 1, sizeof(x), idx); fp->idx->offs[i].uaddr = ed_swap_8(x);
                  ^
bgzf.c:907:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
             fread(&x, 1, sizeof(x), idx); fp->idx->offs[i].caddr = x;
                  ^
bgzf.c:908:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
             fread(&x, 1, sizeof(x), idx); fp->idx->offs[i].uaddr = x;
                  ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o faidx.o faidx.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o hfile.o hfile.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o hfile_net.o hfile_net.c
echo '#define HTS_VERSION "0.0.1"' > version.h
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o hts.o hts.c
hts.c: In function 'hts_idx_load_local':
hts.c:823:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(magic, 1, 4, fp);
        ^
hts.c:824:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(&n, 4, 1, fp);
        ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o razf.o razf.c
razf.c: In function 'razf_flush':
razf.c:223:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(rz->filedes, rz->outbuf, RZ_BUFFER_SIZE - rz->stream->avail_out);
        ^
razf.c:236:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, rz->outbuf, RZ_BUFFER_SIZE - rz->stream->avail_out);
         ^
razf.c: In function '_razf_write':
razf.c:203:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(rz->filedes, rz->outbuf, RZ_BUFFER_SIZE - rz->stream->avail_out);
        ^
razf.c: In function 'razf_open_r':
razf.c:423:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(fd, &end, sizeof(int64_t));
       ^
razf.c:431:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(fd, &end, sizeof(int64_t));
       ^
razf.c: In function 'load_zindex':
razf.c:124:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read(fd, &rz->index->size, sizeof(int));
      ^
razf.c:133:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read(fd, rz->index->bin_offsets, sizeof(int64_t) * v32);
      ^
razf.c:139:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read(fd, rz->index->cell_offsets, sizeof(int) * rz->index->size);
      ^
razf.c: In function 'razf_close':
razf.c:818:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, &rz->in, sizeof(int64_t));
         ^
razf.c:819:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, &rz->out, sizeof(int64_t));
         ^
razf.c:822:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, &v64, sizeof(int64_t));
         ^
razf.c:824:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, &v64, sizeof(int64_t));
         ^
razf.c: In function 'razf_end_flush':
razf.c:260:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, rz->outbuf, RZ_BUFFER_SIZE - rz->stream->avail_out);
         ^
razf.c: In function 'save_zindex':
razf.c:96:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  if(is_be) write(fd, &rz->index->size, sizeof(int));
                 ^
razf.c:99:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(fd, &v32, sizeof(uint32_t));
        ^
razf.c:106:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, rz->index->bin_offsets, sizeof(int64_t) * v32);
       ^
razf.c:107:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, rz->index->cell_offsets, sizeof(int32_t) * rz->index->size);
       ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o sam.o sam.c
sam.c: In function 'sam_hdr_write':
sam.c:461:11: warning: ignoring return value of 'hwrite', declared with attribute warn_unused_result [-Wunused-result]
     hwrite(fp->fp.hfile, fp->line.s, fp->line.l);
           ^
sam.c:464:9: warning: ignoring return value of 'hflush', declared with attribute warn_unused_result [-Wunused-result]
   hflush(fp->fp.hfile);
         ^
sam.c: In function 'sam_write1':
sam.c:758:9: warning: ignoring return value of 'hwrite', declared with attribute warn_unused_result [-Wunused-result]
   hwrite(fp->fp.hfile, fp->line.s, fp->line.l);
         ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o vcf_sweep.o vcf_sweep.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o tbx.o tbx.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o vcf.o vcf.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o vcfutils.o vcfutils.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/files.o cram/files.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/mFILE.o cram/mFILE.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/md5.o cram/md5.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/vlen.o cram/vlen.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o cram/zfio.o cram/zfio.c
ar -rc libhts.a kfunc.o knetfile.o kstring.o bgzf.o faidx.o hfile.o hfile_net.o hts.o razf.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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o kfunc.pico kfunc.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o knetfile.pico knetfile.c
In file included from knetfile.c:46:0:
knetfile.c: In function 'kftp_send_cmd':
htslib/knetfile.h:9:37: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 #define netwrite(fd, ptr, len) write(fd, ptr, len)
                                     ^
knetfile.c:236:2: note: in expansion of macro 'netwrite'
  netwrite(ftp->ctrl_fd, cmd, strlen(cmd));
  ^
knetfile.c: In function 'khttp_connect_file':
htslib/knetfile.h:9:37: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
 #define netwrite(fd, ptr, len) write(fd, ptr, len)
                                     ^
knetfile.c:415:2: note: in expansion of macro 'netwrite'
  netwrite(fp->fd, buf, l);
  ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o kstring.pico kstring.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o bgzf.pico bgzf.c
bgzf.c: In function 'bgzf_index_load':
bgzf.c:888:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
     fread(&x, 1, sizeof(x), idx);
          ^
bgzf.c:899:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
             fread(&x, 1, sizeof(x), idx); fp->idx->offs[i].caddr = ed_swap_8(x);
                  ^
bgzf.c:900:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
             fread(&x, 1, sizeof(x), idx); fp->idx->offs[i].uaddr = ed_swap_8(x);
                  ^
bgzf.c:907:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
             fread(&x, 1, sizeof(x), idx); fp->idx->offs[i].caddr = x;
                  ^
bgzf.c:908:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
             fread(&x, 1, sizeof(x), idx); fp->idx->offs[i].uaddr = x;
                  ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o faidx.pico faidx.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o hfile.pico hfile.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o hts.pico hts.c
hts.c: In function 'hts_idx_load_local':
hts.c:823:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(magic, 1, 4, fp);
        ^
hts.c:824:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(&n, 4, 1, fp);
        ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o razf.pico razf.c
razf.c: In function 'razf_flush':
razf.c:223:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(rz->filedes, rz->outbuf, RZ_BUFFER_SIZE - rz->stream->avail_out);
        ^
razf.c:236:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, rz->outbuf, RZ_BUFFER_SIZE - rz->stream->avail_out);
         ^
razf.c: In function '_razf_write':
razf.c:203:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(rz->filedes, rz->outbuf, RZ_BUFFER_SIZE - rz->stream->avail_out);
        ^
razf.c: In function 'razf_open_r':
razf.c:423:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(fd, &end, sizeof(int64_t));
       ^
razf.c:431:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(fd, &end, sizeof(int64_t));
       ^
razf.c: In function 'load_zindex':
razf.c:124:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read(fd, &rz->index->size, sizeof(int));
      ^
razf.c:133:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read(fd, rz->index->bin_offsets, sizeof(int64_t) * v32);
      ^
razf.c:139:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read(fd, rz->index->cell_offsets, sizeof(int) * rz->index->size);
      ^
razf.c: In function 'razf_close':
razf.c:818:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, &rz->in, sizeof(int64_t));
         ^
razf.c:819:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, &rz->out, sizeof(int64_t));
         ^
razf.c:822:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, &v64, sizeof(int64_t));
         ^
razf.c:824:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, &v64, sizeof(int64_t));
         ^
razf.c: In function 'razf_end_flush':
razf.c:260:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(rz->filedes, rz->outbuf, RZ_BUFFER_SIZE - rz->stream->avail_out);
         ^
razf.c: In function 'save_zindex':
razf.c:96:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  if(is_be) write(fd, &rz->index->size, sizeof(int));
                 ^
razf.c:99:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(fd, &v32, sizeof(uint32_t));
        ^
razf.c:106:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, rz->index->bin_offsets, sizeof(int64_t) * v32);
       ^
razf.c:107:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, rz->index->cell_offsets, sizeof(int32_t) * rz->index->size);
       ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o sam.pico sam.c
sam.c: In function 'sam_hdr_write':
sam.c:461:11: warning: ignoring return value of 'hwrite', declared with attribute warn_unused_result [-Wunused-result]
     hwrite(fp->fp.hfile, fp->line.s, fp->line.l);
           ^
sam.c:464:9: warning: ignoring return value of 'hflush', declared with attribute warn_unused_result [-Wunused-result]
   hflush(fp->fp.hfile);
         ^
sam.c: In function 'sam_write1':
sam.c:758:9: warning: ignoring return value of 'hwrite', declared with attribute warn_unused_result [-Wunused-result]
   hwrite(fp->fp.hfile, fp->line.s, fp->line.l);
         ^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o tbx.pico tbx.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o vcf.pico vcf.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o vcfutils.pico vcfutils.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -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 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -fpic -c -o cram/zfio.pico cram/zfio.c
gcc -shared -Wl,-soname,libhts.so.0 -o libhts.so kfunc.pico knetfile.pico kstring.pico bgzf.pico faidx.pico hfile.pico hfile_net.pico hts.pico razf.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
ln -sf libhts.so libhts.so.0
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/fieldarith.o test/fieldarith.c
gcc -pthread -Wl,-z,relro -o test/fieldarith test/fieldarith.o libhts.a  -lz
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/hfile.o test/hfile.c
gcc -Wl,-z,relro -o test/hfile test/hfile.o libhts.a  -lz
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/test_view.o test/test_view.c
gcc -pthread -Wl,-z,relro -o test/test_view test/test_view.o libhts.a  -lz
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/test-vcf-api.o test/test-vcf-api.c
gcc -pthread -Wl,-z,relro -o test/test-vcf-api test/test-vcf-api.o libhts.a  -lz
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I. -DSAMTOOLS=1 -D_FORTIFY_SOURCE=2 -c -o test/test-vcf-sweep.o test/test-vcf-sweep.c
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 -j1 test
make[2]: Entering directory `/«PKGBUILDDIR»'
test/fieldarith test/fieldarith.sam
test/hfile
cd test && ./test_view.pl

=== Testing aux#aux.sam, ref aux.fa ===
  ./test_view -S -b aux#aux.sam > aux#aux.tmp.bam
  ./test_view aux#aux.tmp.bam > aux#aux.tmp.bam.sam_
Bus error
FAIL 
  ./compare_sam.pl aux#aux.sam aux#aux.tmp.bam.sam_
EOF on aux#aux.sam
FAIL 
  ./test_view -t aux.fa -S -C aux#aux.sam > aux#aux.tmp.cram
  ./test_view -D aux#aux.tmp.cram > aux#aux.tmp.cram.sam_
Bus error
FAIL 
  ./compare_sam.pl aux#aux.sam aux#aux.tmp.cram.sam_
EOF on aux#aux.sam
FAIL 
  ./test_view -t aux.fa -C aux#aux.tmp.bam > aux#aux.tmp.bam.cram
  ./test_view -b -D aux#aux.tmp.bam.cram > aux#aux.tmp.bam.cram.bam
  ./test_view aux#aux.tmp.bam.cram.bam > aux#aux.tmp.bam.cram.bam.sam_
Bus error
FAIL 
  ./compare_sam.pl aux#aux.sam aux#aux.tmp.bam.cram.bam.sam_
EOF on aux#aux.sam
FAIL 

=== Testing c1#bounds.sam, ref c1.fa ===
  ./test_view -S -b c1#bounds.sam > c1#bounds.tmp.bam
  ./test_view c1#bounds.tmp.bam > c1#bounds.tmp.bam.sam_
  ./compare_sam.pl c1#bounds.sam c1#bounds.tmp.bam.sam_
  ./test_view -t c1.fa -S -C c1#bounds.sam > c1#bounds.tmp.cram
  ./test_view -D c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl c1#bounds.sam c1#bounds.tmp.cram.sam_
  ./test_view -t c1.fa -C c1#bounds.tmp.bam > c1#bounds.tmp.bam.cram
  ./test_view -b -D c1#bounds.tmp.bam.cram > c1#bounds.tmp.bam.cram.bam
  ./test_view c1#bounds.tmp.bam.cram.bam > c1#bounds.tmp.bam.cram.bam.sam_
  ./compare_sam.pl c1#bounds.sam c1#bounds.tmp.bam.cram.bam.sam_

=== Testing c1#clip.sam, ref c1.fa ===
  ./test_view -S -b c1#clip.sam > c1#clip.tmp.bam
  ./test_view c1#clip.tmp.bam > c1#clip.tmp.bam.sam_
  ./compare_sam.pl c1#clip.sam c1#clip.tmp.bam.sam_
  ./test_view -t c1.fa -S -C c1#clip.sam > c1#clip.tmp.cram
  ./test_view -D c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl c1#clip.sam c1#clip.tmp.cram.sam_
  ./test_view -t c1.fa -C c1#clip.tmp.bam > c1#clip.tmp.bam.cram
  ./test_view -b -D c1#clip.tmp.bam.cram > c1#clip.tmp.bam.cram.bam
  ./test_view c1#clip.tmp.bam.cram.bam > c1#clip.tmp.bam.cram.bam.sam_
  ./compare_sam.pl c1#clip.sam c1#clip.tmp.bam.cram.bam.sam_

=== Testing c1#pad1.sam, ref c1.fa ===
  ./test_view -S -b c1#pad1.sam > c1#pad1.tmp.bam
  ./test_view c1#pad1.tmp.bam > c1#pad1.tmp.bam.sam_
  ./compare_sam.pl c1#pad1.sam c1#pad1.tmp.bam.sam_
  ./test_view -t c1.fa -S -C c1#pad1.sam > c1#pad1.tmp.cram
  ./test_view -D c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl c1#pad1.sam c1#pad1.tmp.cram.sam_
  ./test_view -t c1.fa -C c1#pad1.tmp.bam > c1#pad1.tmp.bam.cram
  ./test_view -b -D c1#pad1.tmp.bam.cram > c1#pad1.tmp.bam.cram.bam
  ./test_view c1#pad1.tmp.bam.cram.bam > c1#pad1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl c1#pad1.sam c1#pad1.tmp.bam.cram.bam.sam_

=== Testing c1#pad2.sam, ref c1.fa ===
  ./test_view -S -b c1#pad2.sam > c1#pad2.tmp.bam
  ./test_view c1#pad2.tmp.bam > c1#pad2.tmp.bam.sam_
  ./compare_sam.pl c1#pad2.sam c1#pad2.tmp.bam.sam_
  ./test_view -t c1.fa -S -C c1#pad2.sam > c1#pad2.tmp.cram
  ./test_view -D c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl c1#pad2.sam c1#pad2.tmp.cram.sam_
  ./test_view -t c1.fa -C c1#pad2.tmp.bam > c1#pad2.tmp.bam.cram
  ./test_view -b -D c1#pad2.tmp.bam.cram > c1#pad2.tmp.bam.cram.bam
  ./test_view c1#pad2.tmp.bam.cram.bam > c1#pad2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl c1#pad2.sam c1#pad2.tmp.bam.cram.bam.sam_

=== Testing c1#pad3.sam, ref c1.fa ===
  ./test_view -S -b c1#pad3.sam > c1#pad3.tmp.bam
  ./test_view c1#pad3.tmp.bam > c1#pad3.tmp.bam.sam_
  ./compare_sam.pl c1#pad3.sam c1#pad3.tmp.bam.sam_
  ./test_view -t c1.fa -S -C c1#pad3.sam > c1#pad3.tmp.cram
  ./test_view -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view -t c1.fa -C c1#pad3.tmp.bam > c1#pad3.tmp.bam.cram
  ./test_view -b -D c1#pad3.tmp.bam.cram > c1#pad3.tmp.bam.cram.bam
  ./test_view c1#pad3.tmp.bam.cram.bam > c1#pad3.tmp.bam.cram.bam.sam_
  ./compare_sam.pl c1#pad3.sam c1#pad3.tmp.bam.cram.bam.sam_

=== Testing ce#1.sam, ref ce.fa ===
  ./test_view -S -b ce#1.sam > ce#1.tmp.bam
  ./test_view ce#1.tmp.bam > ce#1.tmp.bam.sam_
  ./compare_sam.pl ce#1.sam ce#1.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#1.sam > ce#1.tmp.cram
  ./test_view -D ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl ce#1.sam ce#1.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#1.tmp.bam > ce#1.tmp.bam.cram
  ./test_view -b -D ce#1.tmp.bam.cram > ce#1.tmp.bam.cram.bam
  ./test_view ce#1.tmp.bam.cram.bam > ce#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#1.sam ce#1.tmp.bam.cram.bam.sam_

=== Testing ce#2.sam, ref ce.fa ===
  ./test_view -S -b ce#2.sam > ce#2.tmp.bam
  ./test_view ce#2.tmp.bam > ce#2.tmp.bam.sam_
  ./compare_sam.pl ce#2.sam ce#2.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#2.sam > ce#2.tmp.cram
  ./test_view -D ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl ce#2.sam ce#2.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#2.tmp.bam > ce#2.tmp.bam.cram
  ./test_view -b -D ce#2.tmp.bam.cram > ce#2.tmp.bam.cram.bam
  ./test_view ce#2.tmp.bam.cram.bam > ce#2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#2.sam ce#2.tmp.bam.cram.bam.sam_

=== Testing ce#5.sam, ref ce.fa ===
  ./test_view -S -b ce#5.sam > ce#5.tmp.bam
  ./test_view ce#5.tmp.bam > ce#5.tmp.bam.sam_
  ./compare_sam.pl ce#5.sam ce#5.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#5.sam > ce#5.tmp.cram
  ./test_view -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl ce#5.sam ce#5.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#5.tmp.bam > ce#5.tmp.bam.cram
  ./test_view -b -D ce#5.tmp.bam.cram > ce#5.tmp.bam.cram.bam
  ./test_view ce#5.tmp.bam.cram.bam > ce#5.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#5.sam ce#5.tmp.bam.cram.bam.sam_

=== Testing ce#5b.sam, ref ce.fa ===
  ./test_view -S -b ce#5b.sam > ce#5b.tmp.bam
  ./test_view ce#5b.tmp.bam > ce#5b.tmp.bam.sam_
  ./compare_sam.pl ce#5b.sam ce#5b.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#5b.sam > ce#5b.tmp.cram
  ./test_view -D ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#5b.tmp.bam > ce#5b.tmp.bam.cram
  ./test_view -b -D ce#5b.tmp.bam.cram > ce#5b.tmp.bam.cram.bam
  ./test_view ce#5b.tmp.bam.cram.bam > ce#5b.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#5b.sam ce#5b.tmp.bam.cram.bam.sam_

=== Testing ce#large_seq.sam, ref ce.fa ===
  ./test_view -S -b ce#large_seq.sam > ce#large_seq.tmp.bam
  ./test_view ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.sam_
  ./compare_sam.pl ce#large_seq.sam ce#large_seq.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#large_seq.sam > ce#large_seq.tmp.cram
  ./test_view -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.cram
  ./test_view -b -D ce#large_seq.tmp.bam.cram > ce#large_seq.tmp.bam.cram.bam
  ./test_view ce#large_seq.tmp.bam.cram.bam > ce#large_seq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#large_seq.sam ce#large_seq.tmp.bam.cram.bam.sam_

=== Testing ce#tag_depadded.sam, ref ce.fa ===
  ./test_view -S -b ce#tag_depadded.sam > ce#tag_depadded.tmp.bam
  ./test_view ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_depadded.sam ce#tag_depadded.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#tag_depadded.sam > ce#tag_depadded.tmp.cram
  ./test_view -D ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.sam_
  ./compare_sam.pl ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.cram
  ./test_view -b -D ce#tag_depadded.tmp.bam.cram > ce#tag_depadded.tmp.bam.cram.bam
  ./test_view ce#tag_depadded.tmp.bam.cram.bam > ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#tag_depadded.sam ce#tag_depadded.tmp.bam.cram.bam.sam_

=== Testing ce#tag_padded.sam, ref ce.fa ===
  ./test_view -S -b ce#tag_padded.sam > ce#tag_padded.tmp.bam
  ./test_view ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_padded.sam ce#tag_padded.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#tag_padded.sam > ce#tag_padded.tmp.cram
  ./test_view -D ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.sam_
  ./compare_sam.pl ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.cram
  ./test_view -b -D ce#tag_padded.tmp.bam.cram > ce#tag_padded.tmp.bam.cram.bam
  ./test_view ce#tag_padded.tmp.bam.cram.bam > ce#tag_padded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#tag_padded.sam ce#tag_padded.tmp.bam.cram.bam.sam_

=== Testing ce#unmap.sam, ref ce.fa ===
  ./test_view -S -b ce#unmap.sam > ce#unmap.tmp.bam
  ./test_view ce#unmap.tmp.bam > ce#unmap.tmp.bam.sam_
  ./compare_sam.pl ce#unmap.sam ce#unmap.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#unmap.sam > ce#unmap.tmp.cram
  ./test_view -D ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl ce#unmap.sam ce#unmap.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#unmap.tmp.bam > ce#unmap.tmp.bam.cram
  ./test_view -b -D ce#unmap.tmp.bam.cram > ce#unmap.tmp.bam.cram.bam
  ./test_view ce#unmap.tmp.bam.cram.bam > ce#unmap.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#unmap.sam ce#unmap.tmp.bam.cram.bam.sam_

=== Testing ce#unmap1.sam, ref ce.fa ===
  ./test_view -S -b ce#unmap1.sam > ce#unmap1.tmp.bam
  ./test_view ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.sam_
  ./compare_sam.pl ce#unmap1.sam ce#unmap1.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#unmap1.sam > ce#unmap1.tmp.cram
  ./test_view -D ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl ce#unmap1.sam ce#unmap1.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.cram
  ./test_view -b -D ce#unmap1.tmp.bam.cram > ce#unmap1.tmp.bam.cram.bam
  ./test_view ce#unmap1.tmp.bam.cram.bam > ce#unmap1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#unmap1.sam ce#unmap1.tmp.bam.cram.bam.sam_

=== Testing ce#unmap2.sam, ref ce.fa ===
  ./test_view -S -b ce#unmap2.sam > ce#unmap2.tmp.bam
  ./test_view ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.sam_
  ./compare_sam.pl ce#unmap2.sam ce#unmap2.tmp.bam.sam_
  ./test_view -t ce.fa -S -C ce#unmap2.sam > ce#unmap2.tmp.cram
  ./test_view -D ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl ce#unmap2.sam ce#unmap2.tmp.cram.sam_
  ./test_view -t ce.fa -C ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.cram
  ./test_view -b -D ce#unmap2.tmp.bam.cram > ce#unmap2.tmp.bam.cram.bam
  ./test_view ce#unmap2.tmp.bam.cram.bam > ce#unmap2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl ce#unmap2.sam ce#unmap2.tmp.bam.cram.bam.sam_

=== Testing xx#blank.sam, ref xx.fa ===
  ./test_view -S -b xx#blank.sam > xx#blank.tmp.bam
  ./test_view xx#blank.tmp.bam > xx#blank.tmp.bam.sam_
  ./compare_sam.pl xx#blank.sam xx#blank.tmp.bam.sam_
  ./test_view -t xx.fa -S -C xx#blank.sam > xx#blank.tmp.cram
  ./test_view -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#blank.tmp.bam > xx#blank.tmp.bam.cram
  ./test_view -b -D xx#blank.tmp.bam.cram > xx#blank.tmp.bam.cram.bam
  ./test_view xx#blank.tmp.bam.cram.bam > xx#blank.tmp.bam.cram.bam.sam_
  ./compare_sam.pl xx#blank.sam xx#blank.tmp.bam.cram.bam.sam_

=== Testing xx#large_aux.sam, ref xx.fa ===
  ./test_view -S -b xx#large_aux.sam > xx#large_aux.tmp.bam
  ./test_view xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux.sam xx#large_aux.tmp.bam.sam_
  ./test_view -t xx.fa -S -C xx#large_aux.sam > xx#large_aux.tmp.cram
  ./test_view -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.cram
  ./test_view -b -D xx#large_aux.tmp.bam.cram > xx#large_aux.tmp.bam.cram.bam
  ./test_view xx#large_aux.tmp.bam.cram.bam > xx#large_aux.tmp.bam.cram.bam.sam_
  ./compare_sam.pl xx#large_aux.sam xx#large_aux.tmp.bam.cram.bam.sam_

=== Testing xx#large_aux2.sam, ref xx.fa ===
  ./test_view -S -b xx#large_aux2.sam > xx#large_aux2.tmp.bam
  ./test_view xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux2.sam xx#large_aux2.tmp.bam.sam_
  ./test_view -t xx.fa -S -C xx#large_aux2.sam > xx#large_aux2.tmp.cram
  ./test_view -D xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.sam_
  ./compare_sam.pl xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.cram
  ./test_view -b -D xx#large_aux2.tmp.bam.cram > xx#large_aux2.tmp.bam.cram.bam
  ./test_view xx#large_aux2.tmp.bam.cram.bam > xx#large_aux2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl xx#large_aux2.sam xx#large_aux2.tmp.bam.cram.bam.sam_

=== Testing xx#minimal.sam, ref xx.fa ===
  ./test_view -S -b xx#minimal.sam > xx#minimal.tmp.bam
  ./test_view xx#minimal.tmp.bam > xx#minimal.tmp.bam.sam_
  ./compare_sam.pl xx#minimal.sam xx#minimal.tmp.bam.sam_
  ./test_view -t xx.fa -S -C xx#minimal.sam > xx#minimal.tmp.cram
  ./test_view -D xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl xx#minimal.sam xx#minimal.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#minimal.tmp.bam > xx#minimal.tmp.bam.cram
  ./test_view -b -D xx#minimal.tmp.bam.cram > xx#minimal.tmp.bam.cram.bam
  ./test_view xx#minimal.tmp.bam.cram.bam > xx#minimal.tmp.bam.cram.bam.sam_
  ./compare_sam.pl xx#minimal.sam xx#minimal.tmp.bam.cram.bam.sam_

=== Testing xx#pair.sam, ref xx.fa ===
  ./test_view -S -b xx#pair.sam > xx#pair.tmp.bam
  ./test_view xx#pair.tmp.bam > xx#pair.tmp.bam.sam_
  ./compare_sam.pl xx#pair.sam xx#pair.tmp.bam.sam_
  ./test_view -t xx.fa -S -C xx#pair.sam > xx#pair.tmp.cram
  ./test_view -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#pair.tmp.bam > xx#pair.tmp.bam.cram
  ./test_view -b -D xx#pair.tmp.bam.cram > xx#pair.tmp.bam.cram.bam
  ./test_view xx#pair.tmp.bam.cram.bam > xx#pair.tmp.bam.cram.bam.sam_
  ./compare_sam.pl xx#pair.sam xx#pair.tmp.bam.cram.bam.sam_

=== Testing xx#rg.sam, ref xx.fa ===
  ./test_view -S -b xx#rg.sam > xx#rg.tmp.bam
  ./test_view xx#rg.tmp.bam > xx#rg.tmp.bam.sam_
  ./compare_sam.pl xx#rg.sam xx#rg.tmp.bam.sam_
  ./test_view -t xx.fa -S -C xx#rg.sam > xx#rg.tmp.cram
  ./test_view -D xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl xx#rg.sam xx#rg.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#rg.tmp.bam > xx#rg.tmp.bam.cram
  ./test_view -b -D xx#rg.tmp.bam.cram > xx#rg.tmp.bam.cram.bam
  ./test_view xx#rg.tmp.bam.cram.bam > xx#rg.tmp.bam.cram.bam.sam_
  ./compare_sam.pl xx#rg.sam xx#rg.tmp.bam.cram.bam.sam_

=== Testing xx#triplet.sam, ref xx.fa ===
  ./test_view -S -b xx#triplet.sam > xx#triplet.tmp.bam
  ./test_view xx#triplet.tmp.bam > xx#triplet.tmp.bam.sam_
  ./compare_sam.pl xx#triplet.sam xx#triplet.tmp.bam.sam_
  ./test_view -t xx.fa -S -C xx#triplet.sam > xx#triplet.tmp.cram
  ./test_view -D xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl xx#triplet.sam xx#triplet.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#triplet.tmp.bam > xx#triplet.tmp.bam.cram
  ./test_view -b -D xx#triplet.tmp.bam.cram > xx#triplet.tmp.bam.cram.bam
  ./test_view xx#triplet.tmp.bam.cram.bam > xx#triplet.tmp.bam.cram.bam.sam_
  ./compare_sam.pl xx#triplet.sam xx#triplet.tmp.bam.cram.bam.sam_

=== Testing xx#unsorted.sam, ref xx.fa ===
  ./test_view -S -b xx#unsorted.sam > xx#unsorted.tmp.bam
  ./test_view xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.sam_
  ./compare_sam.pl xx#unsorted.sam xx#unsorted.tmp.bam.sam_
  ./test_view -t xx.fa -S -C xx#unsorted.sam > xx#unsorted.tmp.cram
  ./test_view -D xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl xx#unsorted.sam xx#unsorted.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.cram
  ./test_view -b -D xx#unsorted.tmp.bam.cram > xx#unsorted.tmp.bam.cram.bam
  ./test_view xx#unsorted.tmp.bam.cram.bam > xx#unsorted.tmp.bam.cram.bam.sam_
  ./compare_sam.pl xx#unsorted.sam xx#unsorted.tmp.bam.cram.bam.sam_

Successes 234

Failures  6
make[2]: *** [test] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_test: make -j1 test returned exit code 2
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20140324-1411

Finished
────────

E: Build failure (dpkg-buildpackage died)

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

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

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

Build Architecture: armhf
Build-Space: 28368
Build-Time: 344
Distribution: jessie-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 132
Job: htslib_0.2.0~rc3-1
Machine Architecture: armhf
Package: htslib
Package-Time: 535
Source-Version: 0.2.0~rc3-1
Space: 28368
Status: attempted
Version: 0.2.0~rc3-1
────────────────────────────────────────────────────────────────────────────────
Finished at 20140324-1411
Build needed 00:08:55, 28368k disc space