Back to the "Multiple platform build/check report" A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q [R] S  T  U  V  W  X  Y  Z 

BioC 3.5: INSTALL report for Rsamtools on toluca2

This page was generated on 2017-04-23 14:35:09 -0400 (Sun, 23 Apr 2017).

Package 1148/1377HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
Rsamtools 1.27.16
Bioconductor Package Maintainer
Snapshot Date: 2017-04-22 17:18:01 -0400 (Sat, 22 Apr 2017)
URL: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/Rsamtools
Last Changed Rev: 128124 / Revision: 129046
Last Changed Date: 2017-04-06 06:10:43 -0400 (Thu, 06 Apr 2017)
malbec2 Linux (Ubuntu 16.04.1 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
tokay2 Windows Server 2012 R2 Standard / x64  OK  OK  WARNINGS  OK UNNEEDED, same version exists in internal repository
toluca2 Mac OS X Mavericks (10.9.5) / x86_64 [ OK ] OK  OK  OK 
veracruz2 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.27.16
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD INSTALL Rsamtools
StartedAt: 2017-04-22 18:06:29 -0400 (Sat, 22 Apr 2017)
EndedAt: 2017-04-22 18:06:54 -0400 (Sat, 22 Apr 2017)
EllapsedTime: 25.0 seconds
RetCode: 0
Status:  OK 

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD INSTALL Rsamtools
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library’
* 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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -fPIC  -Wall -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -fPIC  -Wall -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -fPIC  -Wall -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -fPIC  -Wall -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:42: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>:47: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>:50: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>:59: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>:64: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -fPIC  -Wall -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -fPIC  -Wall -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:34: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>:37: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>:40: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>:51: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:213: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>:13: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:24: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:200: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>:214: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>:221: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>:226: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>:229: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>:232: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>:238: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>:243: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:139: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>:142: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>:153: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:218: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>:232: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:154: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>:168: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:154: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>:168: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -g -O2  -c samtools/bcftools/vcf.c -o samtools/bcftools/vcf.o
samtools/bcftools/vcf.c:304:15: warning: explicitly assigning a 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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:51: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>:65: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:27: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>:41: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>:56: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>:70: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 -I/usr/local/include/freetype2 -I/opt/X11/include   -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 -mtune=core2 -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>:214: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>:228: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 "/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/include/samtools/bcftools"
mkdir -p "/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/include/tabix"
cp samtools/*.h "/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/include/samtools/"
cp samtools/bcftools/*h "/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/include/samtools/bcftools/"
cp tabix/*h "/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/include/tabix/"
cp samtools/bgzf.h samtools/kstring.h samtools/knetfile.h \
		"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/include/tabix/"
mkdir -p "/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/usrlib"
cp libbam.a libbcf.a libtabix.a "/Library/Frameworks/R.framework/Versions/3.4/Resources/library/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 /Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/usrlib/libbam.a /Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/usrlib/libbcf.a /Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rsamtools/usrlib/libtabix.a -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
clang: warning: argument unused during compilation: '-pthread'
installing to /Library/Frameworks/R.framework/Versions/3.4/Resources/library/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)