* installing *source* package ‘Rduckhts’ ...
** this is package ‘Rduckhts’ version ‘2.0.2.0.1.1’
** package ‘Rduckhts’ successfully unpacked and MD5 sums checked
** using staged installation
---------- Checking for required headers and libraries ----------
Checking for zlib (zlib.h, -lz)...
  zlib: found
Checking for bz2 (bzlib.h, -lbz2)...
  bz2: found
Checking for lzma (lzma.h, -llzma)...
  lzma: found
Checking for curl (curl/curl.h, -lcurl)...
  curl: found
Checking for openssl (openssl/ssl.h, -L/opt/R/arm64/lib -lssl -lcrypto)...
  openssl: found
---------- Configuring htslib ----------
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C23 features... unsupported
checking for clang option to enable C11 features... none needed
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /usr/bin/grep
checking for C compiler warning flags... rm: conftest.dSYM: is a directory
-Wall
checking for clang options to detect undeclared functions... none needed
checking for clang options to ignore future-version functions... -Werror=unguarded-availability-new
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/param.h... yes
checking whether _XOPEN_SOURCE is declared... no
checking whether __get_cpuid_max is declared... no
checking whether __cpuid_count is declared... no
checking for x86intrin.h... no
checking for pkg-config... /opt/R/arm64/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for clang option to support large files... none needed
checking shared library type for unknown-Darwin... Darwin dylib
checking whether the compiler accepts -fvisibility=hidden... yes
checking build system type... aarch64-apple-darwin22.6.0
checking host system type... aarch64-apple-darwin22.6.0
checking for getpagesize... yes
checking for working mmap... yes
checking for gmtime_r... yes
checking for fsync... yes
checking for drand48... yes
checking for srand48_deterministic... no
checking for getauxval... no
checking for elf_aux_info... no
checking for posix_memalign... yes
checking whether fdatasync is declared... no
checking for __attribute__((constructor))... yes
checking for clock_gettime with CLOCK_PROCESS_CPUTIME_ID... yes
checking for library containing dlsym... none required
checking whether the compiler accepts -rdynamic... yes
checking for library containing log... none required
checking for zlib.h... yes
checking for inflate in -lz... (cached) yes
checking for library containing recv... none required
checking for bzlib.h... (cached) yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... (cached) yes
checking for lzma.h... yes
checking for lzma_easy_buffer_encode in -llzma... yes
checking whether htscodecs files are present... yes
checking for libdeflate.h... yes
checking for libdeflate_deflate_compress in -ldeflate... yes
checking for curl/curl.h... yes
checking for curl_easy_pause in -lcurl... yes
checking for CCHmac... yes
checking for fstatat... yes
checking for CMSG_LEN... yes
checking for epoll... no
checking for sendfile... yes, macOS-style
checking whether EHOSTDOWN is declared... no
checking whether ENONET is declared... no
checking whether AI_V4MAPPED is declared... yes
checking whether AI_ADDRCONFIG is declared... yes
checking whether the compiler accepts -Wextra... yes
checking whether the compiler accepts -Wformat... yes
checking whether the compiler accepts -Wformat=2... yes
checking whether the compiler accepts -Wconversion... yes
checking whether the compiler accepts -Wtrampolines... no
checking whether the compiler accepts -Wstrict-aliasing... yes
checking whether the compiler accepts -fstack-clash-protection... no
checking whether the compiler accepts -fstack-protector-strong... yes
checking whether the compiler accepts -fcf-protection=full... no
checking whether the compiler accepts -mbranch-protection=standard... yes
checking whether the compiler accepts -fno-delete-null-pointer-checks... yes
checking whether the compiler accepts -Wl,-z,noexecstack... no
checking whether the compiler accepts -Wl,-z,relro... no
checking whether the compiler accepts -Wl,-z,now... no
checking whether the compiler accepts -Wl,--as-needed... no
checking whether the compiler accepts -Wl,--no-copy-dt-needed-entries... no
checking whether the compiler accepts -Wl,-z,nodlopen... no
checking for library containing regcomp... none required
configure: creating ./config.status
config.status: creating config.mk
config.status: creating htslib.pc.tmp
config.status: creating config.h
config.status: linking htscodecs_bundled.mk to htscodecs.mk
---------- Building htslib ----------
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o kfunc.o kfunc.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o kstring.o kstring.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o bcf_sr_sort.o bcf_sr_sort.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o bgzf.o bgzf.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o errmod.o errmod.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o faidx.o faidx.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o header.o header.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o hfile.o hfile.c
echo '#define HTS_VERSION_TEXT "1.24"' > version.h
printf '#define HTS_CC "%s"\n#define HTS_CPPFLAGS "%s"\n#define HTS_CFLAGS "%s"\n#define HTS_LDFLAGS "%s"\n#define HTS_LIBS "%s"\n' \
	'clang' \
	'-I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include' \
	'-falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden' \
	'-L/opt/R/arm64/lib -fvisibility=hidden -rdynamic' \
	'-ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread' > config_vars.h
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o hts.o hts.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o hts_expr.o hts_expr.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o hts_os.o hts_os.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o md5.o md5.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o multipart.o multipart.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o probaln.o probaln.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o realn.o realn.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o regidx.o regidx.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o region.o region.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o sam.o sam.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o sam_mods.o sam_mods.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o simd.o simd.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o synced_bcf_reader.o synced_bcf_reader.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o vcf_sweep.o vcf_sweep.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o tbx.o tbx.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o textutils.o textutils.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o thread_pool.o thread_pool.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o vcf.o vcf.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o vcfutils.o vcfutils.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/cram_codecs.o cram/cram_codecs.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/cram_decode.o cram/cram_decode.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/cram_encode.o cram/cram_encode.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/cram_external.o cram/cram_external.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/cram_index.o cram/cram_index.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/cram_io.o cram/cram_io.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/cram_stats.o cram/cram_stats.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/mFILE.o cram/mFILE.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/open_trace_file.o cram/open_trace_file.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/pooled_alloc.o cram/pooled_alloc.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o cram/string_alloc.o cram/string_alloc.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/arith_dynamic.o htscodecs/htscodecs/arith_dynamic.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/fqzcomp_qual.o htscodecs/htscodecs/fqzcomp_qual.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/htscodecs.o htscodecs/htscodecs/htscodecs.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/pack.o htscodecs/htscodecs/pack.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/rANS_static4x16pr.o htscodecs/htscodecs/rANS_static4x16pr.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/rANS_static32x16pr_avx2.o htscodecs/htscodecs/rANS_static32x16pr_avx2.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/rANS_static32x16pr_avx512.o htscodecs/htscodecs/rANS_static32x16pr_avx512.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/rANS_static32x16pr_sse4.o htscodecs/htscodecs/rANS_static32x16pr_sse4.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/rANS_static32x16pr_neon.o htscodecs/htscodecs/rANS_static32x16pr_neon.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/rANS_static32x16pr.o htscodecs/htscodecs/rANS_static32x16pr.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/rANS_static.o htscodecs/htscodecs/rANS_static.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/rle.o htscodecs/htscodecs/rle.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/tokenise_name3.o htscodecs/htscodecs/tokenise_name3.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htscodecs/htscodecs/utils.o htscodecs/htscodecs/utils.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -DPLUGINPATH=\"/Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/libexec/htslib\" -c -o plugin.o plugin.c
ar -rc libhts.a kfunc.o kstring.o bcf_sr_sort.o bgzf.o errmod.o faidx.o header.o hfile.o hts.o hts_expr.o hts_os.o md5.o multipart.o probaln.o realn.o regidx.o region.o sam.o sam_mods.o simd.o synced_bcf_reader.o vcf_sweep.o tbx.o textutils.o thread_pool.o vcf.o vcfutils.o cram/cram_codecs.o cram/cram_decode.o cram/cram_encode.o cram/cram_external.o cram/cram_index.o cram/cram_io.o cram/cram_stats.o cram/mFILE.o cram/open_trace_file.o cram/pooled_alloc.o cram/string_alloc.o htscodecs/htscodecs/arith_dynamic.o htscodecs/htscodecs/fqzcomp_qual.o htscodecs/htscodecs/htscodecs.o htscodecs/htscodecs/pack.o htscodecs/htscodecs/rANS_static4x16pr.o htscodecs/htscodecs/rANS_static32x16pr_avx2.o htscodecs/htscodecs/rANS_static32x16pr_avx512.o htscodecs/htscodecs/rANS_static32x16pr_sse4.o htscodecs/htscodecs/rANS_static32x16pr_neon.o htscodecs/htscodecs/rANS_static32x16pr.o htscodecs/htscodecs/rANS_static.o htscodecs/htscodecs/rle.o htscodecs/htscodecs/tokenise_name3.o htscodecs/htscodecs/utils.o  plugin.o
ranlib libhts.a
clang -dynamiclib -install_name /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/lib/libhts.3.dylib -current_version 3.1.24 -compatibility_version 3.1.24 -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic -o libhts.dylib kfunc.o kstring.o bcf_sr_sort.o bgzf.o errmod.o faidx.o header.o hfile.o hts.o hts_expr.o hts_os.o md5.o multipart.o probaln.o realn.o regidx.o region.o sam.o sam_mods.o simd.o synced_bcf_reader.o vcf_sweep.o tbx.o textutils.o thread_pool.o vcf.o vcfutils.o cram/cram_codecs.o cram/cram_decode.o cram/cram_encode.o cram/cram_external.o cram/cram_index.o cram/cram_io.o cram/cram_stats.o cram/mFILE.o cram/open_trace_file.o cram/pooled_alloc.o cram/string_alloc.o htscodecs/htscodecs/arith_dynamic.o htscodecs/htscodecs/fqzcomp_qual.o htscodecs/htscodecs/htscodecs.o htscodecs/htscodecs/pack.o htscodecs/htscodecs/rANS_static4x16pr.o htscodecs/htscodecs/rANS_static32x16pr_avx2.o htscodecs/htscodecs/rANS_static32x16pr_avx512.o htscodecs/htscodecs/rANS_static32x16pr_sse4.o htscodecs/htscodecs/rANS_static32x16pr_neon.o htscodecs/htscodecs/rANS_static32x16pr.o htscodecs/htscodecs/rANS_static.o htscodecs/htscodecs/rle.o htscodecs/htscodecs/tokenise_name3.o htscodecs/htscodecs/utils.o  plugin.o -ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread
ln -sf libhts.dylib libhts.3.dylib
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o hfile_libcurl.o hfile_libcurl.c
clang -bundle -Wl,-undefined,dynamic_lookup -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic -o hfile_libcurl.bundle hfile_libcurl.o -ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread -lcurl
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o hfile_gcs.o hfile_gcs.c
clang -bundle -Wl,-undefined,dynamic_lookup -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic -o hfile_gcs.bundle hfile_gcs.o -ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -std=gnu17 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o hfile_s3.o hfile_s3.c
clang -bundle -Wl,-undefined,dynamic_lookup -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic -o hfile_s3.bundle hfile_s3.o -ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread  -lcurl
Fixing htslib install names for macOS...
---------- Building DuckHTS extension ----------
Compiling extension sources...
  Compiling duckhts.c -> duckhts.o
  Compiling extension_registration.c -> extension_registration.o
  Compiling simd/duckhts_simd_dispatch.c -> simd/duckhts_simd_dispatch.o
  Compiling simd/duckhts_simd_scalar.c -> simd/duckhts_simd_scalar.o
  Compiling simd/duckhts_simd_avx2.c -> simd/duckhts_simd_avx2.o
  Compiling simd/duckhts_simd_avx512.c -> simd/duckhts_simd_avx512.o
  Compiling simd/duckhts_simd_neon.c -> simd/duckhts_simd_neon.o
  Compiling simd/duckhts_simd_wasm_simd128.c -> simd/duckhts_simd_wasm_simd128.o
  Compiling bcf_reader.c -> bcf_reader.o
  Compiling bcf_field_vector.c -> bcf_field_vector.o
  Compiling bcf_filter_vector.c -> bcf_filter_vector.o
  Compiling bcf_format.c -> bcf_format.o
  Compiling bcf_scan.c -> bcf_scan.o
  Compiling bcf_genotypes.c -> bcf_genotypes.o
  Compiling geno_reader.c -> geno_reader.o
  Compiling region_list.c -> region_list.o
  Compiling bam_reader.c -> bam_reader.o
  Compiling bam_pileup.c -> bam_pileup.o
  Compiling bgzip.c -> bgzip.o
  Compiling hts_index_builder.c -> hts_index_builder.o
  Compiling liftover_udf.c -> liftover_udf.o
  Compiling bcftools_norm_udf.c -> bcftools_norm_udf.o
  Compiling munge_udf.c -> munge_udf.o
  Compiling reference_cache.c -> reference_cache.o
  Compiling seq_reader.c -> seq_reader.o
  Compiling fastq_qc.c -> fastq_qc.o
  Compiling somalier.c -> somalier.o
  Compiling bam_site_counts.c -> bam_site_counts.o
  Compiling somalier_contamination_sql.c -> somalier_contamination_sql.o
  Compiling somalier_matched_sql.c -> somalier_matched_sql.o
  Compiling somalier_sql.c -> somalier_sql.o
  Compiling somalier_find_sites_sql.c -> somalier_find_sites_sql.o
  Compiling ancestry_sql.c -> ancestry_sql.o
  Compiling roh_hmm.c -> roh_hmm.o
  Compiling roh_udf.c -> roh_udf.o
  Compiling roh_sites.c -> roh_sites.o
  Compiling roh_sql.c -> roh_sql.o
  Compiling count_cells.c -> count_cells.o
  Compiling count_error_model.c -> count_error_model.o
  Compiling count_error_udf.c -> count_error_udf.o
  Compiling count_error_sql.c -> count_error_sql.o
  Compiling depth_sql.c -> depth_sql.o
  Compiling depth_state_hmm.c -> depth_state_hmm.o
  Compiling depth_state_udf.c -> depth_state_udf.o
  Compiling count_mixture_model.c -> count_mixture_model.o
  Compiling count_mixture_udf.c -> count_mixture_udf.o
  Compiling count_mixture_sql.c -> count_mixture_sql.o
  Compiling somalier_bam_extract_sql.c -> somalier_bam_extract_sql.o
  Compiling somalier_panel_sql.c -> somalier_panel_sql.o
  Compiling somalier_sex_sql.c -> somalier_sex_sql.o
  Compiling somalier_vcf_extract_sql.c -> somalier_vcf_extract_sql.o
  Compiling bed_line.c -> bed_line.o
  Compiling interval_udf.c -> interval_udf.o
  Compiling genbank_core.c -> genbank_core.o
  Compiling genbank_reader.c -> genbank_reader.o
  Compiling bigwig_reader.c -> bigwig_reader.o
  Compiling libbigwig_hfile_io.c -> libbigwig_hfile_io.o
  Compiling kmer_udf.c -> kmer_udf.o
  Compiling tabix_reader.c -> tabix_reader.o
  Compiling named_attribute_columns.c -> named_attribute_columns.o
  Compiling vep_parser.c -> vep_parser.o
  Compiling hts_meta_reader.c -> hts_meta_reader.o
  Compiling quality_encoding.c -> quality_encoding.o
  Compiling quality_encoding_reader.c -> quality_encoding_reader.o
  Compiling score_udf.c -> score_udf.o
  Compiling mosdepth_table.c -> mosdepth_table.o
  Compiling bam_bin_counts.c -> bam_bin_counts.o
  Compiling bam_mismatch_counts.c -> bam_mismatch_counts.o
  Compiling bam_insert_size_counts.c -> bam_insert_size_counts.o
  Compiling insert_size_sql.c -> insert_size_sql.o
  Compiling bam_mate_overlap_counts.c -> bam_mate_overlap_counts.o
  Compiling samtools_idxstats_table.c -> samtools_idxstats_table.o
  Compiling bam_bed_coverage.c -> bam_bed_coverage.o
  Compiling cgranges_api.c -> cgranges_api.o
  Compiling variantkey_udf.c -> variantkey_udf.o
  Compiling cgranges.c -> cgranges.o
  Compiling libBigWig/bwRead.c -> libBigWig/bwRead.o
  Compiling libBigWig/bwValues.c -> libBigWig/bwValues.o
  Compiling bcftools_filter.c -> bcftools_filter.o
  Compiling wasm_http_hfile.c -> wasm_http_hfile.o
Linking DuckHTS extension...
---------- Cleaning up build artifacts ----------
Appending DuckDB extension metadata...
---------- DuckHTS extension built successfully ----------
-rwxr-xr-x  1 rbuild  staff  1234143 Oct 29 04:44 /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/build/duckhts.duckdb_extension
Generated inst/htslib_config.R
Configure complete
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.1.sdk’
clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang -arch arm64 -std=gnu2x -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o Rduckhts.so init.o -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00LOCK-Rduckhts/00new/Rduckhts/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Rduckhts)