Back to Multiple platform build/check report for BioC 3.6
ABCDEFGHIJKLMNOPQ[R]STUVWXYZ

CHECK report for Rsamtools on veracruz1

This page was generated on 2018-04-12 13:33:36 -0400 (Thu, 12 Apr 2018).

Package 1216/1472HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
Rsamtools 1.30.0
Bioconductor Package Maintainer
Snapshot Date: 2018-04-11 16:45:18 -0400 (Wed, 11 Apr 2018)
URL: https://git.bioconductor.org/packages/Rsamtools
Branch: RELEASE_3_6
Last Commit: 61b365f
Last Changed Date: 2017-10-30 12:39:29 -0400 (Mon, 30 Oct 2017)
malbec1 Linux (Ubuntu 16.04.1 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
tokay1 Windows Server 2012 R2 Standard / x64  OK  OK  WARNINGS  OK UNNEEDED, same version exists in internal repository
veracruz1 OS X 10.11.6 El Capitan / x86_64  OK  OK [ OK ] OK UNNEEDED, same version exists in internal repository

Summary

Package: Rsamtools
Version: 1.30.0
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --no-vignettes --timings Rsamtools_1.30.0.tar.gz
StartedAt: 2018-04-12 09:02:56 -0400 (Thu, 12 Apr 2018)
EndedAt: 2018-04-12 09:06:30 -0400 (Thu, 12 Apr 2018)
EllapsedTime: 213.9 seconds
RetCode: 0
Status:  OK 
CheckDir: Rsamtools.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --no-vignettes --timings Rsamtools_1.30.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck’
* using R version 3.4.4 (2018-03-15)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘Rsamtools/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘Rsamtools’ version ‘1.30.0’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘Rsamtools’ can be installed ... OK
* checking installed package size ... NOTE
  installed size is  6.0Mb
  sub-directories of 1Mb or more:
    extdata   2.6Mb
    usrlib    1.0Mb
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... NOTE
Unexported objects imported by ':::' calls:
  ‘S4Vectors:::explodeIntBits’ ‘S4Vectors:::implodeIntBits’
  ‘S4Vectors:::makePowersOfTwo’ ‘S4Vectors:::quick_unlist’
  ‘S4Vectors:::selectSome’
  See the note in ?`:::` about the use of this operator.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking compiled code ... NOTE
File ‘Rsamtools/libs/Rsamtools.so’:
  Found ‘___stderrp’, possibly from ‘stderr’ (C)
    Object: ‘samtools_patch.o’

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
* checking sizes of PDF files under ‘inst/doc’ ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU or elapsed time > 5s
         user system elapsed
pileup 29.398  0.161  29.942
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘Rsamtools_unit_tests.R’
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 3 NOTEs
See
  ‘/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/00check.log’
for details.



Installation output

Rsamtools.Rcheck/00install.out

* installing *source* package ‘Rsamtools’ ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c Biostrings_stubs.c -o Biostrings_stubs.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c IRanges_stubs.c -o IRanges_stubs.o
clang++  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c PileupBuffer.cpp -o PileupBuffer.o
In file included from PileupBuffer.cpp:1:
./PileupBuffer.h:56:16: warning: private field 'schema' is not used [-Wunused-private-field]
    const SEXP schema, pileupParams, seqnamesLevels;
               ^
1 warning generated.
clang++  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c PosCacheColl.cpp -o PosCacheColl.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c R_init_Rsamtools.c -o R_init_Rsamtools.o
clang++  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c ResultManager.cpp -o ResultManager.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c S4Vectors_stubs.c -o S4Vectors_stubs.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c XVector_stubs.c -o XVector_stubs.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c as_bam.c -o as_bam.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c bam_data.c -o bam_data.o
clang++  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c bam_mate_iter.cpp -o bam_mate_iter.o
In file included from bam_mate_iter.cpp:2:
In file included from ./BamRangeIterator.h:7:
./BamIterator.h:84:25: warning: field 'iter_done' will be initialized after field 'bam' [-Wreorder]
        bindex(bindex), iter_done(false),
                        ^
./BamIterator.h:85:9: warning: field 'bam' will be initialized after field 'bam_data' [-Wreorder]
        bam((bam1_t *) NULL), bam_data((BAM_DATA) NULL)
        ^
In file included from bam_mate_iter.cpp:2:
./BamRangeIterator.h:11:13: warning: private field 'tid' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
            ^
./BamRangeIterator.h:11:18: warning: private field 'beg' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
                 ^
./BamRangeIterator.h:11:23: warning: private field 'end' is not used [-Wunused-private-field]
    int32_t tid, beg, end;
                      ^
5 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c bambuffer.c -o bambuffer.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c bamfile.c -o bamfile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c bcffile.c -o bcffile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c encode.c -o encode.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c fafile.c -o fafile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c idxstats.c -o idxstats.o
idxstats.c:32:1: warning: unused function 'kh_init_idxstat_hash' [-Wunused-function]
KHASH_MAP_INIT_INT(idxstat_hash, bam_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:68:1: note: expanded from here
kh_init_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_destroy_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:73:1: note: expanded from here
kh_destroy_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_clear_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:76:1: note: expanded from here
kh_clear_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_put_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:85:1: note: expanded from here
kh_put_idxstat_hash
^
idxstats.c:32:1: warning: unused function 'kh_del_idxstat_hash' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:90:1: note: expanded from here
kh_del_idxstat_hash
^
5 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c io_sam.c -o io_sam.o
clang++  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c pbuffer_wrapper.cpp -o pbuffer_wrapper.o
clang++  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c pileup.cpp -o pileup.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c pileupbam.c -o pileupbam.o
pileupbam.c:59:1: warning: unused function 'kh_destroy_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:54:1: note: expanded from here
kh_destroy_s
^
pileupbam.c:59:1: warning: unused function 'kh_clear_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:57:1: note: expanded from here
kh_clear_s
^
pileupbam.c:59:1: warning: unused function 'kh_get_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:60:1: note: expanded from here
kh_get_s
^
pileupbam.c:59:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:71:1: note: expanded from here
kh_del_s
^
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools_patch.c -o samtools_patch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c scan_bam_data.c -o scan_bam_data.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c tabixfile.c -o tabixfile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c tagfilter.c -o tagfilter.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c utilities.c -o utilities.o
utilities.c:91:1: warning: unused function 'kh_clear_str' [-Wunused-function]
KHASH_MAP_INIT_STR(str, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:22:1: note: expanded from here
kh_clear_str
^
utilities.c:91:1: warning: unused function 'kh_del_str' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:36:1: note: expanded from here
kh_del_str
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c zip_compression.c -o zip_compression.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bgzf.c -o samtools/bgzf.o
samtools/bgzf.c:83:1: warning: unused function 'kh_clear_cache' [-Wunused-function]
KHASH_MAP_INIT_INT64(cache, cache_t)
^
./samtools/khash.h:510:2: note: expanded from macro 'KHASH_MAP_INIT_INT64'
        KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:40:1: note: expanded from here
kh_clear_cache
^
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/kstring.c -o samtools/kstring.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_aux.c -o samtools/bam_aux.o
samtools/bam_aux.c:5:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:319:1: note: expanded from here
kh_clear_s
^
samtools/bam_aux.c:5:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:333:1: note: expanded from here
kh_del_s
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_init_r2l' [-Wunused-function]
KHASH_MAP_INIT_STR(r2l, str_p)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:6:1: note: expanded from here
kh_init_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_destroy_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:11:1: note: expanded from here
kh_destroy_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_clear_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:14:1: note: expanded from here
kh_clear_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_get_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:17:1: note: expanded from here
kh_get_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_put_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:23:1: note: expanded from here
kh_put_r2l
^
samtools/bam_aux.c:6:1: warning: unused function 'kh_del_r2l' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:28:1: note: expanded from here
kh_del_r2l
^
8 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam.c -o samtools/bam.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_import.c -o samtools/bam_import.o
samtools/bam_import.c:20:1: warning: unused function 'kh_clear_ref' [-Wunused-function]
KHASH_MAP_INIT_STR(ref, uint64_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:248:1: note: expanded from here
kh_clear_ref
^
samtools/bam_import.c:20:1: warning: unused function 'kh_get_ref' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:251:1: note: expanded from here
kh_get_ref
^
samtools/bam_import.c:20:1: warning: unused function 'kh_del_ref' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:262:1: note: expanded from here
kh_del_ref
^
3 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/sam.c -o samtools/sam.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_index.c -o samtools/bam_index.o
samtools/bam_index.c:64:1: warning: unused function 'kh_clear_i' [-Wunused-function]
KHASH_MAP_INIT_INT(i, bam_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:21:1: note: expanded from here
kh_clear_i
^
samtools/bam_index.c:64:1: warning: unused function 'kh_del_i' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:35:1: note: expanded from here
kh_del_i
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_pileup.c -o samtools/bam_pileup.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_lpileup.c -o samtools/bam_lpileup.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_md.c -o samtools/bam_md.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/razf.c -o samtools/razf.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/faidx.c -o samtools/faidx.o
samtools/faidx.c:14:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, faidx1_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:265:1: note: expanded from here
kh_clear_s
^
samtools/faidx.c:14:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:279:1: note: expanded from here
kh_del_s
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/knetfile.c -o samtools/knetfile.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_sort.c -o samtools/bam_sort.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/sam_header.c -o samtools/sam_header.o
samtools/sam_header.c:10:1: warning: unused function 'kh_clear_str' [-Wunused-function]
KHASH_MAP_INIT_STR(str, const char *)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:265:1: note: expanded from here
kh_clear_str
^
samtools/sam_header.c:10:1: warning: unused function 'kh_del_str' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:279:1: note: expanded from here
kh_del_str
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bam_reheader.c -o samtools/bam_reheader.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/kprobaln.c -o samtools/kprobaln.o
ar -crus libbam.a samtools/bgzf.o samtools/kstring.o samtools/bam_aux.o samtools/bam.o samtools/bam_import.o samtools/sam.o samtools/bam_index.o samtools/bam_pileup.o samtools/bam_lpileup.o samtools/bam_md.o samtools/razf.o samtools/faidx.o samtools/knetfile.o samtools/bam_sort.o samtools/sam_header.o samtools/bam_reheader.o samtools/kprobaln.o samtools_patch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/bcf.c -o samtools/bcftools/bcf.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/vcf.c -o samtools/bcftools/vcf.o
samtools/bcftools/vcf.c:304:15: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
                endblock: i = i;
                          ˜ ^ ˜
samtools/bcftools/vcf.c:68:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(vcfFile, vcfFile_read, 4096)
^
./samtools/kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
./samtools/kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/bcfutils.c -o samtools/bcftools/bcfutils.o
samtools/bcftools/bcfutils.c:13:1: warning: unused function 'kh_clear_str2id' [-Wunused-function]
KHASH_MAP_INIT_STR(str2id, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:74:1: note: expanded from here
kh_clear_str2id
^
samtools/bcftools/bcfutils.c:13:1: warning: unused function 'kh_del_str2id' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:88:1: note: expanded from here
kh_del_str2id
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/prob1.c -o samtools/bcftools/prob1.o
samtools/bcftools/prob1.c:17:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 16384)
^
./samtools/kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
./samtools/kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/index.c -o samtools/bcftools/index.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/fet.c -o samtools/bcftools/fet.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c samtools/bcftools/bcf2qcall.c -o samtools/bcftools/bcf2qcall.o
ar -crus libbcf.a samtools/bcftools/bcf.o samtools/bcftools/vcf.o samtools/bcftools/bcfutils.o samtools/bcftools/prob1.o samtools/bcftools/index.o samtools/bcftools/fet.o samtools/bcftools/bcf2qcall.o samtools_patch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c tabix/index.c -o tabix/index.o
tabix/index.c:34:1: warning: unused function 'kh_clear_i' [-Wunused-function]
KHASH_MAP_INIT_INT(i, ti_binlist_t)
^
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:74:1: note: expanded from here
kh_clear_i
^
tabix/index.c:34:1: warning: unused function 'kh_del_i' [-Wunused-function]
./samtools/khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:88:1: note: expanded from here
kh_del_i
^
tabix/index.c:35:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:103:1: note: expanded from here
kh_clear_s
^
tabix/index.c:35:1: warning: unused function 'kh_del_s' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:117:1: note: expanded from here
kh_del_s
^
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/S4Vectors/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRanges/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/XVector/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Biostrings/include" -I/usr/local/include  -fopenmp -D_USE_KNETFILE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DBGZF_CACHE -Dfprintf=_samtools_fprintf -Dexit=_samtools_exit -Dabort=_samtools_abort -I./samtools -I./samtools/bcftools -I./tabix -fPIC  -Wall -g -O2  -c tabix/bedidx.c -o tabix/bedidx.o
tabix/bedidx.c:20:1: warning: unused function 'kh_clear_reg' [-Wunused-function]
KHASH_MAP_INIT_STR(reg, bed_reglist_t)
^
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:19:1: note: expanded from here
kh_clear_reg
^
tabix/bedidx.c:20:1: warning: unused function 'kh_del_reg' [-Wunused-function]
./samtools/khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./samtools/khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./samtools/khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:33:1: note: expanded from here
kh_del_reg
^
2 warnings generated.
ar -crus libtabix.a samtools/bgzf.o samtools/kstring.o samtools/knetfile.o tabix/index.o tabix/bedidx.o samtools_patch.o
mkdir -p "/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/samtools/bcftools"
mkdir -p "/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/tabix"
cp samtools/*.h "/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/samtools/"
cp samtools/bcftools/*h "/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/samtools/bcftools/"
cp tabix/*h "/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/tabix/"
cp samtools/bgzf.h samtools/kstring.h samtools/knetfile.h \
		"/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/include/tabix/"
mkdir -p "/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib"
cp libbam.a libbcf.a libtabix.a "/Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib"
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o Rsamtools.so Biostrings_stubs.o IRanges_stubs.o PileupBuffer.o PosCacheColl.o R_init_Rsamtools.o ResultManager.o S4Vectors_stubs.o XVector_stubs.o as_bam.o bam_data.o bam_mate_iter.o bambuffer.o bamfile.o bcffile.o encode.o fafile.o idxstats.o io_sam.o pbuffer_wrapper.o pileup.o pileupbam.o samtools_patch.o scan_bam_data.o tabixfile.o tagfilter.o utilities.o zip_compression.o -pthread -fopenmp /Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib/libbam.a /Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib/libbcf.a /Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/usrlib/libtabix.a -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
clang-4.0: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
installing to /Users/biocbuild/bbs-3.6-bioc/meat/Rsamtools.Rcheck/Rsamtools/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (Rsamtools)

Tests output

Rsamtools.Rcheck/tests/Rsamtools_unit_tests.Rout


R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> BiocGenerics:::testPackage('Rsamtools')

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, colMeans, colSums, colnames, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
    pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
    setdiff, sort, table, tapply, union, unique, unsplit, which,
    which.max, which.min


Attaching package: 'S4Vectors'

The following object is masked from 'package:base':

    expand.grid


Attaching package: 'Biostrings'

The following object is masked from 'package:base':

    strsplit



RUNIT TEST PROTOCOL -- Thu Apr 12 09:06:23 2018 
*********************************************** 
Number of test functions: 185 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
Rsamtools RUnit Tests - 185 test functions, 0 errors, 0 failures
Number of test functions: 185 
Number of errors: 0 
Number of failures: 0 
Warning messages:
1: In read.table(conn, colClasses = colClasses, col.names = names(colClasses),  :
  not all columns named in 'colClasses' exist
2: In read.table(conn, colClasses = colClasses, col.names = names(colClasses),  :
  not all columns named in 'colClasses' exist
3: In read.table(conn, colClasses = colClasses, col.names = names(colClasses),  :
  not all columns named in 'colClasses' exist
4: In read.table(conn, colClasses = colClasses, col.names = names(colClasses),  :
  not all columns named in 'colClasses' exist
> 
> proc.time()
   user  system elapsed 
 45.475   0.942  51.328 

Example timings

Rsamtools.Rcheck/Rsamtools-Ex.timings

nameusersystemelapsed
ApplyPileupsParam-class0.6520.0220.686
BamFile-class0.7190.0230.755
BamViews-class0.1300.0010.139
BcfFile-class0.5590.0130.578
FaFile-class0.2300.0170.255
PileupFiles-class0.0950.0040.100
Rsamtools-package0.0110.0010.011
ScanBamParam-class0.7730.0350.826
ScanBcfParam-class0.0010.0000.000
TabixFile-class0.0540.0010.055
applyPileups0.0830.0020.086
headerTabix0.0030.0000.004
indexTabix0.0280.0020.036
pileup29.398 0.16129.942
quickBamFlagSummary0.0520.0080.059
readPileup0.0600.0020.062
scanBam0.8720.0280.916
scanBcf0.1950.0240.224
scanFa0.0520.0010.053
scanTabix0.0350.0020.037
seqnamesTabix0.0030.0000.004
testPairedEndBam0.0120.0010.013
zip0.0230.0020.025