Raspbian Package Auto-Building

Build log for samtools (1.3-1) on armhf

samtools1.3-1armhf → 2016-02-11 09:03:17

sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on bm-wb-01

+==============================================================================+
| samtools 1.3-1 (armhf)                                     11 Feb 2016 08:51 |
+==============================================================================+

Package: samtools
Version: 1.3-1
Source Version: 1.3-1
Distribution: stretch-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'build/samtools-xIoozB/samtools-1.3' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/samtools-xIoozB' with '<<BUILDDIR>>'
I: NOTICE: Log filtering will replace 'var/run/schroot/mount/stretch-staging-armhf-sbuild-18d6e93a-7b45-4f0b-9607-c591cc4a5162' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private stretch-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private stretch-staging/main Sources [8682 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf Packages [10.8 MB]
Fetched 19.4 MB in 22s (863 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: 'samtools' packaging is maintained in the 'Git' version control system at:
https://anonscm.debian.org/git/debian-med/samtools.git
Please use:
git clone https://anonscm.debian.org/git/debian-med/samtools.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 3757 kB of source archives.
Get:1 http://172.17.0.1/private stretch-staging/main samtools 1.3-1 (dsc) [2150 B]
Get:2 http://172.17.0.1/private stretch-staging/main samtools 1.3-1 (tar) [3743 kB]
Get:3 http://172.17.0.1/private stretch-staging/main samtools 1.3-1 (diff) [12.0 kB]
Fetched 3757 kB in 0s (9014 kB/s)
Download complete and in download only mode

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-vlPTcC/apt_archive/sbuild-build-depends-core-dummy.deb'.
OK
Get:1 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ InRelease
Ign:1 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ InRelease
Get:2 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Release [2119 B]
Get:2 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Release [2119 B]
Get:3 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Release.gpg [299 B]
Get:3 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Release.gpg [299 B]
Get:4 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Sources [214 B]
Get:5 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Packages [528 B]
Ign:4 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Sources
Ign:5 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Packages
Get:4 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Sources [214 B]
Get:5 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ Packages [528 B]
Reading package lists...
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  manpages
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B/768 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 file:/<<BUILDDIR>>/resolver-vlPTcC/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [768 B]
debconf: delaying package configuration, since apt-utils is not installed
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 ... 12672 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) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any all)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 9), bash-completion, libio-pty-perl, libncurses5-dev, libhts-dev (>= 1.3), zlib1g-dev, automake, autoconf-archive, tabix (>= 1.0)
Filtered Build-Depends: debhelper (>= 9), bash-completion, libio-pty-perl, libncurses5-dev, libhts-dev (>= 1.3), zlib1g-dev, automake, autoconf-archive, tabix (>= 1.0)
dpkg-deb: building package 'sbuild-build-depends-samtools-dummy' in '/<<BUILDDIR>>/resolver-KcIqwk/apt_archive/sbuild-build-depends-samtools-dummy.deb'.
OK
Get:1 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ InRelease
Ign:1 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ InRelease
Get:2 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Release [2119 B]
Get:2 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Release [2119 B]
Get:3 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Release.gpg [299 B]
Get:3 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Release.gpg [299 B]
Get:4 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Sources [281 B]
Get:5 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Packages [596 B]
Ign:4 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Sources
Ign:5 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Packages
Get:4 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Sources [281 B]
Get:5 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ Packages [596 B]
Reading package lists...
Reading package lists...

Install samtools build dependencies (apt-based resolver)
--------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  manpages
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  autoconf autoconf-archive automake autotools-dev bash-completion
  bsdmainutils debhelper dh-strip-nondeterminism file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libcroco3 libffi6
  libfile-stripnondeterminism-perl libglib2.0-0 libhts-dev libhts1 libicu55
  libio-pty-perl libmagic1 libncurses5-dev libpipeline1 libsigsegv2
  libtimedate-perl libtinfo-dev libunistring0 libxml2 m4 man-db po-debconf
  tabix zlib1g-dev
Suggested packages:
  gnu-standards autoconf-doc libtool wamerican | wordlist whois vacation
  dh-make gettext-doc autopoint libasprintf-dev libgettextpo-dev groff
  ncurses-doc less www-browser libmail-box-perl
Recommended packages:
  curl | wget | lynx-cur libglib2.0-data shared-mime-info xdg-user-dirs
  xml-core libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf autoconf-archive automake autotools-dev bash-completion
  bsdmainutils debhelper dh-strip-nondeterminism file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libcroco3 libffi6
  libfile-stripnondeterminism-perl libglib2.0-0 libhts-dev libhts1 libicu55
  libio-pty-perl libmagic1 libncurses5-dev libpipeline1 libsigsegv2
  libtimedate-perl libtinfo-dev libunistring0 libxml2 m4 man-db po-debconf
  sbuild-build-depends-samtools-dummy tabix zlib1g-dev
0 upgraded, 36 newly installed, 0 to remove and 10 not upgraded.
Need to get 19.8 MB/19.8 MB of archives.
After this operation, 73.0 MB of additional disk space will be used.
Get:1 file:/<<BUILDDIR>>/resolver-KcIqwk/apt_archive ./ sbuild-build-depends-samtools-dummy 0.invalid.0 [836 B]
Get:2 http://172.17.0.1/private stretch-staging/main armhf groff-base armhf 1.22.3-7 [1083 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf bsdmainutils armhf 9.0.6 [177 kB]
Get:4 http://172.17.0.1/private stretch-staging/main armhf libpipeline1 armhf 1.4.1-2 [23.7 kB]
Get:5 http://172.17.0.1/private stretch-staging/main armhf man-db armhf 2.7.5-1 [975 kB]
Get:6 http://172.17.0.1/private stretch-staging/main armhf bash-completion all 1:2.1-4.2 [179 kB]
Get:7 http://172.17.0.1/private stretch-staging/main armhf autoconf-archive all 20150925-1 [688 kB]
Get:8 http://172.17.0.1/private stretch-staging/main armhf libsigsegv2 armhf 2.10-4 [28.2 kB]
Get:9 http://172.17.0.1/private stretch-staging/main armhf libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:10 http://172.17.0.1/private stretch-staging/main armhf libmagic1 armhf 1:5.25-2 [250 kB]
Get:11 http://172.17.0.1/private stretch-staging/main armhf file armhf 1:5.25-2 [61.2 kB]
Get:12 http://172.17.0.1/private stretch-staging/main armhf gettext-base armhf 0.19.7-2 [111 kB]
Get:13 http://172.17.0.1/private stretch-staging/main armhf libicu55 armhf 55.1-7 [7380 kB]
Get:14 http://172.17.0.1/private stretch-staging/main armhf libxml2 armhf 2.9.3+dfsg1-1 [800 kB]
Get:15 http://172.17.0.1/private stretch-staging/main armhf m4 armhf 1.4.17-5 [239 kB]
Get:16 http://172.17.0.1/private stretch-staging/main armhf autoconf all 2.69-9 [338 kB]
Get:17 http://172.17.0.1/private stretch-staging/main armhf autotools-dev all 20150820.1 [71.7 kB]
Get:18 http://172.17.0.1/private stretch-staging/main armhf automake all 1:1.15-3 [735 kB]
Get:19 http://172.17.0.1/private stretch-staging/main armhf libffi6 armhf 3.2.1-4 [18.5 kB]
Get:20 http://172.17.0.1/private stretch-staging/main armhf libglib2.0-0 armhf 2.46.2-3 [2482 kB]
Get:21 http://172.17.0.1/private stretch-staging/main armhf libcroco3 armhf 0.6.11-1 [131 kB]
Get:22 http://172.17.0.1/private stretch-staging/main armhf gettext armhf 0.19.7-2 [1400 kB]
Get:23 http://172.17.0.1/private stretch-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:24 http://172.17.0.1/private stretch-staging/main armhf po-debconf all 1.0.19 [249 kB]
Get:25 http://172.17.0.1/private stretch-staging/main armhf libarchive-zip-perl all 1.56-2 [94.9 kB]
Get:26 http://172.17.0.1/private stretch-staging/main armhf libfile-stripnondeterminism-perl all 0.015-1 [11.0 kB]
Get:27 http://172.17.0.1/private stretch-staging/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
Get:28 http://172.17.0.1/private stretch-staging/main armhf dh-strip-nondeterminism all 0.015-1 [6810 B]
Get:29 http://172.17.0.1/private stretch-staging/main armhf debhelper all 9.20160115 [827 kB]
Get:30 http://172.17.0.1/private stretch-staging/main armhf libhts1 armhf 1.3-1+rpi1 [206 kB]
Get:31 http://172.17.0.1/private stretch-staging/main armhf libhts-dev armhf 1.3-1+rpi1 [259 kB]
Get:32 http://172.17.0.1/private stretch-staging/main armhf libio-pty-perl armhf 1:1.08-1.1+b1 [33.0 kB]
Get:33 http://172.17.0.1/private stretch-staging/main armhf libtinfo-dev armhf 6.0+20151024-2 [65.8 kB]
Get:34 http://172.17.0.1/private stretch-staging/main armhf libncurses5-dev armhf 6.0+20151024-2 [154 kB]
Get:35 http://172.17.0.1/private stretch-staging/main armhf tabix armhf 1.3-1+rpi1 [192 kB]
Get:36 http://172.17.0.1/private stretch-staging/main armhf zlib1g-dev armhf 1:1.2.8.dfsg-2+b1 [197 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 19.8 MB in 1s (10.8 MB/s)
Selecting previously unselected package groff-base.
(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 ... 12672 files and directories currently installed.)
Preparing to unpack .../groff-base_1.22.3-7_armhf.deb ...
Unpacking groff-base (1.22.3-7) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../libpipeline1_1.4.1-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.5-1_armhf.deb ...
Unpacking man-db (2.7.5-1) ...
Selecting previously unselected package bash-completion.
Preparing to unpack .../bash-completion_1%3a2.1-4.2_all.deb ...
Unpacking bash-completion (1:2.1-4.2) ...
Selecting previously unselected package autoconf-archive.
Preparing to unpack .../autoconf-archive_20150925-1_all.deb ...
Unpacking autoconf-archive (20150925-1) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../libsigsegv2_2.10-4_armhf.deb ...
Unpacking libsigsegv2:armhf (2.10-4) ...
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 libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.25-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.25-2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.25-2_armhf.deb ...
Unpacking file (1:5.25-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.7-2_armhf.deb ...
Unpacking gettext-base (0.19.7-2) ...
Selecting previously unselected package libicu55:armhf.
Preparing to unpack .../libicu55_55.1-7_armhf.deb ...
Unpacking libicu55:armhf (55.1-7) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.3+dfsg1-1_armhf.deb ...
Unpacking libxml2:armhf (2.9.3+dfsg1-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../archives/m4_1.4.17-5_armhf.deb ...
Unpacking m4 (1.4.17-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.69-9_all.deb ...
Unpacking autoconf (2.69-9) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20150820.1_all.deb ...
Unpacking autotools-dev (20150820.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.15-3_all.deb ...
Unpacking automake (1:1.15-3) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.2.1-4_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-4) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.46.2-3_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.46.2-3) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.11-1_armhf.deb ...
Unpacking libcroco3:armhf (0.6.11-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.7-2_armhf.deb ...
Unpacking gettext (0.19.7-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.19_all.deb ...
Unpacking po-debconf (1.0.19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../libarchive-zip-perl_1.56-2_all.deb ...
Unpacking libarchive-zip-perl (1.56-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../libfile-stripnondeterminism-perl_0.015-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.015-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../dh-strip-nondeterminism_0.015-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.015-1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20160115_all.deb ...
Unpacking debhelper (9.20160115) ...
Selecting previously unselected package libhts1:armhf.
Preparing to unpack .../libhts1_1.3-1+rpi1_armhf.deb ...
Unpacking libhts1:armhf (1.3-1+rpi1) ...
Selecting previously unselected package libhts-dev:armhf.
Preparing to unpack .../libhts-dev_1.3-1+rpi1_armhf.deb ...
Unpacking libhts-dev:armhf (1.3-1+rpi1) ...
Selecting previously unselected package libio-pty-perl.
Preparing to unpack .../libio-pty-perl_1%3a1.08-1.1+b1_armhf.deb ...
Unpacking libio-pty-perl (1:1.08-1.1+b1) ...
Selecting previously unselected package libtinfo-dev:armhf.
Preparing to unpack .../libtinfo-dev_6.0+20151024-2_armhf.deb ...
Unpacking libtinfo-dev:armhf (6.0+20151024-2) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../libncurses5-dev_6.0+20151024-2_armhf.deb ...
Unpacking libncurses5-dev:armhf (6.0+20151024-2) ...
Selecting previously unselected package tabix.
Preparing to unpack .../tabix_1.3-1+rpi1_armhf.deb ...
Unpacking tabix (1.3-1+rpi1) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-2+b1) ...
Selecting previously unselected package sbuild-build-depends-samtools-dummy.
Preparing to unpack .../sbuild-build-depends-samtools-dummy.deb ...
Unpacking sbuild-build-depends-samtools-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.21-7) ...
Setting up groff-base (1.22.3-7) ...
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 libpipeline1:armhf (1.4.1-2) ...
Setting up man-db (2.7.5-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up bash-completion (1:2.1-4.2) ...
Setting up autoconf-archive (20150925-1) ...
Setting up libsigsegv2:armhf (2.10-4) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up libmagic1:armhf (1:5.25-2) ...
Setting up file (1:5.25-2) ...
Setting up gettext-base (0.19.7-2) ...
Setting up libicu55:armhf (55.1-7) ...
Setting up libxml2:armhf (2.9.3+dfsg1-1) ...
Setting up m4 (1.4.17-5) ...
Setting up autoconf (2.69-9) ...
Setting up autotools-dev (20150820.1) ...
Setting up automake (1:1.15-3) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up libffi6:armhf (3.2.1-4) ...
Setting up libglib2.0-0:armhf (2.46.2-3) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.11-1) ...
Setting up gettext (0.19.7-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.19) ...
Setting up libarchive-zip-perl (1.56-2) ...
Setting up libfile-stripnondeterminism-perl (0.015-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libhts1:armhf (1.3-1+rpi1) ...
Setting up libhts-dev:armhf (1.3-1+rpi1) ...
Setting up libio-pty-perl (1:1.08-1.1+b1) ...
Setting up libtinfo-dev:armhf (6.0+20151024-2) ...
Setting up libncurses5-dev:armhf (6.0+20151024-2) ...
Setting up tabix (1.3-1+rpi1) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-2+b1) ...
Setting up debhelper (9.20160115) ...
Setting up sbuild-build-depends-samtools-dummy (0.invalid.0) ...
Setting up dh-strip-nondeterminism (0.015-1) ...
Processing triggers for libc-bin (2.21-7) ...

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.3.0-1-armmp armhf (armv7l)
Toolchain package versions: binutils_2.26-2 dpkg-dev_1.18.4 g++-5_5.3.1-7+rpi1 gcc-5_5.3.1-7+rpi1 libc6-dev_2.21-7 libstdc++-5-dev_5.3.1-7+rpi1 libstdc++6_5.3.1-7+rpi1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch
Package versions: adduser_3.113+nmu3 apt_1.2.1 autoconf_2.69-9 autoconf-archive_20150925-1 automake_1:1.15-3 autotools-dev_20150820.1 base-files_9.5+rpi1 base-passwd_3.5.39 bash_4.3-14 bash-completion_1:2.1-4.2 binutils_2.26-2 bsdmainutils_9.0.6 bsdutils_1:2.27.1-3 build-essential_11.7 bzip2_1.0.6-8 coreutils_8.24-1 cpio_2.11+dfsg-4.1 cpp_4:5.3.1-1+rpi1 cpp-5_5.3.1-7+rpi1 dash_0.5.8-2.1 debconf_1.5.58 debfoster_2.7-2 debhelper_9.20160115 debianutils_4.7 dh-strip-nondeterminism_0.015-1 diffutils_1:3.3-3 dmsetup_2:1.02.115-1 dpkg_1.18.4 dpkg-dev_1.18.4 e2fslibs_1.42.13-1 e2fsprogs_1.42.13-1 fakeroot_1.20.2-1 file_1:5.25-2 findutils_4.6.0-2 g++_4:5.3.1-1+rpi1 g++-5_5.3.1-7+rpi1 gcc_4:5.3.1-1+rpi1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.3-10 gcc-5_5.3.1-7+rpi1 gcc-5-base_5.3.1-7+rpi1 gettext_0.19.7-2 gettext-base_0.19.7-2 gnupg_1.4.20-1 gpgv_1.4.20-1 grep_2.22-1 groff-base_1.22.3-7 gzip_1.6-4 hostname_3.16 init_1.24 init-system-helpers_1.24 initramfs-tools_0.120 initscripts_2.88dsf-59.2 insserv_1.14.0-5.1 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-7+rpi1 kmod_22-1 libacl1_2.2.52-2 libapparmor1_2.10-3 libapt-pkg5.0_1.2.1 libarchive-zip-perl_1.56-2 libasan2_5.3.1-7+rpi1 libatomic1_5.3.1-7+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.4.5-1 libaudit1_1:2.4.5-1 libblkid1_2.27.1-3 libbz2-1.0_1.0.6-8 libc-bin_2.21-7 libc-dev-bin_2.21-7 libc6_2.21-7 libc6-dev_2.21-7 libcap2_1:2.24-12 libcap2-bin_1:2.24-12 libcc1-0_5.3.1-7+rpi1 libcomerr2_1.42.13-1 libcroco3_0.6.11-1 libcryptsetup4_2:1.7.0-2 libdb5.3_5.3.28-11 libdbus-1-3_1.10.6-1 libdebconfclient0_0.201 libdevmapper1.02.1_2:1.02.115-1 libdpkg-perl_1.18.4 libdrm2_2.4.66-2 libfakeroot_1.20.2-1 libfdisk1_2.27.1-3 libffi6_3.2.1-4 libfile-stripnondeterminism-perl_0.015-1 libgc1c2_1:7.4.2-7.3 libgcc-5-dev_5.3.1-7+rpi1 libgcc1_1:5.3.1-7+rpi1 libgcrypt20_1.6.4-5 libgdbm3_1.8.3-13.1 libglib2.0-0_2.46.2-3 libgmp10_2:6.1.0+dfsg-2 libgomp1_5.3.1-7+rpi1 libgpg-error0_1.21-1 libhts-dev_1.3-1+rpi1 libhts1_1.3-1+rpi1 libicu55_55.1-7 libio-pty-perl_1:1.08-1.1+b1 libisl15_0.16.1-1 libklibc_2.0.4-7+rpi1 libkmod2_22-1 liblz4-1_0.0~r131-1 liblzma5_5.1.1alpha+20120614-2.1 libmagic1_1:5.25-2 libmount1_2.27.1-3 libmpc3_1.0.3-1 libmpfr4_3.1.3-2 libncurses5_6.0+20151024-2 libncurses5-dev_6.0+20151024-2 libncursesw5_6.0+20151024-2 libpam-modules_1.1.8-3.2 libpam-modules-bin_1.1.8-3.2 libpam-runtime_1.1.8-3.2 libpam0g_1.1.8-3.2 libpcre3_2:8.38-1 libperl5.22_5.22.1-5 libpipeline1_1.4.1-2 libpng12-0_1.2.54-1 libprocps5_2:3.3.11-3 libreadline6_6.3-8+b3 libseccomp2_2.2.3-2 libselinux1_2.4-3 libsemanage-common_2.4-3 libsemanage1_2.4-3 libsepol1_2.4-2 libsigsegv2_2.10-4 libsmartcols1_2.27.1-3 libss2_1.42.13-1 libstdc++-5-dev_5.3.1-7+rpi1 libstdc++6_5.3.1-7+rpi1 libsystemd0_228-4+b1 libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20151024-2 libtinfo5_6.0+20151024-2 libubsan0_5.3.1-7+rpi1 libudev1_228-4+b1 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-28 libustr-1.0-1_1.0.4-5 libuuid1_2.27.1-3 libxml2_2.9.3+dfsg1-1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch login_1:4.2-3.1 lsb-base_9.20160110+rpi1 m4_1.4.17-5 make_4.1-5 makedev_2.3.1-93 man-db_2.7.5-1 manpages_4.04-0.1 mawk_1.3.3-17 mount_2.27.1-3 multiarch-support_2.21-7 nano_2.5.1-1 ncurses-base_6.0+20151024-2 ncurses-bin_6.0+20151024-2 passwd_1:4.2-3.1 patch_2.7.5-1 perl_5.22.1-5 perl-base_5.22.1-5 perl-modules-5.22_5.22.1-5 po-debconf_1.0.19 procps_2:3.3.11-3 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-samtools-dummy_0.invalid.0 sed_4.2.2-6.1 sensible-utils_0.0.9 startpar_0.59-3 systemd_228-4+b1 systemd-sysv_228-4+b1 sysv-rc_2.88dsf-59.2 sysvinit-utils_2.88dsf-59.2 tabix_1.3-1+rpi1 tar_1.28-2.1 tzdata_2016a-1 udev_228-4+b1 util-linux_2.27.1-3 xz-utils_5.1.1alpha+20120614-2.1 zlib1g_1:1.2.8.dfsg-2+b1 zlib1g-dev_1:1.2.8.dfsg-2+b1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Fri Feb  5 14:47:37 2016 UTC using RSA key ID D1C646D1
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./samtools_1.3-1.dsc
dpkg-source: info: extracting samtools in samtools-1.3
dpkg-source: info: unpacking samtools_1.3.orig.tar.gz
dpkg-source: info: unpacking samtools_1.3-1.debian.tar.xz
dpkg-source: info: applying spelling.patch
dpkg-source: info: applying literal_version.patch
dpkg-source: info: applying mayhem.patch

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
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
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-18d6e93a-7b45-4f0b-9607-c591cc4a5162
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: source package samtools
dpkg-buildpackage: source version 1.3-1
dpkg-buildpackage: source distribution unstable
 dpkg-source --before-build samtools-1.3
dpkg-buildpackage: host architecture armhf
dpkg-source: info: using options from samtools-1.3/debian/source/options: --single-debian-patch --extend-diff-ignore=^(\.travis.*|README.md)$
 fakeroot debian/rules clean
dh clean --parallel
   dh_testdir -O--parallel
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
touch config.mk
dh_auto_clean --
	make -j4 distclean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -f test/*.new test/*.tmp test/*/*.new test/*/*.tmp test/*/*.tmp.*
cd test/dat && rm -f test_input_*.bam.bai
cd test/mpileup && rm -f FAIL-*.out* PASS-*.out* anomalous.[bc]*am indels.[bc]*am mpileup.*.[cs]*am mpileup.*.crai overlap50.[bc]*am expected/1.out xx#depth[12].bam*
rm -f *.o misc/*.o test/*.o test/*/*.o version.h
rm -f samtools libbam.a misc/ace2sam misc/maq2sam-long misc/maq2sam-short misc/md5fa misc/md5sum-lite misc/wgsim test/merge/test_bam_translate test/merge/test_rtrans_build test/merge/test_trans_tbl_init test/split/test_count_rg test/split/test_expand_format_string test/split/test_filter_header_rg test/split/test_parse_args test/vcf-miniview
rm -f config.cache config.h config.log config.mk config.status
rm -f TAGS
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean -O--parallel
	rm -f debian/debhelper-build-stamp
	rm -f debian/samtools.substvars
	rm -f debian/samtools.*.debhelper
	rm -rf debian/samtools/
	rm -f debian/samtools-test.substvars
	rm -f debian/samtools-test.*.debhelper
	rm -rf debian/samtools-test/
	rm -rf debian/.debhelper/
	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_update_autotools_config -a -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
touch config.mk
aclocal --force -I /usr/share/aclocal/ -I debian/
configure.ac:40: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
debian/ax_with_htslib.m4:53: AX_WITH_HTSLIB is expanded from...
configure.ac:40: the top level
autoconf
configure.ac:40: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
debian/ax_with_htslib.m4:53: AX_WITH_HTSLIB is expanded from...
configure.ac:40: the top level
dh_auto_configure -- --with-htslib=system
	./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking --with-htslib=system
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for htslib/sam.h... yes
checking for hts_version in -lhts... yes
checking for NcursesW wide-character library... no
checking for Ncurses library... yes
checking for working ncurses/curses.h... no
checking for working ncurses.h... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating config.h
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- \
  CFLAGS="$(dpkg-buildflags --get CFLAGS)" \
  CPPFLAGS="\$(DFLAGS) \$(INCLUDES) $(dpkg-buildflags --get CPPFLAGS)" \
  LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"
	make -j4 "CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=\$(DFLAGS) \$(INCLUDES) -Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS=-Wl,-z,relro
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_index.o bam_index.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_plcmd.o bam_plcmd.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sam_view.o sam_view.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_cat.o bam_cat.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_md.o bam_md.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_reheader.o bam_reheader.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_sort.o bam_sort.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bedidx.o bedidx.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o kprobaln.o kprobaln.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_rmdup.o bam_rmdup.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_rmdupse.o bam_rmdupse.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_mate.o bam_mate.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_stat.o bam_stat.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_color.o bam_color.c
echo '#define SAMTOOLS_VERSION "1.3"' > version.h
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam2bcf.o bam2bcf.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam2bcf_indel.o bam2bcf_indel.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o errmod.o errmod.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sample.o sample.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sam_opts.o sam_opts.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cut_target.o cut_target.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o phase.o phase.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam2depth.o bam2depth.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o padding.o padding.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bedcov.o bedcov.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bamshuf.o bamshuf.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o faidx.o faidx.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dict.o dict.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stats.o stats.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stats_isize.o stats_isize.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_flags.o bam_flags.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_split.o bam_split.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_tview.o bam_tview.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_tview_curses.o bam_tview_curses.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_tview_html.o bam_tview_html.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_lpileup.o bam_lpileup.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_quickcheck.o bam_quickcheck.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_addrprg.o bam_addrprg.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_aux.o bam_aux.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam.o bam.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_import.o bam_import.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sam.o sam.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sam_header.o sam_header.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bam_plbuf.o bam_plbuf.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc/ace2sam.o misc/ace2sam.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DMAQ_LONGREADS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc/maq2sam-long.o misc/maq2sam.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc/maq2sam-short.o misc/maq2sam.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc/md5fa.o misc/md5fa.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc/md5sum-lite.o misc/md5sum-lite.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc/wgsim.o misc/wgsim.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/merge/test_bam_translate.o test/merge/test_bam_translate.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test.o test/test.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/merge/test_rtrans_build.o test/merge/test_rtrans_build.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/merge/test_trans_tbl_init.o test/merge/test_trans_tbl_init.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/split/test_count_rg.o test/split/test_count_rg.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/split/test_expand_format_string.o test/split/test_expand_format_string.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/split/test_filter_header_rg.o test/split/test_filter_header_rg.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/split/test_parse_args.o test/split/test_parse_args.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/vcf-miniview.o test/vcf-miniview.c
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bamtk.o bamtk.c
ar -csru libbam.a bam_aux.o bam.o bam_import.o sam.o sam_header.o bam_plbuf.o
ar: `u' modifier ignored since `D' is the default (see `U')
gcc -Wl,-z,relro -o misc/ace2sam misc/ace2sam.o -lz -ldl 
gcc -Wl,-z,relro -o misc/maq2sam-long misc/maq2sam-long.o -lz -ldl 
gcc -Wl,-z,relro -o misc/maq2sam-short misc/maq2sam-short.o -lz -ldl 
gcc -rdynamic  -Wl,-z,relro -o misc/md5fa misc/md5fa.o -lhts -lz -ldl 
gcc -rdynamic  -Wl,-z,relro -o misc/md5sum-lite misc/md5sum-lite.o -lhts -lz -ldl 
gcc -Wl,-z,relro -o misc/wgsim misc/wgsim.o -lm -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o test/merge/test_bam_translate test/merge/test_bam_translate.o test/test.o sam_opts.o -lhts -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o test/split/test_count_rg test/split/test_count_rg.o test/test.o sam_opts.o -lhts -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o test/split/test_expand_format_string test/split/test_expand_format_string.o test/test.o sam_opts.o -lhts -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o test/split/test_filter_header_rg test/split/test_filter_header_rg.o test/test.o sam_opts.o -lhts -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o test/split/test_parse_args test/split/test_parse_args.o test/test.o sam_opts.o -lhts -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o test/vcf-miniview test/vcf-miniview.o -lhts -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o samtools bam_index.o bam_plcmd.o sam_view.o bam_cat.o bam_md.o bam_reheader.o bam_sort.o bedidx.o kprobaln.o bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o bamtk.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o sam_opts.o cut_target.o phase.o bam2depth.o padding.o bedcov.o bamshuf.o faidx.o dict.o stats.o stats_isize.o bam_flags.o bam_split.o bam_tview.o bam_tview_curses.o bam_tview_html.o bam_lpileup.o bam_quickcheck.o bam_addrprg.o libbam.a -lhts -lncurses -lm -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o test/merge/test_rtrans_build test/merge/test_rtrans_build.o sam_opts.o -lhts -lz -ldl 
gcc -pthread -rdynamic  -Wl,-z,relro -o test/merge/test_trans_tbl_init test/merge/test_trans_tbl_init.o sam_opts.o -lhts -lz -ldl 
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- \
  BGZIP=/usr/bin/bgzip
	make -j4 test BGZIP=/usr/bin/bgzip
make[2]: Entering directory '/<<PKGBUILDDIR>>'
REF_PATH=: test/test.pl --exec bgzip=/usr/bin/bgzip
/usr/bin/bgzip -c -b 65272 -s 5 /tmp/Iy6LJdzitX/bgzip.dat.gz
.. ok

/usr/bin/bgzip -c -b 979200 -s 6 /tmp/Iy6LJdzitX/bgzip.dat.gz
.. ok

/usr/bin/bgzip -c -b 652804 -s 6 /tmp/Iy6LJdzitX/bgzip.dat.gz
.. ok

/<<PKGBUILDDIR>>/samtools faidx /tmp/Iy6LJdzitX/faidx.fa 3:11-13 | grep -v '^>'
.. ok

/<<PKGBUILDDIR>>/samtools faidx /tmp/Iy6LJdzitX/faidx.fa.gz 3:11-13 | grep -v '^>'
.. ok

/<<PKGBUILDDIR>>/samtools faidx /tmp/Iy6LJdzitX/faidx.fa 2:998-1003 | grep -v '^>'
.. ok

/<<PKGBUILDDIR>>/samtools faidx /tmp/Iy6LJdzitX/faidx.fa.gz 2:998-1003 | grep -v '^>'
.. ok

/<<PKGBUILDDIR>>/samtools faidx /tmp/Iy6LJdzitX/faidx.fa 1:100-104 | grep -v '^>'
.. ok

/<<PKGBUILDDIR>>/samtools faidx /tmp/Iy6LJdzitX/faidx.fa.gz 1:100-104 | grep -v '^>'
.. ok

/<<PKGBUILDDIR>>/samtools faidx /tmp/Iy6LJdzitX/faidx.fa 1:99998-100007 | grep -v '^>'
.. ok

/<<PKGBUILDDIR>>/samtools faidx /tmp/Iy6LJdzitX/faidx.fa.gz 1:99998-100007 | grep -v '^>'
.. ok

test_dict:
	/<<PKGBUILDDIR>>/samtools dict -a hf37d5 -s 'Homo floresiensis' -u ftp://orthanc.org/hf37d5.fa.gz /<<PKGBUILDDIR>>/test/dat/dict.fa
.. ok

test_dict:
	/<<PKGBUILDDIR>>/samtools dict -a hf37d5 -s 'Homo floresiensis' -u ftp://orthanc.org/hf37d5.fa.gz /tmp/Iy6LJdzitX/dict.fa.gz
.. ok

test_dict:
	cat /<<PKGBUILDDIR>>/test/dat/dict.fa | /<<PKGBUILDDIR>>/samtools dict -a hf37d5 -s 'Homo floresiensis' -u ftp://orthanc.org/hf37d5.fa.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/samtools index /tmp/Iy6LJdzitX/large_chrom.bam

	ERR: 
.. expected failure

test_index:
	/<<PKGBUILDDIR>>/samtools view /tmp/Iy6LJdzitX/large_chrom.bam ref2
.. ok

test_index:
	/<<PKGBUILDDIR>>/samtools view /tmp/Iy6LJdzitX/large_chrom.bam ref2:1-541556283
.. ok

test_index:
	/<<PKGBUILDDIR>>/samtools index /<<PKGBUILDDIR>>/test/dat/test_input_1_a.bam && cat /<<PKGBUILDDIR>>/test/dat/test_input_1_a.bam.bai
.. ok

test_mpileup:
	/<<PKGBUILDDIR>>/samtools mpileup -b /tmp/Iy6LJdzitX/mpileup.bam.list -f /tmp/Iy6LJdzitX/mpileup.ref.fa.gz -r17:100-150
.. ok

test_mpileup:
	/<<PKGBUILDDIR>>/samtools mpileup -b /tmp/Iy6LJdzitX/mpileup.cram.list -f /tmp/Iy6LJdzitX/mpileup.ref.fa.gz -r17:100-150
.. ok

test_mpileup:
	/<<PKGBUILDDIR>>/samtools mpileup -uvDV -b /tmp/Iy6LJdzitX/mpileup.bam.list -f /tmp/Iy6LJdzitX/mpileup.ref.fa.gz -r17:100-600| grep -v ^##samtools | grep -v ^##ref
.. ok

test_mpileup:
	/<<PKGBUILDDIR>>/samtools mpileup -uvDV -b /tmp/Iy6LJdzitX/mpileup.cram.list -f /tmp/Iy6LJdzitX/mpileup.ref.fa.gz -r17:100-600| grep -v ^##samtools | grep -v ^##ref
.. ok

test_mpileup:
	/<<PKGBUILDDIR>>/samtools mpileup -uv -t DP,DPR,DV,DP4,INFO/DPR,SP -b /tmp/Iy6LJdzitX/mpileup.cram.list -f /tmp/Iy6LJdzitX/mpileup.ref.fa.gz -r17:100-600| grep -v ^##samtools | grep -v ^##ref
.. ok

test_mpileup:
	/<<PKGBUILDDIR>>/samtools mpileup -uv -t DP,DPR,DV,DP4,INFO/DPR,SP -b /tmp/Iy6LJdzitX/mpileup.cram.list -f /tmp/Iy6LJdzitX/mpileup.ref.fa.gz -r17:100-600| grep -v ^##samtools | grep -v ^##ref
.. ok

test_mpileup:
	/<<PKGBUILDDIR>>/samtools mpileup -B --ff 0x14 -f /tmp/Iy6LJdzitX/mpileup.ref.fa.gz -r17:1050-1060 /tmp/Iy6LJdzitX/mpileup.1.bam | grep -v mpileup
.. ok

test_mpileup:
	/<<PKGBUILDDIR>>/samtools mpileup -B --ff 0x14 -f /tmp/Iy6LJdzitX/mpileup.ref.fa.gz -r17:1050-1060 /tmp/Iy6LJdzitX/mpileup.1.cram | grep -v mpileup
.. ok

test_usage:
	samtools
	samtools has subcommands: dict, faidx, index, calmd, fixmate, reheader, rmdup, targetcut, addreplacerg, collate, cat, merge, mpileup, sort, split, quickcheck, fastq, fasta, bedcov, depth, flagstat, idxstats, phase, stats, flags, tview, view, depad
.. ok

test_usage_subcommand:
	samtools dict

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools faidx

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools index
.. ok

test_usage_subcommand:
	samtools calmd

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools fixmate
.. ok

test_usage_subcommand:
	samtools reheader

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools rmdup

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools targetcut

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools addreplacerg
.. ok

test_usage_subcommand:
	samtools collate

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools cat

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools merge
.. ok

test_usage_subcommand:
	samtools mpileup

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools sort
.. ok

test_usage_subcommand:
	samtools split
.. ok

test_usage_subcommand:
	samtools quickcheck
.. ok

test_usage_subcommand:
	samtools fastq
.. ok

test_usage_subcommand:
	samtools fasta
.. ok

test_usage_subcommand:
	samtools bedcov

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools depth

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools flagstat
.. ok

test_usage_subcommand:
	samtools idxstats

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools phase

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools stats
.. ok

test_usage_subcommand:
	samtools flags

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools tview

	Usage on stderr rather than stdout
.. expected failure

test_usage_subcommand:
	samtools view
.. ok

test_usage_subcommand:
	samtools depad

	Usage on stderr rather than stdout
.. expected failure

test_view:
	Generating test data file .................. done
	1: SAM -> BAM -> SAM                                        .. ok

	2: SAM -> uncompressed BAM                                  .. ok

	3: uncompressed BAM -> SAM and compare                      .. ok

	4: SAM -> fast compressed BAM                               .. ok

	5: fast compressed BAM -> SAM and compare                   .. ok

	6: SAM -> CRAM -> SAM (UR header tags)                      .. ok

	7: SAM -> CRAM -> SAM (M5 header tags)                      .. ok

	8: BAM -> CRAM with UR -> SAM                               .. ok

	9: SAM -> BAM (M5 header tags)                              .. ok

	10: SAM -> BAM -> CRAM -> SAM (M5 header tags)              .. ok

	11: CRAM -> BAM with UR                                     .. ok

	12: CRAM -> BAM with M5                                     .. ok

	13: SAM -> SAM via stdout                                   .. ok

	14: SAM -> BAM via stdout                                   .. ok

	15: SAM -> CRAM via stdout                                  .. ok

	16: SAM from stdin -> SAM                                   .. ok

	17: BAM from stdin -> SAM                                   .. ok

	18: CRAM from stdin -> SAM                                  .. ok

	19: samtools view -H (SAM input)                            .. ok

	20: samtools view -H (BAM input)                            .. ok

	21: samtools view -H (CRAM input)                           .. ok

	22: No headers (SAM input)                                  .. ok

	23: No headers (BAM input)                                  .. ok

	24: No headers (CRAM input)                                 .. ok

	25: Filter -f 128 (SAM input)                               .. ok

	26: Count -f 128 (SAM input)                                .. ok

	27: Filter -f 128 (BAM input)                               .. ok

	28: Count -f 128 (BAM input)                                .. ok

	29: Filter -f 128 (CRAM input)                              .. ok

	30: Count -f 128 (CRAM input)                               .. ok

	31: Filter -F 128 (SAM input)                               .. ok

	32: Count -F 128 (SAM input)                                .. ok

	33: Filter -F 128 (BAM input)                               .. ok

	34: Count -F 128 (BAM input)                                .. ok

	35: Filter -F 128 (CRAM input)                              .. ok

	36: Count -F 128 (CRAM input)                               .. ok

	37: Filter -F 128 -f 2 (SAM input)                          .. ok

	38: Count -F 128 -f 2 (SAM input)                           .. ok

	39: Filter -F 128 -f 2 (BAM input)                          .. ok

	40: Count -F 128 -f 2 (BAM input)                           .. ok

	41: Filter -F 128 -f 2 (CRAM input)                         .. ok

	42: Count -F 128 -f 2 (CRAM input)                          .. ok

	43: Filter -r grp2 (SAM input)                              .. ok

	44: Count -r grp2 (SAM input)                               .. ok

	45: Filter -r grp2 (BAM input)                              .. ok

	46: Count -r grp2 (BAM input)                               .. ok

	47: Filter -r grp2 (CRAM input)                             .. ok

	48: Count -r grp2 (CRAM input)                              .. ok

	49: Filter -R /tmp/Iy6LJdzitX/view.001.fogn (SAM input)     .. ok

	50: Count -R /tmp/Iy6LJdzitX/view.001.fogn (SAM input)      .. ok

	51: Filter -R /tmp/Iy6LJdzitX/view.001.fogn (BAM input)     .. ok

	52: Count -R /tmp/Iy6LJdzitX/view.001.fogn (BAM input)      .. ok

	53: Filter -R /tmp/Iy6LJdzitX/view.001.fogn (CRAM input)    .. ok

	54: Count -R /tmp/Iy6LJdzitX/view.001.fogn (CRAM input)     .. ok

	55: Filter -R /tmp/Iy6LJdzitX/view.001.fogn -r grp2 (SAM input).. ok

	56: Count -R /tmp/Iy6LJdzitX/view.001.fogn -r grp2 (SAM input).. ok

	57: Filter -R /tmp/Iy6LJdzitX/view.001.fogn -r grp2 (BAM input).. ok

	58: Count -R /tmp/Iy6LJdzitX/view.001.fogn -r grp2 (BAM input).. ok

	59: Filter -R /tmp/Iy6LJdzitX/view.001.fogn -r grp2 (CRAM input).. ok

	60: Count -R /tmp/Iy6LJdzitX/view.001.fogn -r grp2 (CRAM input).. ok

	61: Filter -r grp2 -R /tmp/Iy6LJdzitX/view.001.fogn (SAM input).. ok

	62: Count -r grp2 -R /tmp/Iy6LJdzitX/view.001.fogn (SAM input).. ok

	63: Filter -r grp2 -R /tmp/Iy6LJdzitX/view.001.fogn (BAM input).. ok

	64: Count -r grp2 -R /tmp/Iy6LJdzitX/view.001.fogn (BAM input).. ok

	65: Filter -r grp2 -R /tmp/Iy6LJdzitX/view.001.fogn (CRAM input).. ok

	66: Count -r grp2 -R /tmp/Iy6LJdzitX/view.001.fogn (CRAM input).. ok

	67: Filter -l Library 2 (SAM input)                         .. ok

	68: Count -l Library 2 (SAM input)                          .. ok

	69: Filter -l Library 2 (BAM input)                         .. ok

	70: Count -l Library 2 (BAM input)                          .. ok

	71: Filter -l Library 2 (CRAM input)                        .. ok

	72: Count -l Library 2 (CRAM input)                         .. ok

	73: Filter -q 50 (SAM input)                                .. ok

	74: Count -q 50 (SAM input)                                 .. ok

	75: Filter -q 50 (BAM input)                                .. ok

	76: Count -q 50 (BAM input)                                 .. ok

	77: Filter -q 50 (CRAM input)                               .. ok

	78: Count -q 50 (CRAM input)                                .. ok

	79: Filter -q 99 (SAM input)                                .. ok

	80: Count -q 99 (SAM input)                                 .. ok

	81: Filter -q 99 (BAM input)                                .. ok

	82: Count -q 99 (BAM input)                                 .. ok

	83: Filter -q 99 (CRAM input)                               .. ok

	84: Count -q 99 (CRAM input)                                .. ok

	85: Filter -q 100 (SAM input)                               .. ok

	86: Count -q 100 (SAM input)                                .. ok

	87: Filter -q 100 (BAM input)                               .. ok

	88: Count -q 100 (BAM input)                                .. ok

	89: Filter -q 100 (CRAM input)                              .. ok

	90: Count -q 100 (CRAM input)                               .. ok

	91: Filter -x fa (SAM input)                                .. ok

	92: Count -x fa (SAM input)                                 .. ok

	93: Filter -x fa (BAM input)                                .. ok

	94: Count -x fa (BAM input)                                 .. ok

	95: Filter -x fa (CRAM input)                               .. ok

	96: Count -x fa (CRAM input)                                .. ok

	97: Filter -x fa -x ha (SAM input)                          .. ok

	98: Count -x fa -x ha (SAM input)                           .. ok

	99: Filter -x fa -x ha (BAM input)                          .. ok

	100: Count -x fa -x ha (BAM input)                          .. ok

	101: Filter -x fa -x ha (CRAM input)                        .. ok

	102: Count -x fa -x ha (CRAM input)                         .. ok

	103: Filter -x fa -r grp2 (SAM input)                       .. ok

	104: Count -x fa -r grp2 (SAM input)                        .. ok

	105: Filter -x fa -r grp2 (BAM input)                       .. ok

	106: Count -x fa -r grp2 (BAM input)                        .. ok

	107: Filter -x fa -r grp2 (CRAM input)                      .. ok

	108: Count -x fa -r grp2 (CRAM input)                       .. ok

	109: Filter -x RG -r grp2 (SAM input)                       .. ok

	110: Count -x RG -r grp2 (SAM input)                        .. ok

	111: Filter -x RG -r grp2 (BAM input)                       .. ok

	112: Count -x RG -r grp2 (BAM input)                        .. ok

	113: Filter -x RG -r grp2 (CRAM input)                      .. ok

	114: Count -x RG -r grp2 (CRAM input)                       .. ok

	115: Filter -m 10 (SAM input)                               .. ok

	116: Count -m 10 (SAM input)                                .. ok

	117: Filter -m 10 (BAM input)                               .. ok

	118: Count -m 10 (BAM input)                                .. ok

	119: Filter -m 10 (CRAM input)                              .. ok

	120: Count -m 10 (CRAM input)                               .. ok

	121: Filter -m 11 (SAM input)                               .. ok

	122: Count -m 11 (SAM input)                                .. ok

	123: Filter -m 11 (BAM input)                               .. ok

	124: Count -m 11 (BAM input)                                .. ok

	125: Filter -m 11 (CRAM input)                              .. ok

	126: Count -m 11 (CRAM input)                               .. ok

	127: Filter -m 15 (SAM input)                               .. ok

	128: Count -m 15 (SAM input)                                .. ok

	129: Filter -m 15 (BAM input)                               .. ok

	130: Count -m 15 (BAM input)                                .. ok

	131: Filter -m 15 (CRAM input)                              .. ok

	132: Count -m 15 (CRAM input)                               .. ok

	133: Filter -m 16 (SAM input)                               .. ok

	134: Count -m 16 (SAM input)                                .. ok

	135: Filter -m 16 (BAM input)                               .. ok

	136: Count -m 16 (BAM input)                                .. ok

	137: Filter -m 16 (CRAM input)                              .. ok

	138: Count -m 16 (CRAM input)                               .. ok

	139: 1bp reads file SAM -> BAM -> SAM                       .. ok

	140: 1bp reads file SAM -> CRAM -> SAM                      .. ok

	140: Region  Z (BAM input)                                  .. ok

	141: Count  Z (BAM input)                                   .. ok

	142: Region  Z (CRAM input)                                 .. ok

	143: Count  Z (CRAM input)                                  .. ok

	144: Region  Z:30 (BAM input)                               .. ok

	145: Count  Z:30 (BAM input)                                .. ok

	146: Region  Z:30 (CRAM input)                              .. ok

	147: Count  Z:30 (CRAM input)                               .. ok

	148: Region  Z:20-40 (BAM input)                            .. ok

	149: Count  Z:20-40 (BAM input)                             .. ok

	150: Region  Z:20-40 (CRAM input)                           .. ok

	151: Count  Z:20-40 (CRAM input)                            .. ok

	152: Region  ref1 (BAM input)                               .. ok

	153: Count  ref1 (BAM input)                                .. ok

	154: Region  ref1 (CRAM input)                              .. ok

	155: Count  ref1 (CRAM input)                               .. ok

	156: Region  ref1:15 (BAM input)                            .. ok

	157: Count  ref1:15 (BAM input)                             .. ok

	158: Region  ref1:15 (CRAM input)                           .. ok

	159: Count  ref1:15 (CRAM input)                            .. ok

	160: Region  ref1:15-45 (BAM input)                         .. ok

	161: Count  ref1:15-45 (BAM input)                          .. ok

	162: Region  ref1:15-45 (CRAM input)                        .. ok

	163: Count  ref1:15-45 (CRAM input)                         .. ok

	164: Region  ref1:15-45 ref2 (BAM input)                    .. ok

	165: Count  ref1:15-45 ref2 (BAM input)                     .. ok

	166: Region  ref1:15-45 ref2 (CRAM input)                   .. ok

	167: Count  ref1:15-45 ref2 (CRAM input)                    .. ok

	168: Region  ref1:15-45 ref2:16 (BAM input)                 .. ok

	169: Count  ref1:15-45 ref2:16 (BAM input)                  .. ok

	170: Region  ref1:15-45 ref2:16 (CRAM input)                .. ok

	171: Count  ref1:15-45 ref2:16 (CRAM input)                 .. ok

	172: Region  ref1:15-45 ref2:16-31 (BAM input)              .. ok

	173: Count  ref1:15-45 ref2:16-31 (BAM input)               .. ok

	174: Region  ref1:15-45 ref2:16-31 (CRAM input)             .. ok

	175: Count  ref1:15-45 ref2:16-31 (CRAM input)              .. ok

	176: Region  ref1:15-15 ref1:45-45 (BAM input)              .. ok

	177: Count  ref1:15-15 ref1:45-45 (BAM input)               .. ok

	178: Region  ref1:15-15 ref1:45-45 (CRAM input)             .. ok

	179: Count  ref1:15-15 ref1:45-45 (CRAM input)              .. ok

	180: Region -f 128 ref1 (BAM input)                         .. ok

	181: Count -f 128 ref1 (BAM input)                          .. ok

	182: Region -f 128 ref1 (CRAM input)                        .. ok

	183: Count -f 128 ref1 (CRAM input)                         .. ok

	184: Region -q 50 ref1:15-45 (BAM input)                    .. ok

	185: Count -q 50 ref1:15-45 (BAM input)                     .. ok

	186: Region -q 50 ref1:15-45 (CRAM input)                   .. ok

	187: Count -q 50 ref1:15-45 (CRAM input)                    .. ok

	188: Region -r grp2 ref1:15-45 (BAM input)                  .. ok

	189: Count -r grp2 ref1:15-45 (BAM input)                   .. ok

	190: Region -r grp2 ref1:15-45 (CRAM input)                 .. ok

	191: Count -r grp2 ref1:15-45 (CRAM input)                  .. ok

	192: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed  (BAM input).. ok

	193: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed  (BAM input).. ok

	194: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed  (CRAM input).. ok

	195: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed  (CRAM input).. ok

	196: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.02.bed  (BAM input).. ok

	197: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.02.bed  (BAM input).. ok

	198: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.02.bed  (CRAM input).. ok

	199: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.02.bed  (CRAM input).. ok

	200: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed  (BAM input).. ok

	201: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed  (BAM input).. ok

	202: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed  (CRAM input).. ok

	203: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed  (CRAM input).. ok

	204: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.02.bed  (BAM input).. ok

	205: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.02.bed  (BAM input).. ok

	206: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.02.bed  (CRAM input).. ok

	207: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.02.bed  (CRAM input).. ok

	208: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z (BAM input).. ok

	209: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z (BAM input).. ok

	210: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z (CRAM input).. ok

	211: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z (CRAM input).. ok

	212: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:30 (BAM input).. ok

	213: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:30 (BAM input).. ok

	214: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:30 (CRAM input).. ok

	215: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:30 (CRAM input).. ok

	216: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:10-30 (BAM input).. ok

	217: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:10-30 (BAM input).. ok

	218: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:10-30 (CRAM input).. ok

	219: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:10-30 (CRAM input).. ok

	220: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:25-35 (BAM input).. ok

	221: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:25-35 (BAM input).. ok

	222: Region -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:25-35 (CRAM input).. ok

	223: Count -L /<<PKGBUILDDIR>>/test/dat/view.002.01.bed Z:25-35 (CRAM input).. ok

	224: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed ref1:11-16 (BAM input).. ok

	225: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed ref1:11-16 (BAM input).. ok

	226: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed ref1:11-16 (CRAM input).. ok

	227: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed ref1:11-16 (CRAM input).. ok

	228: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed ref2 (BAM input).. ok

	229: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed ref2 (BAM input).. ok

	230: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed ref2 (CRAM input).. ok

	231: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed ref2 (CRAM input).. ok

	232: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -r grp1  (BAM input).. ok

	233: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -r grp1  (BAM input).. ok

	234: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -r grp1  (CRAM input).. ok

	235: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -r grp1  (CRAM input).. ok

	236: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -f 128  (BAM input).. ok

	237: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -f 128  (BAM input).. ok

	238: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -f 128  (CRAM input).. ok

	239: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -f 128  (CRAM input).. ok

	240: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -q 5  (BAM input).. ok

	241: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -q 5  (BAM input).. ok

	242: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -q 5  (CRAM input).. ok

	243: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -q 5  (CRAM input).. ok

	244: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -r grp1 ref1:11-16 (BAM input).. ok

	245: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -r grp1 ref1:11-16 (BAM input).. ok

	246: Region -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -r grp1 ref1:11-16 (CRAM input).. ok

	247: Count -L /<<PKGBUILDDIR>>/test/dat/view.001.01.bed -r grp1 ref1:11-16 (CRAM input).. ok

	248: Make BAM with no M5/UR tags                            .. ok

	249: Add @SQ with -t (SAM -> SAM)                           .. ok

	250: Add @SQ with -T (SAM -> SAM)                           .. ok

	251: Add @SQ with -t (BAM -> SAM)                           .. ok

	252: Add @SQ with -T (BAM -> SAM)                           .. ok

	253: Add @SQ with -t (SAM -> BAM)                           .. ok

	254: Add @SQ with -T (SAM -> BAM)                           .. ok

	255: Add @SQ with -t (BAM -> BAM)                           .. ok

	256: Add @SQ with -T (BAM -> BAM)                           .. ok

	257: Add @SQ with -t (SAM -> CRAM)                          .. ok

	258: Add @SQ with -T (SAM -> CRAM)                          .. ok

	259: Add @SQ with -t (BAM -> CRAM)                          .. ok

	260: Add @SQ with -T (BAM -> CRAM)                          .. ok

	261: Make CRAM with no UR field                             .. ok

	262: Decoding CRAM with no UR field via -T                  .. ok

	263: CIGAR B-operator removal                               .. ok

	264: Big SAM -> BAM                                         .. ok

	265: Big SAM -> BAM (2 threads)                             .. ok

	266: Big SAM -> BAM (4 threads)                             .. ok

	267: Big SAM -> CRAM                                        .. ok

	268: Big SAM -> CRAM (2 threads)                            .. ok

	269: Big SAM -> CRAM (4 threads)                            .. ok

	270: Subsample 0.2 (SAM input) ............ ok

	271: Subsample 0.5 (SAM input) ............ ok

	272: Subsample 0.8 (SAM input) ............ ok

	273: Subsample 0.2 (BAM input) ............ ok

	274: Subsample 0.5 (BAM input) ............ ok

	275: Subsample 0.8 (BAM input) ............ ok

	276: Subsample 0.2 (CRAM input) ............ ok

	277: Subsample 0.5 (CRAM input) ............ ok

	278: Subsample 0.8 (CRAM input) ............ ok

test_cat:
	Generating test data file .................. done
	Generate BAM file #1                                        .. ok

	Generate CRAM file #1                                       .. ok

	Generating test data file .................. done
	Generate BAM file #2                                        .. ok

	Generate CRAM file #2                                       .. ok

	Generating test data file .................. done
	Generate BAM file #3                                        .. ok

	Generate CRAM file #3                                       .. ok

	Generating test data file .................. done
	Generate BAM file #4                                        .. ok

	Generate CRAM file #4                                       .. ok

	1: cat BAM files                                            .. ok

	2: cat recompressed BAM files                               .. ok

	3: cat CRAM files                                           .. ok

	4: cat BAM files to stdout                                  .. ok

	5: cat recompressed BAM files to stdout                     .. ok

	6: cat CRAM files to stdout                                 .. ok

	7: cat BAM files with new header                            .. ok

	8: cat recompressed BAM files with new header               .. ok

	9: cat CRAM files with new header                           .. ok

test_bam2fq:
	Generate BAM file                                           .. ok

	Generate CRAM file                                          .. ok

	1: fastq  (SAM input)                                       [M::bam2fq_mainloop] processed 36 reads
.. ok

	2: fastq -n (SAM input)                                     [M::bam2fq_mainloop] processed 36 reads
.. ok

	3: fastq  (BAM input)                                       [M::bam2fq_mainloop] processed 36 reads
.. ok

	4: fastq -n (BAM input)                                     [M::bam2fq_mainloop] processed 36 reads
.. ok

	5: fastq  (CRAM input)                                      [M::bam2fq_mainloop] processed 36 reads
.. ok

	6: fastq -n (CRAM input)                                    [M::bam2fq_mainloop] processed 36 reads
.. ok

test_bam2fq:
	/<<PKGBUILDDIR>>/samtools fastq -1 /<<PKGBUILDDIR>>/test/1.fq -2 /<<PKGBUILDDIR>>/test/2.fq /<<PKGBUILDDIR>>/test/dat/bam2fq.001.sam
.. ok

test_bam2fq:
	/<<PKGBUILDDIR>>/samtools fastq -s /<<PKGBUILDDIR>>/test/s.fq -1 /<<PKGBUILDDIR>>/test/1.fq -2 /<<PKGBUILDDIR>>/test/2.fq /<<PKGBUILDDIR>>/test/dat/bam2fq.001.sam
.. ok

test_bam2fq:
	/<<PKGBUILDDIR>>/samtools fastq -s /<<PKGBUILDDIR>>/test/s.fq -1 /<<PKGBUILDDIR>>/test/1.fq -2 /<<PKGBUILDDIR>>/test/2.fq /<<PKGBUILDDIR>>/test/dat/bam2fq.002.sam
.. ok

test_bam2fq:
	/<<PKGBUILDDIR>>/samtools fastq -s /<<PKGBUILDDIR>>/test/s.fq -1 /<<PKGBUILDDIR>>/test/1.fq -2 /<<PKGBUILDDIR>>/test/2.fq /<<PKGBUILDDIR>>/test/dat/bam2fq.003.sam
.. ok

test_depad:
	Generate BAM file                                           .. ok

	depad  (SAM input)                                          .. ok

	depad -s (SAM input)                                        .. ok

	depad -u (SAM input)                                        .. ok

	depad -1 (SAM input)                                        .. ok

	depad  (BAM input)                                          .. ok

	depad -s (BAM input)                                        .. ok

	depad -u (BAM input)                                        .. ok

	depad -1 (BAM input)                                        .. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/1_map_cigar.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/2_equal_cigar_full_seq.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/3_map_cigar_equal_seq.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/4_X_cigar_full_seq.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/5_insert_cigar.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -r /<<PKGBUILDDIR>>/test/stat/test.fa -i 0 /<<PKGBUILDDIR>>/test/stat/5_insert_cigar.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/7_supp.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/8_secondary.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -S RG -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/1_map_cigar.sam | tail -n+4
.. ok

test_stats:
	/<<PKGBUILDDIR>>/samtools stats -S RG -r /<<PKGBUILDDIR>>/test/stat/test.fa /<<PKGBUILDDIR>>/test/stat/10_map_cigar.sam | tail -n+4
.. ok

test_merge:
	/<<PKGBUILDDIR>>/samtools merge -s 1 - /<<PKGBUILDDIR>>/test/dat/test_input_1_a.sam /<<PKGBUILDDIR>>/test/dat/test_input_1_b.sam /<<PKGBUILDDIR>>/test/dat/test_input_1_c.sam
.. ok

test_merge:
	/<<PKGBUILDDIR>>/samtools merge -s 1 - /<<PKGBUILDDIR>>/test/dat/test_input_1_a.bam /<<PKGBUILDDIR>>/test/dat/test_input_1_b.bam /<<PKGBUILDDIR>>/test/dat/test_input_1_c.bam
.. ok

test_merge:
	/<<PKGBUILDDIR>>/samtools merge -s 1 -b /tmp/6rW6l4Oehq - /<<PKGBUILDDIR>>/test/dat/test_input_1_a.bam
.. ok

test_merge:
	/<<PKGBUILDDIR>>/samtools merge -s 1 - /<<PKGBUILDDIR>>/test/dat/test_input_1_b.bam
.. ok

test_merge:
	/<<PKGBUILDDIR>>/samtools merge -r -s 1 - /<<PKGBUILDDIR>>/test/dat/test_input_1_a.sam /<<PKGBUILDDIR>>/test/dat/test_input_1_b.sam /<<PKGBUILDDIR>>/test/dat/test_input_1_c.sam
.. ok

test_merge:
	/<<PKGBUILDDIR>>/samtools merge -cp -s 1 - /<<PKGBUILDDIR>>/test/dat/test_input_1_a.sam /<<PKGBUILDDIR>>/test/dat/test_input_1_b.sam
.. ok

test_merge:
	/<<PKGBUILDDIR>>/samtools merge -s 1 - /<<PKGBUILDDIR>>/test/dat/test_input_1_a_regex.sam /<<PKGBUILDDIR>>/test/dat/test_input_1_b_regex.sam
.. ok

test_sort:
	/<<PKGBUILDDIR>>/samtools sort /<<PKGBUILDDIR>>/test/dat/test_input_1_a.bam /tmp/Iy6LJdzitX/sortout
.. ok

test_sort:
	/<<PKGBUILDDIR>>/samtools sort -f /<<PKGBUILDDIR>>/test/dat/test_input_1_a.bam /tmp/Iy6LJdzitX/sortout.bam
.. ok

test_sort:
	/<<PKGBUILDDIR>>/samtools sort -o /<<PKGBUILDDIR>>/test/dat/test_input_1_a.bam /tmp/Iy6LJdzitX/sorttmp
.. ok

test_fixmate:
	/<<PKGBUILDDIR>>/samtools fixmate -O sam /<<PKGBUILDDIR>>/test/fixmate/1_coord_sort.sam -

	ERR: [bam_mating_core] ERROR: Coordinate sorted, require grouped/sorted by queryname.

.. expected failure

test_fixmate:
	/<<PKGBUILDDIR>>/samtools fixmate -O sam /<<PKGBUILDDIR>>/test/fixmate/2_isize_overflow.sam -
.. ok

test_fixmate:
	/<<PKGBUILDDIR>>/samtools fixmate -O sam /<<PKGBUILDDIR>>/test/fixmate/3_reverse_read_pp_lt.sam -
.. ok

test_fixmate:
	/<<PKGBUILDDIR>>/samtools fixmate -O sam /<<PKGBUILDDIR>>/test/fixmate/4_reverse_read_pp_equal.sam -
.. ok

test_fixmate:
	/<<PKGBUILDDIR>>/samtools fixmate -cO sam /<<PKGBUILDDIR>>/test/fixmate/5_ct.sam -
.. ok

test_fixmate:
	/<<PKGBUILDDIR>>/samtools fixmate -cO sam /<<PKGBUILDDIR>>/test/fixmate/6_ct_replace.sam -
.. ok

/<<PKGBUILDDIR>>/samtools calmd -uAr /<<PKGBUILDDIR>>/test/dat/mpileup.1.sam /<<PKGBUILDDIR>>/test/dat/mpileup.ref.fa
.. ok

test_idxstat:
	/<<PKGBUILDDIR>>/samtools idxstats /<<PKGBUILDDIR>>/test/dat/test_input_1_a.bam
.. ok

test_quickcheck:
	/<<PKGBUILDDIR>>/samtools quickcheck /<<PKGBUILDDIR>>/test/quickcheck/1.quickcheck.badeof.bam
.. ok

test_quickcheck:
	/<<PKGBUILDDIR>>/samtools quickcheck /<<PKGBUILDDIR>>/test/quickcheck/2.quickcheck.badheader.bam
.. ok

test_quickcheck:
	/<<PKGBUILDDIR>>/samtools quickcheck /<<PKGBUILDDIR>>/test/quickcheck/3.quickcheck.ok.bam
.. ok

test_quickcheck:
	/<<PKGBUILDDIR>>/samtools quickcheck /<<PKGBUILDDIR>>/test/quickcheck/4.quickcheck.ok.bam
.. ok

test_quickcheck:
	/<<PKGBUILDDIR>>/samtools quickcheck -v  /<<PKGBUILDDIR>>/test/quickcheck/1.quickcheck.badeof.bam /<<PKGBUILDDIR>>/test/quickcheck/2.quickcheck.badheader.bam /<<PKGBUILDDIR>>/test/quickcheck/3.quickcheck.ok.bam /<<PKGBUILDDIR>>/test/quickcheck/4.quickcheck.ok.bam | sed 's,.*/quickcheck/,,'
.. ok

test_reheader:
	/<<PKGBUILDDIR>>/samtools reheader /<<PKGBUILDDIR>>/test/reheader/hdr.sam /<<PKGBUILDDIR>>/test/dat/view.001.tmp.bam | /<<PKGBUILDDIR>>/samtools view -h | perl -pe 's/	VN:.*//'
.. ok

test_reheader:
	/<<PKGBUILDDIR>>/samtools reheader /<<PKGBUILDDIR>>/test/reheader/hdr.sam /<<PKGBUILDDIR>>/test/dat/view.001.tmp.v21.cram | /<<PKGBUILDDIR>>/samtools view -h | perl -pe 's/	VN:.*//'
.. ok

test_reheader:
	/<<PKGBUILDDIR>>/samtools reheader /<<PKGBUILDDIR>>/test/reheader/hdr.sam /<<PKGBUILDDIR>>/test/dat/view.001.tmp.v30.cram | /<<PKGBUILDDIR>>/samtools view -h | perl -pe 's/	VN:.*//'
.. ok

test_reheader:
	/<<PKGBUILDDIR>>/samtools reheader --in-place /<<PKGBUILDDIR>>/test/reheader/hdr.sam /<<PKGBUILDDIR>>/test/dat/view.001.tmp.v21.cram && /<<PKGBUILDDIR>>/samtools view -h /<<PKGBUILDDIR>>/test/dat/view.001.tmp.v21.cram | perl -pe 's/	VN:.*//'

	ERR: 
.. failed ...

test_reheader:
	/<<PKGBUILDDIR>>/samtools reheader --in-place /<<PKGBUILDDIR>>/test/reheader/hdr.sam /<<PKGBUILDDIR>>/test/dat/view.001.tmp.v30.cram && /<<PKGBUILDDIR>>/samtools view -h /<<PKGBUILDDIR>>/test/dat/view.001.tmp.v30.cram | perl -pe 's/	VN:.*//'

	ERR: 
.. failed ...

test_addrprg:
	/<<PKGBUILDDIR>>/samtools addreplacerg -O sam -m overwrite_all /<<PKGBUILDDIR>>/test/addrprg/1_fixup.sam
.. ok

test_addrprg:
	/<<PKGBUILDDIR>>/samtools addreplacerg -O sam -m orphan_only /<<PKGBUILDDIR>>/test/addrprg/2_fixup_orphan.sam
.. ok

test_addrprg:
	/<<PKGBUILDDIR>>/samtools addreplacerg -O sam -R '1#7' /<<PKGBUILDDIR>>/test/addrprg/1_fixup.sam
.. ok

test_addrprg:
	/<<PKGBUILDDIR>>/samtools addreplacerg -O sam -r '@RG\tID:1#8\tCN:SC' /<<PKGBUILDDIR>>/test/addrprg/4_fixup_norg.sam
.. ok

test_addrprg:
	/<<PKGBUILDDIR>>/samtools addreplacerg -O sam -m overwrite_all -R '1#8' /<<PKGBUILDDIR>>/test/addrprg/1_fixup.sam
.. ok

test_addrprg:
	/<<PKGBUILDDIR>>/samtools addreplacerg -O sam -r 'ID:1#8' -r 'CN:SC' /<<PKGBUILDDIR>>/test/addrprg/4_fixup_norg.sam
.. ok


Number of tests:
    total            .. 416
    passed           .. 396
    failed           .. 2
    expected failure .. 18
    unexpected pass  .. 0

Makefile:201: recipe for target 'test' failed
make[2]: *** [test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j4 test BGZIP=/usr/bin/bgzip returned exit code 2
debian/rules:25: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:6: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 20160211-0902

Finished
--------

E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 18848
Build-Time: 357
Distribution: stretch-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 260
Job: samtools_1.3-1
Machine Architecture: armhf
Package: samtools
Package-Time: 660
Source-Version: 1.3-1
Space: 18848
Status: attempted
Version: 1.3-1
--------------------------------------------------------------------------------
Finished at 20160211-0902
Build needed 00:11:00, 18848k disc space