* installing *source* package ‘Rduckhts’ ...
** this is package ‘Rduckhts’ version ‘0.1.2-0.1.4’
** 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 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 needed to detect all undeclared functions... none needed
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 enable large file support... 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... yes
checking for library containing recv... none required
checking for bzlib.h... yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for lzma.h... yes
checking for lzma_easy_buffer_encode in -llzma... yes
checking 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 (static + shared) ----------
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -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 -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 -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 -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 -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 -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 -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 -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.23"' > 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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.23 -compatibility_version 3.1.23 -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 -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 -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 -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
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o annot-tsv.o annot-tsv.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o bgzip.o bgzip.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o htsfile.o htsfile.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o tabix.o tabix.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/cmsg_wrap.o ref_cache/cmsg_wrap.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/http_parser.o ref_cache/http_parser.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/listener.o ref_cache/listener.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/log_files.o ref_cache/log_files.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/main.o ref_cache/main.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/misc.o ref_cache/misc.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/ping.o ref_cache/ping.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/poll_wrap_epoll.o ref_cache/poll_wrap_epoll.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/poll_wrap_poll.o ref_cache/poll_wrap_poll.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/ref_files.o ref_cache/ref_files.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/request_handler.o ref_cache/request_handler.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/sendfile_wrap.o ref_cache/sendfile_wrap.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/server.o ref_cache/server.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/transaction.o ref_cache/transaction.c
clang -falign-functions=64 -Wall -g -O2 -fPIC -O2 -fPIC -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wextra -Wformat -Wformat=2 -Wconversion -Wstrict-aliasing -fstack-protector-strong -mbranch-protection=standard -fno-delete-null-pointer-checks  -I. -I/opt/R/arm64/include -DNDEBUG -I/opt/R/arm64/include -c -o ref_cache/upstream.o ref_cache/upstream.c
mkdir -p -m 755 /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/bin /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/include /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/include/htslib /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/lib /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/share/man/man1 /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/share/man/man5 /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/share/man/man7 /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/lib/pkgconfig
clang -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic -o annot-tsv annot-tsv.o libhts.a -ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread -lpthread
if test -n "/Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/libexec/htslib"; then mkdir -p -m 755 /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/libexec/htslib; fi
clang -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic -o bgzip bgzip.o libhts.a -ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread -lpthread
clang -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic -o htsfile htsfile.o libhts.a -ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread -lpthread
clang -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic -o tabix tabix.o libhts.a -ldeflate -llzma -lbz2 -lz  -lz -lbz2 -llzma -lcurl -L/opt/R/arm64/lib -lssl -lcrypto -lpthread -lpthread
install -p libhts.dylib /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/lib/libhts.1.23.dylib
sed -e 's#@-includedir@#/Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/include#g;s#@-libdir@#/Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/lib#g;s#@-PACKAGE_VERSION@#1.23#g' htslib.pc.tmp > /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/lib/pkgconfig/htslib.pc
chmod 644 /Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/00_pkg_src/Rduckhts/inst/duckhts_extension/htslib/lib/pkgconfig/htslib.pc
clang -L/opt/R/arm64/lib -fvisibility=hidden -rdynamic  -o ref_cache/ref-cache ref_cache/cmsg_wrap.o ref_cache/http_parser.o ref_cache/listener.o ref_cache/log_files.o ref_cache/main.o ref_cache/misc.o ref_cache/ping.o ref_cache/poll_wrap_epoll.o ref_cache/poll_wrap_poll.o ref_cache/ref_files.o ref_cache/request_handler.o ref_cache/sendfile_wrap.o ref_cache/server.o ref_cache/transaction.o ref_cache/upstream.o cram/pooled_alloc.o md5.o -lcurl
Warning: unknown option ‘-p’
Error in rawToChar(block[seq_len(ns)]) : 
  embedded nul in string: '\xcf\xfa\xed\xfe\f\0\0\001\0\0\0\0\006\0\0\0\022\0\0\0\b\b\0\0\x85\0\020\0\0\0\0\0\031\0\0\0x\002\0\0__TEXT\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x80\017\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x80\017\0\0\0\0\0\005\0\0\0\005\0\0\0\a'
make: *** [install-dylib] Error 1
ERROR: configuration failed for package ‘Rduckhts’
* removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/Rduckhts.Rcheck/Rduckhts’