* installing *source* package ‘flashlighttext’ ... ** package ‘flashlighttext’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++17 using SDK: ‘MacOSX11.3.sdk’ *** Building mkdir build || true (export CXX=/usr/bin/g++; \ cd build; \ CC="clang -arch arm64" CFLAGS="-falign-functions=64 -Wall -g -O2 " \ CPPFLAGS="-I/opt/R/arm64/include" LDFLAGS="-L/opt/R/arm64/lib" \ /Applications/CMake.app/Contents/bin/cmake ../../inst \ -DCMAKE_BUILD_TYPE=Release; \ /Applications/CMake.app/Contents/bin/cmake --build . --config Release; \ find ../.. -depth -path '*src/build*' | xargs rm -rf {}; \ find ../.. -depth -path '*src/flashlighttext/include/kenlm/lm*' | xargs rm -rf {}; \ find ../.. -depth -path '*src/flashlighttext/include/g*' | xargs rm -rf {}; \ find ../.. -depth -path '*src/flashlighttext/lib/cmake*' | xargs rm -rf {}; \ find ../.. -depth -path '*src/flashlighttext/lib/libg*' | xargs rm -rf {}; \ find ../.. -depth -path '*src/flashlighttext/lib/pkgconfig*' | xargs rm -rf {}; \ find ../.. -depth -path '*src/flashlighttext/bin*' | xargs rm -rf {}; \ find ../.. -depth -path '*src/flashlighttext/share*' | xargs rm -rf {}; ) -- The C compiler identification is AppleClang 14.0.0.14000029 -- The CXX compiler identification is AppleClang 14.0.0.14000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- MacOS architecture: arm64 -- Configuring done -- Generating done -- Build files have been written to: /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build Scanning dependencies of target kenlm-project [ 6%] Creating directories for 'kenlm-project' [ 12%] Performing download step (git clone) for 'kenlm-project' Cloning into 'kenlm-project'... Already on 'master' Your branch is up to date with 'origin/master'. [ 18%] Performing update step for 'kenlm-project' [ 25%] No patch step for 'kenlm-project' [ 31%] Performing configure step for 'kenlm-project' -- The C compiler identification is AppleClang 14.0.0.14000029 -- The CXX compiler identification is AppleClang 14.0.0.14000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Eigen3 (missing: Eigen3_DIR) -- Found Boost: /opt/R/arm64/lib/cmake/Boost-1.80.0/BoostConfig.cmake (found suitable version "1.80.0", minimum required is "1.41.0") found components: program_options system thread unit_test_framework -- Found Threads: TRUE -- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/libz.tbd (found version "1.2.11") -- Found BZip2: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/libbz2.tbd (found version "1.0.6") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd -- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found -- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd -- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found -- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd -- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found -- Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR) -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - not found -- Looking for clock_gettime in c -- Looking for clock_gettime in c - found -- Configuring done -- Generating done -- Build files have been written to: /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project-build [ 37%] Performing build step for 'kenlm-project' Scanning dependencies of target kenlm_util [ 1%] Building CXX object util/CMakeFiles/kenlm_util.dir/double-conversion/bignum-dtoa.cc.o [ 2%] Building CXX object util/CMakeFiles/kenlm_util.dir/double-conversion/bignum.cc.o [ 3%] Building CXX object util/CMakeFiles/kenlm_util.dir/double-conversion/cached-powers.cc.o [ 5%] Building CXX object util/CMakeFiles/kenlm_util.dir/double-conversion/fast-dtoa.cc.o [ 6%] Building CXX object util/CMakeFiles/kenlm_util.dir/double-conversion/fixed-dtoa.cc.o [ 7%] Building CXX object util/CMakeFiles/kenlm_util.dir/double-conversion/strtod.cc.o [ 8%] Building CXX object util/CMakeFiles/kenlm_util.dir/double-conversion/double-to-string.cc.o [ 10%] Building CXX object util/CMakeFiles/kenlm_util.dir/double-conversion/string-to-double.cc.o [ 11%] Building CXX object util/CMakeFiles/kenlm_util.dir/stream/chain.cc.o [ 12%] Building CXX object util/CMakeFiles/kenlm_util.dir/stream/count_records.cc.o [ 13%] Building CXX object util/CMakeFiles/kenlm_util.dir/stream/io.cc.o [ 15%] Building CXX object util/CMakeFiles/kenlm_util.dir/stream/line_input.cc.o [ 16%] Building CXX object util/CMakeFiles/kenlm_util.dir/stream/multi_progress.cc.o [ 17%] Building CXX object util/CMakeFiles/kenlm_util.dir/stream/rewindable_stream.cc.o [ 18%] Building CXX object util/CMakeFiles/kenlm_util.dir/bit_packing.cc.o [ 20%] Building CXX object util/CMakeFiles/kenlm_util.dir/ersatz_progress.cc.o [ 21%] Building CXX object util/CMakeFiles/kenlm_util.dir/exception.cc.o [ 22%] Building CXX object util/CMakeFiles/kenlm_util.dir/file.cc.o [ 23%] Building CXX object util/CMakeFiles/kenlm_util.dir/file_piece.cc.o [ 25%] Building CXX object util/CMakeFiles/kenlm_util.dir/float_to_string.cc.o [ 26%] Building CXX object util/CMakeFiles/kenlm_util.dir/integer_to_string.cc.o [ 27%] Building CXX object util/CMakeFiles/kenlm_util.dir/mmap.cc.o [ 28%] Building CXX object util/CMakeFiles/kenlm_util.dir/murmur_hash.cc.o [ 30%] Building CXX object util/CMakeFiles/kenlm_util.dir/parallel_read.cc.o [ 31%] Building CXX object util/CMakeFiles/kenlm_util.dir/pool.cc.o [ 32%] Building CXX object util/CMakeFiles/kenlm_util.dir/read_compressed.cc.o In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/read_compressed.cc:1: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/read_compressed.hh:4: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/exception.hh:4: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/string_stream.hh:4: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/fake_ostream.hh:6: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/string_piece.hh:51: /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/have.hh:15:9: warning: 'HAVE_BZLIB' macro redefined [-Wmacro-redefined] #define HAVE_BZLIB ^ <command line>:8:9: note: previous definition is here #define HAVE_BZLIB 1 ^ In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/read_compressed.cc:1: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/read_compressed.hh:4: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/exception.hh:4: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/string_stream.hh:4: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/fake_ostream.hh:6: In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/string_piece.hh:51: /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/util/have.hh:16:9: warning: 'HAVE_ZLIB' macro redefined [-Wmacro-redefined] #define HAVE_ZLIB ^ <command line>:7:9: note: previous definition is here #define HAVE_ZLIB 1 ^ 2 warnings generated. [ 33%] Building CXX object util/CMakeFiles/kenlm_util.dir/scoped.cc.o [ 35%] Building CXX object util/CMakeFiles/kenlm_util.dir/spaces.cc.o [ 36%] Building CXX object util/CMakeFiles/kenlm_util.dir/string_piece.cc.o [ 37%] Building CXX object util/CMakeFiles/kenlm_util.dir/usage.cc.o [ 38%] Linking CXX static library ../lib/libkenlm_util.a [ 38%] Built target kenlm_util Scanning dependencies of target probing_hash_table_benchmark [ 40%] Building CXX object util/CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o [ 41%] Linking CXX executable ../bin/probing_hash_table_benchmark ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()::ep' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::system::error_code::what() const' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::system::error_code::location() const::loc' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::system::error_code::what() const' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::system::error_code::location() const::loc' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::system::error_code::what() const' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::system::error_code::location() const::loc' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::system::error_code::what() const' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::system::error_code::location() const::loc' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::system::error_code::what() const' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::system::error_code::location() const::loc' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::system::error_code::what() const' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::system::error_code::location() const::loc' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::system::error_code::what() const' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::system::error_code::location() const::loc' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'boost::system::error_code::what() const' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::system::error_code::location() const::loc' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.10' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_alloc_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.10' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_alloc_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.10' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_alloc_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.10' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_alloc_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.10' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_alloc_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.11' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_exception_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.11' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_exception_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.11' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_exception_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.11' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_exception_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function '___cxx_global_var_init.11' from file '/opt/R/arm64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object<boost::exception_detail::bad_exception_>::e' from file 'CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. [ 41%] Built target probing_hash_table_benchmark Scanning dependencies of target kenlm [ 42%] Building CXX object lm/CMakeFiles/kenlm.dir/bhiksha.cc.o [ 43%] Building CXX object lm/CMakeFiles/kenlm.dir/binary_format.cc.o [ 45%] Building CXX object lm/CMakeFiles/kenlm.dir/config.cc.o [ 46%] Building CXX object lm/CMakeFiles/kenlm.dir/lm_exception.cc.o [ 47%] Building CXX object lm/CMakeFiles/kenlm.dir/model.cc.o [ 48%] Building CXX object lm/CMakeFiles/kenlm.dir/quantize.cc.o [ 50%] Building CXX object lm/CMakeFiles/kenlm.dir/read_arpa.cc.o [ 51%] Building CXX object lm/CMakeFiles/kenlm.dir/search_hashed.cc.o [ 52%] Building CXX object lm/CMakeFiles/kenlm.dir/search_trie.cc.o [ 53%] Building CXX object lm/CMakeFiles/kenlm.dir/sizes.cc.o [ 55%] Building CXX object lm/CMakeFiles/kenlm.dir/trie.cc.o [ 56%] Building CXX object lm/CMakeFiles/kenlm.dir/trie_sort.cc.o [ 57%] Building CXX object lm/CMakeFiles/kenlm.dir/value_build.cc.o [ 58%] Building CXX object lm/CMakeFiles/kenlm.dir/virtual_interface.cc.o [ 60%] Building CXX object lm/CMakeFiles/kenlm.dir/vocab.cc.o In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/vocab.cc:11: /Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/../util/joint_sort.hh:60:5: warning: typedef requires a name [-Wmissing-declarations] typedef struct value_type { ^~~~~~~ 1 warning generated. [ 61%] Building CXX object lm/CMakeFiles/kenlm.dir/common/model_buffer.cc.o [ 62%] Building CXX object lm/CMakeFiles/kenlm.dir/common/print.cc.o [ 63%] Building CXX object lm/CMakeFiles/kenlm.dir/common/renumber.cc.o [ 65%] Building CXX object lm/CMakeFiles/kenlm.dir/common/size_option.cc.o [ 66%] Linking CXX static library ../lib/libkenlm.a [ 66%] Built target kenlm Scanning dependencies of target query [ 67%] Building CXX object lm/CMakeFiles/query.dir/query_main.cc.o [ 68%] Linking CXX executable ../bin/query Undefined symbols for architecture arm64: "_lzma_code", referenced from: util::(anonymous namespace)::StreamCompressed<util::(anonymous namespace)::XZip>::Read(void*, unsigned long, util::ReadCompressed&) in libkenlm_util.a(read_compressed.cc.o) "_lzma_end", referenced from: util::(anonymous namespace)::StreamCompressed<util::(anonymous namespace)::XZip>::~StreamCompressed() in libkenlm_util.a(read_compressed.cc.o) util::(anonymous namespace)::StreamCompressed<util::(anonymous namespace)::XZip>::~StreamCompressed() in libkenlm_util.a(read_compressed.cc.o) "_lzma_stream_decoder", referenced from: util::(anonymous namespace)::ReadFactory(int, unsigned long long&, void const*, unsigned long, bool) in libkenlm_util.a(read_compressed.cc.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[6]: *** [bin/query] Error 1 make[5]: *** [lm/CMakeFiles/query.dir/all] Error 2 make[4]: *** [all] Error 2 make[3]: *** [kenlm/src/kenlm-project-stamp/kenlm-project-build] Error 2 make[2]: *** [CMakeFiles/kenlm-project.dir/all] Error 2 make[1]: *** [all] Error 2 clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iflashlighttext/include -Iflashlighttext/include/kenlm -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Decoder.cpp -o Decoder.o Decoder.cpp:8:10: fatal error: 'flashlight/lib/text/decoder/Decoder.h' file not found #include <flashlight/lib/text/decoder/Decoder.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Decoder.o] Error 1 ERROR: compilation failed for package ‘flashlighttext’ * removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.3/flashlighttext.Rcheck/flashlighttext’