Raspbian Package Auto-Building

Build log for htslib (1.16+ds-2) on armhf

htslib1.16+ds-2armhf → 2022-10-07 05:02:48

sbuild (Debian sbuild) 0.78.1 (09 February 2019) on test2019

+==============================================================================+
| htslib 1.16+ds-2 (armhf)                     Fri, 07 Oct 2022 04:50:25 +0000 |
+==============================================================================+

Package: htslib
Version: 1.16+ds-2
Source Version: 1.16+ds-2
Distribution: bookworm-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf
Build Type: any

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/bookworm-staging-armhf-sbuild-fb6235e2-6404-413c-b671-cbb7a196fc03' with '<<CHROOT>>'
I: NOTICE: Log filtering will replace 'build/htslib-zvnUiI/resolver-3WCoHy' with '<<RESOLVERDIR>>'

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

Get:1 http://172.17.4.1/private bookworm-staging InRelease [11.3 kB]
Get:2 http://172.17.4.1/private bookworm-staging/main Sources [13.3 MB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf Packages [14.2 MB]
Fetched 27.5 MB in 11s (2592 kB/s)
Reading package lists...
W: http://172.17.4.1/private/dists/bookworm-staging/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'htslib' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/med-team/htslib.git
Please use:
git clone https://salsa.debian.org/med-team/htslib.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 1404 kB of source archives.
Get:1 http://172.17.4.1/private bookworm-staging/main htslib 1.16+ds-2 (dsc) [2442 B]
Get:2 http://172.17.4.1/private bookworm-staging/main htslib 1.16+ds-2 (tar) [1382 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main htslib 1.16+ds-2 (diff) [19.5 kB]
Fetched 1404 kB in 0s (4370 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/htslib-zvnUiI/htslib-1.16+ds' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/htslib-zvnUiI' with '<<BUILDDIR>>'

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


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

Merged Build-Depends: debhelper-compat (= 13), dh-exec, libbz2-dev, libcurl4-gnutls-dev, liblzma-dev, libssl-dev, zlib1g-dev, libdeflate-dev, libhtscodecs-dev (>= 1.0), build-essential, fakeroot
Filtered Build-Depends: debhelper-compat (= 13), dh-exec, libbz2-dev, libcurl4-gnutls-dev, liblzma-dev, libssl-dev, zlib1g-dev, libdeflate-dev, libhtscodecs-dev (>= 1.0), build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [431 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [511 B]
Fetched 1899 B in 0s (50.6 kB/s)
Reading package lists...
Reading package lists...

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

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  krb5-locales libpam-cap
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-exec dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbrotli1 libbz2-dev
  libcurl3-gnutls libcurl4-gnutls-dev libdebhelper-perl libdeflate-dev
  libdeflate0 libelf1 libfile-stripnondeterminism-perl libhtscodecs-dev
  libhtscodecs2 libicu71 liblzma-dev libmagic-mgc libmagic1 libnghttp2-14
  libpipeline1 libpsl5 librtmp1 libssh2-1 libssl-dev libsub-override-perl
  libtool libuchardet0 libxml2 m4 man-db po-debconf zlib1g-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff libcurl4-doc libgnutls28-dev
  libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev pkg-config
  liblzma-doc libssl-doc libtool-doc gfortran | fortran95-compiler gcj-jdk
  m4-doc apparmor less www-browser libmail-box-perl
Recommended packages:
  curl | wget | lynx bzip2-doc ca-certificates libarchive-cpio-perl
  publicsuffix libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-exec dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbrotli1 libbz2-dev
  libcurl3-gnutls libcurl4-gnutls-dev libdebhelper-perl libdeflate-dev
  libdeflate0 libelf1 libfile-stripnondeterminism-perl libhtscodecs-dev
  libhtscodecs2 libicu71 liblzma-dev libmagic-mgc libmagic1 libnghttp2-14
  libpipeline1 libpsl5 librtmp1 libssh2-1 libssl-dev libsub-override-perl
  libtool libuchardet0 libxml2 m4 man-db po-debconf
  sbuild-build-depends-main-dummy zlib1g-dev
0 upgraded, 46 newly installed, 0 to remove and 1 not upgraded.
Need to get 25.1 MB of archives.
After this operation, 89.1 MB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [932 B]
Get:2 http://172.17.4.1/private bookworm-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf groff-base armhf 1.22.4-8 [793 kB]
Get:4 http://172.17.4.1/private bookworm-staging/main armhf bsdextrautils armhf 2.38.1-1 [137 kB]
Get:5 http://172.17.4.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.6-3 [34.3 kB]
Get:6 http://172.17.4.1/private bookworm-staging/main armhf man-db armhf 2.10.2-3 [1364 kB]
Get:7 http://172.17.4.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.41-4 [295 kB]
Get:8 http://172.17.4.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.41-4 [120 kB]
Get:9 http://172.17.4.1/private bookworm-staging/main armhf file armhf 1:5.41-4 [65.8 kB]
Get:10 http://172.17.4.1/private bookworm-staging/main armhf gettext-base armhf 0.21-9 [171 kB]
Get:11 http://172.17.4.1/private bookworm-staging/main armhf m4 armhf 1.4.19-1 [260 kB]
Get:12 http://172.17.4.1/private bookworm-staging/main armhf autoconf all 2.71-2 [343 kB]
Get:13 http://172.17.4.1/private bookworm-staging/main armhf autotools-dev all 20220109.1 [51.6 kB]
Get:14 http://172.17.4.1/private bookworm-staging/main armhf automake all 1:1.16.5-1.3 [823 kB]
Get:15 http://172.17.4.1/private bookworm-staging/main armhf autopoint all 0.21-9 [510 kB]
Get:16 http://172.17.4.1/private bookworm-staging/main armhf libdebhelper-perl all 13.9.1 [196 kB]
Get:17 http://172.17.4.1/private bookworm-staging/main armhf libtool all 2.4.7-4 [526 kB]
Get:18 http://172.17.4.1/private bookworm-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:19 http://172.17.4.1/private bookworm-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:20 http://172.17.4.1/private bookworm-staging/main armhf libsub-override-perl all 0.09-3 [10.4 kB]
Get:21 http://172.17.4.1/private bookworm-staging/main armhf libfile-stripnondeterminism-perl all 1.13.0-1 [26.6 kB]
Get:22 http://172.17.4.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.13.0-1 [15.8 kB]
Get:23 http://172.17.4.1/private bookworm-staging/main armhf libelf1 armhf 0.187-2+rpi2 [177 kB]
Get:24 http://172.17.4.1/private bookworm-staging/main armhf dwz armhf 0.14+20220924-2 [93.1 kB]
Get:25 http://172.17.4.1/private bookworm-staging/main armhf libicu71 armhf 71.1-3 [8855 kB]
Get:26 http://172.17.4.1/private bookworm-staging/main armhf libxml2 armhf 2.9.14+dfsg-1 [591 kB]
Get:27 http://172.17.4.1/private bookworm-staging/main armhf gettext armhf 0.21-9 [1220 kB]
Get:28 http://172.17.4.1/private bookworm-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:29 http://172.17.4.1/private bookworm-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:30 http://172.17.4.1/private bookworm-staging/main armhf debhelper all 13.9.1 [1071 kB]
Get:31 http://172.17.4.1/private bookworm-staging/main armhf dh-exec armhf 0.27 [26.8 kB]
Get:32 http://172.17.4.1/private bookworm-staging/main armhf libbrotli1 armhf 1.0.9-2+b2 [260 kB]
Get:33 http://172.17.4.1/private bookworm-staging/main armhf libbz2-dev armhf 1.0.8-5+b2 [26.8 kB]
Get:34 http://172.17.4.1/private bookworm-staging/main armhf libnghttp2-14 armhf 1.50.0-1 [65.0 kB]
Get:35 http://172.17.4.1/private bookworm-staging/main armhf libpsl5 armhf 0.21.0-1.2 [56.2 kB]
Get:36 http://172.17.4.1/private bookworm-staging/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b2 [54.2 kB]
Get:37 http://172.17.4.1/private bookworm-staging/main armhf libssh2-1 armhf 1.10.0-3+b1 [161 kB]
Get:38 http://172.17.4.1/private bookworm-staging/main armhf libcurl3-gnutls armhf 7.85.0-1 [320 kB]
Get:39 http://172.17.4.1/private bookworm-staging/main armhf libcurl4-gnutls-dev armhf 7.85.0-1 [397 kB]
Get:40 http://172.17.4.1/private bookworm-staging/main armhf libdeflate0 armhf 1.12-1 [60.5 kB]
Get:41 http://172.17.4.1/private bookworm-staging/main armhf libdeflate-dev armhf 1.12-1 [51.8 kB]
Get:42 http://172.17.4.1/private bookworm-staging/main armhf libhtscodecs2 armhf 1.3.0-3 [59.5 kB]
Get:43 http://172.17.4.1/private bookworm-staging/main armhf libhtscodecs-dev armhf 1.3.0-3 [2834 kB]
Get:44 http://172.17.4.1/private bookworm-staging/main armhf liblzma-dev armhf 5.2.5-2.1 [218 kB]
Get:45 http://172.17.4.1/private bookworm-staging/main armhf libssl-dev armhf 3.0.5-2 [2116 kB]
Get:46 http://172.17.4.1/private bookworm-staging/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-4.1 [183 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 25.1 MB in 3s (8141 kB/s)
Selecting previously unselected package libuchardet0:armhf.
(Reading database ... 14692 files and directories currently installed.)
Preparing to unpack .../00-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../01-groff-base_1.22.4-8_armhf.deb ...
Unpacking groff-base (1.22.4-8) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../02-bsdextrautils_2.38.1-1_armhf.deb ...
Unpacking bsdextrautils (2.38.1-1) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.6-3_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.6-3) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.10.2-3_armhf.deb ...
Unpacking man-db (2.10.2-3) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.41-4_armhf.deb ...
Unpacking libmagic-mgc (1:5.41-4) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../06-libmagic1_1%3a5.41-4_armhf.deb ...
Unpacking libmagic1:armhf (1:5.41-4) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.41-4_armhf.deb ...
Unpacking file (1:5.41-4) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.21-9_armhf.deb ...
Unpacking gettext-base (0.21-9) ...
Selecting previously unselected package m4.
Preparing to unpack .../09-m4_1.4.19-1_armhf.deb ...
Unpacking m4 (1.4.19-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../10-autoconf_2.71-2_all.deb ...
Unpacking autoconf (2.71-2) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../11-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../12-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../13-autopoint_0.21-9_all.deb ...
Unpacking autopoint (0.21-9) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../14-libdebhelper-perl_13.9.1_all.deb ...
Unpacking libdebhelper-perl (13.9.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../15-libtool_2.4.7-4_all.deb ...
Unpacking libtool (2.4.7-4) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../16-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../17-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../18-libsub-override-perl_0.09-3_all.deb ...
Unpacking libsub-override-perl (0.09-3) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../20-dh-strip-nondeterminism_1.13.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../21-libelf1_0.187-2+rpi2_armhf.deb ...
Unpacking libelf1:armhf (0.187-2+rpi2) ...
Selecting previously unselected package dwz.
Preparing to unpack .../22-dwz_0.14+20220924-2_armhf.deb ...
Unpacking dwz (0.14+20220924-2) ...
Selecting previously unselected package libicu71:armhf.
Preparing to unpack .../23-libicu71_71.1-3_armhf.deb ...
Unpacking libicu71:armhf (71.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../24-libxml2_2.9.14+dfsg-1_armhf.deb ...
Unpacking libxml2:armhf (2.9.14+dfsg-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../25-gettext_0.21-9_armhf.deb ...
Unpacking gettext (0.21-9) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../26-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../28-debhelper_13.9.1_all.deb ...
Unpacking debhelper (13.9.1) ...
Selecting previously unselected package dh-exec.
Preparing to unpack .../29-dh-exec_0.27_armhf.deb ...
Unpacking dh-exec (0.27) ...
Selecting previously unselected package libbrotli1:armhf.
Preparing to unpack .../30-libbrotli1_1.0.9-2+b2_armhf.deb ...
Unpacking libbrotli1:armhf (1.0.9-2+b2) ...
Selecting previously unselected package libbz2-dev:armhf.
Preparing to unpack .../31-libbz2-dev_1.0.8-5+b2_armhf.deb ...
Unpacking libbz2-dev:armhf (1.0.8-5+b2) ...
Selecting previously unselected package libnghttp2-14:armhf.
Preparing to unpack .../32-libnghttp2-14_1.50.0-1_armhf.deb ...
Unpacking libnghttp2-14:armhf (1.50.0-1) ...
Selecting previously unselected package libpsl5:armhf.
Preparing to unpack .../33-libpsl5_0.21.0-1.2_armhf.deb ...
Unpacking libpsl5:armhf (0.21.0-1.2) ...
Selecting previously unselected package librtmp1:armhf.
Preparing to unpack .../34-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_armhf.deb ...
Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ...
Selecting previously unselected package libssh2-1:armhf.
Preparing to unpack .../35-libssh2-1_1.10.0-3+b1_armhf.deb ...
Unpacking libssh2-1:armhf (1.10.0-3+b1) ...
Selecting previously unselected package libcurl3-gnutls:armhf.
Preparing to unpack .../36-libcurl3-gnutls_7.85.0-1_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.85.0-1) ...
Selecting previously unselected package libcurl4-gnutls-dev:armhf.
Preparing to unpack .../37-libcurl4-gnutls-dev_7.85.0-1_armhf.deb ...
Unpacking libcurl4-gnutls-dev:armhf (7.85.0-1) ...
Selecting previously unselected package libdeflate0:armhf.
Preparing to unpack .../38-libdeflate0_1.12-1_armhf.deb ...
Unpacking libdeflate0:armhf (1.12-1) ...
Selecting previously unselected package libdeflate-dev:armhf.
Preparing to unpack .../39-libdeflate-dev_1.12-1_armhf.deb ...
Unpacking libdeflate-dev:armhf (1.12-1) ...
Selecting previously unselected package libhtscodecs2:armhf.
Preparing to unpack .../40-libhtscodecs2_1.3.0-3_armhf.deb ...
Unpacking libhtscodecs2:armhf (1.3.0-3) ...
Selecting previously unselected package libhtscodecs-dev:armhf.
Preparing to unpack .../41-libhtscodecs-dev_1.3.0-3_armhf.deb ...
Unpacking libhtscodecs-dev:armhf (1.3.0-3) ...
Selecting previously unselected package liblzma-dev:armhf.
Preparing to unpack .../42-liblzma-dev_5.2.5-2.1_armhf.deb ...
Unpacking liblzma-dev:armhf (5.2.5-2.1) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../43-libssl-dev_3.0.5-2_armhf.deb ...
Unpacking libssl-dev:armhf (3.0.5-2) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../44-zlib1g-dev_1%3a1.2.11.dfsg-4.1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-4.1) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack .../45-sbuild-build-depends-main-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up libhtscodecs2:armhf (1.3.0-3) ...
Setting up libpipeline1:armhf (1.5.6-3) ...
Setting up libicu71:armhf (71.1-3) ...
Setting up libpsl5:armhf (0.21.0-1.2) ...
Setting up bsdextrautils (2.38.1-1) ...
Setting up libmagic-mgc (1:5.41-4) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.9.1) ...
Setting up libbrotli1:armhf (1.0.9-2+b2) ...
Setting up libnghttp2-14:armhf (1.50.0-1) ...
Setting up libmagic1:armhf (1:5.41-4) ...
Setting up libdeflate0:armhf (1.12-1) ...
Setting up gettext-base (0.21-9) ...
Setting up m4 (1.4.19-1) ...
Setting up file (1:5.41-4) ...
Setting up libhtscodecs-dev:armhf (1.3.0-3) ...
Setting up autotools-dev (20220109.1) ...
Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up libssl-dev:armhf (3.0.5-2) ...
Setting up autopoint (0.21-9) ...
Setting up autoconf (2.71-2) ...
Setting up liblzma-dev:armhf (5.2.5-2.1) ...
Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-4.1) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-3) ...
Setting up libssh2-1:armhf (1.10.0-3+b1) ...
Setting up libdeflate-dev:armhf (1.12-1) ...
Setting up libelf1:armhf (0.187-2+rpi2) ...
Setting up libxml2:armhf (2.9.14+dfsg-1) ...
Setting up libbz2-dev:armhf (1.0.8-5+b2) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.13.0-1) ...
Setting up gettext (0.21-9) ...
Setting up libtool (2.4.7-4) ...
Setting up libcurl3-gnutls:armhf (7.85.0-1) ...
Setting up libcurl4-gnutls-dev:armhf (7.85.0-1) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up dh-autoreconf (20) ...
Setting up dh-strip-nondeterminism (1.13.0-1) ...
Setting up dwz (0.14+20220924-2) ...
Setting up groff-base (1.22.4-8) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.10.2-3) ...
Not building database; man-db/auto-update is not 'true'.
Setting up debhelper (13.9.1) ...
Setting up dh-exec (0.27) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.35-1+rpi2) ...

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

Arch check ok (armhf included in any all)

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

Kernel: Linux 4.19.20-v7+ #1 SMP Mon Mar 18 11:37:02 GMT 2019 armhf (armv7l)
Toolchain package versions: binutils_2.39-6+rpi1 dpkg-dev_1.21.9+rpi1 g++-12_12.2.0-3+rpi1 gcc-12_12.2.0-3+rpi1 libc6-dev_2.35-1+rpi2 libstdc++-12-dev_12.2.0-3+rpi1 libstdc++6_12.2.0-3+rpi1 linux-libc-dev_5.19.6-1+rpi1
Package versions: adduser_3.129 apt_2.5.3 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-9 autotools-dev_20220109.1 base-files_12.2+rpi1 base-passwd_3.6.1 bash_5.2~rc2-2 binutils_2.39-6+rpi1 binutils-arm-linux-gnueabihf_2.39-6+rpi1 binutils-common_2.39-6+rpi1 bsdextrautils_2.38.1-1 bsdutils_1:2.38.1-1 build-essential_12.9 bzip2_1.0.8-5+b2 coreutils_9.1-1 cpp_4:12.2.0-1+rpi1 cpp-12_12.2.0-3+rpi1 dash_0.5.11+git20210903+057cd650a4ed-9 debconf_1.5.79 debhelper_13.9.1 debianutils_5.7-0.3 dh-autoreconf_20 dh-exec_0.27 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.8-1 dirmngr_2.2.39-1 dpkg_1.21.9+rpi1 dpkg-dev_1.21.9+rpi1 dwz_0.14+20220924-2 e2fsprogs_1.46.6~rc1-1 fakeroot_1.29-1 file_1:5.41-4 findutils_4.9.0-3 g++_4:12.2.0-1+rpi1 g++-12_12.2.0-3+rpi1 gcc_4:12.2.0-1+rpi1 gcc-12_12.2.0-3+rpi1 gcc-12-base_12.2.0-3+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.4.0-2+rpi1 gettext_0.21-9 gettext-base_0.21-9 gnupg_2.2.39-1 gnupg-l10n_2.2.39-1 gnupg-utils_2.2.39-1 gpg_2.2.39-1 gpg-agent_2.2.39-1 gpg-wks-client_2.2.39-1 gpg-wks-server_2.2.39-1 gpgconf_2.2.39-1 gpgsm_2.2.39-1 gpgv_2.2.39-1 grep_3.7-1 groff-base_1.22.4-8 gzip_1.12-1 hostname_3.23 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.5 iputils-ping_3:20211215-1 krb5-locales_1.20-1 libacl1_2.3.1-1 libapt-pkg6.0_2.5.3 libarchive-zip-perl_1.68-1 libasan8_12.2.0-3+rpi1 libassuan0_2.5.5-4 libatomic1_12.2.0-3+rpi1 libattr1_1:2.5.1-1 libaudit-common_1:3.0.7-1.1 libaudit1_1:3.0.7-1.1 libbinutils_2.39-6+rpi1 libblkid1_2.38.1-1 libbrotli1_1.0.9-2+b2 libbz2-1.0_1.0.8-5+b2 libbz2-dev_1.0.8-5+b2 libc-bin_2.35-1+rpi2 libc-dev-bin_2.35-1+rpi2 libc6_2.35-1+rpi2 libc6-dev_2.35-1+rpi2 libcap-ng0_0.8.3-1 libcap2_1:2.44-1 libcap2-bin_1:2.44-1 libcc1-0_12.2.0-3+rpi1 libcom-err2_1.46.6~rc1-1 libcrypt-dev_1:4.4.28-2 libcrypt1_1:4.4.28-2 libctf-nobfd0_2.39-6+rpi1 libctf0_2.39-6+rpi1 libcurl3-gnutls_7.85.0-1 libcurl4-gnutls-dev_7.85.0-1 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.264 libdebhelper-perl_13.9.1 libdeflate-dev_1.12-1 libdeflate0_1.12-1 libdpkg-perl_1.21.9+rpi1 libelf1_0.187-2+rpi2 libext2fs2_1.46.6~rc1-1 libfakeroot_1.29-1 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libgcc-12-dev_12.2.0-3+rpi1 libgcc-s1_12.2.0-3+rpi1 libgcrypt20_1.10.1-2+b2 libgdbm-compat4_1.23-2 libgdbm6_1.23-2 libgmp10_2:6.2.1+dfsg1-1 libgnutls30_3.7.7-2 libgomp1_12.2.0-3+rpi1 libgpg-error0_1.45-2 libgssapi-krb5-2_1.20-1 libhogweed6_3.8.1-2 libhtscodecs-dev_1.3.0-3 libhtscodecs2_1.3.0-3 libicu71_71.1-3 libidn2-0_2.3.3-1 libisl23_0.25-1 libk5crypto3_1.20-1 libkeyutils1_1.6.3-1 libkrb5-3_1.20-1 libkrb5support0_1.20-1 libksba8_1.6.0-3 libldap-2.5-0_2.5.13+dfsg-2+rpi1 liblz4-1_1.9.4-1+rpi1 liblzma-dev_5.2.5-2.1 liblzma5_5.2.5-2.1 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmount1_2.38.1-1 libmpc3_1.2.1-2 libmpfr6_4.1.0-3 libncursesw6_6.3+20220423-2 libnettle8_3.8.1-2 libnghttp2-14_1.50.0-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.24.1-1 libpam-cap_1:2.44-1 libpam-modules_1.5.2-2 libpam-modules-bin_1.5.2-2 libpam-runtime_1.5.2-2 libpam0g_1.5.2-2 libpcre2-8-0_10.40-1+b2 libpcre3_2:8.39-14 libperl5.32_5.32.1-6 libperl5.34_5.34.0-5 libpipeline1_1.5.6-3 libpsl5_0.21.0-1.2 libreadline8_8.2-1 librtmp1_2.4+20151223.gitfa8646d.1-2+b2 libsasl2-2_2.1.28+dfsg-8 libsasl2-modules-db_2.1.28+dfsg-8 libseccomp2_2.5.4-1+rpi1 libselinux1_3.4-1 libsemanage-common_3.4-1 libsemanage2_3.4-1 libsepol1_3.1-1 libsepol2_3.4-2 libsmartcols1_2.38.1-1 libsqlite3-0_3.39.4-1 libss2_1.46.6~rc1-1 libssh2-1_1.10.0-3+b1 libssl-dev_3.0.5-2 libssl1.1_1.1.1o-1 libssl3_3.0.5-2 libstdc++-12-dev_12.2.0-3+rpi1 libstdc++6_12.2.0-3+rpi1 libsub-override-perl_0.09-3 libsystemd0_251.4-3+rpi1 libtasn1-6_4.19.0-2 libtinfo6_6.3+20220423-2 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-4 libubsan1_12.2.0-3+rpi1 libuchardet0_0.0.7-1 libudev1_251.4-3+rpi1 libunistring2_1.0-1 libuuid1_2.38.1-1 libxml2_2.9.14+dfsg-1 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg-1 linux-libc-dev_5.19.6-1+rpi1 login_1:4.11.1+dfsg1-2 logsave_1.46.6~rc1-1 lsb-base_11.4+rpi1 m4_1.4.19-1 make_4.3-4.1 man-db_2.10.2-3 mawk_1.3.4.20200120-3.1 mount_2.38.1-1 nano_6.4-1 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 passwd_1:4.11.1+dfsg1-2 patch_2.7.6-7 perl_5.34.0-5 perl-base_5.34.0-5 perl-modules-5.32_5.32.1-6 perl-modules-5.34_5.34.0-5 pinentry-curses_1.2.0-2 po-debconf_1.0.21+nmu1 raspbian-archive-keyring_20120528.2 readline-common_8.2-1 rpcsvc-proto_1.4.2-4 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1 sensible-utils_0.0.17 sgml-base_1.30 sysvinit-utils_3.05-6 tar_1.34+dfsg-1 tzdata_2022d-1 util-linux_2.38.1-1 util-linux-extra_2.38.1-1 xz-utils_5.2.5-2.1 zlib1g_1:1.2.11.dfsg-4.1 zlib1g-dev_1:1.2.11.dfsg-4.1

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


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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: htslib
Binary: libhts3, libhts-dev, htslib-test, tabix
Architecture: any all
Version: 1.16+ds-2
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Uploaders: Charles Plessy <plessy@debian.org>, Andreas Tille <tille@debian.org>, Michael R. Crusoe <crusoe@debian.org>, Steffen Moeller <moeller@debian.org>, Étienne Mollier <emollier@debian.org>
Homepage: https://github.com/samtools/htslib
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/med-team/htslib
Vcs-Git: https://salsa.debian.org/med-team/htslib.git
Testsuite: autopkgtest
Testsuite-Triggers: @builddeps@, build-essential
Build-Depends: debhelper-compat (= 13), dh-exec, libbz2-dev, libcurl4-gnutls-dev, liblzma-dev, libssl-dev, zlib1g-dev, libdeflate-dev, libhtscodecs-dev (>= 1.0)
Package-List:
 htslib-test deb science optional arch=all
 libhts-dev deb libdevel optional arch=any
 libhts3 deb libs optional arch=any
 tabix deb science optional arch=any
Checksums-Sha1:
 4beb8a41c7233271d2143f6603ee06b8e9910dc2 1382243 htslib_1.16+ds.orig.tar.bz2
 bc0f4d8dd4e02a9c21df55c28e42f59f13547169 19528 htslib_1.16+ds-2.debian.tar.xz
Checksums-Sha256:
 2d10941e47cf0c05d1496e73e2beaef39e7584eb326367476b12cad04e7794be 1382243 htslib_1.16+ds.orig.tar.bz2
 1b62725af8fa842182f33811a24f2a19ca92e65be905c2c65865ad4e78eec4c9 19528 htslib_1.16+ds-2.debian.tar.xz
Files:
 1b69fb302f02b8e8a0219496abde89d8 1382243 htslib_1.16+ds.orig.tar.bz2
 fda2762d55b8a5aa3af24cd03b633b41 19528 htslib_1.16+ds-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmM30XcSHG5pbGVzaEBk
ZWJpYW4ub3JnAAoJEAC650s0M2nxVNgP/0hTqL9oFyHZUyGJtHwd3AO9E9WOym6y
vSciBlTVoKf70YA+mbEFa2/sLFpxqdagv1vzmQSS9li87r+qRGyy1Z2wEweirgQ1
CGgSKW7SnLav5pkgkuBOfAEzsFxubdcjquoHT9BwTP4yS6HUq650KbVU2RxJAeGy
6bqkAl+hv0AUHjxVBv67htSWj1iu4ByZJLk82uSL3uODyUeO/fjMeIjSgfQe7CNX
bBSje4qqXhQi8Z8IoHKoDd5er07aiztgh17VzWGVFEQjTbXTX6fZKdAKUld/mauL
pSxghD2TSLtK2xslffepC8LOr9m9t6g+ySMZu/AH3IihOsUMySh5mG8CeNhLdDr2
TrTSlyFi717+avyXuQnAyi6JPnbAS/TSic1o2LcU8oKLD/tRSp2OFG0GYhw4GTve
3wIDEVSqV3/su2+P3zicJ23XPKwAwFzLXd2nmIr0BoBiG5X8eAuXdlpMgZJQ7kGC
PX0g/TCEYLcaaYOjmVFKqJxZxfVdbCigUpRCnAWfQlEa6beKXUR7fRYA9gVVvonL
Ork78yLx3K7SdHD5uBLuugOBhQ/GZVToi/DOlHKav2HjTn2p4mAwM10SdVWMsrvC
+I8kSIA3akLFwtxuz954P1cIYITjD1Ph8PHYNlehTB00jN52rfHs9B5vpdOxXGAp
FtPUalFeCV89
=JL+J
-----END PGP SIGNATURE-----

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.ruWqoEZQ/trustedkeys.kbx': General error
gpgv: Signature made Sat Oct  1 05:34:47 2022 UTC
gpgv:                using RSA key 3E99A526F5DCC0CBBF1CEEA600BAE74B343369F1
gpgv:                issuer "nilesh@debian.org"
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify signature ./htslib_1.16+ds-2.dsc
dpkg-source: info: extracting htslib in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking htslib_1.16+ds.orig.tar.bz2
dpkg-source: info: unpacking htslib_1.16+ds-2.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying no_git_version
dpkg-source: info: applying define_PATH_MAX.patch
dpkg-source: info: applying fPIC.patch
dpkg-source: info: applying testShebang.patch
dpkg-source: info: applying fix_float_precision
dpkg-source: info: applying cram_to_bam_export.patch
dpkg-source: info: applying disable_plugin_loading_test.patch
dpkg-source: info: applying fix_sequence_of_linked_libs.patch

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/112/bus
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
INVOCATION_ID=79d111ecf76d4d72929efb4c6c309344
JOURNAL_STREAM=8:26624
LANG=en_GB.UTF-8
LC_ALL=C.UTF-8
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/
SCHROOT_ALIAS_NAME=bookworm-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bookworm-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=117
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bookworm-staging-armhf-sbuild-fb6235e2-6404-413c-b671-cbb7a196fc03
SCHROOT_UID=112
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd
XDG_RUNTIME_DIR=/run/user/112
XDG_SESSION_CLASS=background
XDG_SESSION_ID=c65670
XDG_SESSION_TYPE=unspecified

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

Command: dpkg-buildpackage -us -uc -mRaspbian pi4 based autobuilder <root@raspbian.org> -B -rfakeroot
dpkg-buildpackage: info: source package htslib
dpkg-buildpackage: info: source version 1.16+ds-2
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
dpkg-source: info: using options from htslib-1.16+ds/debian/source/options: --single-debian-patch --extend-diff-ignore=^(\.travis\.yml|README.md|aclocal.m4|config.h.in|configure)$
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
	install -d /<<BUILDDIR>>/htslib-1.16\+ds/debian/.debhelper/generated/_source/home
	make -j4 distclean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -f test/*.tmp test/*.tmp.* test/longrefs/*.tmp.* test/tabix/*.tmp.* test/tabix/FAIL* header-exports.txt shlib-exports-so.txt
rm -f libhts.so libhts.so.*
rm -rf htscodecs/tests/test.out
rm -f *.o *.pico cram/*.o cram/*.pico test/*.o test/*.dSYM config_vars.h version.h
rm -f htscodecs/htscodecs/*.o htscodecs/htscodecs/*.pico 
rm -f hts-object-files
rm -f htscodecs/tests/*.o
rm -f libhts.a bgzip htsfile tabix  test/hts_endian test/fieldarith test/hfile test/pileup test/pileup_mod test/plugins-dlhts test/sam test/test_bgzf test/test_expr test/test_kfunc test/test_kstring test/test_mod test/test_realn test/test-regidx test/test_str2int test/test_time_funcs test/test_view test/test_index test/test-vcf-api test/test-vcf-sweep test/test-bcf-sr test/fuzz/hts_open_fuzzer.o test/test-bcf-translate test/test-parse-reg test/test_introspection test/test-bcf_set_variant_type test/thrash_threads1 test/thrash_threads2 test/thrash_threads3 test/thrash_threads4 test/thrash_threads5 test/thrash_threads6 test/thrash_threads7
rm -f htscodecs/tests/rans4x8 htscodecs/tests/rans4x16pr htscodecs/tests/arith_dynamic htscodecs/tests/tokenise_name3 htscodecs/tests/fqzcomp_qual htscodecs/tests/varint
rm -f config.cache config.h config.log config.mk config.status
rm -f TAGS *.pc.tmp *-uninstalled.pc htslib_static.mk htscodecs.mk
rm -rf autom4te.cache
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -rf test_backup/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/libhts3.substvars debian/libhts-dev.substvars debian/htslib-test.substvars debian/tabix.substvars debian/files
	rm -fr -- debian/libhts3/ debian/tmp/ debian/libhts-dev/ debian/htslib-test/ debian/tabix/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -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 {} + \) \)
 debian/rules binary-arch
dh binary-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p
" > debian/autoreconf.before
	grep -q ^XDT_ configure.ac
	autoreconf -f -i
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p
" > debian/autoreconf.after
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# create clean copy of test dir
cp -a test test_backup
# to help with cross building, otherwise MMAP might get turned off
export ac_cv_func_mmap_fixed_mapped=yes && autoconf && \
dh_auto_configure -- --enable-libcurl --enable-gcs --enable-s3 --enable-plugins --with-plugin-dir='/htslib' --with-external-htscodecs --with-plugin-path='/usr/local/lib/htslib:/usr/local/libexec/htslib:'
	install -d /<<BUILDDIR>>/htslib-1.16\+ds/debian/.debhelper/generated/_source/home
	./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-libcurl --enable-gcs --enable-s3 --enable-plugins --with-plugin-dir=/htslib --with-external-htscodecs --with-plugin-path=/usr/local/lib/htslib:/usr/local/libexec/htslib:
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for C compiler warning flags... -Wall
checking whether C compiler accepts -mssse3 -mpopcnt -msse4.1... no
checking whether C compiler accepts -mavx2... no
checking whether C compiler accepts -mavx512f... no
checking whether C compiler supports ARM Neon... no
checking for pkg-config... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking shared library type for unknown-Linux... plain .so
checking whether the compiler accepts -fvisibility=hidden... yes
checking build system type... arm-unknown-linux-gnueabihf
checking host system type... arm-unknown-linux-gnueabihf
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... (cached) yes
checking for gmtime_r... yes
checking for fsync... yes
checking for drand48... yes
checking for srand48_deterministic... no
checking for gcc options needed to detect all undeclared functions... none needed
checking whether fdatasync is declared... yes
checking for fdatasync... yes
checking for library containing dlsym... none required
checking whether the compiler accepts -rdynamic... yes
checking for library containing log... -lm
checking for zlib.h... yes
checking for inflate in -lz... yes
checking for library containing recv... none required
checking for bzlib.h... yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for lzma.h... yes
checking for lzma_easy_buffer_encode in -llzma... yes
checking for htscodecs/rANS_static4x16.h... yes
checking for rans_compress_bound_4x16 in -lhtscodecs... yes
checking for libdeflate.h... yes
checking for libdeflate_deflate_compress in -ldeflate... yes
checking for curl/curl.h... yes
checking for curl_easy_pause in -lcurl... yes
checking for CCHmac... no
checking for library containing HMAC... -lcrypto
checking for library containing regcomp... none required
checking whether PTHREAD_MUTEX_RECURSIVE is declared... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating htslib.pc.tmp
config.status: creating config.h
config.status: linking htscodecs_external.mk to htscodecs.mk
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_auto_build-arch
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)" \
  PACKAGE_VERSION="1.16" \
  libdir=/usr/lib/arm-linux-gnueabihf
	make -j4 "CFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects" "CPPFLAGS=-I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects" PACKAGE_VERSION=1.16 libdir=/usr/lib/arm-linux-gnueabihf
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o kfunc.o kfunc.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o kstring.o kstring.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bcf_sr_sort.o bcf_sr_sort.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bgzf.o bgzf.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o errmod.o errmod.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o faidx.o faidx.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o header.o header.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hfile.o hfile.c
echo '#define HTS_VERSION_TEXT "1.16"' > version.h
echo '#define HTS_CC "gcc"' > config_vars.h
echo '#define HTS_CPPFLAGS "-I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2"' >> config_vars.h
echo '#define HTS_CFLAGS "-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects"' >> config_vars.h
echo '#define HTS_LDFLAGS "-Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects"' >> config_vars.h
echo '#define HTS_LIBS "-ldeflate -lhtscodecs -llzma -lbz2 -lz -lm "' >> config_vars.h
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hts_expr.o hts_expr.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hts_os.o hts_os.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o md5.o md5.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o multipart.o multipart.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probaln.o probaln.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o realn.o realn.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o regidx.o regidx.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o region.o region.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sam.o sam.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o synced_bcf_reader.o synced_bcf_reader.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vcf_sweep.o vcf_sweep.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tbx.o tbx.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o textutils.o textutils.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o thread_pool.o thread_pool.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vcf.o vcf.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vcfutils.o vcfutils.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_codecs.o cram/cram_codecs.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_decode.o cram/cram_decode.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_encode.o cram/cram_encode.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_external.o cram/cram_external.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_index.o cram/cram_index.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_io.o cram/cram_io.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_stats.o cram/cram_stats.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/mFILE.o cram/mFILE.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/open_trace_file.o cram/open_trace_file.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/pooled_alloc.o cram/pooled_alloc.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/string_alloc.o cram/string_alloc.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DPLUGINPATH=\"/usr/local/lib/htslib:/usr/local/libexec/htslib:\" -c -o plugin.o plugin.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o kfunc.pico kfunc.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o kstring.pico kstring.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o bcf_sr_sort.pico bcf_sr_sort.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o bgzf.pico bgzf.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o errmod.pico errmod.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o faidx.pico faidx.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o header.pico header.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile.pico hfile.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hts.pico hts.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hts_expr.pico hts_expr.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hts_os.pico hts_os.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o md5.pico md5.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o multipart.pico multipart.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o probaln.pico probaln.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o realn.pico realn.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o regidx.pico regidx.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o region.pico region.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o sam.pico sam.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o synced_bcf_reader.pico synced_bcf_reader.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o vcf_sweep.pico vcf_sweep.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o tbx.pico tbx.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o textutils.pico textutils.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o thread_pool.pico thread_pool.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o vcf.pico vcf.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o vcfutils.pico vcfutils.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_codecs.pico cram/cram_codecs.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_decode.pico cram/cram_decode.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_encode.pico cram/cram_encode.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_external.pico cram/cram_external.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_index.pico cram/cram_index.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_io.pico cram/cram_io.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_stats.pico cram/cram_stats.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/mFILE.pico cram/mFILE.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/open_trace_file.pico cram/open_trace_file.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/pooled_alloc.pico cram/pooled_alloc.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/string_alloc.pico cram/string_alloc.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DPLUGINPATH=\"/usr/local/lib/htslib:/usr/local/libexec/htslib:\" -fPIC -c -o plugin.pico plugin.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bgzip.o bgzip.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o htsfile.o htsfile.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tabix.o tabix.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_libcurl.pico hfile_libcurl.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_gcs.pico hfile_gcs.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_s3.pico hfile_s3.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_s3_write.pico hfile_s3_write.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/hts_endian.o test/hts_endian.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/fieldarith.o test/fieldarith.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/hfile.o test/hfile.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/pileup.o test/pileup.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/pileup_mod.o test/pileup_mod.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/plugins-dlhts.o test/plugins-dlhts.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/sam.o test/sam.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_bgzf.o test/test_bgzf.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_expr.o test/test_expr.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_kfunc.o test/test_kfunc.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_kstring.o test/test_kstring.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_mod.o test/test_mod.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_realn.o test/test_realn.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-regidx.o test/test-regidx.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_str2int.o test/test_str2int.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_time_funcs.o test/test_time_funcs.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_view.o test/test_view.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_index.o test/test_index.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-vcf-api.o test/test-vcf-api.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-vcf-sweep.o test/test-vcf-sweep.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-bcf-sr.o test/test-bcf-sr.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/fuzz/hts_open_fuzzer.o test/fuzz/hts_open_fuzzer.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-bcf-translate.o test/test-bcf-translate.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-parse-reg.o test/test-parse-reg.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_introspection.o test/test_introspection.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-bcf_set_variant_type.o test/test-bcf_set_variant_type.c
sed -n '/^static_libs=/s/[^=]*=/HTSLIB_static_LIBS = /p;/^static_ldflags=/s/[^=]*=/HTSLIB_static_LDFLAGS = /p' htslib.pc.tmp > htslib_static.mk
sed -e 's#@-includedir@#'`pwd`'#g;s#@-libdir@#'`pwd`'#g' htslib.pc.tmp > htslib-uninstalled.pc
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects  -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hts.o hts.c
gcc -shared -Wl,-soname,libhts.so.3 -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o libhts.so kfunc.pico kstring.pico bcf_sr_sort.pico bgzf.pico errmod.pico faidx.pico header.pico hfile.pico hts.pico hts_expr.pico hts_os.pico md5.pico multipart.pico probaln.pico realn.pico regidx.pico region.pico sam.pico synced_bcf_reader.pico vcf_sweep.pico tbx.pico textutils.pico thread_pool.pico vcf.pico vcfutils.pico cram/cram_codecs.pico cram/cram_decode.pico cram/cram_encode.pico cram/cram_external.pico cram/cram_index.pico cram/cram_io.pico cram/cram_stats.pico cram/mFILE.pico cram/open_trace_file.pico cram/pooled_alloc.pico cram/string_alloc.pico plugin.pico -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/hts_endian test/hts_endian.o -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm 
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/plugins-dlhts test/plugins-dlhts.o -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm 
ln -sf libhts.so libhts.so.3
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_time_funcs test/test_time_funcs.o
gcc -shared -Wl,-E -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o hfile_libcurl.so hfile_libcurl.pico libhts.so -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lcurl -lpthread
gcc -shared -Wl,-E -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o hfile_gcs.so hfile_gcs.pico libhts.so -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -shared -Wl,-E -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o hfile_s3.so hfile_s3.pico libhts.so -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lcrypto -lpthread
gcc -shared -Wl,-E -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o hfile_s3_write.so hfile_s3_write.pico libhts.so -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lcrypto -lcurl -lpthread
ar -rc libhts.a kfunc.o kstring.o bcf_sr_sort.o bgzf.o errmod.o faidx.o header.o hfile.o hts.o hts_expr.o hts_os.o md5.o multipart.o probaln.o realn.o regidx.o region.o sam.o synced_bcf_reader.o vcf_sweep.o tbx.o textutils.o thread_pool.o vcf.o vcfutils.o cram/cram_codecs.o cram/cram_decode.o cram/cram_encode.o cram/cram_external.o cram/cram_index.o cram/cram_io.o cram/cram_stats.o cram/mFILE.o cram/open_trace_file.o cram/pooled_alloc.o cram/string_alloc.o   plugin.o
ranlib libhts.a
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o bgzip bgzip.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  libhts.a -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o htsfile htsfile.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  libhts.a -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o tabix tabix.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  libhts.a -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/fieldarith test/fieldarith.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/hfile test/hfile.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/pileup test/pileup.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/pileup_mod test/pileup_mod.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/sam test/sam.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_bgzf test/test_bgzf.o libhts.a -lz -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_expr test/test_expr.o libhts.a -lz -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_kfunc test/test_kfunc.o libhts.a -lz -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_kstring test/test_kstring.o libhts.a -lz -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_mod test/test_mod.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_realn test/test_realn.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test-regidx test/test-regidx.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_str2int test/test_str2int.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_view test/test_view.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_index test/test_index.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test-vcf-api test/test-vcf-api.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test-vcf-sweep test/test-vcf-sweep.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test-bcf-sr test/test-bcf-sr.o libhts.a -lz -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test-bcf-translate test/test-bcf-translate.o libhts.a -lz -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test-parse-reg test/test-parse-reg.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test_introspection test/test_introspection.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects -o test/test-bcf_set_variant_type test/test-bcf_set_variant_type.o libhts.a -ldeflate -lhtscodecs -llzma -lbz2 -lz -lm  -lpthread
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- \
  CFLAGS="$(dpkg-buildflags --get CFLAGS)" \
  CPPFLAGS="-I. -DSAMTOOLS=1 $(dpkg-buildflags --get CPPFLAGS)" \
  LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" \
  PACKAGE_VERSION="1.16" \
  libdir=/usr/lib/arm-linux-gnueabihf \
  || \
  if find . -name "FAIL*" > /dev/null ; then \
    for file in $(find . -name "FAIL*"); do echo ${file}; cat ${file}; done && false ; \
  fi
	make -j4 test "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 "CFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects" "CPPFLAGS=-I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects" PACKAGE_VERSION=1.16 libdir=/usr/lib/arm-linux-gnueabihf
make[2]: Entering directory '/<<PKGBUILDDIR>>'
test/hts_endian
test/test_expr
test/test_kfunc
test/test_kstring
test/test_str2int
test/test_time_funcs
test/fieldarith test/fieldarith.sam
test/hfile
if test "xhfile_libcurl.so hfile_gcs.so hfile_s3.so hfile_s3_write.so" != "x"; then \
    HTS_PATH=. test/with-shlib.sh test/plugins-dlhts -g ./libhts.so; \
fi
if test "xhfile_libcurl.so hfile_gcs.so hfile_s3.so hfile_s3_write.so" != "x"; then \
  HTS_PATH=. test/with-shlib.sh test/plugins-dlhts -l ./libhts.so; \
fi
test/test_bgzf test/bgziptest.txt
test/test-parse-reg -t test/colons.bam
Expected error: [E::hts_parse_region] Range is ambiguous. Use {chr1:100-200} or {chr1}:100-200 instead
Expected error: [E::hts_parse_region] Range is ambiguous. Use {chr1:100-200,chr3} or {chr1}:100-200,chr3 instead
Expected error: [E::hts_parse_region] Mismatching braces in "{chr1"
Expected error: [E::hts_parse_region] Unexpected string "x" after region
Expected error: [E::hts_parse_region] Unexpected string "y" after region
Expected error: [E::hts_parse_region] Unexpected string "chr3" after region
cd test/sam_filter && ./filter.sh filter.tst
Testing sam_filter...
PASS : $tv -i 'filter=qname =~ "\.1" && cigar =~ "D"' ../ce#1000.sam
PASS : $tv -i 'filter=rname=="CHROMOSOME_II"' ../ce#5b.sam
PASS : $tv -i 'filter=rname=~"CHROMOSOME_II"' ../ce#5b.sam
PASS : $tv -i 'filter=cigar=~"D"' ../ce#1000.sam
PASS : $tv -i 'filter=seq =~ "(AT){2}"' ../ce#1000.sam
PASS : $tv -i 'filter=library=="x"' ../xx#rg.sam
PASS : $tv -i 'filter=library!="x"' ../xx#rg.sam
PASS : $tv -i 'filter=pos % 23 == 11' ../ce#1000.sam |egrep -cv '^@'
PASS : $tv -i 'filter=qlen/(flag*mapq+pos)>5' ../ce#1000.sam |egrep -cv '^@'
PASS : $tv -i 'filter=[NM]>=10 || [MD]=~"A.*A.*A"' -t4 ../ce#1000.sam |egrep -cv '^@'
PASS : $tv -i 'filter=length(seq) != qlen' ../ce#5b.sam | egrep -cv '^@'
PASS : $tv -i 'filter=min(qual) >= 20' ../ce#1000.sam | egrep -cv '^@'
PASS : $tv -i 'filter=max(qual) <= 20' ../ce#1000.sam | egrep -cv '^@'
PASS : $tv -i 'filter=avg(qual) >= 20 && avg(qual) <= 30' ../ce#1000.sam | egrep -cv '^@'
PASS : $tv -i 'filter=sclen>=20' ../realn02.sam | egrep -v '^@'
PASS : $tv -i 'filter=rlen<50' ../realn02.sam | egrep -v '^@'
PASS : $tv -i 'filter=qlen>100' ../realn02.sam | egrep -v '^@'

Expected   passes:   17
Unexpected passes:   0
Expected   failures: 0
Unexpected failures: 0
cd test/tabix && ./test-tabix.sh tabix.tst
Testing tabix...
PASS : $tabix -f -p vcf vcf_file.tbi.tmp.vcf.gz
PASS : $tabix vcf_file.tbi.tmp.vcf.gz 1:3000151-3000151
PASS : $tabix vcf_file.tbi.tmp.vcf.gz 2:3199812-3199812
PASS : $tabix -f -C -p vcf vcf_file.csi.tmp.vcf.gz
PASS : $tabix vcf_file.csi.tmp.vcf.gz 1:3000151-3000151
PASS : $tabix vcf_file.csi.tmp.vcf.gz 2:3199812-3199812
PASS : $tabix -f -p vcf large_chr.tmp.vcf.gz (must exit non-zero)
PASS : $tabix -f -C -p vcf large_chr.tmp.vcf.gz
PASS : $tabix large_chr.tmp.vcf.gz chr20:1-2147483647
PASS : $tabix -f -p bed bed_file.tbi.tmp.bed.gz
PASS : $tabix bed_file.tbi.tmp.bed.gz Y:100200-100200
PASS : $tabix -f -p gff gff_file.tbi.tmp.gff.gz
PASS : $tabix gff_file.tbi.tmp.gff.gz X:2934832-2935190
PASS : $tabix --separate-regions bed_file.tbi.tmp.bed.gz X:1100-1400 Y:100000-100550 Z:100000-100005

Expected   passes:   14
Unexpected passes:   0
Expected   failures: 0
Unexpected failures: 0
cd test/mpileup && ./test-pileup.sh mpileup.tst
Testing (m)pileup...
PASS : $pileup mp_D.sam
PASS : $pileup -m mp_D.sam
PASS : $pileup mp_DI.sam
PASS : $pileup -m mp_DI.sam
PASS : $pileup mp_I.sam
PASS : $pileup -m mp_I.sam
PASS : $pileup mp_P.sam
PASS : $pileup -m mp_P.sam
PASS : $pileup mp_ID.sam
PASS : $pileup -m mp_ID.sam
PASS : $pileup mp_N.sam
PASS : $pileup -m mp_N.sam
PASS : $pileup mp_N2.sam
PASS : $pileup -m mp_N2.sam
PASS : $pileup c1#pad1.sam
PASS : $pileup -m c1#pad1.sam
PASS : $pileup c1#pad2.sam
PASS : $pileup -m c1#pad2.sam
PASS : $pileup c1#pad3.sam
PASS : $pileup -m c1#pad3.sam
PASS : $pileup -m small.bam

Expected   passes:   21
Unexpected passes:   0
Expected   failures: 0
Unexpected failures: 0
cd test/fastq && ./test-fastq.sh
Testing fastq support
PASS : $tview minimal.fq
PASS : $tview minimal.fa
PASS : $tview multiline.fq
PASS : $tview multiline.fa
PASS : $tview -i fastq_aux longline.fq
PASS : $tview single.fq
PASS : $tview single.fa
PASS : $tview -i fastq_aux single.fq
PASS : $tview -i fastq_aux single.fa
PASS : $tview interleaved.fq
PASS : $tview interleaved.fa
PASS : $tview -i fastq_aux interleaved.fq
PASS : $tview -i fastq_aux interleaved.fa
PASS : $tview -i fastq_casava interleaved_casava.fq
PASS : $tview -i fastq_barcode=OX -i fastq_casava interleaved_casava.fq
PASS : $tview -i fastq_casava interleaved_casava.fa
PASS : $tview -i fastq_barcode=OX -i fastq_casava interleaved_casava.fa
PASS : $tview -i fastq_casava filter_casava.fq
PASS : $tview -i fastq_casava filter_casava.fa
PASS : $tview -i fastq_aux r1.fq
PASS : $tview -i fastq_aux r2.fq
PASS : $tview -i fastq_aux r1.fa
PASS : $tview -i fastq_aux r2.fa
PASS : $tview -i fastq_name2 name2.fq
PASS : $tview -i fastq_name2 name2.fa
PASS : $tview -f minimal.sam
PASS : $tview -F minimal.sam
PASS : $tview -f -o fastq_aux single_aux.sam
PASS : $tview -F -o fastq_aux single_aux.sam
PASS : $tview -f -o fastq_aux -o fastq_rnum inter_aux.sam
PASS : $tview -F -o fastq_aux -o fastq_rnum inter_aux.sam
PASS : $tview -f -o fastq_casava inter_casava.sam
PASS : $tview -f -o fastq_barcode=OX -o fastq_casava inter_casavaOX.sam
PASS : $tview -F -o fastq_casava inter_casava.sam
PASS : $tview -F -o fastq_barcode=OX -o fastq_casava inter_casavaOX.sam
PASS : $tview -f -o fastq_casava filter_casava.sam
PASS : $tview -F -o fastq_casava filter_casava.sam
PASS : $tview -f -o fastq_aux -o fastq_rnum r1.sam
PASS : $tview -f -o fastq_aux -o fastq_rnum r2.sam
PASS : $tview -F -o fastq_aux -o fastq_rnum r1.sam
PASS : $tview -F -o fastq_aux -o fastq_rnum r2.sam

Expected   passes:   41
Unexpected passes:   0
Expected   failures: 0
Unexpected failures: 0
cd test/base_mods && ./base-mods.sh base-mods.tst
Testing base-modifications...
PASS : $test_mod MM-chebi.sam
PASS : $test_mod MM-double.sam
PASS : $test_mod MM-multi.sam
PASS : $test_mod MM-explicit.sam
PASS : $test_mod -x MM-explicit.sam
PASS : $pileup_mod < MM-pileup.sam
PASS : $pileup_mod < MM-pileup2.sam

Expected   passes:   7
Unexpected passes:   0
Expected   failures: 0
Unexpected failures: 0
REF_PATH=: test/sam test/ce.fa test/faidx.fa test/fastqs.fq
(Expect trailing 'x' message for " 	 -1,001x")
[W::hts_parse_decimal] Ignoring unknown characters after -1,001[x]
(Expect trailing 'k' message for "1.5e+3k")
[W::hts_parse_decimal] Ignoring unknown characters after 1.5e+3[k]
(Expect dropped fraction message for "12.3456k")
[W::hts_parse_decimal] Discarding fractional part of 12.3456k
[W::hts_parse_decimal] Discarding fractional part of 12.3456k
(Expect invalid numeric message for "A")
[W::hts_parse_decimal] Invalid numeric value A[truncated]
(Expect invalid numeric message for "G")
[W::hts_parse_decimal] Invalid numeric value G[truncated]
(Expect invalid numeric message for " +/-")
[W::hts_parse_decimal] Invalid numeric value +/-[truncated]
(Expect invalid numeric message for " 	 -.e+9999")
[W::hts_parse_decimal] Invalid numeric value -.e+9999[truncated]
test/test-regidx
cd test && REF_PATH=: ./test.pl ${TEST_OPTS:-}
bgzip round-trip no threads: .. ok

bgzip -b no threads: .. ok

bgzip -b -I no threads: .. ok

bgzip round-trip  4 threads: .. ok

bgzip -b  4 threads: .. ok

bgzip -b -I  4 threads: .. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -b -m 14 -x /tmp/Z1vsbTT8Zi/index.bam.csi /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -b -m 0 -x /tmp/Z1vsbTT8Zi/index.bam.bai /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/Z1vsbTT8Zi/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 14 -x /tmp/Z1vsbTT8Zi/index.sam.gz.csi /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 0 -x /tmp/Z1vsbTT8Zi/index.sam.gz.bai /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 14 -x /tmp/Z1vsbTT8Zi/index.sam.gz.csi /<<PKGBUILDDIR>>/test/index_dos.sam > /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 0 -x /tmp/Z1vsbTT8Zi/index.sam.gz.bai /<<PKGBUILDDIR>>/test/index_dos.sam > /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -C -x /tmp/Z1vsbTT8Zi/index.cram.crai /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.cram
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index /tmp/Z1vsbTT8Zi/index.cram
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -b -m 14 -x /tmp/Z1vsbTT8Zi/index.bcf.csi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/Z1vsbTT8Zi/index.bcf
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.bcf
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 14 -x /tmp/Z1vsbTT8Zi/index.vcf.gz.csi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/Z1vsbTT8Zi/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 0 -x /tmp/Z1vsbTT8Zi/index.vcf.gz.tbi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/Z1vsbTT8Zi/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -t /tmp/Z1vsbTT8Zi/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/tabix /tmp/Z1vsbTT8Zi/index.vcf.gz##idx##/tmp/Z1vsbTT8Zi/index.vcf.gz.tbi 1:10000060-10000060
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view /tmp/Z1vsbTT8Zi/index2.bam 1:1000000-1000000
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view /tmp/Z1vsbTT8Zi/index2.bam 1:2000000-2000000
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view /tmp/Z1vsbTT8Zi/index2.bam 2:1000000-1000000
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view /tmp/Z1vsbTT8Zi/index2.bam 2:2000000-2000000
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -b -m 14 -x /tmp/Z1vsbTT8Zi/index.bam.csi /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -b -m 0 -x /tmp/Z1vsbTT8Zi/index.bam.bai /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/Z1vsbTT8Zi/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 14 -x /tmp/Z1vsbTT8Zi/index.sam.gz.csi /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 0 -x /tmp/Z1vsbTT8Zi/index.sam.gz.bai /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 14 -x /tmp/Z1vsbTT8Zi/index.sam.gz.csi /<<PKGBUILDDIR>>/test/index_dos.sam > /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 0 -x /tmp/Z1vsbTT8Zi/index.sam.gz.bai /<<PKGBUILDDIR>>/test/index_dos.sam > /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/Z1vsbTT8Zi/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -C -x /tmp/Z1vsbTT8Zi/index.cram.crai /<<PKGBUILDDIR>>/test/index.sam > /tmp/Z1vsbTT8Zi/index.cram
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index /tmp/Z1vsbTT8Zi/index.cram
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -b -m 14 -x /tmp/Z1vsbTT8Zi/index.bcf.csi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/Z1vsbTT8Zi/index.bcf
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.bcf
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 14 -x /tmp/Z1vsbTT8Zi/index.vcf.gz.csi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/Z1vsbTT8Zi/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/Z1vsbTT8Zi/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 0 -x /tmp/Z1vsbTT8Zi/index.vcf.gz.tbi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/Z1vsbTT8Zi/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -t /tmp/Z1vsbTT8Zi/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/tabix /tmp/Z1vsbTT8Zi/index.vcf.gz##idx##/tmp/Z1vsbTT8Zi/index.vcf.gz.tbi 1:10000060-10000060
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view /tmp/Z1vsbTT8Zi/index2.bam 1:1000000-1000000
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view /tmp/Z1vsbTT8Zi/index2.bam 1:2000000-2000000
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view /tmp/Z1vsbTT8Zi/index2.bam 2:1000000-1000000
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view /tmp/Z1vsbTT8Zi/index2.bam 2:2000000-2000000
.. ok

test_view testing multi-ref CRAM modes:
  ./test_view  -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=-1 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view  multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
  ./test_view  -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=0 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view  multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
  ./test_view  -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=1 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view  multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
.. ok

test_view testing multi-ref CRAM modes:
  ./test_view -@4 -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=-1 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view -@4 multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
  ./test_view -@4 -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=0 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view -@4 multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
  ./test_view -@4 -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=1 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view -@4 multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
.. ok

test_view testing auxf#values.sam, ref auxf.fa:
  ./test_view  -S -l0 -b auxf#values.sam > auxf#values.tmp.bam
  ./test_view  auxf#values.tmp.bam > auxf#values.tmp.bam.sam_
  ./compare_sam.pl auxf#values.sam auxf#values.tmp.bam.sam_
  ./test_view  -t auxf.fa -S -C -o VERSION=2.1 auxf#values.sam > auxf#values.tmp.cram
  ./test_view  -D auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view  -t auxf.fa -C -o VERSION=3.0 auxf#values.tmp.bam > auxf#values.tmp.bam.cram
  ./test_view  auxf#values.tmp.bam.cram > auxf#values.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.bam.cram.bam.sam_
  ./test_view  -i reference=auxf.fa auxf#values_java.cram > auxf#values_java.tmp.sam_
  ./compare_sam.pl -Baux -nomd auxf#values.sam auxf#values_java.tmp.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#bounds.sam, ref c1.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 c1#bounds.sam > c1#bounds.tmp.cram
  ./test_view  -D c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#bounds.tmp.bam > c1#bounds.tmp.bam.cram
  ./test_view  c1#bounds.tmp.bam.cram > c1#bounds.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#clip.sam, ref c1.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 c1#clip.sam > c1#clip.tmp.cram
  ./test_view  -D c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#clip.tmp.bam > c1#clip.tmp.bam.cram
  ./test_view  c1#clip.tmp.bam.cram > c1#clip.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#noseq.sam, ref c1.fa:
  ./test_view  -S -l0 -b c1#noseq.sam > c1#noseq.tmp.bam
  ./test_view  c1#noseq.tmp.bam > c1#noseq.tmp.bam.sam_
  ./compare_sam.pl c1#noseq.sam c1#noseq.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#noseq.sam > c1#noseq.tmp.cram
  ./test_view  -D c1#noseq.tmp.cram > c1#noseq.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#noseq.tmp.bam > c1#noseq.tmp.bam.cram
  ./test_view  c1#noseq.tmp.bam.cram > c1#noseq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#pad1.sam, ref c1.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 c1#pad1.sam > c1#pad1.tmp.cram
  ./test_view  -D c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad1.tmp.bam > c1#pad1.tmp.bam.cram
  ./test_view  c1#pad1.tmp.bam.cram > c1#pad1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#pad2.sam, ref c1.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 c1#pad2.sam > c1#pad2.tmp.cram
  ./test_view  -D c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad2.tmp.bam > c1#pad2.tmp.bam.cram
  ./test_view  c1#pad2.tmp.bam.cram > c1#pad2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#pad3.sam, ref c1.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 c1#pad3.sam > c1#pad3.tmp.cram
  ./test_view  -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad3.tmp.bam > c1#pad3.tmp.bam.cram
  ./test_view  c1#pad3.tmp.bam.cram > c1#pad3.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#unknown.sam, ref c1.fa:
  ./test_view  -S -l0 -b c1#unknown.sam > c1#unknown.tmp.bam
  ./test_view  c1#unknown.tmp.bam > c1#unknown.tmp.bam.sam_
  ./compare_sam.pl c1#unknown.sam c1#unknown.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#unknown.sam > c1#unknown.tmp.cram
  ./test_view  -D c1#unknown.tmp.cram > c1#unknown.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#unknown.tmp.bam > c1#unknown.tmp.bam.cram
  ./test_view  c1#unknown.tmp.bam.cram > c1#unknown.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c2#pad.sam, ref c2.fa:
  ./test_view  -S -l0 -b c2#pad.sam > c2#pad.tmp.bam
  ./test_view  c2#pad.tmp.bam > c2#pad.tmp.bam.sam_
  ./compare_sam.pl c2#pad.sam c2#pad.tmp.bam.sam_
  ./test_view  -t c2.fa -S -C -o VERSION=2.1 c2#pad.sam > c2#pad.tmp.cram
  ./test_view  -D c2#pad.tmp.cram > c2#pad.tmp.cram.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.cram.sam_
  ./test_view  -t c2.fa -C -o VERSION=3.0 c2#pad.tmp.bam > c2#pad.tmp.bam.cram
  ./test_view  c2#pad.tmp.bam.cram > c2#pad.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#1.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 ce#1.sam > ce#1.tmp.cram
  ./test_view  -D ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#1.tmp.bam > ce#1.tmp.bam.cram
  ./test_view  ce#1.tmp.bam.cram > ce#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#1000.sam, ref ce.fa:
  ./test_view  -S -b ce#1000.sam > ce#1000.tmp.bam
  ./test_view  ce#1000.tmp.bam > ce#1000.tmp.bam.sam_
  ./compare_sam.pl ce#1000.sam ce#1000.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#1000.sam > ce#1000.tmp.bam
  ./test_view  ce#1000.tmp.bam > ce#1000.tmp.bam.sam_
  ./compare_sam.pl ce#1000.sam ce#1000.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#1000.sam > ce#1000.tmp.cram
  ./test_view  -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#1000.sam > ce#1000.tmp.cram
  ./test_view  -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#1000.tmp.bam > ce#1000.tmp.bam.cram
  ./test_view  ce#1000.tmp.bam.cram > ce#1000.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#2.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 ce#2.sam > ce#2.tmp.cram
  ./test_view  -D ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#2.tmp.bam > ce#2.tmp.bam.cram
  ./test_view  ce#2.tmp.bam.cram > ce#2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#5.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 ce#5.sam > ce#5.tmp.cram
  ./test_view  -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#5.tmp.bam > ce#5.tmp.bam.cram
  ./test_view  ce#5.tmp.bam.cram > ce#5.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#5b.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 ce#5b.sam > ce#5b.tmp.cram
  ./test_view  -D ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#5b.tmp.bam > ce#5b.tmp.bam.cram
  ./test_view  ce#5b.tmp.bam.cram > ce#5b.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.bam.cram.bam.sam_
  ./test_view  -i reference=ce.fa ce#5b_java.cram > ce#5b_java.tmp.sam_
  ./compare_sam.pl -Baux -nomd ce#5b.sam ce#5b_java.tmp.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#large_seq.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 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 -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.cram
  ./test_view  ce#large_seq.tmp.bam.cram > ce#large_seq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#supp.sam, ref ce.fa:
  ./test_view  -S -l0 -b ce#supp.sam > ce#supp.tmp.bam
  ./test_view  ce#supp.tmp.bam > ce#supp.tmp.bam.sam_
  ./compare_sam.pl ce#supp.sam ce#supp.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#supp.sam > ce#supp.tmp.cram
  ./test_view  -D ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#supp.tmp.bam > ce#supp.tmp.bam.cram
  ./test_view  ce#supp.tmp.bam.cram > ce#supp.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#tag_depadded.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 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 -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.cram
  ./test_view  ce#tag_depadded.tmp.bam.cram > ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#tag_padded.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 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 -nomd ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.cram
  ./test_view  ce#tag_padded.tmp.bam.cram > ce#tag_padded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#unmap.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 ce#unmap.sam > ce#unmap.tmp.cram
  ./test_view  -D ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap.tmp.bam > ce#unmap.tmp.bam.cram
  ./test_view  ce#unmap.tmp.bam.cram > ce#unmap.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#unmap1.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 ce#unmap1.sam > ce#unmap1.tmp.cram
  ./test_view  -D ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.cram
  ./test_view  ce#unmap1.tmp.bam.cram > ce#unmap1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#unmap2.sam, ref ce.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 ce#unmap2.sam > ce#unmap2.tmp.cram
  ./test_view  -D ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.cram
  ./test_view  ce#unmap2.tmp.bam.cram > ce#unmap2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing md#1.sam, ref md.fa:
  ./test_view  -S -l0 -b md#1.sam > md#1.tmp.bam
  ./test_view  md#1.tmp.bam > md#1.tmp.bam.sam_
  ./compare_sam.pl md#1.sam md#1.tmp.bam.sam_
  ./test_view  -t md.fa -S -C -o VERSION=2.1 md#1.sam > md#1.tmp.cram
  ./test_view  -D md#1.tmp.cram > md#1.tmp.cram.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.cram.sam_
  ./test_view  -t md.fa -C -o VERSION=3.0 md#1.tmp.bam > md#1.tmp.bam.cram
  ./test_view  md#1.tmp.bam.cram > md#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#blank.sam, ref xx.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 xx#blank.sam > xx#blank.tmp.cram
  ./test_view  -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#blank.tmp.bam > xx#blank.tmp.bam.cram
  ./test_view  xx#blank.tmp.bam.cram > xx#blank.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#large_aux.sam, ref xx.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 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 -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.cram
  ./test_view  xx#large_aux.tmp.bam.cram > xx#large_aux.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.bam.cram.bam.sam_
  ./test_view  -i reference=xx.fa xx#large_aux_java.cram > xx#large_aux_java.tmp.sam_
[W::sanitise_SQ_lines] Header @SQ length mismatch for ref xx, 30 vs 20
  ./compare_sam.pl -Baux -nomd xx#large_aux.sam xx#large_aux_java.tmp.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#large_aux2.sam, ref xx.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 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 -nomd xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.cram
  ./test_view  xx#large_aux2.tmp.bam.cram > xx#large_aux2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#MD.sam, ref xx.fa:
  ./test_view  -S -l0 -b xx#MD.sam > xx#MD.tmp.bam
  ./test_view  xx#MD.tmp.bam > xx#MD.tmp.bam.sam_
  ./compare_sam.pl xx#MD.sam xx#MD.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#MD.sam > xx#MD.tmp.cram
  ./test_view  -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#MD.tmp.bam > xx#MD.tmp.bam.cram
  ./test_view  xx#MD.tmp.bam.cram > xx#MD.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#MD2.sam, ref xx.fa:
  ./test_view  -S -l0 -b xx#MD2.sam > xx#MD2.tmp.bam
  ./test_view  xx#MD2.tmp.bam > xx#MD2.tmp.bam.sam_
  ./compare_sam.pl xx#MD2.sam xx#MD2.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view  -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#MD2.tmp.bam > xx#MD2.tmp.bam.cram
  ./test_view  xx#MD2.tmp.bam.cram > xx#MD2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#minimal.sam, ref xx.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 xx#minimal.sam > xx#minimal.tmp.cram
  ./test_view  -D xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#minimal.tmp.bam > xx#minimal.tmp.bam.cram
  ./test_view  xx#minimal.tmp.bam.cram > xx#minimal.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#pair.sam, ref xx.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 xx#pair.sam > xx#pair.tmp.cram
  ./test_view  -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#pair.tmp.bam > xx#pair.tmp.bam.cram
  ./test_view  xx#pair.tmp.bam.cram > xx#pair.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#repeated.sam, ref xx.fa:
  ./test_view  -S -l0 -b xx#repeated.sam > xx#repeated.tmp.bam
  ./test_view  xx#repeated.tmp.bam > xx#repeated.tmp.bam.sam_
  ./compare_sam.pl xx#repeated.sam xx#repeated.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#repeated.sam > xx#repeated.tmp.cram
  ./test_view  -D xx#repeated.tmp.cram > xx#repeated.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#repeated.tmp.bam > xx#repeated.tmp.bam.cram
  ./test_view  xx#repeated.tmp.bam.cram > xx#repeated.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#rg.sam, ref xx.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 xx#rg.sam > xx#rg.tmp.cram
  ./test_view  -D xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#rg.tmp.bam > xx#rg.tmp.bam.cram
  ./test_view  xx#rg.tmp.bam.cram > xx#rg.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#tlen.sam, ref xx.fa:
  ./test_view  -S -l0 -b xx#tlen.sam > xx#tlen.tmp.bam
  ./test_view  xx#tlen.tmp.bam > xx#tlen.tmp.bam.sam_
  ./compare_sam.pl xx#tlen.sam xx#tlen.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#tlen.sam > xx#tlen.tmp.cram
  ./test_view  -D xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#tlen.tmp.bam > xx#tlen.tmp.bam.cram
  ./test_view  xx#tlen.tmp.bam.cram > xx#tlen.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#tlen2.sam, ref xx.fa:
  ./test_view  -S -l0 -b xx#tlen2.sam > xx#tlen2.tmp.bam
  ./test_view  xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.sam_
  ./compare_sam.pl xx#tlen2.sam xx#tlen2.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#tlen2.sam > xx#tlen2.tmp.cram
  ./test_view  -D xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.cram
  ./test_view  xx#tlen2.tmp.bam.cram > xx#tlen2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#triplet.sam, ref xx.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 xx#triplet.sam > xx#triplet.tmp.cram
  ./test_view  -D xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#triplet.tmp.bam > xx#triplet.tmp.bam.cram
  ./test_view  xx#triplet.tmp.bam.cram > xx#triplet.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#unsorted.sam, ref xx.fa:
  ./test_view  -S -l0 -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 -o VERSION=2.1 xx#unsorted.sam > xx#unsorted.tmp.cram
  ./test_view  -D xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.cram
  ./test_view  xx#unsorted.tmp.bam.cram > xx#unsorted.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.bam.cram.bam.sam_
  ./test_view  -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view  -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing region queries:
  ./test_view  -i reference=ce.fa range.cram CHROMOSOME_II:2980-2980 CHROMOSOME_IV:1500-1500 CHROMOSOME_II:2980-2980 CHROMOSOME_I:1000-1100 > range.tmp
  ./compare_sam.pl range.tmp range.out
  ./test_view  range.bam CHROMOSOME_II:2980-2980 CHROMOSOME_IV:1500-1500 CHROMOSOME_II:2980-2980 CHROMOSOME_I:1000-1100 > range.tmp
  ./compare_sam.pl range.tmp range.out
.. ok

test_view testing BAM files with absent @SQ lines:
  ./test_view  -p no_hdr_sq_1.tmp.sam no_hdr_sq_1.bam
  ./compare_sam.pl no_hdr_sq_1.tmp.sam no_hdr_sq_1.expected.sam
  ./test_view  -p no_hdr_sq_1.chr1.tmp.sam no_hdr_sq_1.bam CHROMOSOME_I
  ./compare_sam.pl no_hdr_sq_1.chr1.tmp.sam no_hdr_sq_1.expected.sam
.. ok

test_view testing large (> 2Gbases) positions:
  ./test_view  -z -p longrefs/longref.tmp.sam.gz -x longrefs/longref.tmp.sam.gz.csi.otf -m 14 longrefs/longref.sam
  ./test_view  -p longrefs/longref.tmp.sam_ longrefs/longref.tmp.sam.gz
  ./compare_sam.pl longrefs/longref.sam longrefs/longref.tmp.sam_
test_view:
	/<<PKGBUILDDIR>>/test/test_index -c longrefs/longref.tmp.sam.gz
.. ok

  ./test_view  -p longrefs/longref_itr.tmp.sam longrefs/longref.tmp.sam.gz CHROMOSOME_I:10000000000-10000000003
  ./compare_sam.pl longrefs/longref_itr.expected.sam longrefs/longref_itr.tmp.sam
  ./test_view  -M -p longrefs/longref_multi.tmp.sam longrefs/longref.tmp.sam.gz CHROMOSOME_I:10000000000-10000000003 CHROMOSOME_I:10000000100-10000000110
  ./compare_sam.pl longrefs/longref_multi.expected.sam longrefs/longref_multi.tmp.sam
.. ok

test_view testing auxf#values.sam, ref auxf.fa:
  ./test_view -@4 -S -l0 -b auxf#values.sam > auxf#values.tmp.bam
  ./test_view -@4 auxf#values.tmp.bam > auxf#values.tmp.bam.sam_
  ./compare_sam.pl auxf#values.sam auxf#values.tmp.bam.sam_
  ./test_view -@4 -t auxf.fa -S -C -o VERSION=2.1 auxf#values.sam > auxf#values.tmp.cram
  ./test_view -@4 -D auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view -@4 -t auxf.fa -C -o VERSION=3.0 auxf#values.tmp.bam > auxf#values.tmp.bam.cram
  ./test_view -@4 auxf#values.tmp.bam.cram > auxf#values.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t auxf.fa -S -l7 -C -o VERSION=3.1 -o archive auxf#values.sam > auxf#values.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view -@4 -t auxf.fa -S -l7 -C -o VERSION=4.0 -o archive auxf#values.sam > auxf#values.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view -@4 -i reference=auxf.fa auxf#values_java.cram > auxf#values_java.tmp.sam_
  ./compare_sam.pl -Baux -nomd auxf#values.sam auxf#values_java.tmp.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#bounds.sam, ref c1.fa:
  ./test_view -@4 -S -l0 -b c1#bounds.sam > c1#bounds.tmp.bam
  ./test_view -@4 c1#bounds.tmp.bam > c1#bounds.tmp.bam.sam_
  ./compare_sam.pl c1#bounds.sam c1#bounds.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#bounds.sam > c1#bounds.tmp.cram
  ./test_view -@4 -D c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#bounds.tmp.bam > c1#bounds.tmp.bam.cram
  ./test_view -@4 c1#bounds.tmp.bam.cram > c1#bounds.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#clip.sam, ref c1.fa:
  ./test_view -@4 -S -l0 -b c1#clip.sam > c1#clip.tmp.bam
  ./test_view -@4 c1#clip.tmp.bam > c1#clip.tmp.bam.sam_
  ./compare_sam.pl c1#clip.sam c1#clip.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#clip.sam > c1#clip.tmp.cram
  ./test_view -@4 -D c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#clip.tmp.bam > c1#clip.tmp.bam.cram
  ./test_view -@4 c1#clip.tmp.bam.cram > c1#clip.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#noseq.sam, ref c1.fa:
  ./test_view -@4 -S -l0 -b c1#noseq.sam > c1#noseq.tmp.bam
  ./test_view -@4 c1#noseq.tmp.bam > c1#noseq.tmp.bam.sam_
  ./compare_sam.pl c1#noseq.sam c1#noseq.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#noseq.sam > c1#noseq.tmp.cram
  ./test_view -@4 -D c1#noseq.tmp.cram > c1#noseq.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#noseq.tmp.bam > c1#noseq.tmp.bam.cram
  ./test_view -@4 c1#noseq.tmp.bam.cram > c1#noseq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#pad1.sam, ref c1.fa:
  ./test_view -@4 -S -l0 -b c1#pad1.sam > c1#pad1.tmp.bam
  ./test_view -@4 c1#pad1.tmp.bam > c1#pad1.tmp.bam.sam_
  ./compare_sam.pl c1#pad1.sam c1#pad1.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#pad1.sam > c1#pad1.tmp.cram
  ./test_view -@4 -D c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad1.tmp.bam > c1#pad1.tmp.bam.cram
  ./test_view -@4 c1#pad1.tmp.bam.cram > c1#pad1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#pad2.sam, ref c1.fa:
  ./test_view -@4 -S -l0 -b c1#pad2.sam > c1#pad2.tmp.bam
  ./test_view -@4 c1#pad2.tmp.bam > c1#pad2.tmp.bam.sam_
  ./compare_sam.pl c1#pad2.sam c1#pad2.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#pad2.sam > c1#pad2.tmp.cram
  ./test_view -@4 -D c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad2.tmp.bam > c1#pad2.tmp.bam.cram
  ./test_view -@4 c1#pad2.tmp.bam.cram > c1#pad2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#pad3.sam, ref c1.fa:
  ./test_view -@4 -S -l0 -b c1#pad3.sam > c1#pad3.tmp.bam
  ./test_view -@4 c1#pad3.tmp.bam > c1#pad3.tmp.bam.sam_
  ./compare_sam.pl c1#pad3.sam c1#pad3.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#pad3.sam > c1#pad3.tmp.cram
  ./test_view -@4 -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad3.tmp.bam > c1#pad3.tmp.bam.cram
  ./test_view -@4 c1#pad3.tmp.bam.cram > c1#pad3.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -S -l7 -C -o VERSION=3.1 -o archive c1#pad3.sam > c1#pad3.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -S -l7 -C -o VERSION=4.0 -o archive c1#pad3.sam > c1#pad3.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c1#unknown.sam, ref c1.fa:
  ./test_view -@4 -S -l0 -b c1#unknown.sam > c1#unknown.tmp.bam
  ./test_view -@4 c1#unknown.tmp.bam > c1#unknown.tmp.bam.sam_
  ./compare_sam.pl c1#unknown.sam c1#unknown.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#unknown.sam > c1#unknown.tmp.cram
  ./test_view -@4 -D c1#unknown.tmp.cram > c1#unknown.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#unknown.tmp.bam > c1#unknown.tmp.bam.cram
  ./test_view -@4 c1#unknown.tmp.bam.cram > c1#unknown.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing c2#pad.sam, ref c2.fa:
  ./test_view -@4 -S -l0 -b c2#pad.sam > c2#pad.tmp.bam
  ./test_view -@4 c2#pad.tmp.bam > c2#pad.tmp.bam.sam_
  ./compare_sam.pl c2#pad.sam c2#pad.tmp.bam.sam_
  ./test_view -@4 -t c2.fa -S -C -o VERSION=2.1 c2#pad.sam > c2#pad.tmp.cram
  ./test_view -@4 -D c2#pad.tmp.cram > c2#pad.tmp.cram.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.cram.sam_
  ./test_view -@4 -t c2.fa -C -o VERSION=3.0 c2#pad.tmp.bam > c2#pad.tmp.bam.cram
  ./test_view -@4 c2#pad.tmp.bam.cram > c2#pad.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#1.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#1.sam > ce#1.tmp.bam
  ./test_view -@4 ce#1.tmp.bam > ce#1.tmp.bam.sam_
  ./compare_sam.pl ce#1.sam ce#1.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#1.sam > ce#1.tmp.cram
  ./test_view -@4 -D ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#1.tmp.bam > ce#1.tmp.bam.cram
  ./test_view -@4 ce#1.tmp.bam.cram > ce#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#1000.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#1000.sam > ce#1000.tmp.bam
  ./test_view -@4 ce#1000.tmp.bam > ce#1000.tmp.bam.sam_
  ./compare_sam.pl ce#1000.sam ce#1000.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#1000.sam > ce#1000.tmp.bam
  ./test_view -@4 ce#1000.tmp.bam > ce#1000.tmp.bam.sam_
  ./compare_sam.pl ce#1000.sam ce#1000.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#1000.sam > ce#1000.tmp.cram
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#1000.sam > ce#1000.tmp.cram
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#1000.tmp.bam > ce#1000.tmp.bam.cram
  ./test_view -@4 ce#1000.tmp.bam.cram > ce#1000.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#1000.tmp.bam.cram > ce#1000.tmp.bam.cram.ms
  ./test_view -@4 ce#1000.tmp.bam.cram.ms > ce#1000.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.bam.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=3.1 -o fast ce#1000.sam > ce#1000.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=3.1 -o normal ce#1000.sam > ce#1000.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=3.1 -o small ce#1000.sam > ce#1000.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=3.1 -o archive ce#1000.sam > ce#1000.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=4.0 -o archive ce#1000.sam > ce#1000.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#1000_er.tmp.cram.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#1000_er.tmp.cram.sam > ce#1000_er.tmp.cram.tmp.bam
  ./test_view -@4 ce#1000_er.tmp.cram.tmp.bam > ce#1000_er.tmp.cram.tmp.bam.sam_
  ./compare_sam.pl ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#1000_er.tmp.cram.sam > ce#1000_er.tmp.cram.tmp.cram
  ./test_view -@4 -D ce#1000_er.tmp.cram.tmp.cram > ce#1000_er.tmp.cram.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#1000_er.tmp.cram.tmp.bam > ce#1000_er.tmp.cram.tmp.bam.cram
  ./test_view -@4 ce#1000_er.tmp.cram.tmp.bam.cram > ce#1000_er.tmp.cram.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#2.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#2.sam > ce#2.tmp.bam
  ./test_view -@4 ce#2.tmp.bam > ce#2.tmp.bam.sam_
  ./compare_sam.pl ce#2.sam ce#2.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#2.sam > ce#2.tmp.cram
  ./test_view -@4 -D ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#2.tmp.bam > ce#2.tmp.bam.cram
  ./test_view -@4 ce#2.tmp.bam.cram > ce#2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#5.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#5.sam > ce#5.tmp.bam
  ./test_view -@4 ce#5.tmp.bam > ce#5.tmp.bam.sam_
  ./compare_sam.pl ce#5.sam ce#5.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#5.sam > ce#5.tmp.cram
  ./test_view -@4 -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#5.tmp.bam > ce#5.tmp.bam.cram
  ./test_view -@4 ce#5.tmp.bam.cram > ce#5.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#5.tmp.bam.cram > ce#5.tmp.bam.cram.ms
  ./test_view -@4 ce#5.tmp.bam.cram.ms > ce#5.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.bam.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=3.1 -o archive ce#5.sam > ce#5.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=4.0 -o archive ce#5.sam > ce#5.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#5b.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#5b.sam > ce#5b.tmp.bam
  ./test_view -@4 ce#5b.tmp.bam > ce#5b.tmp.bam.sam_
  ./compare_sam.pl ce#5b.sam ce#5b.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#5b.sam > ce#5b.tmp.cram
  ./test_view -@4 -D ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#5b.tmp.bam > ce#5b.tmp.bam.cram
  ./test_view -@4 ce#5b.tmp.bam.cram > ce#5b.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#5b.tmp.bam.cram > ce#5b.tmp.bam.cram.ms
  ./test_view -@4 ce#5b.tmp.bam.cram.ms > ce#5b.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.bam.cram.sam_
  ./test_view -@4 -i reference=ce.fa ce#5b_java.cram > ce#5b_java.tmp.sam_
  ./compare_sam.pl -Baux -nomd ce#5b.sam ce#5b_java.tmp.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#large_seq.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#large_seq.sam > ce#large_seq.tmp.bam
  ./test_view -@4 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 -@4 -t ce.fa -S -C -o VERSION=2.1 ce#large_seq.sam > ce#large_seq.tmp.cram
  ./test_view -@4 -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.cram
  ./test_view -@4 ce#large_seq.tmp.bam.cram > ce#large_seq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=3.1 -o archive ce#large_seq.sam > ce#large_seq.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=4.0 -o fast ce#large_seq.sam > ce#large_seq.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=4.0 -o normal ce#large_seq.sam > ce#large_seq.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=4.0 -o small ce#large_seq.sam > ce#large_seq.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=4.0 -o archive ce#large_seq.sam > ce#large_seq.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#supp.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#supp.sam > ce#supp.tmp.bam
  ./test_view -@4 ce#supp.tmp.bam > ce#supp.tmp.bam.sam_
  ./compare_sam.pl ce#supp.sam ce#supp.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#supp.sam > ce#supp.tmp.cram
  ./test_view -@4 -D ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#supp.tmp.bam > ce#supp.tmp.bam.cram
  ./test_view -@4 ce#supp.tmp.bam.cram > ce#supp.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=3.1 -o archive ce#supp.sam > ce#supp.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -S -l7 -C -o VERSION=4.0 -o archive ce#supp.sam > ce#supp.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#tag_depadded.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#tag_depadded.sam > ce#tag_depadded.tmp.bam
  ./test_view -@4 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 -@4 -t ce.fa -S -C -o VERSION=2.1 ce#tag_depadded.sam > ce#tag_depadded.tmp.cram
  ./test_view -@4 -D ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.cram
  ./test_view -@4 ce#tag_depadded.tmp.bam.cram > ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#tag_padded.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#tag_padded.sam > ce#tag_padded.tmp.bam
  ./test_view -@4 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 -@4 -t ce.fa -S -C -o VERSION=2.1 ce#tag_padded.sam > ce#tag_padded.tmp.cram
  ./test_view -@4 -D ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.cram
  ./test_view -@4 ce#tag_padded.tmp.bam.cram > ce#tag_padded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#unmap.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#unmap.sam > ce#unmap.tmp.bam
  ./test_view -@4 ce#unmap.tmp.bam > ce#unmap.tmp.bam.sam_
  ./compare_sam.pl ce#unmap.sam ce#unmap.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#unmap.sam > ce#unmap.tmp.cram
  ./test_view -@4 -D ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap.tmp.bam > ce#unmap.tmp.bam.cram
  ./test_view -@4 ce#unmap.tmp.bam.cram > ce#unmap.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap.tmp.bam.cram > ce#unmap.tmp.bam.cram.ms
  ./test_view -@4 ce#unmap.tmp.bam.cram.ms > ce#unmap.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.bam.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#unmap1.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#unmap1.sam > ce#unmap1.tmp.bam
  ./test_view -@4 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.sam_
  ./compare_sam.pl ce#unmap1.sam ce#unmap1.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#unmap1.sam > ce#unmap1.tmp.cram
  ./test_view -@4 -D ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.cram
  ./test_view -@4 ce#unmap1.tmp.bam.cram > ce#unmap1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap1.tmp.bam.cram > ce#unmap1.tmp.bam.cram.ms
  ./test_view -@4 ce#unmap1.tmp.bam.cram.ms > ce#unmap1.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.bam.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing ce#unmap2.sam, ref ce.fa:
  ./test_view -@4 -S -l0 -b ce#unmap2.sam > ce#unmap2.tmp.bam
  ./test_view -@4 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.sam_
  ./compare_sam.pl ce#unmap2.sam ce#unmap2.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#unmap2.sam > ce#unmap2.tmp.cram
  ./test_view -@4 -D ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.cram
  ./test_view -@4 ce#unmap2.tmp.bam.cram > ce#unmap2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap2.tmp.bam.cram > ce#unmap2.tmp.bam.cram.ms
  ./test_view -@4 ce#unmap2.tmp.bam.cram.ms > ce#unmap2.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.bam.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing md#1.sam, ref md.fa:
  ./test_view -@4 -S -l0 -b md#1.sam > md#1.tmp.bam
  ./test_view -@4 md#1.tmp.bam > md#1.tmp.bam.sam_
  ./compare_sam.pl md#1.sam md#1.tmp.bam.sam_
  ./test_view -@4 -t md.fa -S -C -o VERSION=2.1 md#1.sam > md#1.tmp.cram
  ./test_view -@4 -D md#1.tmp.cram > md#1.tmp.cram.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.cram.sam_
  ./test_view -@4 -t md.fa -C -o VERSION=3.0 md#1.tmp.bam > md#1.tmp.bam.cram
  ./test_view -@4 md#1.tmp.bam.cram > md#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#blank.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#blank.sam > xx#blank.tmp.bam
  ./test_view -@4 xx#blank.tmp.bam > xx#blank.tmp.bam.sam_
  ./compare_sam.pl xx#blank.sam xx#blank.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#blank.sam > xx#blank.tmp.cram
  ./test_view -@4 -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#blank.tmp.bam > xx#blank.tmp.bam.cram
  ./test_view -@4 xx#blank.tmp.bam.cram > xx#blank.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#blank.tmp.bam.cram > xx#blank.tmp.bam.cram.ms
  ./test_view -@4 xx#blank.tmp.bam.cram.ms > xx#blank.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.bam.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=3.1 -o archive xx#blank.sam > xx#blank.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=4.0 -o archive xx#blank.sam > xx#blank.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#large_aux.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#large_aux.sam > xx#large_aux.tmp.bam
  ./test_view -@4 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 -@4 -t xx.fa -S -C -o VERSION=2.1 xx#large_aux.sam > xx#large_aux.tmp.cram
  ./test_view -@4 -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.cram
  ./test_view -@4 xx#large_aux.tmp.bam.cram > xx#large_aux.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=3.1 -o archive xx#large_aux.sam > xx#large_aux.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=4.0 -o fast xx#large_aux.sam > xx#large_aux.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=4.0 -o normal xx#large_aux.sam > xx#large_aux.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=4.0 -o small xx#large_aux.sam > xx#large_aux.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=4.0 -o archive xx#large_aux.sam > xx#large_aux.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -i reference=xx.fa xx#large_aux_java.cram > xx#large_aux_java.tmp.sam_
[W::sanitise_SQ_lines] Header @SQ length mismatch for ref xx, 30 vs 20
  ./compare_sam.pl -Baux -nomd xx#large_aux.sam xx#large_aux_java.tmp.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#large_aux2.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#large_aux2.sam > xx#large_aux2.tmp.bam
  ./test_view -@4 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 -@4 -t xx.fa -S -C -o VERSION=2.1 xx#large_aux2.sam > xx#large_aux2.tmp.cram
  ./test_view -@4 -D xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.cram
  ./test_view -@4 xx#large_aux2.tmp.bam.cram > xx#large_aux2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#MD.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#MD.sam > xx#MD.tmp.bam
  ./test_view -@4 xx#MD.tmp.bam > xx#MD.tmp.bam.sam_
  ./compare_sam.pl xx#MD.sam xx#MD.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#MD.sam > xx#MD.tmp.cram
  ./test_view -@4 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#MD.tmp.bam > xx#MD.tmp.bam.cram
  ./test_view -@4 xx#MD.tmp.bam.cram > xx#MD.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=3.1 -o archive xx#MD.sam > xx#MD.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=4.0 -o archive xx#MD.sam > xx#MD.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#MD2.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#MD2.sam > xx#MD2.tmp.bam
  ./test_view -@4 xx#MD2.tmp.bam > xx#MD2.tmp.bam.sam_
  ./compare_sam.pl xx#MD2.sam xx#MD2.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -@4 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#MD2.tmp.bam > xx#MD2.tmp.bam.cram
  ./test_view -@4 xx#MD2.tmp.bam.cram > xx#MD2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#minimal.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#minimal.sam > xx#minimal.tmp.bam
  ./test_view -@4 xx#minimal.tmp.bam > xx#minimal.tmp.bam.sam_
  ./compare_sam.pl xx#minimal.sam xx#minimal.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#minimal.sam > xx#minimal.tmp.cram
  ./test_view -@4 -D xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#minimal.tmp.bam > xx#minimal.tmp.bam.cram
  ./test_view -@4 xx#minimal.tmp.bam.cram > xx#minimal.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#minimal.tmp.bam.cram > xx#minimal.tmp.bam.cram.ms
  ./test_view -@4 xx#minimal.tmp.bam.cram.ms > xx#minimal.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.bam.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#pair.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#pair.sam > xx#pair.tmp.bam
  ./test_view -@4 xx#pair.tmp.bam > xx#pair.tmp.bam.sam_
  ./compare_sam.pl xx#pair.sam xx#pair.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#pair.sam > xx#pair.tmp.cram
  ./test_view -@4 -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#pair.tmp.bam > xx#pair.tmp.bam.cram
  ./test_view -@4 xx#pair.tmp.bam.cram > xx#pair.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=3.1 -o archive xx#pair.sam > xx#pair.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=4.0 -o archive xx#pair.sam > xx#pair.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#repeated.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#repeated.sam > xx#repeated.tmp.bam
  ./test_view -@4 xx#repeated.tmp.bam > xx#repeated.tmp.bam.sam_
  ./compare_sam.pl xx#repeated.sam xx#repeated.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#repeated.sam > xx#repeated.tmp.cram
  ./test_view -@4 -D xx#repeated.tmp.cram > xx#repeated.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#repeated.tmp.bam > xx#repeated.tmp.bam.cram
  ./test_view -@4 xx#repeated.tmp.bam.cram > xx#repeated.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#rg.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#rg.sam > xx#rg.tmp.bam
  ./test_view -@4 xx#rg.tmp.bam > xx#rg.tmp.bam.sam_
  ./compare_sam.pl xx#rg.sam xx#rg.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#rg.sam > xx#rg.tmp.cram
  ./test_view -@4 -D xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#rg.tmp.bam > xx#rg.tmp.bam.cram
  ./test_view -@4 xx#rg.tmp.bam.cram > xx#rg.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#tlen.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#tlen.sam > xx#tlen.tmp.bam
  ./test_view -@4 xx#tlen.tmp.bam > xx#tlen.tmp.bam.sam_
  ./compare_sam.pl xx#tlen.sam xx#tlen.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#tlen.sam > xx#tlen.tmp.cram
  ./test_view -@4 -D xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#tlen.tmp.bam > xx#tlen.tmp.bam.cram
  ./test_view -@4 xx#tlen.tmp.bam.cram > xx#tlen.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#tlen.tmp.bam.cram > xx#tlen.tmp.bam.cram.ms
  ./test_view -@4 xx#tlen.tmp.bam.cram.ms > xx#tlen.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.bam.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=3.1 -o archive xx#tlen.sam > xx#tlen.tmp.cram
[W::cram_set_voption] CRAM version 3.1 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -S -l7 -C -o VERSION=4.0 -o archive xx#tlen.sam > xx#tlen.tmp.cram
[W::cram_set_voption] CRAM version 4.0 is still a draft and subject to change.
This is a technology demonstration that should not be used for archival data.
  ./test_view -@4 -D xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#tlen2.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#tlen2.sam > xx#tlen2.tmp.bam
  ./test_view -@4 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.sam_
  ./compare_sam.pl xx#tlen2.sam xx#tlen2.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#tlen2.sam > xx#tlen2.tmp.cram
  ./test_view -@4 -D xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.cram
  ./test_view -@4 xx#tlen2.tmp.bam.cram > xx#tlen2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#tlen2.tmp.bam.cram > xx#tlen2.tmp.bam.cram.ms
  ./test_view -@4 xx#tlen2.tmp.bam.cram.ms > xx#tlen2.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.bam.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#triplet.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#triplet.sam > xx#triplet.tmp.bam
  ./test_view -@4 xx#triplet.tmp.bam > xx#triplet.tmp.bam.sam_
  ./compare_sam.pl xx#triplet.sam xx#triplet.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#triplet.sam > xx#triplet.tmp.cram
  ./test_view -@4 -D xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#triplet.tmp.bam > xx#triplet.tmp.bam.cram
  ./test_view -@4 xx#triplet.tmp.bam.cram > xx#triplet.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#triplet.tmp.bam.cram > xx#triplet.tmp.bam.cram.ms
  ./test_view -@4 xx#triplet.tmp.bam.cram.ms > xx#triplet.tmp.bam.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.bam.cram.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing xx#unsorted.sam, ref xx.fa:
  ./test_view -@4 -S -l0 -b xx#unsorted.sam > xx#unsorted.tmp.bam
  ./test_view -@4 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.sam_
  ./compare_sam.pl xx#unsorted.sam xx#unsorted.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#unsorted.sam > xx#unsorted.tmp.cram
  ./test_view -@4 -D xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.cram
  ./test_view -@4 xx#unsorted.tmp.bam.cram > xx#unsorted.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.bam.cram.bam.sam_
  ./test_view -@4 -C -p ce#1000_er.tmp.cram ce#1000.sam
[E::cram_get_ref] Failed to populate reference for id 0
[W::cram_write_SAM_hdr] No M5 tags present and could not find reference
[W::cram_write_SAM_hdr] Enabling embed_ref=2 option
[W::cram_write_SAM_hdr] NOTE: the CRAM file will be bigger than using an external reference
  ./test_view -@4 -p ce#1000_er.tmp.cram.sam ce#1000_er.tmp.cram
  ./compare_sam.pl ce#1000.sam ce#1000_er.tmp.cram.sam
.. ok

test_view testing region queries:
  ./test_view -@4 -i reference=ce.fa range.cram CHROMOSOME_II:2980-2980 CHROMOSOME_IV:1500-1500 CHROMOSOME_II:2980-2980 CHROMOSOME_I:1000-1100 > range.tmp
  ./compare_sam.pl range.tmp range.out
  ./test_view -@4 range.bam CHROMOSOME_II:2980-2980 CHROMOSOME_IV:1500-1500 CHROMOSOME_II:2980-2980 CHROMOSOME_I:1000-1100 > range.tmp
  ./compare_sam.pl range.tmp range.out
.. ok

test_view testing BAM files with absent @SQ lines:
  ./test_view -@4 -p no_hdr_sq_1.tmp.sam no_hdr_sq_1.bam
  ./compare_sam.pl no_hdr_sq_1.tmp.sam no_hdr_sq_1.expected.sam
  ./test_view -@4 -p no_hdr_sq_1.chr1.tmp.sam no_hdr_sq_1.bam CHROMOSOME_I
  ./compare_sam.pl no_hdr_sq_1.chr1.tmp.sam no_hdr_sq_1.expected.sam
.. ok

test_view testing large (> 2Gbases) positions:
  ./test_view -@4 -z -p longrefs/longref.tmp.sam.gz -x longrefs/longref.tmp.sam.gz.csi.otf -m 14 longrefs/longref.sam
  ./test_view -@4 -p longrefs/longref.tmp.sam_ longrefs/longref.tmp.sam.gz
  ./compare_sam.pl longrefs/longref.sam longrefs/longref.tmp.sam_
test_view:
	/<<PKGBUILDDIR>>/test/test_index -c longrefs/longref.tmp.sam.gz
.. ok

  ./test_view -@4 -p longrefs/longref_itr.tmp.sam longrefs/longref.tmp.sam.gz CHROMOSOME_I:10000000000-10000000003
  ./compare_sam.pl longrefs/longref_itr.expected.sam longrefs/longref_itr.tmp.sam
  ./test_view -@4 -M -p longrefs/longref_multi.tmp.sam longrefs/longref.tmp.sam.gz CHROMOSOME_I:10000000000-10000000003 CHROMOSOME_I:10000000100-10000000110
  ./compare_sam.pl longrefs/longref_multi.expected.sam longrefs/longref_multi.tmp.sam
.. ok


test_MD testing xx#MD.sam, ref xx.fa:
  ./test_view -o store_nm=1 -o store_md=1 -t xx.fa -C xx#MD.sam > xx#MD.tmp.cram
  ./test_view -i decode_md=0 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#MD.sam > xx#MD.tmp.cram
  ./test_view -i decode_md=0 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -partialmd=2 xx#MD.sam xx#MD.tmp.cram.sam_
  Checking for MD/NM in xx#MD.sam
  ./test_view -t xx.fa -C xx#MD.sam > xx#MD.tmp.cram
  ./test_view -i decode_md=1 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -partialmd=1 xx#MD.sam xx#MD.tmp.cram.sam_
.. ok


test_MD testing xx#MD2.sam, ref xx.fa:
  ./test_view -o store_nm=1 -o store_md=1 -t xx.fa -C xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -i decode_md=0 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -i decode_md=0 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -partialmd=2 xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -i decode_md=1 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -partialmd=1 xx#MD2.sam xx#MD2.tmp.cram.sam_
.. ok

test_vcf_api:
	/<<PKGBUILDDIR>>/test/test-vcf-api /tmp/Z1vsbTT8Zi/test-vcf-api.bcf
[W::bcf_record_check] Bad BCF record at 1:1: No REF allele
[E::bcf_index_build3] TBI indices for BCF files are not supported
[E::idx_find_and_load] Could not retrieve index file for '/tmp/Z1vsbTT8Zi/test-vcf-api.bcf'
.. ok

test_bcf2vcf:
	/<<PKGBUILDDIR>>/test/test_view /<<PKGBUILDDIR>>/test/tabix/vcf_file.bcf
.. ok

test_vcf_sweep:
	/<<PKGBUILDDIR>>/test/test-vcf-sweep /tmp/Z1vsbTT8Zi/test-vcf-api.bcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -ch /<<PKGBUILDDIR>>/test/test-vcf-hdr-in.vcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -c /<<PKGBUILDDIR>>/test/formatcols.vcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -c /<<PKGBUILDDIR>>/test/noroundtrip.vcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -c /<<PKGBUILDDIR>>/test/formatmissing.vcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -c /<<PKGBUILDDIR>>/test/vcf_meta_meta.vcf
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 74452500
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 34270147
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 11108528
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 42233895
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 8111117
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 85644070
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 49879942
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 47881429
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 69081244
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/Z1vsbTT8Zi -s 83459376
.. ok

test_command:
	/<<PKGBUILDDIR>>/test/test-bcf-translate -
.. ok

test_convert_padded_header:
	/<<PKGBUILDDIR>>/test/test_view -t ce.fa -C /tmp/Z1vsbTT8Zi/headernul0.bam
.. ok

test_convert_padded_header:
	/<<PKGBUILDDIR>>/test/test_view -t ce.fa -C /tmp/Z1vsbTT8Zi/headernul1.bam
.. ok

test_convert_padded_header:
	/<<PKGBUILDDIR>>/test/test_view -t ce.fa -C /tmp/Z1vsbTT8Zi/headernul678.bam
.. ok

test_rebgzip: Alternate zlib/deflate library detected
test_rebgzip:
	/<<PKGBUILDDIR>>/bgzip -I /<<PKGBUILDDIR>>/test/bgziptest.txt.tmp.gz.gzi -c -g /<<PKGBUILDDIR>>/test/bgziptest.txt
.. ok

test-logging:
	/<<PKGBUILDDIR>>/test/test-logging.pl
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -f /<<PKGBUILDDIR>>/test/realn01.fa -i /<<PKGBUILDDIR>>/test/realn01.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -a -f /<<PKGBUILDDIR>>/test/realn01.fa -i /<<PKGBUILDDIR>>/test/realn01.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -a -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -e -f /<<PKGBUILDDIR>>/test/realn01.fa -i /<<PKGBUILDDIR>>/test/realn01.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -e -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -r -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02-r.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -a -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02_exp.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02_exp-a.sam -o -
.. ok

test-bcf_set_variant_type:
	/<<PKGBUILDDIR>>/test/test-bcf_set_variant_type
.. ok


Number of tests:
    total   .. 173
    passed  .. 173
    failed  .. 0

make[2]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -fr -- /tmp/dh-xdg-rundir-CM82oKT2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep -a
	rm -f -- debian/libhts3.substvars debian/libhts-dev.substvars debian/tabix.substvars
	rm -fr -- debian/.debhelper/generated/libhts3/ debian/libhts3/ debian/tmp/ debian/.debhelper/generated/libhts-dev/ debian/libhts-dev/ debian/.debhelper/generated/tabix/ debian/tabix/
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_auto_install-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
for binary in sam test-regidx hts_endian test-bcf-sr test_bgzf ; do \
    rm /<<PKGBUILDDIR>>/test/${binary} ; \
done
dh_auto_install -- prefix=/usr \
  CFLAGS="$(dpkg-buildflags --get CFLAGS)" \
  CPPFLAGS="-I. -DSAMTOOLS=1 $(dpkg-buildflags --get CPPFLAGS)" \
  LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" \
  PACKAGE_VERSION="1.16" \
  libdir=/usr/lib/arm-linux-gnueabihf
	install -d /<<BUILDDIR>>/htslib-1.16\+ds/debian/tmp
	make -j4 install DESTDIR=/<<BUILDDIR>>/htslib-1.16\+ds/debian/tmp AM_UPDATE_INFO_DIR=no prefix=/usr "CFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffat-lto-objects -ffat-lto-objects" "CPPFLAGS=-I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -ffat-lto-objects -Wl,-flto -fvisibility=hidden -ffat-lto-objects" PACKAGE_VERSION=1.16 libdir=/usr/lib/arm-linux-gnueabihf
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin /<<PKGBUILDDIR>>/debian/tmp/usr/include /<<PKGBUILDDIR>>/debian/tmp/usr/include/htslib /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man7 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig
if test -n "/htslib"; then mkdir -p -m 755 /<<PKGBUILDDIR>>/debian/tmp/htslib; fi
install -p -m 644 libhts.so /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so.1.16
sed -e 's#@-includedir@#/usr/include#g;s#@-libdir@#/usr/lib/arm-linux-gnueabihf#g;s#@-PACKAGE_VERSION@#1.16#g' htslib.pc.tmp > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/htslib.pc
ln -sf libhts.so.1.16 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so
ln -sf libhts.so.1.16 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so.3
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/htslib.pc
install -p bgzip htsfile tabix /<<PKGBUILDDIR>>/debian/tmp/usr/bin
if test -n "hfile_libcurl.so hfile_gcs.so hfile_s3.so hfile_s3_write.so"; then install -p hfile_libcurl.so hfile_gcs.so hfile_s3.so hfile_s3_write.so /<<PKGBUILDDIR>>/debian/tmp/htslib; fi
install -p -m 644 htslib/*.h /<<PKGBUILDDIR>>/debian/tmp/usr/include/htslib
install -p -m 644 libhts.a /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.a
install -p -m 644 bgzip.1 htsfile.1 tabix.1 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1
install -p -m 644 faidx.5 sam.5 vcf.5 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5
install -p -m 644 htslib-s3-plugin.7 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man7
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
# restore clean copy of test dir before dh_install is run
# This should not be done earlier since dh_auto_install contains some unconditional removals
rm -f -r test
mv test_backup test
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -a
	install -d debian/libhts3/usr/lib/arm-linux-gnueabihf
	cp --reflink=auto -a ./debian/tmp/htslib debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so.1.16 debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so.3 debian/libhts3/usr/lib/arm-linux-gnueabihf/
	install -d debian/libhts3/usr/share/man/man5
	cp --reflink=auto -a debian/tmp/usr/share/man/man5/faidx.5 debian/tmp/usr/share/man/man5/sam.5 debian/tmp/usr/share/man/man5/vcf.5 debian/libhts3/usr/share/man/man5/
	install -d debian/.debhelper/generated/libhts3
	install -d debian/libhts-dev/usr/include
	cp --reflink=auto -a debian/tmp/usr/include/htslib debian/libhts-dev/usr/include/
	install -d debian/libhts-dev/usr/lib/arm-linux-gnueabihf
	cp --reflink=auto -a debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.a debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so debian/libhts-dev/usr/lib/arm-linux-gnueabihf/
	install -d debian/libhts-dev/usr/lib/arm-linux-gnueabihf/pkgconfig
	cp --reflink=auto -a debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/htslib.pc debian/libhts-dev/usr/lib/arm-linux-gnueabihf/pkgconfig/
	install -d debian/.debhelper/generated/libhts-dev
	install -d debian/.debhelper/generated/htslib-test
	install -d debian/tabix/usr/bin
	cp --reflink=auto -a ./bgzip ./htsfile ./tabix debian/tabix/usr/bin/
	install -d debian/.debhelper/generated/tabix
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installdocs
	install -d debian/libhts3/usr/share/doc/libhts3
	install -p -m0644 debian/copyright debian/libhts3/usr/share/doc/libhts3/copyright
	install -d debian/libhts-dev/usr/share/doc/libhts-dev
	cp --reflink=auto -a ./debian/README.test debian/libhts-dev/usr/share/doc/libhts-dev
	cp --reflink=auto -a ./README debian/libhts-dev/usr/share/doc/libhts-dev
	cp --reflink=auto -a ./README.large_positions.md debian/libhts-dev/usr/share/doc/libhts-dev
	chmod -R u\+rw,go=rX debian/libhts-dev/usr/share/doc
	install -p -m0644 debian/copyright debian/libhts-dev/usr/share/doc/libhts-dev/copyright
	install -d debian/tabix/usr/share/doc/tabix
	install -p -m0644 debian/copyright debian/tabix/usr/share/doc/tabix/copyright
# Fix Perl interpreter path
for pl in `grep -Rl '#!/usr/bin/env[[:space:]]\+perl' debian/*/usr/*` ; do \
    sed -i '1s?^#!/usr/bin/env[[:space:]]\+perl?#!/usr/bin/perl?' ${pl} ; \
done
grep: debian/libhts-dev/usr/lib/arm-linux-gnueabihf/libhts.so: No such file or directory
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_installchangelogs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installchangelogs NEWS
	install -p -m0644 debian/changelog debian/tabix/usr/share/doc/tabix/changelog.Debian
	install -p -m0644 NEWS debian/tabix/usr/share/doc/tabix/changelog
	install -p -m0644 debian/changelog debian/libhts3/usr/share/doc/libhts3/changelog.Debian
	install -p -m0644 NEWS debian/libhts3/usr/share/doc/libhts3/changelog
	install -p -m0644 debian/changelog debian/libhts-dev/usr/share/doc/libhts-dev/changelog.Debian
	install -p -m0644 NEWS debian/libhts-dev/usr/share/doc/libhts-dev/changelog
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installman -a
	install -d debian/libhts3/usr/share/man/man7/
	install -p -m0644 ./htslib-s3-plugin.7 debian/libhts3/usr/share/man/man7/htslib-s3-plugin.7
	install -d debian/tabix/usr/share/man/man1/
	install -p -m0644 ./htsfile.1 debian/tabix/usr/share/man/man1/htsfile.1
	install -p -m0644 ./tabix.1 debian/tabix/usr/share/man/man1/tabix.1
	install -p -m0644 ./bgzip.1 debian/tabix/usr/share/man/man1/bgzip.1
	man-recode --to-code UTF-8 --suffix .dh-new debian/libhts3/usr/share/man/man5/faidx.5 debian/libhts3/usr/share/man/man5/sam.5
	man-recode --to-code UTF-8 --suffix .dh-new debian/libhts3/usr/share/man/man5/vcf.5 debian/libhts3/usr/share/man/man7/htslib-s3-plugin.7
	man-recode --to-code UTF-8 --suffix .dh-new debian/tabix/usr/share/man/man1/tabix.1
	man-recode --to-code UTF-8 --suffix .dh-new debian/tabix/usr/share/man/man1/bgzip.1 debian/tabix/usr/share/man/man1/htsfile.1
	mv debian/tabix/usr/share/man/man1/tabix.1.dh-new debian/tabix/usr/share/man/man1/tabix.1
	chmod 0644 -- debian/tabix/usr/share/man/man1/tabix.1
	mv debian/libhts3/usr/share/man/man5/vcf.5.dh-new debian/libhts3/usr/share/man/man5/vcf.5
	mv debian/libhts3/usr/share/man/man7/htslib-s3-plugin.7.dh-new debian/libhts3/usr/share/man/man7/htslib-s3-plugin.7
	chmod 0644 -- debian/libhts3/usr/share/man/man5/vcf.5 debian/libhts3/usr/share/man/man7/htslib-s3-plugin.7
	mv debian/libhts3/usr/share/man/man5/faidx.5.dh-new debian/libhts3/usr/share/man/man5/faidx.5
	mv debian/libhts3/usr/share/man/man5/sam.5.dh-new debian/libhts3/usr/share/man/man5/sam.5
	chmod 0644 -- debian/libhts3/usr/share/man/man5/faidx.5 debian/libhts3/usr/share/man/man5/sam.5
	mv debian/tabix/usr/share/man/man1/bgzip.1.dh-new debian/tabix/usr/share/man/man1/bgzip.1
	mv debian/tabix/usr/share/man/man1/htsfile.1.dh-new debian/tabix/usr/share/man/man1/htsfile.1
	chmod 0644 -- debian/tabix/usr/share/man/man1/bgzip.1 debian/tabix/usr/share/man/man1/htsfile.1
   dh_perl -a
   dh_link -a
	rm -f debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.3
	ln -s libhts.so.1.16 debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.3
	rm -f debian/libhts-dev/usr/lib/arm-linux-gnueabihf/libhts.so
	ln -s libhts.so.1.16 debian/libhts-dev/usr/lib/arm-linux-gnueabihf/libhts.so
	rm -f debian/tabix/usr/share/man/man1/bgzip.1.gz
	ln -s tabix.1.gz debian/tabix/usr/share/man/man1/bgzip.1.gz
   dh_strip_nondeterminism -a
   dh_compress -a
	cd debian/libhts3
	cd debian/libhts-dev
	cd debian/tabix
	chmod a-x usr/share/doc/tabix/changelog usr/share/doc/tabix/changelog.Debian usr/share/man/man1/bgzip.1 usr/share/man/man1/htsfile.1 usr/share/man/man1/tabix.1
	chmod a-x usr/share/doc/libhts3/changelog usr/share/doc/libhts3/changelog.Debian usr/share/man/man5/faidx.5 usr/share/man/man5/sam.5 usr/share/man/man5/vcf.5 usr/share/man/man7/htslib-s3-plugin.7
	chmod a-x usr/share/doc/libhts-dev/README.large_positions.md usr/share/doc/libhts-dev/changelog usr/share/doc/libhts-dev/changelog.Debian
	gzip -9nf usr/share/doc/tabix/changelog usr/share/doc/tabix/changelog.Debian usr/share/man/man1/bgzip.1 usr/share/man/man1/htsfile.1 usr/share/man/man1/tabix.1
	gzip -9nf usr/share/doc/libhts3/changelog usr/share/doc/libhts3/changelog.Debian usr/share/man/man5/faidx.5 usr/share/man/man5/sam.5 usr/share/man/man5/vcf.5 usr/share/man/man7/htslib-s3-plugin.7
	gzip -9nf usr/share/doc/libhts-dev/README.large_positions.md usr/share/doc/libhts-dev/changelog usr/share/doc/libhts-dev/changelog.Debian
	cd '/<<PKGBUILDDIR>>'
	cd '/<<PKGBUILDDIR>>'
	cd '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_fixperms
	find debian/libhts3 ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/libhts-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/tabix ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/libhts3/usr/share/doc -type f -a -true -a ! -regex 'debian/libhts3/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts-dev/usr/share/doc -type f -a -true -a ! -regex 'debian/libhts-dev/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/tabix/usr/share/doc -type f -a -true -a ! -regex 'debian/tabix/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts-dev/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/libhts3/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/tabix/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/libhts3/usr/share/man -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/tabix/usr/share/man -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts-dev/usr/include -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts3 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/tabix -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts-dev -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/tabix/usr/bin -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod a+x
	find debian/libhts3/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
	find debian/libhts-dev/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
find debian -name simple_test_driver.sh -exec chmod +x \{\} \;
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_missing
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# FIXME: No idea why these files are remaining in debian/tmp
rm -rf debian/tmp/usr/bin debian/tmp/usr/share/man
dh_missing
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_dwz -a
	install -d debian/libhts3/usr/lib/debug/.dwz/arm-linux-gnueabihf
	dwz -mdebian/libhts3/usr/lib/debug/.dwz/arm-linux-gnueabihf/libhts3.debug -M/usr/lib/debug/.dwz/arm-linux-gnueabihf/libhts3.debug -- debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_gcs.so debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_libcurl.so debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3.so debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3_write.so debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.16
	install -d debian/tabix/usr/lib/debug/.dwz/arm-linux-gnueabihf
	dwz -mdebian/tabix/usr/lib/debug/.dwz/arm-linux-gnueabihf/tabix.debug -M/usr/lib/debug/.dwz/arm-linux-gnueabihf/tabix.debug -- debian/tabix/usr/bin/bgzip debian/tabix/usr/bin/htsfile debian/tabix/usr/bin/tabix
dwz: debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3.so: DWARF compression not beneficial - old size 34948 new size 34990
dwz: debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.16: DWARF compression not beneficial - old size 808934 new size 827417
	objcopy --compress-debug-sections debian/libhts3/usr/lib/debug/.dwz/arm-linux-gnueabihf/libhts3.debug
	objcopy --compress-debug-sections debian/tabix/usr/lib/debug/.dwz/arm-linux-gnueabihf/tabix.debug
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_strip
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# This is apparently important for the interpretation by ldc2 in sambamba
dh_strip -Xlibhts.a
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/51
	objcopy --only-keep-debug --compress-debug-sections debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.16 debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/51/40b0818b7e3e5b417c0d1d70cb8205117097b8.debug
	install -d debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/05
	objcopy --only-keep-debug --compress-debug-sections debian/tabix/usr/bin/bgzip debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/05/95c1db97b98d0bf7b6243e0e8281182e0f2081.debug
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/05/95c1db97b98d0bf7b6243e0e8281182e0f2081.debug
	strip --remove-section=.comment --remove-section=.note debian/tabix/usr/bin/bgzip
	objcopy --add-gnu-debuglink debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/05/95c1db97b98d0bf7b6243e0e8281182e0f2081.debug debian/tabix/usr/bin/bgzip
	install -d debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/68
	objcopy --only-keep-debug --compress-debug-sections debian/tabix/usr/bin/htsfile debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/68/db10a23fea26a30e8edc2e9cf96bdc89d6338c.debug
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/51/40b0818b7e3e5b417c0d1d70cb8205117097b8.debug
	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.16
	objcopy --add-gnu-debuglink debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/51/40b0818b7e3e5b417c0d1d70cb8205117097b8.debug debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.16
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/83
	objcopy --only-keep-debug --compress-debug-sections debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3.so debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/83/7731c4f2fd504678abcf6a45721c167df0bff1.debug
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/83/7731c4f2fd504678abcf6a45721c167df0bff1.debug
	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3.so
	objcopy --add-gnu-debuglink debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/83/7731c4f2fd504678abcf6a45721c167df0bff1.debug debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3.so
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/19
	objcopy --only-keep-debug --compress-debug-sections debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_gcs.so debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/19/47f8f208746b6d2e53dd511e4f82fca28e4fce.debug
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/19/47f8f208746b6d2e53dd511e4f82fca28e4fce.debug
	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_gcs.so
	objcopy --add-gnu-debuglink debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/19/47f8f208746b6d2e53dd511e4f82fca28e4fce.debug debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_gcs.so
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/6e
	objcopy --only-keep-debug --compress-debug-sections debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_libcurl.so debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/6e/f6923a7587aa0b35f71828dc5a4ccf069bd1b2.debug
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/6e/f6923a7587aa0b35f71828dc5a4ccf069bd1b2.debug
	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_libcurl.so
	objcopy --add-gnu-debuglink debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/6e/f6923a7587aa0b35f71828dc5a4ccf069bd1b2.debug debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_libcurl.so
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/5e
	objcopy --only-keep-debug --compress-debug-sections debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3_write.so debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/5e/c6f0aebe5d39db978b111a1cfb632af2bb0323.debug
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/5e/c6f0aebe5d39db978b111a1cfb632af2bb0323.debug
	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3_write.so
	objcopy --add-gnu-debuglink debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/5e/c6f0aebe5d39db978b111a1cfb632af2bb0323.debug debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3_write.so
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.dwz
	cp --reflink=auto -a debian/libhts3/usr/lib/debug/.dwz/arm-linux-gnueabihf debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.dwz
	rm -fr debian/libhts3/usr/lib/debug/.dwz
	rmdir -p --ignore-fail-on-non-empty debian/libhts3/usr/lib/debug
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/share/doc
	ln -s libhts3 debian/.debhelper/libhts3/dbgsym-root/usr/share/doc/libhts3-dbgsym
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/68/db10a23fea26a30e8edc2e9cf96bdc89d6338c.debug
	strip --remove-section=.comment --remove-section=.note debian/tabix/usr/bin/htsfile
	objcopy --add-gnu-debuglink debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/68/db10a23fea26a30e8edc2e9cf96bdc89d6338c.debug debian/tabix/usr/bin/htsfile
	install -d debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/04
	objcopy --only-keep-debug --compress-debug-sections debian/tabix/usr/bin/tabix debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/04/a7a42d7c2e26f478ffc07ddd2f3412436ed274.debug
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/04/a7a42d7c2e26f478ffc07ddd2f3412436ed274.debug
	strip --remove-section=.comment --remove-section=.note debian/tabix/usr/bin/tabix
	objcopy --add-gnu-debuglink debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/04/a7a42d7c2e26f478ffc07ddd2f3412436ed274.debug debian/tabix/usr/bin/tabix
	install -d debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.dwz
	cp --reflink=auto -a debian/tabix/usr/lib/debug/.dwz/arm-linux-gnueabihf debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.dwz
	rm -fr debian/tabix/usr/lib/debug/.dwz
	rmdir -p --ignore-fail-on-non-empty debian/tabix/usr/lib/debug
	install -d debian/.debhelper/tabix/dbgsym-root/usr/share/doc
	ln -s tabix debian/.debhelper/tabix/dbgsym-root/usr/share/doc/tabix-dbgsym
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_makeshlibs -a
	rm -f debian/libhts3/DEBIAN/shlibs
	install -d debian/libhts3/DEBIAN
	echo "libhts 3 libhts3 (>= 1.16+ds)" >> debian/libhts3/DEBIAN/shlibs
	chmod 0644 -- debian/libhts3/DEBIAN/shlibs
	dpkg-gensymbols -plibhts3 -Idebian/libhts3.symbols -Pdebian/libhts3 -edebian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.16
	mv debian/.debhelper/generated/libhts3/triggers.new debian/.debhelper/generated/libhts3/triggers
	rm -f debian/libhts-dev/DEBIAN/shlibs
	rm -f debian/tabix/DEBIAN/shlibs
   dh_shlibdeps -a
	dpkg-shlibdeps -Tdebian/libhts3.substvars debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.16 debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3.so debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_gcs.so debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_libcurl.so debian/libhts3/usr/lib/arm-linux-gnueabihf/htslib/hfile_s3_write.so
	install -d debian/tabix/DEBIAN
	dpkg-shlibdeps -Tdebian/tabix.substvars debian/tabix/usr/bin/bgzip debian/tabix/usr/bin/htsfile debian/tabix/usr/bin/tabix
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/tabix/usr/bin/bgzip debian/tabix/usr/bin/htsfile debian/tabix/usr/bin/tabix were not linked against ld-linux-armhf.so.3 (they use none of the library's symbols)
   dh_installdeb -a
	install -p -m0644 debian/.debhelper/generated/libhts3/triggers debian/libhts3/DEBIAN/triggers
	install -d debian/libhts-dev/DEBIAN
   dh_gencontrol -a
	echo misc:Depends= >> debian/libhts-dev.substvars
	echo misc:Pre-Depends= >> debian/libhts-dev.substvars
	dpkg-gencontrol -plibhts-dev -ldebian/changelog -Tdebian/libhts-dev.substvars -Pdebian/libhts-dev
	echo misc:Depends= >> debian/libhts3.substvars
	echo misc:Pre-Depends= >> debian/libhts3.substvars
	install -d debian/.debhelper/libhts3/dbgsym-root/DEBIAN
	dpkg-gencontrol -plibhts3 -ldebian/changelog -Tdebian/libhts3.substvars -Pdebian/.debhelper/libhts3/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using -DAuto-Built-Package=debug-symbols -UProtected -DPackage=libhts3-dbgsym "-DDepends=libhts3 (= \${binary:Version})" "-DDescription=debug symbols for libhts3" "-DBuild-Ids=1947f8f208746b6d2e53dd511e4f82fca28e4fce 5140b0818b7e3e5b417c0d1d70cb8205117097b8 5ec6f0aebe5d39db978b111a1cfb632af2bb0323 6ef6923a7587aa0b35f71828dc5a4ccf069bd1b2 837731c4f2fd504678abcf6a45721c167df0bff1" -DSection=debug -UReplaces -UBreaks
	echo misc:Depends= >> debian/tabix.substvars
	echo misc:Pre-Depends= >> debian/tabix.substvars
	install -d debian/.debhelper/tabix/dbgsym-root/DEBIAN
	dpkg-gencontrol -ptabix -ldebian/changelog -Tdebian/tabix.substvars -Pdebian/.debhelper/tabix/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using -DAuto-Built-Package=debug-symbols -UProtected -DPackage=tabix-dbgsym "-DDepends=tabix (= \${binary:Version})" "-DDescription=debug symbols for tabix" "-DBuild-Ids=04a7a42d7c2e26f478ffc07ddd2f3412436ed274 0595c1db97b98d0bf7b6243e0e8281182e0f2081 68db10a23fea26a30e8edc2e9cf96bdc89d6338c" -DSection=debug -UMulti-Arch -UReplaces -UBreaks
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/DEBIAN/control
	dpkg-gencontrol -ptabix -ldebian/changelog -Tdebian/tabix.substvars -Pdebian/tabix
	chmod 0644 -- debian/libhts-dev/DEBIAN/control
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/DEBIAN/control
	dpkg-gencontrol -plibhts3 -ldebian/changelog -Tdebian/libhts3.substvars -Pdebian/libhts3
	chmod 0644 -- debian/tabix/DEBIAN/control
	chmod 0644 -- debian/libhts3/DEBIAN/control
   dh_md5sums -a
	cd debian/libhts3 >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	cd debian/tabix >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	cd debian/libhts-dev >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	chmod 0644 -- debian/libhts3/DEBIAN/md5sums
	cd debian/.debhelper/libhts3/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	chmod 0644 -- debian/tabix/DEBIAN/md5sums
	cd debian/.debhelper/tabix/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	chmod 0644 -- debian/libhts-dev/DEBIAN/md5sums
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/DEBIAN/md5sums
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/DEBIAN/md5sums
   dh_builddeb -a
	dpkg-deb --root-owner-group --build debian/libhts3 ..
	dpkg-deb --root-owner-group --build debian/libhts-dev ..
	dpkg-deb --root-owner-group --build debian/.debhelper/tabix/dbgsym-root ..
dpkg-deb: building package 'libhts-dev' in '../libhts-dev_1.16+ds-2_armhf.deb'.
dpkg-deb: building package 'tabix-dbgsym' in '../tabix-dbgsym_1.16+ds-2_armhf.deb'.
dpkg-deb: building package 'libhts3' in '../libhts3_1.16+ds-2_armhf.deb'.
	dpkg-deb --root-owner-group --build debian/.debhelper/libhts3/dbgsym-root ..
dpkg-deb: building package 'libhts3-dbgsym' in '../libhts3-dbgsym_1.16+ds-2_armhf.deb'.
	dpkg-deb --root-owner-group --build debian/tabix ..
dpkg-deb: building package 'tabix' in '../tabix_1.16+ds-2_armhf.deb'.
 dpkg-genbuildinfo --build=any -O../htslib_1.16+ds-2_armhf.buildinfo
 dpkg-genchanges --build=any -mRaspbian pi4 based autobuilder <root@raspbian.org> -O../htslib_1.16+ds-2_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build .
dpkg-source: info: using options from htslib-1.16+ds/debian/source/options: --single-debian-patch --extend-diff-ignore=^(\.travis\.yml|README.md|aclocal.m4|config.h.in|configure)$
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2022-10-07T05:02:40Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


htslib_1.16+ds-2_armhf.changes:
-------------------------------

Format: 1.8
Date: Sat, 01 Oct 2022 11:01:03 +0530
Source: htslib
Binary: libhts-dev libhts3 libhts3-dbgsym tabix tabix-dbgsym
Architecture: armhf
Version: 1.16+ds-2
Distribution: bookworm-staging
Urgency: medium
Maintainer: Raspbian pi4 based autobuilder <root@raspbian.org>
Changed-By: Nilesh Patra <nilesh@debian.org>
Description:
 libhts-dev - development files for the HTSlib
 libhts3    - C library for high-throughput sequencing data formats
 tabix      - generic indexer for TAB-delimited genome position files
Changes:
 htslib (1.16+ds-2) unstable; urgency=medium
 .
   * Team Upload.
   * Copy htslib.pc.in also to AUTOPKGTEST_TMP
   * Pass correct upstream version so as to not get the +ds
     non-sense in SOVERSIONS
Checksums-Sha1:
 5b8d7ebf7398544c84fd957a0d22973ec0509cc4 6467 htslib_1.16+ds-2_armhf.buildinfo
 15423a88a67a35be352b411ebbe4d58900b2be66 1483104 libhts-dev_1.16+ds-2_armhf.deb
 37ef73da45f25cc6dbebe3ce08198416473d4da7 1152444 libhts3-dbgsym_1.16+ds-2_armhf.deb
 e3ae050dedf1917f03e1d07de72f64348169974b 370728 libhts3_1.16+ds-2_armhf.deb
 da9516d0e5eca2ae01498f7666a4ff6b2d5029f6 2475876 tabix-dbgsym_1.16+ds-2_armhf.deb
 075a3672a81392ce808f6672b61fad76494a046e 344092 tabix_1.16+ds-2_armhf.deb
Checksums-Sha256:
 c568d020ef136a00f82b8c162933740a52f5c375c6664e38f50f4fe9477cb815 6467 htslib_1.16+ds-2_armhf.buildinfo
 7308ab843595dd7d57535849c8e66aa7cccc6fd5a623eaaaf680dcc09ebb80a1 1483104 libhts-dev_1.16+ds-2_armhf.deb
 530ffcb310317f778bc709119627adcea4ef62dd100732b6c81d6255563515b8 1152444 libhts3-dbgsym_1.16+ds-2_armhf.deb
 704ce35a4282a64e0605f73d7ff67e65c73a27593384c66eec1ffd1b0179d54d 370728 libhts3_1.16+ds-2_armhf.deb
 7484db604403e8099fd2ed2c713287b751f16d87f9676983c9f3f5d4d4e65652 2475876 tabix-dbgsym_1.16+ds-2_armhf.deb
 d324c0910eabda4a11d058dccfaab945b706402af1d8a2b4b3a9f700d6b53a86 344092 tabix_1.16+ds-2_armhf.deb
Files:
 b237ca24a7e481b4c904a7f62ae55198 6467 science optional htslib_1.16+ds-2_armhf.buildinfo
 82d0757ec18b2457ed13768496082a53 1483104 libdevel optional libhts-dev_1.16+ds-2_armhf.deb
 5f56c9206d138d2487487dafb796bb05 1152444 debug optional libhts3-dbgsym_1.16+ds-2_armhf.deb
 df669b54477fad6938170bd0226c67c0 370728 libs optional libhts3_1.16+ds-2_armhf.deb
 0b49b283dac3c95899e8dcda16bc6e23 2475876 debug optional tabix-dbgsym_1.16+ds-2_armhf.deb
 b2c912cf5a2fcbb8eb33b5386532bc9d 344092 science optional tabix_1.16+ds-2_armhf.deb

+------------------------------------------------------------------------------+
| Buildinfo                                                                    |
+------------------------------------------------------------------------------+

Format: 1.0
Source: htslib
Binary: libhts-dev libhts3 libhts3-dbgsym tabix tabix-dbgsym
Architecture: armhf
Version: 1.16+ds-2
Checksums-Md5:
 82d0757ec18b2457ed13768496082a53 1483104 libhts-dev_1.16+ds-2_armhf.deb
 5f56c9206d138d2487487dafb796bb05 1152444 libhts3-dbgsym_1.16+ds-2_armhf.deb
 df669b54477fad6938170bd0226c67c0 370728 libhts3_1.16+ds-2_armhf.deb
 0b49b283dac3c95899e8dcda16bc6e23 2475876 tabix-dbgsym_1.16+ds-2_armhf.deb
 b2c912cf5a2fcbb8eb33b5386532bc9d 344092 tabix_1.16+ds-2_armhf.deb
Checksums-Sha1:
 15423a88a67a35be352b411ebbe4d58900b2be66 1483104 libhts-dev_1.16+ds-2_armhf.deb
 37ef73da45f25cc6dbebe3ce08198416473d4da7 1152444 libhts3-dbgsym_1.16+ds-2_armhf.deb
 e3ae050dedf1917f03e1d07de72f64348169974b 370728 libhts3_1.16+ds-2_armhf.deb
 da9516d0e5eca2ae01498f7666a4ff6b2d5029f6 2475876 tabix-dbgsym_1.16+ds-2_armhf.deb
 075a3672a81392ce808f6672b61fad76494a046e 344092 tabix_1.16+ds-2_armhf.deb
Checksums-Sha256:
 7308ab843595dd7d57535849c8e66aa7cccc6fd5a623eaaaf680dcc09ebb80a1 1483104 libhts-dev_1.16+ds-2_armhf.deb
 530ffcb310317f778bc709119627adcea4ef62dd100732b6c81d6255563515b8 1152444 libhts3-dbgsym_1.16+ds-2_armhf.deb
 704ce35a4282a64e0605f73d7ff67e65c73a27593384c66eec1ffd1b0179d54d 370728 libhts3_1.16+ds-2_armhf.deb
 7484db604403e8099fd2ed2c713287b751f16d87f9676983c9f3f5d4d4e65652 2475876 tabix-dbgsym_1.16+ds-2_armhf.deb
 d324c0910eabda4a11d058dccfaab945b706402af1d8a2b4b3a9f700d6b53a86 344092 tabix_1.16+ds-2_armhf.deb
Build-Origin: Raspbian
Build-Architecture: armhf
Build-Date: Fri, 07 Oct 2022 05:02:39 +0000
Build-Path: /<<PKGBUILDDIR>>
Installed-Build-Depends:
 autoconf (= 2.71-2),
 automake (= 1:1.16.5-1.3),
 autopoint (= 0.21-9),
 autotools-dev (= 20220109.1),
 base-files (= 12.2+rpi1),
 base-passwd (= 3.6.1),
 bash (= 5.2~rc2-2),
 binutils (= 2.39-6+rpi1),
 binutils-arm-linux-gnueabihf (= 2.39-6+rpi1),
 binutils-common (= 2.39-6+rpi1),
 bsdextrautils (= 2.38.1-1),
 bsdutils (= 1:2.38.1-1),
 build-essential (= 12.9),
 bzip2 (= 1.0.8-5+b2),
 coreutils (= 9.1-1),
 cpp (= 4:12.2.0-1+rpi1),
 cpp-12 (= 12.2.0-3+rpi1),
 dash (= 0.5.11+git20210903+057cd650a4ed-9),
 debconf (= 1.5.79),
 debhelper (= 13.9.1),
 debianutils (= 5.7-0.3),
 dh-autoreconf (= 20),
 dh-exec (= 0.27),
 dh-strip-nondeterminism (= 1.13.0-1),
 diffutils (= 1:3.8-1),
 dpkg (= 1.21.9+rpi1),
 dpkg-dev (= 1.21.9+rpi1),
 dwz (= 0.14+20220924-2),
 file (= 1:5.41-4),
 findutils (= 4.9.0-3),
 g++ (= 4:12.2.0-1+rpi1),
 g++-12 (= 12.2.0-3+rpi1),
 gcc (= 4:12.2.0-1+rpi1),
 gcc-12 (= 12.2.0-3+rpi1),
 gcc-12-base (= 12.2.0-3+rpi1),
 gettext (= 0.21-9),
 gettext-base (= 0.21-9),
 grep (= 3.7-1),
 groff-base (= 1.22.4-8),
 gzip (= 1.12-1),
 hostname (= 3.23),
 init-system-helpers (= 1.64),
 intltool-debian (= 0.35.0+20060710.5),
 libacl1 (= 2.3.1-1),
 libarchive-zip-perl (= 1.68-1),
 libasan8 (= 12.2.0-3+rpi1),
 libatomic1 (= 12.2.0-3+rpi1),
 libattr1 (= 1:2.5.1-1),
 libaudit-common (= 1:3.0.7-1.1),
 libaudit1 (= 1:3.0.7-1.1),
 libbinutils (= 2.39-6+rpi1),
 libblkid1 (= 2.38.1-1),
 libbrotli1 (= 1.0.9-2+b2),
 libbz2-1.0 (= 1.0.8-5+b2),
 libbz2-dev (= 1.0.8-5+b2),
 libc-bin (= 2.35-1+rpi2),
 libc-dev-bin (= 2.35-1+rpi2),
 libc6 (= 2.35-1+rpi2),
 libc6-dev (= 2.35-1+rpi2),
 libcap-ng0 (= 0.8.3-1),
 libcap2 (= 1:2.44-1),
 libcc1-0 (= 12.2.0-3+rpi1),
 libcom-err2 (= 1.46.6~rc1-1),
 libcrypt-dev (= 1:4.4.28-2),
 libcrypt1 (= 1:4.4.28-2),
 libctf-nobfd0 (= 2.39-6+rpi1),
 libctf0 (= 2.39-6+rpi1),
 libcurl3-gnutls (= 7.85.0-1),
 libcurl4-gnutls-dev (= 7.85.0-1),
 libdb5.3 (= 5.3.28+dfsg1-0.10),
 libdebconfclient0 (= 0.264),
 libdebhelper-perl (= 13.9.1),
 libdeflate-dev (= 1.12-1),
 libdeflate0 (= 1.12-1),
 libdpkg-perl (= 1.21.9+rpi1),
 libelf1 (= 0.187-2+rpi2),
 libffi8 (= 3.4.2-4),
 libfile-stripnondeterminism-perl (= 1.13.0-1),
 libgcc-12-dev (= 12.2.0-3+rpi1),
 libgcc-s1 (= 12.2.0-3+rpi1),
 libgcrypt20 (= 1.10.1-2+b2),
 libgdbm-compat4 (= 1.23-2),
 libgdbm6 (= 1.23-2),
 libgmp10 (= 2:6.2.1+dfsg1-1),
 libgnutls30 (= 3.7.7-2),
 libgomp1 (= 12.2.0-3+rpi1),
 libgpg-error0 (= 1.45-2),
 libgssapi-krb5-2 (= 1.20-1),
 libhogweed6 (= 3.8.1-2),
 libhtscodecs-dev (= 1.3.0-3),
 libhtscodecs2 (= 1.3.0-3),
 libicu71 (= 71.1-3),
 libidn2-0 (= 2.3.3-1),
 libisl23 (= 0.25-1),
 libk5crypto3 (= 1.20-1),
 libkeyutils1 (= 1.6.3-1),
 libkrb5-3 (= 1.20-1),
 libkrb5support0 (= 1.20-1),
 libldap-2.5-0 (= 2.5.13+dfsg-2+rpi1),
 liblz4-1 (= 1.9.4-1+rpi1),
 liblzma-dev (= 5.2.5-2.1),
 liblzma5 (= 5.2.5-2.1),
 libmagic-mgc (= 1:5.41-4),
 libmagic1 (= 1:5.41-4),
 libmount1 (= 2.38.1-1),
 libmpc3 (= 1.2.1-2),
 libmpfr6 (= 4.1.0-3),
 libnettle8 (= 3.8.1-2),
 libnghttp2-14 (= 1.50.0-1),
 libnsl-dev (= 1.3.0-2),
 libnsl2 (= 1.3.0-2),
 libp11-kit0 (= 0.24.1-1),
 libpam-modules (= 1.5.2-2),
 libpam-modules-bin (= 1.5.2-2),
 libpam-runtime (= 1.5.2-2),
 libpam0g (= 1.5.2-2),
 libpcre2-8-0 (= 10.40-1+b2),
 libpcre3 (= 2:8.39-14),
 libperl5.34 (= 5.34.0-5),
 libpipeline1 (= 1.5.6-3),
 libpsl5 (= 0.21.0-1.2),
 librtmp1 (= 2.4+20151223.gitfa8646d.1-2+b2),
 libsasl2-2 (= 2.1.28+dfsg-8),
 libsasl2-modules-db (= 2.1.28+dfsg-8),
 libseccomp2 (= 2.5.4-1+rpi1),
 libselinux1 (= 3.4-1),
 libsmartcols1 (= 2.38.1-1),
 libssh2-1 (= 1.10.0-3+b1),
 libssl-dev (= 3.0.5-2),
 libssl3 (= 3.0.5-2),
 libstdc++-12-dev (= 12.2.0-3+rpi1),
 libstdc++6 (= 12.2.0-3+rpi1),
 libsub-override-perl (= 0.09-3),
 libsystemd0 (= 251.4-3+rpi1),
 libtasn1-6 (= 4.19.0-2),
 libtinfo6 (= 6.3+20220423-2),
 libtirpc-common (= 1.3.3+ds-1),
 libtirpc-dev (= 1.3.3+ds-1),
 libtirpc3 (= 1.3.3+ds-1),
 libtool (= 2.4.7-4),
 libubsan1 (= 12.2.0-3+rpi1),
 libuchardet0 (= 0.0.7-1),
 libudev1 (= 251.4-3+rpi1),
 libunistring2 (= 1.0-1),
 libuuid1 (= 2.38.1-1),
 libxml2 (= 2.9.14+dfsg-1),
 libzstd1 (= 1.5.2+dfsg-1),
 linux-libc-dev (= 5.19.6-1+rpi1),
 login (= 1:4.11.1+dfsg1-2),
 m4 (= 1.4.19-1),
 make (= 4.3-4.1),
 man-db (= 2.10.2-3),
 mawk (= 1.3.4.20200120-3.1),
 ncurses-base (= 6.3+20220423-2),
 ncurses-bin (= 6.3+20220423-2),
 patch (= 2.7.6-7),
 perl (= 5.34.0-5),
 perl-base (= 5.34.0-5),
 perl-modules-5.34 (= 5.34.0-5),
 po-debconf (= 1.0.21+nmu1),
 rpcsvc-proto (= 1.4.2-4),
 sed (= 4.8-1),
 sensible-utils (= 0.0.17),
 sgml-base (= 1.30),
 sysvinit-utils (= 3.05-6),
 tar (= 1.34+dfsg-1),
 util-linux (= 2.38.1-1),
 util-linux-extra (= 2.38.1-1),
 xz-utils (= 5.2.5-2.1),
 zlib1g (= 1:1.2.11.dfsg-4.1),
 zlib1g-dev (= 1:1.2.11.dfsg-4.1)
Environment:
 DEB_BUILD_OPTIONS="parallel=4"
 LANG="en_GB.UTF-8"
 LC_ALL="C.UTF-8"
 SOURCE_DATE_EPOCH="1664602263"


+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


libhts-dev_1.16+ds-2_armhf.deb
------------------------------

 new Debian package, version 2.0.
 size 1483104 bytes: control archive=1980 bytes.
    1213 bytes,    27 lines      control              
    2353 bytes,    36 lines      md5sums              
 Package: libhts-dev
 Source: htslib
 Version: 1.16+ds-2
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 4506
 Depends: libhts3 (= 1.16+ds-2), libcurl4-gnutls-dev, libdeflate-dev, liblzma-dev, zlib1g-dev
 Section: libdevel
 Priority: optional
 Multi-Arch: same
 Homepage: https://github.com/samtools/htslib
 Description: development files for the HTSlib
  HTSlib is an implementation of a unified C library for accessing common file
  formats, such as SAM (Sequence Alignment/Map), CRAM and VCF (Variant Call
  Format), used for high-throughput sequencing data, and is the core library
  used by samtools and bcftools. HTSlib only depends on zlib. It is known to be
  compatible with gcc, g++ and clang.
  .
  HTSlib implements a generalized BAM (binary SAM) index, with file extension
  ‘csi’ (coordinate-sorted index). The HTSlib file reader first looks for the
  new index and then for the old if the new index is absent.
  .
  This package contains development files for the HTSlib: headers, static
  library, manual pages, etc.
  .
  For compatibility with sambamba, the internal routine cram_to_bam was
  exported, hereto adopting a patch found in guix.

drwxr-xr-x root/root         0 2022-10-01 05:31 ./
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/include/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/include/htslib/
-rw-r--r-- root/root     16453 2022-07-27 10:31 ./usr/include/htslib/bgzf.h
-rw-r--r-- root/root     17961 2022-07-27 10:31 ./usr/include/htslib/cram.h
-rw-r--r-- root/root     12934 2020-09-16 09:17 ./usr/include/htslib/faidx.h
-rw-r--r-- root/root     13351 2022-07-27 10:31 ./usr/include/htslib/hfile.h
-rw-r--r-- root/root     57362 2022-08-18 10:55 ./usr/include/htslib/hts.h
-rw-r--r-- root/root      4010 2021-10-15 15:03 ./usr/include/htslib/hts_defs.h
-rw-r--r-- root/root     11708 2022-08-12 11:26 ./usr/include/htslib/hts_endian.h
-rw-r--r-- root/root      5991 2022-07-14 09:33 ./usr/include/htslib/hts_expr.h
-rw-r--r-- root/root      3958 2022-05-13 15:25 ./usr/include/htslib/hts_log.h
-rw-r--r-- root/root      2842 2022-01-11 12:11 ./usr/include/htslib/hts_os.h
-rw-r--r-- root/root      5605 2020-01-23 10:28 ./usr/include/htslib/kbitset.h
-rw-r--r-- root/root      2828 2019-11-19 11:20 ./usr/include/htslib/kfunc.h
-rw-r--r-- root/root     22899 2020-09-16 09:17 ./usr/include/htslib/khash.h
-rw-r--r-- root/root      4050 2020-08-10 08:46 ./usr/include/htslib/khash_str2int.h
-rw-r--r-- root/root      5135 2019-11-19 11:20 ./usr/include/htslib/klist.h
-rw-r--r-- root/root      3733 2022-07-27 10:31 ./usr/include/htslib/knetfile.h
-rw-r--r-- root/root      3295 2020-08-27 10:09 ./usr/include/htslib/kroundup.h
-rw-r--r-- root/root      8916 2021-05-05 16:01 ./usr/include/htslib/kseq.h
-rw-r--r-- root/root     11507 2022-08-16 10:42 ./usr/include/htslib/ksort.h
-rw-r--r-- root/root     11462 2022-07-27 10:31 ./usr/include/htslib/kstring.h
-rw-r--r-- root/root      8881 2020-07-29 13:09 ./usr/include/htslib/regidx.h
-rw-r--r-- root/root     87719 2022-07-27 10:31 ./usr/include/htslib/sam.h
-rw-r--r-- root/root     16293 2021-10-05 14:20 ./usr/include/htslib/synced_bcf_reader.h
-rw-r--r-- root/root      4956 2022-05-13 15:25 ./usr/include/htslib/tbx.h
-rw-r--r-- root/root     12747 2020-09-16 09:17 ./usr/include/htslib/thread_pool.h
-rw-r--r-- root/root     66805 2022-08-13 21:16 ./usr/include/htslib/vcf.h
-rw-r--r-- root/root      1686 2020-07-11 11:34 ./usr/include/htslib/vcf_sweep.h
-rw-r--r-- root/root      4919 2020-09-16 09:17 ./usr/include/htslib/vcfutils.h
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/
-rw-r--r-- root/root   4107316 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/libhts.a
lrwxrwxrwx root/root         0 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/libhts.so -> libhts.so.1.16
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/pkgconfig/
-rw-r--r-- root/root       678 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/pkgconfig/htslib.pc
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/doc/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/doc/libhts-dev/
-rw-r--r-- root/root      2680 2021-04-12 09:37 ./usr/share/doc/libhts-dev/README
-rw-r--r-- root/root      2961 2019-12-10 17:59 ./usr/share/doc/libhts-dev/README.large_positions.md.gz
-rw-r--r-- root/root       401 2022-10-01 03:24 ./usr/share/doc/libhts-dev/README.test
-rw-r--r-- root/root      6101 2022-10-01 05:31 ./usr/share/doc/libhts-dev/changelog.Debian.gz
-rw-r--r-- root/root     29426 2022-08-18 10:55 ./usr/share/doc/libhts-dev/changelog.gz
-rw-r--r-- root/root      5897 2022-10-01 03:24 ./usr/share/doc/libhts-dev/copyright


libhts3-dbgsym_1.16+ds-2_armhf.deb
----------------------------------

 new Debian package, version 2.0.
 size 1152444 bytes: control archive=820 bytes.
     555 bytes,    13 lines      control              
     617 bytes,     6 lines      md5sums              
 Package: libhts3-dbgsym
 Source: htslib
 Version: 1.16+ds-2
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 1222
 Depends: libhts3 (= 1.16+ds-2)
 Section: debug
 Priority: optional
 Multi-Arch: same
 Description: debug symbols for libhts3
 Build-Ids: 1947f8f208746b6d2e53dd511e4f82fca28e4fce 5140b0818b7e3e5b417c0d1d70cb8205117097b8 5ec6f0aebe5d39db978b111a1cfb632af2bb0323 6ef6923a7587aa0b35f71828dc5a4ccf069bd1b2 837731c4f2fd504678abcf6a45721c167df0bff1

drwxr-xr-x root/root         0 2022-10-01 05:31 ./
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/19/
-rw-r--r-- root/root     12772 2022-10-01 05:31 ./usr/lib/debug/.build-id/19/47f8f208746b6d2e53dd511e4f82fca28e4fce.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/51/
-rw-r--r-- root/root   1098064 2022-10-01 05:31 ./usr/lib/debug/.build-id/51/40b0818b7e3e5b417c0d1d70cb8205117097b8.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/5e/
-rw-r--r-- root/root     22704 2022-10-01 05:31 ./usr/lib/debug/.build-id/5e/c6f0aebe5d39db978b111a1cfb632af2bb0323.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/6e/
-rw-r--r-- root/root     35776 2022-10-01 05:31 ./usr/lib/debug/.build-id/6e/f6923a7587aa0b35f71828dc5a4ccf069bd1b2.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/83/
-rw-r--r-- root/root     49792 2022-10-01 05:31 ./usr/lib/debug/.build-id/83/7731c4f2fd504678abcf6a45721c167df0bff1.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.dwz/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/
-rw-r--r-- root/root     12308 2022-10-01 05:31 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/libhts3.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/doc/
lrwxrwxrwx root/root         0 2022-10-01 05:31 ./usr/share/doc/libhts3-dbgsym -> libhts3


libhts3_1.16+ds-2_armhf.deb
---------------------------

 new Debian package, version 2.0.
 size 370728 bytes: control archive=5492 bytes.
    1222 bytes,    23 lines      control              
     887 bytes,    12 lines      md5sums              
      30 bytes,     1 lines      shlibs               
   24988 bytes,   882 lines      symbols              
      67 bytes,     2 lines      triggers             
 Package: libhts3
 Source: htslib
 Version: 1.16+ds-2
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 1126
 Depends: libbz2-1.0, libc6 (>= 2.34), libcurl3-gnutls (>= 7.18.0), libdeflate0 (>= 1.0), libhtscodecs2 (>= 1.3.0), liblzma5 (>= 5.1.1alpha+20120614), libssl3 (>= 3.0.0), zlib1g (>= 1:1.1.4)
 Breaks: ivar (<< 1.3.1~), libhts-dev (<< 1.13~), libtabixpp (<< 1.0.0-5~), samtools (<< 1.13~)
 Replaces: libhts-dev (<< 1.13~)
 Section: libs
 Priority: optional
 Multi-Arch: same
 Homepage: https://github.com/samtools/htslib
 Description: C library for high-throughput sequencing data formats
  HTSlib is an implementation of a unified C library for accessing common file
  formats, such as SAM (Sequence Alignment/Map), CRAM and VCF (Variant Call
  Format), used for high-throughput sequencing data, and is the core library
  used by samtools and bcftools. HTSlib only depends on zlib. It is known to be
  compatible with gcc, g++ and clang.
  .
  HTSlib implements a generalized BAM (binary SAM) index, with file extension
  ‘csi’ (coordinate-sorted index). The HTSlib file reader first looks for the
  new index and then for the old if the new index is absent.

drwxr-xr-x root/root         0 2022-10-01 05:31 ./
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/htslib/
-rw-r--r-- root/root     67004 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/htslib/hfile_gcs.so
-rw-r--r-- root/root     67004 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/htslib/hfile_libcurl.so
-rw-r--r-- root/root     66924 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/htslib/hfile_s3.so
-rw-r--r-- root/root     67004 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/htslib/hfile_s3_write.so
-rw-r--r-- root/root    787948 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/libhts.so.1.16
lrwxrwxrwx root/root         0 2022-10-01 05:31 ./usr/lib/arm-linux-gnueabihf/libhts.so.3 -> libhts.so.1.16
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/doc/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/doc/libhts3/
-rw-r--r-- root/root      6101 2022-10-01 05:31 ./usr/share/doc/libhts3/changelog.Debian.gz
-rw-r--r-- root/root     29426 2022-08-18 10:55 ./usr/share/doc/libhts3/changelog.gz
-rw-r--r-- root/root      5897 2022-10-01 03:24 ./usr/share/doc/libhts3/copyright
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/man/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/man/man5/
-rw-r--r-- root/root      2452 2022-10-01 05:31 ./usr/share/man/man5/faidx.5.gz
-rw-r--r-- root/root      1537 2022-10-01 05:31 ./usr/share/man/man5/sam.5.gz
-rw-r--r-- root/root      1857 2022-10-01 05:31 ./usr/share/man/man5/vcf.5.gz
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/man/man7/
-rw-r--r-- root/root      3418 2022-10-01 05:31 ./usr/share/man/man7/htslib-s3-plugin.7.gz


tabix-dbgsym_1.16+ds-2_armhf.deb
--------------------------------

 new Debian package, version 2.0.
 size 2475876 bytes: control archive=704 bytes.
     450 bytes,    12 lines      control              
     403 bytes,     4 lines      md5sums              
 Package: tabix-dbgsym
 Source: htslib
 Version: 1.16+ds-2
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 2614
 Depends: tabix (= 1.16+ds-2)
 Section: debug
 Priority: optional
 Description: debug symbols for tabix
 Build-Ids: 04a7a42d7c2e26f478ffc07ddd2f3412436ed274 0595c1db97b98d0bf7b6243e0e8281182e0f2081 68db10a23fea26a30e8edc2e9cf96bdc89d6338c

drwxr-xr-x root/root         0 2022-10-01 05:31 ./
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/04/
-rw-r--r-- root/root    930896 2022-10-01 05:31 ./usr/lib/debug/.build-id/04/a7a42d7c2e26f478ffc07ddd2f3412436ed274.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/05/
-rw-r--r-- root/root    747124 2022-10-01 05:31 ./usr/lib/debug/.build-id/05/95c1db97b98d0bf7b6243e0e8281182e0f2081.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.build-id/68/
-rw-r--r-- root/root    906976 2022-10-01 05:31 ./usr/lib/debug/.build-id/68/db10a23fea26a30e8edc2e9cf96bdc89d6338c.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.dwz/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/
-rw-r--r-- root/root     74948 2022-10-01 05:31 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/tabix.debug
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/doc/
lrwxrwxrwx root/root         0 2022-10-01 05:31 ./usr/share/doc/tabix-dbgsym -> tabix


tabix_1.16+ds-2_armhf.deb
-------------------------

 new Debian package, version 2.0.
 size 344092 bytes: control archive=1128 bytes.
     985 bytes,    20 lines      control              
     545 bytes,     9 lines      md5sums              
 Package: tabix
 Source: htslib
 Version: 1.16+ds-2
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 1857
 Depends: libbz2-1.0, libc6 (>= 2.34), libdeflate0 (>= 1.0), libhtscodecs2 (>= 1.3.0), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.1.4)
 Section: science
 Priority: optional
 Homepage: https://github.com/samtools/htslib
 Description: generic indexer for TAB-delimited genome position files
  Tabix indexes files where some columns indicate sequence coordinates: name
  (usually a chromosome), start and stop. The input data file must be position
  sorted and compressed by bgzip (provided in this package), which has a gzip
  like interface. After indexing, tabix is able to quickly retrieve data lines by
  chromosomal coordinates. Fast data retrieval also works over network if an URI
  is given as a file name.
  .
  This package is built from the HTSlib source, and provides the bgzip, htsfile,
  and tabix tools.

drwxr-xr-x root/root         0 2022-10-01 05:31 ./
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/bin/
-rwxr-xr-x root/root    525996 2022-10-01 05:31 ./usr/bin/bgzip
-rwxr-xr-x root/root    657080 2022-10-01 05:31 ./usr/bin/htsfile
-rwxr-xr-x root/root    657076 2022-10-01 05:31 ./usr/bin/tabix
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/doc/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/doc/tabix/
-rw-r--r-- root/root      6101 2022-10-01 05:31 ./usr/share/doc/tabix/changelog.Debian.gz
-rw-r--r-- root/root     29426 2022-08-18 10:55 ./usr/share/doc/tabix/changelog.gz
-rw-r--r-- root/root      5897 2022-10-01 03:24 ./usr/share/doc/tabix/copyright
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/man/
drwxr-xr-x root/root         0 2022-10-01 05:31 ./usr/share/man/man1/
-rw-r--r-- root/root      2663 2022-10-01 05:31 ./usr/share/man/man1/bgzip.1.gz
-rw-r--r-- root/root      1916 2022-10-01 05:31 ./usr/share/man/man1/htsfile.1.gz
-rw-r--r-- root/root      3341 2022-10-01 05:31 ./usr/share/man/man1/tabix.1.gz


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


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

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

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

Build Architecture: armhf
Build Type: any
Build-Space: 60120
Build-Time: 373
Distribution: bookworm-staging
Host Architecture: armhf
Install-Time: 330
Job: htslib_1.16+ds-2
Machine Architecture: armhf
Package: htslib
Package-Time: 735
Source-Version: 1.16+ds-2
Space: 60120
Status: successful
Version: 1.16+ds-2
--------------------------------------------------------------------------------
Finished at 2022-10-07T05:02:40Z
Build needed 00:12:15, 60120k disk space