* installing *source* package ‘cld2’ ... ** package ‘cld2’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using SDK: ‘MacOSX11.3.sdk’ rm -f cld2.so RcppExports.o wrapper.o libcld2/internal/cldutil.o libcld2/internal/cldutil_shared.o libcld2/internal/compact_lang_det.o libcld2/internal/compact_lang_det_hint_code.o libcld2/internal/compact_lang_det_impl.o libcld2/internal/debug.o libcld2/internal/fixunicodevalue.o libcld2/internal/generated_entities.o libcld2/internal/generated_language.o libcld2/internal/generated_ulscript.o libcld2/internal/getonescriptspan.o libcld2/internal/lang_script.o libcld2/internal/offsetmap.o libcld2/internal/scoreonescriptspan.o libcld2/internal/tote.o libcld2/internal/utf8statetable.o libcld2/internal/cld_generated_cjk_uni_prop_80.o libcld2/internal/cld2_generated_cjk_compatible.o libcld2/internal/cld_generated_cjk_delta_bi_4.o libcld2/internal/generated_distinct_bi_0.o libcld2/internal/cld2_generated_quadchrome_2.o libcld2/internal/cld2_generated_deltaoctachrome.o libcld2/internal/cld2_generated_distinctoctachrome.o libcld2/internal/cld_generated_score_quad_octa_2.o libcld2/libstatcld2.a clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c wrapper.cpp -o wrapper.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cldutil.cc -o libcld2/internal/cldutil.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cldutil_shared.cc -o libcld2/internal/cldutil_shared.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/compact_lang_det.cc -o libcld2/internal/compact_lang_det.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/compact_lang_det_hint_code.cc -o libcld2/internal/compact_lang_det_hint_code.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/compact_lang_det_impl.cc -o libcld2/internal/compact_lang_det_impl.o libcld2/internal/cldutil_shared.cc:49:18: warning: unused variable 'kMinCJKUTF8CharBytes' [-Wunused-const-variable] static const int kMinCJKUTF8CharBytes = 3; ^ libcld2/internal/cldutil_shared.cc:51:18: warning: unused variable 'kMinGramCount' [-Wunused-const-variable] static const int kMinGramCount = 3; ^ libcld2/internal/cldutil_shared.cc:52:18: warning: unused variable 'kMaxGramCount' [-Wunused-const-variable] static const int kMaxGramCount = 16; ^ libcld2/internal/cldutil_shared.cc:54:18: warning: unused variable 'UTFmax' [-Wunused-const-variable] static const int UTFmax = 4; // Max number of bytes in a UTF-8 character ^ libcld2/internal/cldutil.cc:49:22: warning: unused variable 'kSkipSpaceVowelContinue' [-Wunused-const-variable] static const uint8 kSkipSpaceVowelContinue[256] = { ^ libcld2/internal/cldutil.cc:62:22: warning: unused variable 'kSkipSpaceContinue' [-Wunused-const-variable] static const uint8 kSkipSpaceContinue[256] = { ^ libcld2/internal/cldutil.cc:89:22: warning: unused variable 'kAdvanceOneCharSpace' [-Wunused-const-variable] static const uint8 kAdvanceOneCharSpace[256] = { ^ 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/debug.cc -o libcld2/internal/debug.o 3 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/fixunicodevalue.cc -o libcld2/internal/fixunicodevalue.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/generated_entities.cc -o libcld2/internal/generated_entities.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/generated_language.cc -o libcld2/internal/generated_language.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/generated_ulscript.cc -o libcld2/internal/generated_ulscript.o libcld2/internal/compact_lang_det_impl.cc:1001:7: warning: variable 'total_bytes' set but not used [-Wunused-but-set-variable] int total_bytes = 0; ^ libcld2/internal/compact_lang_det_impl.cc:1455:7: warning: unused variable 'plang_second' [-Wunused-variable] int plang_second = PerScriptNumber(ULScript_Latin, language3[active_slot[1]]); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/getonescriptspan.cc -o libcld2/internal/getonescriptspan.o libcld2/internal/compact_lang_det_impl.cc:1849:14: warning: unused variable 'ulscript' [-Wunused-variable] ULScript ulscript = scriptspan.ulscript; ^ libcld2/internal/compact_lang_det_impl.cc:1788:7: warning: unused variable 'next_other_tote' [-Wunused-variable] int next_other_tote = 2; ^ libcld2/internal/compact_lang_det_impl.cc:1789:7: warning: unused variable 'tote_num' [-Wunused-variable] int tote_num = 0; ^ libcld2/internal/compact_lang_det_impl.cc:1793:8: warning: unused variable 'tote_seen' [-Wunused-variable] bool tote_seen[4] = {false, false, false, false}; ^ libcld2/internal/compact_lang_det_impl.cc:1794:7: warning: unused variable 'tote_grams' [-Wunused-variable] int tote_grams[4] = {0, 0, 0, 0}; // Number in partial chunk ^ libcld2/internal/compact_lang_det_impl.cc:1795:12: warning: unused variable 'tote_script' [-Wunused-variable] ULScript tote_script[4] = ^ libcld2/internal/compact_lang_det_impl.cc:1814:7: warning: unused variable 'advance_by' [-Wunused-variable] int advance_by = 2; // Advance 2 bytes ^ libcld2/internal/compact_lang_det_impl.cc:1815:7: warning: unused variable 'advance_limit' [-Wunused-variable] int advance_limit = textlimit >> 3; // For first 1/8 of max document ^ libcld2/internal/compact_lang_det_impl.cc:1817:7: warning: variable 'initial_word_span' set but not used [-Wunused-but-set-variable] int initial_word_span = kDefaultWordSpan; ^ libcld2/internal/compact_lang_det_impl.cc:1828:7: warning: unused variable 'chunksizeunis' [-Wunused-variable] int chunksizeunis = (chunksizequads * 5) >> 1; ^ libcld2/internal/compact_lang_det_impl.cc:1832:7: warning: unused variable 'spantooshortlimit' [-Wunused-variable] int spantooshortlimit = kShortSpanThresh; ^ libcld2/internal/compact_lang_det_impl.cc:188:19: warning: unused variable 'FLAGS_cld_no_minimum_bytes' [-Wunused-const-variable] static const bool FLAGS_cld_no_minimum_bytes = false; ^ libcld2/internal/compact_lang_det_impl.cc:191:19: warning: unused variable 'FLAGS_cld_echotext' [-Wunused-const-variable] static const bool FLAGS_cld_echotext = true; ^ libcld2/internal/compact_lang_det_impl.cc:194:19: warning: unused variable 'FLAGS_cld_2011_hints' [-Wunused-const-variable] static const bool FLAGS_cld_2011_hints = true; ^ libcld2/internal/compact_lang_det_impl.cc:200:18: warning: unused variable 'kLangHintInitial' [-Wunused-const-variable] static const int kLangHintInitial = 12; // Boost language by N initially ^ libcld2/internal/compact_lang_det_impl.cc:201:18: warning: unused variable 'kLangHintBoost' [-Wunused-const-variable] static const int kLangHintBoost = 12; // Boost language by N/16 per quadgram ^ libcld2/internal/compact_lang_det_impl.cc:204:18: warning: unused variable 'kMaxSecondChanceLen' [-Wunused-const-variable] static const int kMaxSecondChanceLen = 1024; // Look at first 1K of short spans ^ libcld2/internal/compact_lang_det_impl.cc:229:18: warning: unused variable 'kMinReliableSeq' [-Wunused-const-variable] static const int kMinReliableSeq = 50; // Record in seq if >= 50% reliable ^ libcld2/internal/compact_lang_det_impl.cc:984:18: warning: unused variable 'kGoodFirstT3MinBytes' [-Wunused-const-variable] static const int kGoodFirstT3MinBytes = 24; // <this => no first ^ libcld2/internal/compact_lang_det_impl.cc:1406:18: warning: unused variable 'kGoodSecondT3MinBytes' [-Wunused-const-variable] static const int kGoodSecondT3MinBytes = 128; // <this => no second ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/lang_script.cc -o libcld2/internal/lang_script.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/offsetmap.cc -o libcld2/internal/offsetmap.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/scoreonescriptspan.cc -o libcld2/internal/scoreonescriptspan.o libcld2/internal/getonescriptspan.cc:862:9: warning: variable 'letter_count' set but not used [-Wunused-but-set-variable] int letter_count = 0; // Keep track of word length ^ libcld2/internal/getonescriptspan.cc:40:18: warning: unused variable 'kMaxUpToWordBoundary' [-Wunused-const-variable] static const int kMaxUpToWordBoundary = 50; // span < this make longer, ^ libcld2/internal/getonescriptspan.cc:42:18: warning: unused variable 'kMaxAdvanceToWordBoundary' [-Wunused-const-variable] static const int kMaxAdvanceToWordBoundary = 10; // +/- this many bytes ^ libcld2/internal/offsetmap.cc:84:36: warning: array subscript is of type 'char' [-Wchar-subscripts] fprintf(fout, "%c%02d ", "&=+-"[OpPart(diffs_[i])], LenPart(diffs_[i])); ^~~~~~~~~~~~~~~~~~ libcld2/internal/offsetmap.cc:210:38: warning: array subscript is of type 'char' [-Wchar-subscripts] fprintf(stderr, "%c%02d ", "&=+-"[OpPart(diffs_[i])], LenPart(diffs_[i])); ^~~~~~~~~~~~~~~~~~ libcld2/internal/offsetmap.cc:404:8: warning: variable 'retval' set but not used [-Wunused-but-set-variable] bool retval = true; ^ 22 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/tote.cc -o libcld2/internal/tote.o 3 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/utf8statetable.cc -o libcld2/internal/utf8statetable.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cld_generated_cjk_uni_prop_80.cc -o libcld2/internal/cld_generated_cjk_uni_prop_80.o libcld2/internal/scoreonescriptspan.cc:307:7: warning: variable 'cs_bytes_sum' set but not used [-Wunused-but-set-variable] int cs_bytes_sum = 0; ^ 3 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cld2_generated_cjk_compatible.cc -o libcld2/internal/cld2_generated_cjk_compatible.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cld_generated_cjk_delta_bi_4.cc -o libcld2/internal/cld_generated_cjk_delta_bi_4.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/generated_distinct_bi_0.cc -o libcld2/internal/generated_distinct_bi_0.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cld2_generated_quadchrome_2.cc -o libcld2/internal/cld2_generated_quadchrome_2.o libcld2/internal/utf8statetable.cc:905:7: warning: variable 'src_lll' set but not used [-Wunused-but-set-variable] int src_lll = srclimit - src; ^ libcld2/internal/utf8statetable.cc:906:7: warning: variable 'dst_lll' set but not used [-Wunused-but-set-variable] int dst_lll = dstlimit - dst; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cld2_generated_deltaoctachrome.cc -o libcld2/internal/cld2_generated_deltaoctachrome.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cld2_generated_distinctoctachrome.cc -o libcld2/internal/cld2_generated_distinctoctachrome.o 1 warning generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libcld2/internal/cld_generated_score_quad_octa_2.cc -o libcld2/internal/cld_generated_score_quad_octa_2.o 2 warnings generated. ar rcs libcld2/libstatcld2.a libcld2/internal/cldutil.o libcld2/internal/cldutil_shared.o libcld2/internal/compact_lang_det.o libcld2/internal/compact_lang_det_hint_code.o libcld2/internal/compact_lang_det_impl.o libcld2/internal/debug.o libcld2/internal/fixunicodevalue.o libcld2/internal/generated_entities.o libcld2/internal/generated_language.o libcld2/internal/generated_ulscript.o libcld2/internal/getonescriptspan.o libcld2/internal/lang_script.o libcld2/internal/offsetmap.o libcld2/internal/scoreonescriptspan.o libcld2/internal/tote.o libcld2/internal/utf8statetable.o libcld2/internal/cld_generated_cjk_uni_prop_80.o libcld2/internal/cld2_generated_cjk_compatible.o libcld2/internal/cld_generated_cjk_delta_bi_4.o libcld2/internal/generated_distinct_bi_0.o libcld2/internal/cld2_generated_quadchrome_2.o libcld2/internal/cld2_generated_deltaoctachrome.o libcld2/internal/cld2_generated_distinctoctachrome.o libcld2/internal/cld_generated_score_quad_octa_2.o clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o cld2.so RcppExports.o wrapper.o -Llibcld2 -lstatcld2 -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/cld2.Rcheck/00LOCK-cld2/00new/cld2/libs ** generating debug symbols (dSYM) ** R ** 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 (cld2)