* installing *source* package ‘flashlighttext’ ... ** package ‘flashlighttext’ 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 C++17 using SDK: ‘MacOSX11.3.sdk’ *** Building mkdir build || true (export CXX=/usr/bin/g++; \ cd build; \ CC="clang -arch x86_64" CFLAGS="-falign-functions=64 -Wall -g -O2 " \ CPPFLAGS="-I/opt/R/x86_64/include" LDFLAGS="-L/opt/R/x86_64/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.3.14030022 -- The CXX compiler identification is AppleClang 14.0.3.14030022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- MacOS architecture: x86_64 -- Configuring done (4.2s) -- Generating done (0.0s) -- Build files have been written to: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build [ 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' CMake Warning: Ignoring extra path from command line: "/opt/R/x86_64" CMake Warning: Ignoring extra path from command line: "/opt/R/x86_64/" -- The C compiler identification is AppleClang 14.0.3.14030022 -- The CXX compiler identification is AppleClang 14.0.3.14030022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Eigen3 (missing: Eigen3_DIR) -- Found Boost: /opt/R/x86_64/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 (6.0s) -- Generating done (0.1s) -- Build files have been written to: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project-build [ 37%] Performing build step for 'kenlm-project' [ 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-x86_64/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-x86_64/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-x86_64/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-x86_64/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-x86_64/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-x86_64/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-x86_64/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 ^ :8:9: note: previous definition is here #define HAVE_BZLIB 1 ^ In file included from /Volumes/Builds/packages/big-sur-x86_64/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-x86_64/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-x86_64/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-x86_64/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-x86_64/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-x86_64/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-x86_64/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 ^ :7:9: note: previous definition is here #define HAVE_ZLIB 1 ^ [ 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 2 warnings generated. [ 38%] Linking CXX static library ../lib/libkenlm_util.a [ 38%] Built target kenlm_util [ 40%] Building CXX object util/CMakeFiles/probing_hash_table_benchmark.dir/probing_hash_table_benchmark_main.cc.o [ 42%] Building CXX object lm/CMakeFiles/kenlm.dir/binary_format.cc.o [ 43%] Building CXX object lm/CMakeFiles/kenlm.dir/config.cc.o [ 45%] Building CXX object lm/CMakeFiles/kenlm.dir/lm_exception.cc.o [ 42%] Building CXX object lm/CMakeFiles/kenlm.dir/bhiksha.cc.o [ 46%] Building CXX object lm/filter/CMakeFiles/kenlm_filter.dir/arpa_io.cc.o In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/arpa_io.cc:1: In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/arpa_io.hh:9: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:101:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using value_type = const StringPiece; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:102:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using pointer = const StringPiece*; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:103:23: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using reference = const StringPiece&; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:104:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using difference_type = std::ptrdiff_t; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:105:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using iterator_category = std::forward_iterator_tag; ^ [ 47%] Building CXX object lm/filter/CMakeFiles/kenlm_filter.dir/phrase.cc.o [ 48%] Building CXX object lm/filter/CMakeFiles/kenlm_filter.dir/vocab.cc.o [ 50%] Building CXX object lm/CMakeFiles/kenlm.dir/model.cc.o 5 warnings generated. [ 51%] Building CXX object lm/CMakeFiles/kenlm.dir/quantize.cc.o [ 52%] Building CXX object lm/CMakeFiles/kenlm.dir/read_arpa.cc.o In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/phrase.cc:1: In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/phrase.hh:6: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:101:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using value_type = const StringPiece; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:102:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using pointer = const StringPiece*; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:103:23: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using reference = const StringPiece&; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:104:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using difference_type = std::ptrdiff_t; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:105:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using iterator_category = std::forward_iterator_tag; ^ [ 53%] Building CXX object lm/CMakeFiles/kenlm.dir/search_hashed.cc.o In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/vocab.cc:1: In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/vocab.hh:9: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:101:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using value_type = const StringPiece; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:102:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using pointer = const StringPiece*; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:103:23: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using reference = const StringPiece&; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:104:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using difference_type = std::ptrdiff_t; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:105:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using iterator_category = std::forward_iterator_tag; ^ [ 55%] Building CXX object lm/CMakeFiles/kenlm.dir/search_trie.cc.o 5 warnings generated. [ 56%] Building CXX object lm/CMakeFiles/kenlm.dir/sizes.cc.o 5 warnings generated. [ 57%] Linking CXX static library ../../lib/libkenlm_filter.a [ 58%] Building CXX object lm/CMakeFiles/kenlm.dir/trie.cc.o [ 58%] Built target kenlm_filter [ 60%] Building CXX object lm/CMakeFiles/kenlm.dir/trie_sort.cc.o [ 61%] Building CXX object lm/CMakeFiles/kenlm.dir/value_build.cc.o [ 62%] Building CXX object lm/CMakeFiles/kenlm.dir/virtual_interface.cc.o [ 63%] Building CXX object lm/CMakeFiles/kenlm.dir/vocab.cc.o [ 65%] Building CXX object lm/CMakeFiles/kenlm.dir/common/model_buffer.cc.o In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/vocab.cc:11: /Volumes/Builds/packages/big-sur-x86_64/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 { ^~~~~~~ [ 66%] Building CXX object lm/CMakeFiles/kenlm.dir/common/print.cc.o 1 warning generated. [ 67%] Building CXX object lm/CMakeFiles/kenlm.dir/common/renumber.cc.o [ 68%] Linking CXX executable ../bin/probing_hash_table_benchmark ld: warning: direct access in function 'boost::exception_ptr boost::exception_detail::get_static_exception_object()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_ptr boost::exception_detail::get_static_exception_object()::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()' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_ptr boost::exception_detail::get_static_exception_object()::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/x86_64/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/x86_64/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/x86_64/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/x86_64/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/x86_64/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/x86_64/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/x86_64/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::exception_detail::clone_impl::rethrow() const' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'typeinfo for boost::exception_detail::clone_impl' 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 'virtual thunk to boost::exception_detail::clone_impl::rethrow() const' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'typeinfo for boost::exception_detail::clone_impl' 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_detail::clone_impl::rethrow() const' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'typeinfo for boost::exception_detail::clone_impl' 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 'virtual thunk to boost::exception_detail::clone_impl::rethrow() const' from file '/opt/R/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'typeinfo for boost::exception_detail::clone_impl' 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/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object::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/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_detail::exception_ptr_static_exception_object::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/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object::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/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object::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/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'boost::exception_detail::exception_ptr_static_exception_object::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/x86_64/lib/libboost_thread.a(thread.o)' to global weak symbol 'guard variable for boost::exception_detail::exception_ptr_static_exception_object::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. [ 68%] Built target probing_hash_table_benchmark [ 70%] Building CXX object lm/CMakeFiles/kenlm.dir/common/size_option.cc.o [ 71%] Linking CXX static library ../lib/libkenlm.a [ 71%] Built target kenlm [ 72%] Building CXX object lm/CMakeFiles/query.dir/query_main.cc.o [ 73%] Building CXX object lm/CMakeFiles/fragment.dir/fragment_main.cc.o [ 75%] Building CXX object lm/CMakeFiles/build_binary.dir/build_binary_main.cc.o [ 76%] Building CXX object lm/CMakeFiles/kenlm_benchmark.dir/kenlm_benchmark_main.cc.o [ 77%] Building CXX object lm/builder/CMakeFiles/kenlm_builder.dir/adjust_counts.cc.o [ 78%] Building CXX object lm/filter/CMakeFiles/filter.dir/filter_main.cc.o In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/filter_main.cc:1: In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/arpa_io.hh:9: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:101:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using value_type = const StringPiece; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:102:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using pointer = const StringPiece*; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:103:23: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using reference = const StringPiece&; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:104:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using difference_type = std::ptrdiff_t; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/filter/../../util/tokenize_piece.hh:105:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using iterator_category = std::forward_iterator_tag; ^ In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/fragment_main.cc:4: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/../util/tokenize_piece.hh:101:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using value_type = const StringPiece; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/../util/tokenize_piece.hh:102:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using pointer = const StringPiece*; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/../util/tokenize_piece.hh:103:23: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using reference = const StringPiece&; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/../util/tokenize_piece.hh:104:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using difference_type = std::ptrdiff_t; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/../util/tokenize_piece.hh:105:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using iterator_category = std::forward_iterator_tag; ^ 5 warnings generated. [ 80%] Linking CXX executable ../bin/fragment Undefined symbols for architecture x86_64: "_lzma_code", referenced from: util::(anonymous namespace)::StreamCompressed::Read(void*, unsigned long, util::ReadCompressed&) in libkenlm_util.a(read_compressed.cc.o) "_lzma_end", referenced from: util::(anonymous namespace)::StreamCompressed::~StreamCompressed() in libkenlm_util.a(read_compressed.cc.o) util::(anonymous namespace)::StreamCompressed::~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 x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[6]: *** [bin/fragment] Error 1 make[5]: *** [lm/CMakeFiles/fragment.dir/all] Error 2 make[5]: *** Waiting for unfinished jobs.... [ 81%] Building CXX object lm/builder/CMakeFiles/kenlm_builder.dir/corpus_count.cc.o [ 82%] Linking CXX executable ../bin/build_binary Undefined symbols for architecture x86_64: "_lzma_code", referenced from: util::(anonymous namespace)::StreamCompressed::Read(void*, unsigned long, util::ReadCompressed&) in libkenlm_util.a(read_compressed.cc.o) "_lzma_end", referenced from: util::(anonymous namespace)::StreamCompressed::~StreamCompressed() in libkenlm_util.a(read_compressed.cc.o) util::(anonymous namespace)::StreamCompressed::~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 x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[6]: *** [bin/build_binary] Error 1 make[5]: *** [lm/CMakeFiles/build_binary.dir/all] Error 2 [ 83%] Linking CXX executable ../bin/query [ 85%] Building CXX object lm/builder/CMakeFiles/kenlm_builder.dir/initial_probabilities.cc.o Undefined symbols for architecture x86_64: "_lzma_code", referenced from: util::(anonymous namespace)::StreamCompressed::Read(void*, unsigned long, util::ReadCompressed&) in libkenlm_util.a(read_compressed.cc.o) "_lzma_end", referenced from: util::(anonymous namespace)::StreamCompressed::~StreamCompressed() in libkenlm_util.a(read_compressed.cc.o) util::(anonymous namespace)::StreamCompressed::~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 x86_64 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 [ 86%] Building CXX object lm/builder/CMakeFiles/kenlm_builder.dir/interpolate.cc.o [ 87%] Building CXX object lm/builder/CMakeFiles/kenlm_builder.dir/output.cc.o In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/builder/corpus_count.cc:15: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/builder/../../util/tokenize_piece.hh:101:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using value_type = const StringPiece; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/builder/../../util/tokenize_piece.hh:102:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using pointer = const StringPiece*; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/builder/../../util/tokenize_piece.hh:103:23: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using reference = const StringPiece&; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/builder/../../util/tokenize_piece.hh:104:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using difference_type = std::ptrdiff_t; ^ /Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/00_pkg_src/flashlighttext/src/build/kenlm/src/kenlm-project/lm/builder/../../util/tokenize_piece.hh:105:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using iterator_category = std::forward_iterator_tag; ^ 5 warnings generated. [ 88%] Building CXX object lm/builder/CMakeFiles/kenlm_builder.dir/pipeline.cc.o 5 warnings generated. [ 90%] Linking CXX executable ../../bin/filter Undefined symbols for architecture x86_64: "_lzma_code", referenced from: util::(anonymous namespace)::StreamCompressed::Read(void*, unsigned long, util::ReadCompressed&) in libkenlm_util.a(read_compressed.cc.o) "_lzma_end", referenced from: util::(anonymous namespace)::StreamCompressed::~StreamCompressed() in libkenlm_util.a(read_compressed.cc.o) util::(anonymous namespace)::StreamCompressed::~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 x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[6]: *** [bin/filter] Error 1 make[5]: *** [lm/filter/CMakeFiles/filter.dir/all] Error 2 [ 91%] Linking CXX static library ../../lib/libkenlm_builder.a [ 91%] Built target kenlm_builder [ 92%] Linking CXX executable ../bin/kenlm_benchmark Undefined symbols for architecture x86_64: "_lzma_code", referenced from: util::(anonymous namespace)::StreamCompressed::Read(void*, unsigned long, util::ReadCompressed&) in libkenlm_util.a(read_compressed.cc.o) "_lzma_end", referenced from: util::(anonymous namespace)::StreamCompressed::~StreamCompressed() in libkenlm_util.a(read_compressed.cc.o) util::(anonymous namespace)::StreamCompressed::~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 x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[6]: *** [bin/kenlm_benchmark] Error 1 make[5]: *** [lm/CMakeFiles/kenlm_benchmark.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 x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iflashlighttext/include -Iflashlighttext/include/kenlm -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 Decoder.cpp -o Decoder.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iflashlighttext/include -Iflashlighttext/include/kenlm -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 Dictionary.cpp -o Dictionary.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iflashlighttext/include -Iflashlighttext/include/kenlm -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 EmittingModelUpdateFunc.cpp -o EmittingModelUpdateFunc.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iflashlighttext/include -Iflashlighttext/include/kenlm -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 KenLM.cpp -o KenLM.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iflashlighttext/include -Iflashlighttext/include/kenlm -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 LM.cpp -o LM.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iflashlighttext/include -Iflashlighttext/include/kenlm -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 LMState.cpp -o LMState.o LMState.cpp:9:10: fatal error: 'flashlight/lib/text/decoder/lm/LM.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [LMState.o] Error 1 make: *** Waiting for unfinished jobs.... EmittingModelUpdateFunc.cpp:4:10: fatal error: 'flashlight/lib/text/decoder/Utils.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. LM.cpp:7:10: fatal error: 'flashlight/lib/text/decoder/lm/LM.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Dictionary.cpp:9:10: fatal error: 'flashlight/lib/text/dictionary/Dictionary.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [EmittingModelUpdateFunc.o] Error 1 make: *** [LM.o] Error 1 make: *** [Dictionary.o] Error 1 KenLM.cpp:7:10: fatal error: 'flashlight/lib/text/decoder/lm/KenLM.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [KenLM.o] Error 1 Decoder.cpp:8:10: fatal error: 'flashlight/lib/text/decoder/Decoder.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Decoder.o] Error 1 ERROR: compilation failed for package ‘flashlighttext’ * removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/flashlighttext.Rcheck/flashlighttext’